This index is the single most important entry point for understanding the project. Always read these before making decisions or implementing changes:
- Spec (source of truth):
agent-docs/00-control/00-spec.md - Status board (live progress):
agent-docs/00-control/01-status.md
Stage 1 docs:
agent-docs/01-discovery/01-brief.mdagent-docs/01-discovery/02-requirements.mdagent-docs/01-discovery/03-scope.md
Stage 2 docs:
agent-docs/02-feasibility/01-options.md
Stage 3 docs:
agent-docs/03-architecture/01-hld.mdagent-docs/03-architecture/02-dataflow.mdagent-docs/03-architecture/03-deployment.md
Stage 4 docs (Architecture Decision Records):
agent-docs/04-adr/0001-web-worker-architecture.md- Worker-based architecture for non-blocking operationsagent-docs/04-adr/0002-opfs-persistent-storage.md- OPFS for persistent file-based storageagent-docs/04-adr/0003-mutex-queue-concurrency.md- Mutex queue for serialized operationsagent-docs/04-adr/0004-release-versioning-system.md- Release versioning for database migrationsagent-docs/04-adr/0005-coop-coep-requirement.md- COOP/COEP headers for SharedArrayBufferagent-docs/04-adr/0006-typescript-type-system.md- TypeScript type system with generic parametersagent-docs/04-adr/0007-error-handling-strategy.md- Error handling with stack trace preservation
.claude/contains inputs for Claude: templates, agents, commands, hooks.agent-docs/contains ONLY finalized outputs. Never store templates inagent-docs/.
Templates live here:
.claude/templates/agent-docs/**
When generating docs:
- Always start from the template in
.claude/templates/agent-docs/** - Do not change headings/sections; only fill in content.
When writing docs, add Mermaid diagrams (Mermaid UML) whenever they improve clarity. Prefer: flowchart, sequence diagram, state diagram.
- Discovery / Problem Framing
- Feasibility / Options
- HLD
- ADR
- LLD + Contracts
- Implementation + Verification (Status tracking is continuous across all stages.)
Stage 1 ends when all are explicit and confirmed:
- MVP (P0 requirements)
- Success criteria (testable)
- Non-goals
- Backlog (future ideas)
A task is DONE only if:
- Work completed
- Evidence provided (commit/PR/test commands/results)
- Status board updated:
agent-docs/00-control/01-status.md - Spec index updated if any reading order / stage outputs changed