2.2 KiB
paths
| paths | |||
|---|---|---|---|
|
Decisions: one home, each linked to a goal or a technical principle
The decision log has one home: docs/decisions.md, or wherever the project's config keeps the record decisions. Read and edit it in the file ~/.claude/bin/project-record open decisions prints, and run project-record save decisions after each edit. A title states the whole decision in one line: what holds at the commit it ships in, in words a reader finds in the code or the plan. AGENTS.md lists the project principles and the title of each decision no project principle covers, so a session works by the decisions without loading their background. The entry holds the background: its date, who made it, the reasoning, and the premise it rests on ("valid while X") so it can expire honestly when that premise dies.
Every decision links to a goal or a technical principle. An entry names the goal it serves or the technical principle it applies, from the config's principles folder; one that can do neither is a missing goal, and an entry already in the repo with neither behind it is a finding. Propose the goal, never a reason of your own — ~/.claude/CLAUDE.md → "Working loop", "Ask, don't guess" says how. An entry working against a goal or a technical principle stands only while it names the todo.md item that ends it.
Check each new decision against the project's principles. A project principle, listed in the project's AGENTS.md under ## Project principles, states one rule that several decisions apply. Each time a decision is recorded, ask three things. Does a project principle already cover it? Then it adds no title to AGENTS.md, and needs no ask. Does it break one? Then either the principle or the decision is wrong. Does it apply the same rule as decisions already listed? Then that rule is a new project principle, which covers those decisions too. A break, a new project principle or a change to one is the human's: ask, with your recommendation, and leave the project principles as they are until the human answers. Once the human approves a new one, the titles it covers leave AGENTS.md.