Troubleshooting
Diagnose the installed plugin, local index, hooks, widget, and connected state in the right order
Goal
Find the real cause when a Strata19 tool call, the done-gate hook, the workspace widget, or a routine run is not doing what you expect, instead of reinstalling or restarting blind.
Before you start
- The plugin already installed and previously working at least once. If you have not confirmed a successful install yet, start at Install the plugin instead — several of the symptoms below assume the plugin ran successfully before.
- Know which host you are running, Codex or Claude Code — several causes and their fixes differ by host.
- A way to see a tool call's full JSON response, not just your coding agent's summary of it. Several checks below depend on reading a specific field (
provenance,reasonCode,bindingWarning) that a paraphrased answer can hide.
Steps
Confirm what is actually installed
Ask your agent to list its available tools and compare the strata19.* names against what you expect. A tool that used to exist and does not anymore, or a fix that never shows up after a new release, is almost always a stale install rather than a broken tool: both Codex and Claude Code load the plugin from a version-keyed cache directory, never live from source or from the marketplace's latest commit. Reinstall with the same command you used originally (codex plugin add strata19@strata19 or claude plugin install strata19@strata19 — see Install the plugin for the full command per host). If you maintain the plugin's source yourself, a rebuild has to run and the version has to be bumped before a reinstall has anything new to fetch — that whole loop is Interface and packaging.
Confirm which repository the plugin is actually bound to
Every tool response's provenance carries a rootResolutionSource. env (an explicit STRATA19_PROJECT_ROOT), bound (a session bound via strata19.initialize_project, or a call's own repoPath), and client-root (a workspace root the host declared) are all direct evidence about the current session and need no further check. cwd means none of those applied and resolution fell back to the server process's own working directory — read the accompanying bindingWarning when one is present: it is attached specifically when that working directory turns out to be the plugin's own install folder rather than a real project, and states plainly that no env override, session bind, or client root was found. If you see it, set STRATA19_PROJECT_ROOT explicitly, or call strata19.initialize_project with repoPath set to your repository's absolute path.
Confirm the relevant configuration actually took effect
Call strata19.settings_manage with { "action": "list" } to see every STRATA19_* setting's resolved value and which tier set it: an environment variable, a stored setting, or the built-in default. This covers STRATA19_WEB_BASE, STRATA19_API_KEY, STRATA19_API_ENDPOINT, and STRATA19_PROJECT_ROOT directly. It does not cover STRATA19_GATE_MODE — the done-gate hook reads that variable straight from its own process environment, not through this tool, so confirm it with your host's own environment inspection instead.
Once you know what is installed, what it is bound to, and what configuration actually took effect, match your symptom below.
Verify
- Stale install, fixed: the tool you expected now appears in a fresh tool list, or — if you build from source — the installed cache's bytes match your rebuilt files (see Interface and packaging's verify commands).
- Wrong repository, fixed: a tool response's
provenance.rootResolutionSourcereadsenv,bound, orclient-root, with nobindingWarningattached. - Empty or self-install-only results, fixed: the response no longer names Strata19's own install folder as the only visible directory, and a scan returns real
file:linefindings about your repository. - Done gate, fixed: the Stop hook blocks or allows according to the mode you configured, not silently allowing every time.
- Widget, fixed: the pane renders real content with no "bundle is missing" text, or — with
STRATA19_WEB_BASEconfigured — the iframe finishes loading instead of sitting on "refreshing…". - Routine, fixed:
strata19.automation_run'sget_receiptsshows the run advanced past the step that was stuck, orget_next_actionreturns a new pending action.
If it doesn't work
-
A tool never appears in
tools/list, or a change you shipped never reaches an already-installed session. The plugin cache is version-keyed: rebuilding, or even landing a new commit on the pinned ref, never reaches an installed session until the version is bumped in every downstream manifest, rebuilt, pushed, and reinstalled. Interface and packaging owns this release loop end to end. -
A scanning tool comes back with no real findings, or names its own bundled files as your code. If no project root can be resolved through any tier — no
STRATA19_PROJECT_ROOT, no session binding, no host-declared workspace root — the server can see only its own install folder and refuses rather than scanning it: the response states plainly that it "could not tell which project to inspect, so it did not inspect anything," and that scanning the install folder would report findings about Strata19's own bundled files, not your code. Fix it the same two ways the message names: callstrata19.initialize_projectwithrepoPathset to your repository's absolute path for the rest of the session, or setSTRATA19_PROJECT_ROOTin your host's MCP config for every session. -
A finding, a coverage answer, or a Specbook criterion reads as
indeterminateorunmeasuredinstead of a real verdict. These are typed, honest states, not failures — see Limits for what each one does and does not prove. Callstrata19.get_capability_coverageto see which languages and analysis kinds actually reachedFULLversusPARTIAL/HEURISTIC/UNSUPPORTEDfor this run, andstrata19.get_analysis_caveatsfor this run's specific bounds and dangling edges, before treating the result as wrong. -
A check reads
unresolvedand you do not know why.unresolvedmeans the check could not run or ran in a way that says nothing about the code; it is neverfailing. The label carries one reason (for exampleno-runner,policy-refused,build-boundary,flaky,index-unavailable). Each reason, who acts and what to do is listed in the plugin'sdocs/TROUBLESHOOTING.md. -
The done-gate Stop hook never runs. Confirm
STRATA19_GATE_MODEis notoff— unset or an unrecognized value behaves as the default,ask, which still runs the gate. On Codex, plugin hooks are non-managed by default: run/hooksin a conversation and approve thestrata19 session-bindandstrata19 done-gatedefinitions by content hash, or neither one runs at all; editing either hook's content later re-breaks trust and needs re-approval. On Claude Code, an enterpriseallowManagedHooksOnlypolicy can block plugin hooks entirely with no runtime signal to the hook process when it does — that is a host policy decision the plugin cannot detect or route around. -
The workspace pane is blank, or shows "Strata19 workspace bundle is missing." On a default Free Local install, the widget is a self-contained bundle built into the plugin — it needs no
STRATA19_WEB_BASEand no running web app. If the pane shows that exact message, the bundle file was not found next to the installed server: a packaging fault, not something about your repository. Rebuild withpnpm build:pluginif you build from source, or reinstall the plugin — see Interface and packaging. -
You set
STRATA19_WEB_BASEand now the pane never loads, or sits on "refreshing…" forever. ConfiguringSTRATA19_WEB_BASEopts the widget out of the bundled default and into an iframe pointing at your web app instead — a deliberate choice for a hosted deployment, not something Free Local needs. Once set, further requirements apply, and their symptoms look identical, so check them in order: the app must actually be reachable at that origin; the origin must behttps://— an https-sandboxed widget frame cannot loadhttp://localhost, independent of CSP configuration, so front a local dev server with a tunnel first (cloudflared tunnel --url http://localhost:4001, then setSTRATA19_WEB_BASEto the printed URL); and for anext devserver specifically, the tunnel host must also be listed inallowedDevOrigins(STRATA19_DEV_ORIGINS=<tunnel-host> pnpm devin this repository), or the frame loads and never hydrates past "refreshing…". -
A routine run will not advance past
get_next_action. Callstrata19.automation_runwith{ "action": "get_receipts", "executionKey": "..." }and read the execution's actual status rather than trusting a step's own claimedstatus: "success"— for a dispatcher-bound action kind, the engine independently re-derives the real outcome. A run parked atwaiting_for_humanis blocked one of two ways: a human-input park is waiting for a typed answer to anask_question/request_form_inputaction; an approval-grant park means ahuman_gateaction was refused advance because it has no persisted approval or live durable grant, and needs one issued throughstrata19.automation_approvals({ "action": "grant", ... }) from a different driver identity than the one that will consume it. Restarting the run does not substitute for either. A step can also legitimately stop because its declared action kind has no local dispatcher binding —strata19.automation_runreturns a typedunsupportedoutcome with areasonCoderather than fabricating a result, and some of those genuinely run elsewhere (tenant-scoped, or needing a network/unattended runtime this local dispatcher cannot reach). See Routines for the full run lifecycle. -
strata19.get_next_taskalways returns no task, even on a repository with real, uningested work. This is expected on the free tier: the tool is genuinely remote-only, because the dependency order it returns comes from the Strata19 living graph, which needs a premium account. Its own description now says so up front, so a host that lists the tool shows the requirement before you spend a call on it. Without bothSTRATA19_API_KEYandSTRATA19_API_ENDPOINTset, it returns no task and names exactly which of the two is missing, alongside a local-mode alternative: runstrata19.verify_implementationfor real local findings, or open the project in the Strata19 web app to pick a task manually. Seestrata19.get_next_task. -
A routine started from the plugin does not appear in, or does not match, the web app's view of the same routine. They are not the same engine yet: plugin routines run on a local adapter, and the web app's managed execution runs on a different workflow library with a different data shape — a run started from one is not portable to the other today (see Limits). Before assuming anything is broken, call
strata19.sync_publishwith{ "action": "status" }to see the current authority matrix and whether anything has actually left the machine — nothing in Strata19 syncs on a timer, a file save, or a watcher, so an apparent disagreement is often just two views that were never connected.
Related
- Install the plugin — installation-specific failures, hook trust, and the repository-binding resolution order
- Interface and packaging — the release loop that ships a fix, a new tool, or a rebuilt widget bundle
- Limits — what a clean,
indeterminate, or typed-refusal result actually proves - Routines — running, pausing, resuming, and reading receipts for a routine
- Local data — the settings and sync surfaces referenced throughout this page