0001. Record architecture decisions
- Status: Accepted
- Date: 2026-10-29
- Plan: M0.2
- Review: whole document
Context
Harness is designed and built by a person working with AI agents. Agents start each session without memory of earlier reasoning; without written rationale they re-derive decisions, and sometimes reverse them silently.
Decision
Record every decision that closes off an alternative as an ADR
in docs/decisions/NNNN-slug.md, created with
make adr TITLE="..." from
0000-template.md. Keep ADRs under 60 lines. An
accepted ADR is never edited except to change its status; a new
ADR supersedes it, and the two link to each other.
docs/decisions/README.md indexes them all.
Alternatives considered
- Decisions only in commit messages — hard to find, and there is no single current answer.
- One large design document — the design review is that for the starting point, but it cannot track later changes decision by decision.
Consequences
Agents read the index before architectural changes, as AGENTS.md requires. Contradicting an accepted ADR requires a new ADR. The review's decisions are captured in ADRs 0002 to 0011; later milestones add their own (M3.1, M7.6, M16.5 and others).