Troubleshooting
Status: Ready
Truth label: Limited
Audience: Fleet operator
Reader outcome: Move from a symptom to the one check that identifies its cause, rather than restarting things at random.
Last verified: 2026-09-12
Full guides: Runbook, System manual, Operator manual
Order of checks
Work outward from the smallest thing that can be wrong.
- Do both health routes answer?
- Does Cortex load and stay authenticated?
- Is a worker online with a recent heartbeat and the expected engine?
- Does the registered project path exist on that worker?
- Does one narrow task complete end to end?
Most reports that arrive as "the pipeline is broken" resolve at step 3 or 4.
Startup and services
| Symptom | Likely cause | Check |
|---|---|---|
| Central refuses startup in WSL | The data root is on drvfs or 9P | Run Central on the filesystem's native side, or move the data root to native storage |
| Central refuses startup in a container | The data root is a bind mount reaching the container as virtiofs or 9p | Use a named volume for the data root |
| A second Central refuses startup | The process lock is already held | Find the active Central. Do not delete the lock while it is running |
| Preflight fails naming a content directory | The directory is missing, empty, or inside the data root | Create it outside the data root and put at least one supported file in it |
| A voice setting stopped applying with no error | A renamed key survives in .env and is accepted then ignored | Read the preflight warning on standard error, which names the stale key |
Cortex and authentication
| Symptom | Likely cause | Check |
|---|---|---|
| Cortex loads but cannot call the services | The browser origin is not in AA_ALLOWED_ORIGINS | Compare the exact origin in the address bar with the configured list |
| Cortex repeatedly asks for a token | The browser token is absent or rejected | Re-enter the fleet bearer and confirm both APIs use the same value |
| Every button does nothing and the token prompt keeps returning | The main module failed to parse, so no listener bound and the auth overlay stayed up. The console has a syntax error, not a 401 | Open the browser console; hard-reload to drop a cached module. The cache version in index.html changes with every Cortex release, so a stale copy should not survive a reload |
| The inspector, rail, or a run drawer is missing | The rail cycles expanded, icons, and hidden, and the inspector never opens empty | Press [ for the rail and ] for the inspector, or open a run; below 1100px both are overlays |
| A wide table's Actions column is unreachable | An old shell clipped tables at the card edge | Current Cortex scrolls the card horizontally and drops low-priority columns first; reload to pick up the current version |
| A deep link opens the menu instead of the editor | That entry point is unavailable in the current view | The menu shows disabled entries rather than sending a save. Navigate to the view that owns it |
| An editor refuses to save with a conflict | Another editor or process saved a newer revision | Reload the saved version, then reapply. Your unsaved text is preserved |
Workers and routing
| Symptom | Likely cause | Check |
|---|---|---|
| Worker registration returns 401 | The saved token does not match Central | Delete the stale registration, then restart the worker |
| Worker is idle but a task is not offered | Pin, engine, capability, parent, project status, or worker state mismatch | Compare each task field with the worker registration |
| A pinned task waits forever | Its worker is offline and nothing expires a pre-claim pin | Read tasks_stranded in GET /alerts. Start that worker or retry against another |
| Project path not found on the worker | The literal path belongs to another operating system or checkout | Pin correctly, or register a path that worker can reach |
| The worker stops a live CLI | The lease was lost or a cancellation was requested | Inspect Central logs, the lease TTL, and run-token errors |
| A long run is killed partway | The smallest of three ceilings expired | Raise the worker CLI timeout and the Central wallclock cap together, then restart both |
| Two workers fight over one checkout | Both are registered against the same directory | Give each its own checkout, or pin the work |
Tasks and results
| Symptom | Likely cause | Check |
|---|---|---|
| A task fails after correct edits | The verification command or interpreter is wrong for that worker | Correct the command, or review and use a failure-hold override |
| Completed work is missing in Central | The result is retained in the worker outbox | Restore connectivity and inspect outbox drain logs |
| A pipeline QA stage repeats | The final verdict is missing, malformed, or failing | Inspect the final line and the QA feedback |
| A created task ignored a field you set | Unknown request fields are ignored | Read the created task back and confirm the field is present |
| A deliverable file is missing from the manifest | It was ignored, external, or beyond a capture bound | Read the unobserved list and the capture limits on the manifest |
| Acceptance went stale after an edit | Any changed output version invalidates earlier acceptance | Reassess the current output, or record a new override reason |
A task fails before dispatch with Protected worker input and current action need ... | The engine's saved context budget is smaller than the protected prompt; an error still naming 29,696 points to an older profile, a frozen attempt, or an older worker's fallback | Raise the budget for all agents and models, save all profiles, inspect the saved worker budget, then retry; see Settings and budgets |
| A task stopped early on an older worker with a turn-limit message | That worker is running code from before 2026-09-10 | Restart Central and every worker on current code and reload Cortex; turns are unlimited and the message now reports the no-progress guard accurately |
| A pinned task never starts and nothing looks wrong | Its worker is offline and the task was pinned before any claim | Read GET /alerts for tasks_stranded, then start that worker or retry against another |
Retrieval and memory
| Symptom | Likely cause | Check |
|---|---|---|
| Brain search returns nothing | Brain, the Forge scope lookup, embeddings, or collection identity failed | Check health, the scope audit, memory stats, and the embedding configuration |
| A collection rejects writes after a config change | The embedding provider or model no longer matches the identity that wrote it | Restore the original values, or rebuild the collection in a new data root |
| A published book returns no passages | The publication did not finish, or the source is retired or excluded | Confirm the active generation, then check the request's source mode and exclusions |
| A source you selected returns nothing | It has no matching passage for that query | A selected source with no match is not evidence the whole book was read |
| Local-only material will not send | The endpoint is not a declared local host | Declare the exact host in Local models. URLs, ports, and subnets are rejected |
| A preview result count is short | Candidate backfill stopped at its cap | The preview reports the cap. Many inactive generations consume that window |
Writing and voice
| Symptom | Likely cause | Check |
|---|---|---|
| An approved example never appears | Approval, voice, provider eligibility, format, or audience filtered it out | Use Preview examples for a writing request to see the selected ids and reasons |
| A withdrawn example seems to persist | Index cleanup failed, but canonical checks still exclude it | Confirm the learning state reads Withdrawn |
| A saved draft shows Pending | The draft saved but indexing needs a retry | Retry from the draft editor |
| Your voice default is ignored | The request supplied an explicit register, which always wins | Inspect the resolved settings in the turn inspector |
| Polish never runs | Polish is off by default | Enable it per conversation or in Chat defaults |
| A polish candidate is always rejected | A fact lock or clause check found a contradiction or lost claim | Open the before and after panel and read the flagged clauses |
Where the truth is
When two surfaces disagree, prefer the deeper one.
| Question | Authority |
|---|---|
| What settings did this reply actually use? | The turn inspector, not the composer |
| What reached the model? | The per-round allocation record, not the summary counts |
| What did this run change? | The retained manifest, not the current working tree |
| What is this task's real state? | Central, not a worker log line |
| What does the product do? | Runtime code, not any document including this one |