# docs/ — Written Record ## Purpose The project's written memory, split by lifetime: `devlog/` holds one session log per completed task, `adr/` holds architecture decision records that outlive any single session. ## Ownership - Root AGENTS.md owns the "10 most recent" devlog window (between `write-log` markers) and the repo-wide rules. - `docs/devlog/AGENTS.md` and `docs/adr/AGENTS.md` own their local contracts. - No code lives here; nothing in docs/ is load-bearing at runtime. ## Local Contracts - `devlog/` = per-task session logs; `adr/` = numbered, immutable decisions. Do not mix the two. - Decision that changed the code goes in `devlog/`; decision that constrains the future goes in `adr/`. ## Work Guidance - New ADRs follow the domain-modeling skill's `ADR-FORMAT.md` (title + 1–3 sentences; optional Considered Options / Consequences). - New session logs are written via the write-log skill, never by hand. ## Verification - Every devlog entry appears in `docs/devlog/INDEX.md`; the root window shows only the 10 most recent. - ADR numbering is gap-free and sequential (`0001`, `0002`, `0003`, …). ## Child DOX Index | Path | Scope | |------|-------| | devlog/AGENTS.md | Session logs (write-log skill owns INDEX and root window markers) | | adr/AGENTS.md | Architecture decision records |