Goal
Bring every live document under docs/ back in line with the code, one subsystem at a time.
The work is grouped by subsystem rather than by document because that is how the drift arrives. When a subsystem changes, several documents describe it from different angles, and they go stale together. Reviewing them as a group is also the only way to notice that two documents now contradict each other.
Each box below is one subsystem. Tick it when every document under it has been read against the current implementation and either corrected or confirmed accurate. A document that turns out to be accurate needs no change — recording that it was checked is the point.
What a pass over one subsystem covers
- Named symbols still exist: classes, methods, tool names, event types, config keys.
- Described storage matches the implementation. The migration from per-run files to SQLite invalidated file-layout diagrams in more than one place.
- Cited file paths resolve, including test paths offered as the verification route.
- Documents in the group do not contradict each other.
- Paired translations move together.
translation_status: synced is the only value used across the paired documents in this repository, so updating one language alone makes that field false.
last_verified reflects the pass.
Scope
In scope: the 61 documents listed below.
Out of scope:
docs/archive/** (38 files). Each carries an "Archived on <date> … not current architecture authority" banner. Their historical content is correct as archived material and must not be rewritten.
docs/eval/** (3 files). These are benchmark run records tied to a specific date and model set, not descriptions of current behaviour.
Subsystems
Known drift found so far
The notes above came from one sweep, not from reading all 61 documents. Anything unannotated is simply unverified, not confirmed correct.
for pat in 'run\.json' 'events\.jsonl' 'runtime-events\.jsonl' 'PermissionEngine' \
'respondToPermission' 'agent-run-store\.test\.ts'; do
grep -rln "$pat" docs/ | grep -v '^docs/archive/'
done
Two matches were checked and are correct as written:
docs/architecture/mcp-runtime-architecture-draft.zh-CN.md mentions PermissionEngine only to state that no per-call PermissionEngine exists on the ordinary path.
- The resume, agent-graph, recovery-resolver and workspace-version documents mention JSONL only to contrast a legacy or degraded host with the SQLite commit sink.
Contributing
Pick one subsystem, open one PR for it, and reference this issue with Refs #3522. Please do not open a PR that spans several subsystems: the groups are sized so that a reviewer who knows that area can check the whole change.
Goal
Bring every live document under
docs/back in line with the code, one subsystem at a time.The work is grouped by subsystem rather than by document because that is how the drift arrives. When a subsystem changes, several documents describe it from different angles, and they go stale together. Reviewing them as a group is also the only way to notice that two documents now contradict each other.
Each box below is one subsystem. Tick it when every document under it has been read against the current implementation and either corrected or confirmed accurate. A document that turns out to be accurate needs no change — recording that it was checked is the point.
What a pass over one subsystem covers
translation_status: syncedis the only value used across the paired documents in this repository, so updating one language alone makes that field false.last_verifiedreflects the pass.Scope
In scope: the 61 documents listed below.
Out of scope:
docs/archive/**(38 files). Each carries an "Archived on<date>… not current architecture authority" banner. Their historical content is correct as archived material and must not be rewritten.docs/eval/**(3 files). These are benchmark run records tied to a specific date and model set, not descriptions of current behaviour.Subsystems
Runtime core (2) — done in docs: correct stale runtime-core architecture facts #3523
docs/architecture/runtime-core-architecture-draft.md—PermissionEngine,respondToPermission(), therun.json/events.jsonllayout, a step limit of 50, and a deleted test path — addressed by docs: correct stale runtime-core architecture facts #3523docs/architecture/runtime-core-architecture-draft.zh-CN.md— same set as its counterpart — addressed by docs: correct stale runtime-core architecture facts #3523Recovery and resume (7)
docs/architecture/runtime-recovery-resolver-adr.zh-CN.mddocs/architecture/runtime-resume-architecture.mddocs/architecture/runtime-resume-architecture.zh-CN.mddocs/architecture/runtime-resume-extraction-ledger.zh-CN.mddocs/architecture/runtime-resume-phase0-crash-contract.mddocs/architecture/runtime-resume-phase1-safe-boundary-contract.mddocs/architecture/runtime-resume-phase3-phase4-workspace-checkpoint-design.zh-CN.mdContext and compaction (2)
docs/architecture/llm-compaction-events-log-projection-draft.md— citespackages/storage/src/__tests__/agent-run-store.test.ts, which does not existdocs/architecture/llm-compaction-events-log-projection-draft.zh-CN.md— same citation as its counterpartMulti-agent orchestration (4) — done in docs: correct the multi-agent orchestration documents #3555
docs/architecture/agent-graph-stream-scheduling-draft.mddocs/architecture/agent-graph-stream-scheduling-draft.zh-CN.mddocs/agent-swarm.mddocs/side-conversation.mdRuntime host (4)— audited 2026-08-23, no changes neededdocs/architecture/runtime-host-architecture.mddocs/architecture/runtime-host-architecture.zh-CN.mddocs/runtime-host-remote-access.mddocs/runtime-host-remote-access.zh-CN.mdManaged workspace (5)
docs/architecture/runtime-managed-workspace-baseline-open-v1.zh-CN.mddocs/architecture/runtime-managed-workspace-execution-admission-v1.zh-CN.mddocs/architecture/runtime-managed-workspace-owner-v1.zh-CN.mddocs/architecture/runtime-workspace-version-authority-v1.zh-CN.mddocs/architecture/managed-dependency-storage-authority-v1.zh-CN.mdSandbox and privacy (4)
docs/architecture/windows-sandbox-rfc-v1.mddocs/architecture/windows-sandbox-rfc-v1.zh-CN.mddocs/permission-onboarding-plan.mddocs/workspace-privacy-context.mdWorkflow state (4)
docs/session-task-ledger-lifecycle.md— documentstask-events.jsonlandtasks.json; state is the SQLite tableworkflow_task_ledger_eventsdocs/work-board-contract.mddocs/architecture/scheduled-task-unified.mddocs/deep-research-durable-workspace.md— documentssessions/<session>/deep-research/events.jsonl; state is the SQLite tableworkflow_deep_research_eventsTools and capabilities (3)
docs/architecture/mcp-runtime-architecture-draft.zh-CN.mddocs/skill-catalog-policy.mddocs/web-search-provider-capability.mdComputer use (9)
docs/computer-use-cursor-provenance.mddocs/computer-use-evidence-classes.mddocs/computer-use-foundation-contract.mddocs/computer-use-host-events-contract.mddocs/computer-use-model-loop-foundation.mddocs/computer-use-provenance.mddocs/computer-use-provider-evidence.mddocs/computer-use-ui-coverage.mddocs/codex-pip-reverse-engineering.mdModel access (2)
docs/architecture/openai-responses-incremental-transport.mddocs/model-metadata-firstscreen-optimization.mdDesktop and frontend (7)
docs/frontend-architecture-astryx-review-2026-08-09.mddocs/frontend-css-governance.mddocs/frontend-css-governance.zh-CN.mddocs/settings-astryx-deep-review.zh-CN.mddocs/astryx-alignment-inventory.mddocs/astryx-full-surface-audit.mddocs/astryx-surface-file-inventory.mdCLI and distribution (5)
docs/cli-distribution.mddocs/cli-npm-release.mddocs/cli-npm-release.zh-CN.mddocs/windows-support.mddocs/windows-test-inventory.mdBots (1)
docs/architecture/bot-onboarding-runtime.zh-CN.mdProvenance records (1)
docs/code-origin-audit.mdIndex (1)
docs/README.mdKnown drift found so far
The notes above came from one sweep, not from reading all 61 documents. Anything unannotated is simply unverified, not confirmed correct.
Two matches were checked and are correct as written:
docs/architecture/mcp-runtime-architecture-draft.zh-CN.mdmentionsPermissionEngineonly to state that no per-callPermissionEngineexists on the ordinary path.Contributing
Pick one subsystem, open one PR for it, and reference this issue with
Refs #3522. Please do not open a PR that spans several subsystems: the groups are sized so that a reviewer who knows that area can check the whole change.