STRΛTΛ19

Configuration

Every registered STRATA19_* setting, its type and its default, generated from the settings registry

Every setting below is registered in the plugin, which means it can be read and written through the settings tool as well as set as an environment variable. The registry is the source of truth: a STRATA19_* variable the plugin reads is expected to appear there, and this page is generated from it, so the names, types and defaults here cannot drift from the ones the plugin actually applies.

Connection and credentials

SettingTypeDefaultWhat it does
STRATA19_MODELstringunsetModel identifier for model-assisted features.
STRATA19_MODEL_BASE_URLstringunsetBase URL of the inference endpoint those features call.
STRATA19_API_KEYstringunsetAPI key for the Strata19 living graph. Without it, and without an endpoint, graph-backed features report that they are unavailable rather than guessing.
STRATA19_API_ENDPOINTstringunsetEndpoint for the Strata19 living graph.
STRATA19_WEB_BASEstringunsetOrigin of the Strata19 web app. Setting it opts the widget out of its bundled default and into an iframe pointing at that origin.

Spend and effort ceilings

These are runaway guards, not spending plans. Each one is set far above any legitimate workload, so hitting one means something has gone wrong rather than that the work was unusually large. Each default matches the owning module's own default — a test pins that, because a divergence would make the settings tool report a number the plugin does not use.

SettingTypeDefaultWhat it does
STRATA19_LIST_FILES_LIMITnumber5000Default cap on files a listing returns. A caller that explicitly asks for more gets more, up to the whole repository.
STRATA19_MODEL_MAX_CALLSnumber10000Hard ceiling on model calls in a run.
STRATA19_INTAKE_INFERENCE_MAX_CALLSnumber5000Hard ceiling on model calls made during intake.
STRATA19_SPECBOOK_BUDGET_USDnumber25Spend ceiling for specbook generation, in US dollars.
STRATA19_AUTO_BATCH_BUDGET_USDnumber1Spend ceiling for one automatic batch, in US dollars.
STRATA19_AUTO_BATCH_FILESnumber20Most files one automatic batch will take.
STRATA19_SEMANTIC_BUDGET_MSnumber0Time budget for semantic detectors, in milliseconds. 0 applies no budget.
STRATA19_TOOL_CALL_TIMEOUT_MSnumber8000Timeout for a single tool call, in milliseconds.
STRATA19_API_TIMEOUT_MSnumber8000Timeout for calls to the Strata19 API, in milliseconds.

Behaviour

SettingTypeDefaultWhat it does
STRATA19_MCP_PRESETstringunsetWhich tool preset the MCP server exposes.
STRATA19_SEMANTIC_DETECTORSstringunsetSemantic detectors run unless this is explicitly set to an off value.
STRATA19_SPECBOOK_LAZYbooleanfalseDefer specbook work rather than doing it eagerly.

Paths and project binding

SettingTypeDefaultWhat it does
STRATA19_PROJECT_ROOTstringunsetPins the project root instead of letting it be resolved.
STRATA19_CHECKPOINT_DBstringunsetPath to the checkpoint database.
STRATA19_SPECBOOK_DIRstringunsetDirectory the specbook markdown is written to.

Internal

Listed for completeness because they are registered. They are not configuration knobs, and setting them by hand is not supported.

SettingTypeDefaultWhat it does
STRATA19_BEGIN_SENTINELstringunsetInternal. Marks the start of a managed block.
STRATA19_END_SENTINELstringunsetInternal. Marks the end of a managed block.
STRATA19_PLUGIN_VERSION__stringunsetInternal. The trailing underscores mark it private to the plugin.
STRATA19_TRUSTED_BUNDLE_SHAstringunsetInternal. Supply-chain pin for the shipped bundle.
STRATA19_INFERENCE_ALLOW_INSECURE_LOCAL_ENDPOINT_FOR_TESTbooleanfalseTest only, as the name says. Not for normal use.

Model keys are not set here

STRATA19_MODEL_KEY is deliberately not a registered setting. A value stored through the settings tool would be reachable by that tool but not by the model resolution chain, so the key would appear to have been saved while never taking effect. Writing it through the settings tool therefore fails outright rather than accepting and discarding the credential.

The two supported ways to provide a model key are the STRATA19_MODEL_KEY environment variable itself, and ~/.strata19/credentials.json.

  • Limits — what the ceilings above protect
  • Troubleshooting — symptoms of a misconfigured setting
  • Install — the settings a first run needs