Summary
AGENTS.md is the canonical reference for AI agents and contributors, but two critical subsystems are undocumented:
- Workers —
warm-up-worker.ts, parse-worker.ts, cache-write-worker.ts: their responsibilities, message protocol, and when each is spawned are not described.
- Local Rule Trust Flow — the
pending → review → approve → reload lifecycle is not explained anywhere, making it opaque for contributors testing custom rules.
Fix
Add two sections to AGENTS.md:
## Workers — describe each worker, its message contract, and lifecycle
## Local Rule Trust Flow — document the trust state machine with a short example
Effort estimate
~2 hours
Summary
AGENTS.mdis the canonical reference for AI agents and contributors, but two critical subsystems are undocumented:warm-up-worker.ts,parse-worker.ts,cache-write-worker.ts: their responsibilities, message protocol, and when each is spawned are not described.pending → review → approve → reloadlifecycle is not explained anywhere, making it opaque for contributors testing custom rules.Fix
Add two sections to
AGENTS.md:## Workers— describe each worker, its message contract, and lifecycle## Local Rule Trust Flow— document the trust state machine with a short exampleEffort estimate
~2 hours