Skip to main content

Runbook

Status: Ready

Truth label: Current

Audience: Fleet operator

Reader outcome: Start, check, run, register, watch, recover, back up, and troubleshoot the stack with the exact commands and locations.

Last verified: 2026-09-13

Use this guide to start, operate, and recover the current AGENTASIAN stack. For internals, see Architecture and Forge.

Looking for how to RUN THE AGENCY rather than which command to type? See the Operator Manual. This file is the command reference.

Services​

ServicePortEntry point
Cortex UI3000python -m http.server --directory cortex-ui 3000
Forge Central8080python -m uvicorn forge.central.api:app --port 8080
Brain API8081python -m uvicorn brain.api:app --port 8081
Workernonepython -m forge.worker

Workers are outbound clients. They can run on Windows, macOS, Linux, or a later cloud host that can reach Brain and Forge.

First start​

cp .env.example .env
python -m venv .venv
source .venv/bin/activate
pip install -e .
agent influences init ~/Documents/agent_asian/influences
agent voice-pack init ~/Documents/agent_asian/voice
# paste the two lines each command prints into .env,
# then copy at least one .md/.txt/.pdf/.epub source into the influences dir
python -m brain.preflight

On Windows:

copy .env.example .env
python -m venv .venv
.venv\Scripts\activate
pip install -e .
agent influences init "%USERPROFILE%\Documents\agent_asian\influences"
agent voice-pack init "%USERPROFILE%\Documents\agent_asian\voice"
REM paste the two lines each command prints into .env,
REM then copy at least one .md/.txt/.pdf/.epub source into the influences dir
python -m brain.preflight

AGENTASIAN ships no influence library and no voice pack. The two init commands create the directories and print the INFLUENCE_LIBRARY_DIR and VOICE_PACK_DIR lines to paste into .env; the source material in them is yours to supply. Keep both outside DATA_DIR, outside KNOWLEDGE_DIR, and out of any folder whose name begins with a dot, because ingestion skips such paths entirely. python -m brain.preflight prints OK only when both settings are set, both directories exist and sit in a legal place, the library holds at least one supported source file, and both manifests parse. Otherwise it exits non-zero with a block naming the setting, the path, and the command that fixes it. Run it after editing .env, not before: the init commands do not write .env for you, and a library with no sources in it yet reports empty. A fresh clone does not start until it passes, which is deliberate.

Install and log in to at least one coding CLI on every worker.

Start locally​

./run-all.sh

or:

run-all.bat

Stop everything, or restart it:

stop-all.bat
restart-all.bat
./stop-all.sh
./restart-all.sh

These find services by listening port rather than by window title or a remembered pid, so a service you started by hand outside the launcher is still stopped. They also stop a local worker, which has no listening port because it polls outbound; a worker left running against a dead Central quietly fills its outbox while looking like everything is down.

Force-killing Central is safe. SQLite runs in WAL mode, which is crash-safe, and the GL-01 process lock is released by the kernel on process death rather than needing a clean shutdown.

restart-all waits for the ports to free before starting again. A listening socket lingers briefly after its process dies, and uvicorn refuses to bind in that window, which reads as a failed restart when it is only an early one.

The launcher starts Cortex, Forge, and Brain on loopback by default. Start a worker separately:

./run-worker.sh

The shell launcher accepts optional Central and Brain URLs:

./run-worker.sh http://192.168.1.10:8080 http://192.168.1.10:8081

Open http://localhost:3000.

Manual start is the supported default (DEC-20260825-01)​

The operator starts services by hand. Automatic supervision exists but is opt-in, and on macOS it is deliberately not used (see below).

Desktop (Windows), all three services: run run-all.bat, or start them individually from the repo root if you want separate windows:

.venv\Scripts\python.exe -m uvicorn forge.central.api:app --host 0.0.0.0 --port 8080
.venv\Scripts\python.exe -m uvicorn brain.api:app --host 0.0.0.0 --port 8081
.venv\Scripts\python.exe -m http.server --directory cortex-ui --bind 0.0.0.0 3000

Mac worker:

cd ~/Documents/github/airwave/agent_asian
nohup ./run-worker.sh http://192.168.0.13:8080 http://192.168.0.13:8081 \
> /tmp/forge-worker-mbp16.log 2>&1 &

Two things the supervisor was doing that manual start does not. If the Windows supervisor is stopped, both stop with it:

  1. Restart on crash. A service that dies stays dead until restarted. The GL-01 process lock makes a double start safe, so re-running the launcher is always safe.
  2. The nightly backup. scripts/backup_data.py runs from the supervisor loop after 03:00. Run it by hand to keep snapshots:
.venv\Scripts\python.exe scripts\backup_data.py --keep 7

Backups matter more than restarts here. The Central data root holds task, lease, trace, and knowledge state. Worker credentials and outboxes live on each worker, so run the same command there; Central's archive cannot contain another machine's state. See Backups for verification and restore.

Checking state after a manual start:

curl -s localhost:8080/health && curl -s localhost:8081/health
curl -s -H "Authorization: Bearer $AA_API_TOKEN" localhost:8080/workers
curl -s -H "Authorization: Bearer $AA_API_TOKEN" localhost:8080/alerts

The last one reports checkpoints waiting on you and workers gone offline.

Health checks​

curl -s http://localhost:8080/health
curl -s http://localhost:8081/health

Both should return {"status":"ok"}.

If AA_API_TOKEN is configured, include:

curl -s -H "Authorization: Bearer <token>" http://localhost:8080/status

Health routes remain unauthenticated.

Run a worker​

python -m forge.worker \
--central-url http://localhost:8080 \
--brain-url http://localhost:8081 \
--name primary \
--capabilities python,javascript \
--engine claude-code \
--permission write \
--max-permission write

The startup banner reports the default engine, every backend whose CLI is installed, and the version each of those CLIs reports. The exact list varies by machine. The banner also names a selected engine whose CLI is missing, and states the permission default and ceiling this process will enforce.

FlagEnvironment variableDefault
--central-urlFORGE_CENTRAL_URLhttp://localhost:8080
--brain-urlBRAIN_API_URLhttp://localhost:8081
--api-tokenAA_API_TOKENempty
--nameFORGE_WORKER_NAMEengine name
--capabilitiesFORGE_WORKER_CAPABILITIESpython,javascript
--poll-intervalFORGE_WORKER_POLL_INTERVAL10
--engineFORGE_WORKER_ENGINEclaude-code
--permissionFORGE_WORKER_PERMISSIONwrite
--max-permissionFORGE_WORKER_MAX_PERMISSIONwrite
--pin-engineFORGE_WORKER_PIN_ENGINEoff
--shared-pathFORGE_SHARED_PATHempty, legacy engines only

The startup engine is the fallback. A task can select any installed backend the worker advertised.

Several agents on one machine​

One worker runs one task at a time. For concurrent runs on one box, run one worker per engine. agents.sh starts, stops, and reports on them:

./agents.sh start # every agent in the roster
./agents.sh start codex # one of them
./agents.sh status
./agents.sh restart
./agents.sh stop
./agents.sh logs codex -f

The roster is agents.conf if it exists (agents.conf.example shows the format), otherwise one agent per CLI backend installed on the machine. Pidfiles and logs are in logs/agents/. status also reports what Central makes of each registration from this host, which is where a process that is up locally but offline centrally shows itself.

By hand the same thing is:

python -m forge.worker --name claude --engine claude-code --pin-engine
python -m forge.worker --name codex --engine codex --pin-engine

--pin-engine makes each process advertise only the engine it runs, so they divide the queue instead of competing for it. Central still serves one task per project path at a time, so the two run concurrently across different repositories, not inside the same checkout.

Stopping an agent mid-task kills the run. The lease expires within SE_MANAGER_LEASE_TTL_SECONDS, Central fails the task with "lease expired, worker presumed dead", and retries it if the task opted in. Check status before stopping the fleet.

Backends​

EngineRequirementNotes
claude-codeInstalled and logged-in claude CLIDefault, supports resume and live progress
codexInstalled and logged-in codex CLIUses codex exec --json
codex-ossCodex CLI plus Ollama gpt-ossSet CODEX_OSS_BASE_URL=http://<host>:11434/v1 when remote
antigravityInstalled and logged-in agy CLIConversation resume and agent/tool streaming; parity checks
agenticProvider key and legacy dependenciesLegacy in-process tool loop
legacyProvider key and legacy dependenciesLegacy single-shot path

Keeping the CLIs current​

Nothing in this repository installs these CLIs, and each box upgrades on its own schedule. The adapters build command lines against flags verified on a particular version, so a version skew between two machines shows up as a task that fails on one of them and passes everywhere else.

Two things make that visible and fixable:

  • A worker reports the version of each CLI it advertises when it registers, and Cortex shows it beside the engine name in the fleet panel. Hover for the full version string. An engine listed with no version means the CLI would not answer, which is unknown rather than missing.
  • python scripts/upgrade-clis.py upgrades the CLIs on the box it runs on. Use --check to report versions and change nothing, and --backend NAME to limit it to one engine.

Only backends with a self-update command verified against the real binary are upgraded, which today is claude-code (claude update). The others are reported and left alone rather than run against a guessed command. Reinstall those from the vendor instructions in Windows Rollout.

A CLI upgraded under a running worker takes effect on the next task, because each run spawns the binary fresh. The version Cortex shows is from the last registration, so restart the worker to refresh it.

One-time note when you first deploy the version reporting: restart every worker, not just the ones you upgrade. A worker writes path_flavors and its CLI versions only when it registers, which happens once at worker start, and an older Central persisted an empty path_flavors on every poll. Until each worker restarts, Central still holds the empty value and path-shape routing stays off for that worker.

Use safe for best-effort read-only analysis, write for normal repository work, and yolo only on a dedicated trusted machine. safe is an engine permission mode, not an OS sandbox: pre-authorized tests and the worker's independent verification command can execute repository code. The worker ceiling always wins over a task request.

Seeing what is in the knowledge base​

Cortex → Memory → Project Memory lists every CPMI record indexed from your projects' the changelog, the task ledger, the decisions record, the FAQ, the repository's voice guide and the repository's agent instructions file. This is what an agent retrieves when it reads a project's history, so what is in here is what it believes.

It is read-only by design. The source of truth is the markdown in each repo; editing a record in a browser would put the index and the file out of step and the next re-index would silently win. Change the file, then re-index:

curl -X POST http://localhost:8081/cpmi/index -H "Authorization: Bearer $AA_API_TOKEN"

Projects that live on another machine​

/cpmi/index reads the files off disk, so it only covers projects on Brain's own host. For a project on a worker, the worker sends the file contents instead: it does this automatically before every task, so a Mac-hosted project is indexed on its next run and needs no configuration.

Nothing is backfilled. A remote project that has not run a task since this landed still shows zero records; run any task on it, or push by hand from the machine that holds the files:

python - <<'EOF'
import json, urllib.request, os, pathlib
root = pathlib.Path("~/github/yourproject")
files = {f.name: f.read_text() for f in root.glob("*.md")
if f.name in {"CHANGELOG.md", "TASKS.md", "DECISIONS.md", "FAQ.md",
"AGENTS.md", "GLOBAL_RULES.md", "VOICE.md", "STYLE_GUIDE.md"}}
body = json.dumps({"project_id": "<forge project id>", "files": files}).encode()
req = urllib.request.Request("http://<brain-host>:8081/cpmi/push", data=body,
headers={"Content-Type": "application/json",
"Authorization": "Bearer " + os.environ["AA_API_TOKEN"]})
print(urllib.request.urlopen(req).read().decode())
EOF

Only the eight canonical filenames are accepted, by bare name. A push carrying no usable file is a no-op rather than a deletion, so a worker that hit a read error cannot wipe a project's memory.

Filter by project, record type, and status. The view reports the scope it is reading under and how many records that scope hid, so a short list is visibly a filtered one rather than an empty index.

By API:

curl -sG http://localhost:8081/cpmi/records --data-urlencode "limit=25"
curl -s http://localhost:8081/cpmi/stats

Both are GL-07 scope-filtered on the same terms as /cpmi/search: internal by default, and scope=all requires X-Operator-Token. A record your scope cannot see returns 404, the same answer as one that does not exist, so the route never confirms another client's record is there.

Ingest the library from the same interpreter that first indexed it​

brain/memory/ingestion.py dedupes on str(path.resolve()), which is the literal path string. The existing book chunks were indexed from WSL and are spelled /mnt/c/.... A Windows-native ingest of the same books resolves them to C:\..., matches nothing, deletes nothing, and doubles the corpus.

Do not use the Cortex "Influence Library" ingest button on this machine, and do not POST /knowledge/ingest with the library path against the running Brain. Brain runs the Windows interpreter, so it would write C:\... keys that match none of the stored /mnt/c/... ones, delete nothing, add everything again, and report success.

Check which spelling the store actually holds:

.venv-linux/bin/python -c "
from brain.memory.vector_store import VectorStore
rows = VectorStore().get_where('knowledge')
counts = {}
for m in rows:
s = str(m.get('source', ''))
key = 'POSIX /mnt' if s.startswith('/mnt/') else ('WINDOWS C:' if s[1:2] == ':' else 'other')
counts[key] = counts.get(key, 0) + 1
print(counts)"

As of 2026-09-01 this prints {'WINDOWS C:': 173, 'POSIX /mnt/c': 5092}, so the corpus is POSIX-spelled and library ingest must run from WSL:

.venv-linux/bin/python -m brain.main ingest --path "$INFLUENCE_LIBRARY_DIR"

The 173 Windows-spelled rows are the untagged Technically Capable - v1.4.txt chunks, which are also the open tagging item in the task ledger.

Normalizing the dedupe key through shared.paths.tree_key would remove the whole hazard. That is a real fix and a separate change; it is not done today.

What reaches Analytics​

Not everything that does work for you reports to Forge. What does:

SourceReportsWhere
Forge workers (dispatched tasks)cost, tokens, duration, engine, modelruns.jsonl
Brain chattokens, provider, model, durationchat_usage.jsonl
Interactive coding sessionstokens, model, timing (on import)sessions.jsonl

Interactive sessions have no way to report while they run, so they are imported afterwards from the transcripts they already write:

python scripts/import_sessions.py --dry-run # see what would land
python scripts/import_sessions.py

Pass --transcript-root more than once when one machine has several homes; a Windows session and a WSL session each write to their own.

Usage totals only. The importer reads message.usage, message.model and event metadata. It never reads message content, so no conversation text enters the ledger. tests/test_session_import.py asserts that.

It is safe to re-run. A session already imported at the same request count is skipped, and analytics keeps only the newest import of each session, so a session that grew between runs replaces its earlier figures rather than adding to them.

Sessions are summarized in their own block, not folded into task runs. A session has no task id, no fence, no worker and no pass or fail; counting one as a run would change what count and failed mean.

Every dollar in the ledger carries a cost_source saying what kind of number it is:

cost_sourceMeaning
provider_reportedThe engine reported dollars. Only claude-code does. A zero here is a measurement.
estimatedDerived from tokens and your price table. Never mixed into the reported total.
unavailableThe engine reports no cost and no price is configured.
unreportedNo terminal report arrived at all, currently only a lease expiry.

A worker that dies is ledgered too, as unreported. Without that the failure rate was computed only over runs that lived long enough to report back.

Estimating cost for engines that do not report it​

Codex and antigravity report tokens and no dollars. Rather than ship a price table that would go stale (DEC at codex.py:52), prices are yours. Create <data_root>/model_prices.json, in dollars per million tokens:

{
"gpt-5.2": {"input": 1.25, "output": 10.0, "cache_read": 0.125},
"gemini-3": {"input": 2.0, "output": 12.0}
}

Keys match a model name exactly or by longest prefix, so gpt-5.2-codex resolves against a gpt-5.2 entry. Omit cache_read and cached tokens are left out rather than charged at the input rate, which would overstate exactly the engines this exists to measure.

Nothing ships by default. Without the file, behavior is what it was before: those runs report unavailable and contribute nothing to the total.

Give cache_read a rate if you price interactive sessions. Prompt caching means cached reads dominate: a real import here showed 651 million cached-read tokens against 4,198 uncached input tokens. A table with only an input rate would understate those sessions by orders of magnitude, and it would do it quietly.

Analytics reports cost_usd (measured only), cost_estimated_usd, cost_total_usd, and cost_unknown_runs, so a total never reads as complete when it is not.

Register projects​

Use Cortex or:

curl -s -X POST http://localhost:8080/projects \
-H "Content-Type: application/json" \
-d '{"name":"storefront","path":"/srv/projects/storefront","supervision_mode":"checkpoint"}'

With authentication configured, add the bearer header.

Remote project paths must be under SE_MANAGER_ALLOWED_PROJECT_ROOTS. Paths are machine-local. In a heterogeneous fleet, pin each task to a worker that can reach the registered path.

Create and watch a task​

The Tasks form is the preferred operator path. It exposes engine, worker, permission, capabilities, verification, retry, session, dependency, and supervision fields.

Command-line example:

curl -s -X POST http://localhost:8080/tasks \
-H "Content-Type: application/json" \
-d '{
"project_id":"<project-id>",
"title":"Add input validation",
"description":"Validate and test the signup form",
"engine":"claude-code",
"permission":"write",
"verification_command":"python -m pytest -q"
}'

Watch state and logs:

curl -s http://localhost:8080/tasks/<task-id>
curl -s http://localhost:8080/tasks/<task-id>/logs
curl -s http://localhost:8080/tasks/<task-id>/runs

Checkpoint operations​

The default supervision mode is checkpoint. A successful run appears in the Cortex Checkpoints tab instead of completing immediately.

  • Approve to complete the final checkpoint.
  • Revise to requeue with operator feedback.
  • Fail to terminate the task.
  • An optional 1 to 5 grade feeds the decision ledger.

supervised adds a plan checkpoint before execution. Approving the plan requeues the write stage on the same worker and resumes the CLI session when possible.

API examples:

curl -s -X POST http://localhost:8080/tasks/<task-id>/approve \
-H "Content-Type: application/json" \
-d '{"grade":5,"note":"Approved"}'

curl -s -X POST http://localhost:8080/tasks/<task-id>/reject \
-H "Content-Type: application/json" \
-d '{"action":"revise","feedback":"Add the missing edge-case test"}'

Use supervision_mode: autonomous for tasks that should complete without a human gate.

Cancel, retry, and remove​

curl -s -X POST http://localhost:8080/tasks/<task-id>/cancel
curl -s -X DELETE http://localhost:8080/tasks/<task-id>
curl -s -X DELETE http://localhost:8080/workers/<worker-id>

Running cancellation is cooperative. The worker receives the flag through its lease renewal and kills the CLI. A busy worker registration cannot be removed.

The UI provides a one-click failed-task retry and same-session follow-up where the engine supports it.

Worker credentials​

The first successful registration mints and saves a worker token under:

<SE_MANAGER_DATA_DIR>/worker-credentials/<hostname>-<instance>.token

Do not copy one token between identities.

If the credential file is lost:

  1. Stop the worker.
  2. Remove its idle registration from Cortex or DELETE /workers/{id}.
  3. Restart the worker.
  4. Confirm the log says a new credential was minted and saved.

Central stores token hashes only. Each credentialed claim also gets a separate run token that stays with its durable outbox entry.

Leases and outbox​

A claim response should show a fence and the server TTL in the worker log. The worker renews every few seconds. Central fails expired claims and prevents late results from replacing a newer attempt.

Terminal results are persisted under:

<SE_MANAGER_DATA_DIR>/outbox/<worker-id>/

If Central is unavailable, leave the worker running or restart it later. It will redeliver pending results. Inspect *.rejected.json or *.corrupt files only when the worker reports a quarantined entry.

Sessions and schedules​

Sessions group tasks and share context. Parent tasks enforce sequential dependencies.

Supported schedule cadences:

every 90m
every 6h
daily 03:00
weekly sun 03:00

Use the Tasks workspace in Cortex or the /schedules API.

Windows supervision​

Review and edit the hard-coded repository and data paths in:

  • scripts/windows/supervisor.ps1
  • scripts/windows/register-supervisor.ps1

Then register and start:

powershell -ExecutionPolicy Bypass -File scripts\windows\register-supervisor.ps1
Start-ScheduledTask -TaskName "AGENTASIAN Supervisor"

A desktop registered before the rename still has the task under the old name "CommandBro Supervisor". Re-running the register script above removes it and registers the new name, so only one supervisor loop runs.

The supervisor:

  • checks ports 8080, 8081, and 3000 every 15 seconds
  • restarts missing services
  • writes service and supervisor logs under the data root
  • writes flap alerts after repeated restarts
  • runs a daily backup after 03:00

The current Windows supervisor binds all three services to 0.0.0.0. Configure the bearer token, origins, project roots, and private-profile firewall rules before using it.

Backups​

Manual backup:

python scripts/backup_data.py --keep 7

Everything in the data root is archived except backups/ itself, process locks, and WAL sidecars. Every *.sqlite3 database at any depth goes through SQLite's backup API rather than a byte copy, so the archive is safe to take while Central and Brain are writing. Output is a timestamped zip under <data_root>/backups/.

The inventory is exclusion-based on purpose. It used to be an allowlist, and that allowlist rotted: decisions.jsonl and scope_audit.jsonl were added by later work and silently never reached an archive. A ledger invented tomorrow is now included by default, and tests/test_backup_restore.py asserts it.

Run it on the workers too. A worker keeps worker-credentials/ and outbox/ under its own data root, so the same command on a worker archives that machine's state. Central's archive does not and cannot contain it.

Verify an archive​

Every archive carries a MANIFEST.json with a SHA-256 per member:

python scripts/backup_data.py --verify <data_root>/backups/agentasian-<stamp>.zip

Encrypt an archive that leaves the machine​

export AA_BACKUP_PASSPHRASE='...'
python scripts/backup_data.py --encrypt --output /mnt/offsite

AES-256-GCM with a scrypt-derived key, written as .zip.enc. Without the environment variable it prompts, so an ad-hoc copy does not need the variable exported and the nightly job does not need a terminal.

Encryption is opt-in because an archive sitting next to the plaintext data root it came from gains nothing from it. What decides whether encryption matters is where the archive lands, so that is what the script enforces: writing to --output outside the data root refuses unless you pass --encrypt or acknowledge with --plaintext-ok. A refused command is a stronger control than a remembered flag.

Restore​

python scripts/restore_data.py <archive> --dry-run # verify, write nothing
python scripts/restore_data.py <archive> # the real thing

Stop Central and Brain first. Cortex serves static files and can stay up. Brain matters as much as Central here: it takes no process lock and writes chroma/ through a persistent client, so a restore with only Central stopped would overwrite the knowledge store underneath a live writer. The script checks both ports and refuses.

Restore verifies every byte against the manifest before writing, refuses a role mismatch (a worker archive onto a Central root), and refuses to run over the live data root while either service is up. Nothing is deleted: the current contents move to <data_root>/pre-restore-<stamp>/, so a bad restore is itself reversible. Stale -wal and -shm sidecars move aside with everything else, which matters, because replaying an old WAL against a restored database is how a restore corrupts itself.

Drill it​

Rehearse into a scratch directory. This works while the agency is running, which is the point; a drill that needs downtime never gets run:

python scripts/restore_data.py <archive> --data-dir /tmp/restore-drill --yes
python -c "import sqlite3;print(sqlite3.connect('/tmp/restore-drill/forge.sqlite3').execute('PRAGMA integrity_check').fetchone())"

Compare row counts and ledger line counts against the live root before trusting the archive.

After a restore​

These are expected and are not faults:

  • A worker whose credential file no longer matches its registration is locked out by design (GL-03). Recovery is the documented one: delete the registration with DELETE /workers/{id}, and the worker enrolls fresh with a new id on its next start. See Worker credentials.
  • A rolled-back run_tokens table heals itself: a report presenting a token with no matching row is processed on fence semantics alone (GL-03 C3).
  • A restored outbox may redeliver results Central already accepted. They land as duplicate or superseded, never as new work (GL-01).

LAN checklist​

  1. Set a long AA_API_TOKEN.
  2. Set AA_BIND_HOST=0.0.0.0.
  3. Set exact AA_ALLOWED_ORIGINS.
  4. Set SE_MANAGER_ALLOWED_PROJECT_ROOTS.
  5. Configure the same bearer token on workers and in Cortex.
  6. Allow ports 3000, 8080, and 8081 only on the trusted private network.
  7. Do not port-forward the stack.

Troubleshooting​

SymptomCheck
Cortex says "Failed to fetch"Confirm all three services are reachable from the browser and inspect its console
Repeated Cortex token promptToken mismatch between browser and services
Worker registration returns 401Saved worker token does not match. Follow the credential reset procedure
Worker never claimsCheck worker status, pin, engine, capabilities, parent task, and project path
Requested engine is unavailableConfirm the worker banner lists the backend and the CLI is on PATH
Task stays checkpointReview it in the Checkpoints tab or use approve/reject API
Task fails with lease expiredWorker died, lost connectivity, or exceeded the wall-clock cap
Finished result is not visibleInspect the worker outbox and Central connectivity
Result says supersededA newer fence owns the task. The old result was recorded but not applied
Codex OSS gets 404 from OllamaAdd the required /v1 suffix to CODEX_OSS_BASE_URL
Antigravity works interactively but not under supervisionConfirm its credential store is available to the non-interactive session
Second Central refuses to startAnother process owns forge.sqlite3.lock or the prior process is still alive
Nothing starts, "required content directories are not configured"Run python -m brain.preflight; it names the setting, both path spellings, and the fix
Central rejects a WSL pathKeep the live SQLite database on the native filesystem side
Brain shows no providersStart Ollama or configure a cloud key
Chat narration conflicts with the task listTreat Forge task state as authoritative

Useful locations​

forge/central/api.py Forge routes and lifecycle
forge/worker/agent.py Worker loop
forge/worker/executors/ CLI adapters
shared/store.py Forge SQLite state
shared/trace_store.py Run and chat lineage
brain/api.py Brain routes
brain/preflight.py Required content directory checks
brain/templates/ Influence and voice pack scaffolds
cortex-ui/ Browser UI
task ledger Active work and known limits
changelog Rationale log