STRΛTΛ19

Local Data

What stays on the machine and what changes when connected or model-assisted features are used

What it does

Free Local stores its project index, checkpoints, work items, findings, and generated file artifacts in a local SQLite database (.strata19/state.db) on the machine running the plugin. Deterministic analysis — the code graph, the verification gate, checkpoints — never requires a Strata19 account or a source upload. This build sends no telemetry and has no telemetry consent tool. strata19.settings_manage controls how spend is capped, and strata19.sync_publish governs what can leave that boundary. strata19.sync_publish is the one explicit, always-manual path across the local-to-hosted boundary; nothing in Strata19 syncs on a timer, a file save, or a watcher.

Model-assisted operations are a separate boundary from "local." When a model key is configured, the operation sends the context it needs to that provider under your own provider relationship — this is not a Strata19-hosted call. A read does not call a model on its own: strata19.get_spec_context runs a small, budget-capped model-assisted top-up of an incomplete Code map only when you pass autoGenerate: true; see Limits.

When to use it

Call strata19.settings_manage (action: "list") to see every setting's resolved value and which tier it came from (environment variable, stored setting, or built-in default) — useful when a tool refused because a spend or effort ceiling was hit. Call strata19.sync_publish (action: "status" or "authority") before assuming anything has left the machine.

Do not assume a generated Markdown proposal or a local SQLite row is encrypted merely because it is local — it is subject to the same source-control, backup, and access policies as the rest of the repository. Do not call strata19.sync_publish expecting a bulk repository mirror — the authority matrix sets automatic_raw_graph_upload: false by design, so there is no "publish everything" mode.

How to use it

List every setting and its source. A real call against this install returned (excerpt):

Call — strata19.settings_manage
{ "action": "list" }
Response (excerpt)
{
  "settings": [
    { "key": "STRATA19_MODEL", "value": "gemini-3.5-flash-lite", "source": "env" },
    { "key": "STRATA19_SPECBOOK_BUDGET_USD", "value": 25, "source": "default" },
    { "key": "STRATA19_AUTO_BATCH_BUDGET_USD", "value": 1, "source": "default" },
    { "key": "STRATA19_AUTO_BATCH_FILES", "value": 20, "source": "default" },
    { "key": "STRATA19_API_KEY", "value": "", "source": "default" },
    { "key": "STRATA19_MCP_PRESET", "value": "full", "source": "env" }
  ]
}

source names precedence directly: env beats a stored setting, which beats the built-in default — every value on this page discloses which tier it came from rather than leaving the reader to guess.

Check whether anything can leave the machine before assuming it has:

Call — strata19.sync_publish
{ "action": "status" }

Parameters

Prop

Type

strata19.sync_publish additionally takes objectType (for authority), filePaths (required for preview/publish, capped at 200 per call — there is deliberately no "publish everything" mode), and workItemId (required for promote_work_item).

What you get back

strata19.settings_manage (list) returns every setting with its resolved value and source. strata19.sync_publish (status) returns the authority matrix and whether a real publish is currently permitted, with no I/O; preview reports exactly what would be sent for the given filePaths, sending nothing.

Limits

Reads do not spend model budget by default. strata19.get_spec_context runs a bounded, budget-capped auto-generation batch (STRATA19_AUTO_BATCH_BUDGET_USD, default $1; STRATA19_AUTO_BATCH_FILES, default 20 files per call) only when you pass autoGenerate: true, a model key is configured and the Specbook is incomplete; the answer then names what was spent. strata19.compute_change_impact and strata19.get_implementation_context read the specs already stored and never start a batch. See Specs and Specbook. strata19.sync_publish's publish and promote_work_item actions are premium-gated and fail closed with a named reason when the account is not entitled — they never silently no-op. A local SQLite record or generated Markdown proposal carries no encryption of its own; protecting it is the same responsibility as protecting the rest of the repository.

Every way data can leave the machine from Strata19's own code is listed in one place, derived from a scan of the shipped plugin rather than written from memory: docs/index-integrity/PRIVACY-AND-EGRESS.md in the repository. It also covers credential custody, which tools degrade offline, and the one thing Strata19 cannot speak for: the AI host's own traffic to its model provider.