Repository navigation
Commit c708a61
Make the nested decision project a convention, not a one-off (ADR-0030, ADR-0031)
The scratch directory that destroyed the last set of captures was not carelessness
about an available alternative - it was the only shape the kit offered. readCorpus
reads one research/ per root, a project has exactly one discovery contract, and this
repository's contract enumerates U-1..U-8 about transports. Architecture unknowns had
nowhere to live, and the cleanup that deleted them was the ordinary treatment of a
temporary directory. Asking the next person to be more careful with a temp dir is not
a fix.
ADR-0030 gives them a home: research supporting a repository-level architectural
decision lives in a self-contained project at docs/decisions/<date>-<decision-name>/,
committed with its ledger, verified with that directory as the working directory.
Costs no code - the project has always been the cwd (ADR-0017). The two alternatives
are recorded with their reasons: a repository per decision (scatters the reasoning
away from what it reasons about) and one contract with several topics (changes the
protocol, and is the thing to build if these become frequent).
ADR-0031 records the decision itself, naming the nested research/BRIEF.md as its
evidence basis: Actions-first, any client pins X-GitHub-Api-Version, the ZIP is
labelled COLLECTED CORPUS - HUMAN REVIEW REQUIRED inside the package, the artifact is
delivery and never storage, and the paid run stays behind a required reviewer. The
local .exe is deferred on useVfs being Stability 1.0 - not rejected; Windows is
supported and the SEA exclusion is macOS x64, which is out of scope.
The rule is written where agents read their rules (AGENTS.md) and where the project
records what it has settled (research/DISCOVERY.md, Already decided), not only in an
ADR nobody is routed to.
The preliminary note keeps its text, with a superseded banner. It was right about
what it observed and wrong about the cause, and rewriting it would erase the most
useful thing in this decision: a claim that survived reading and failed running.
bundle.mjs gains AGENTS.md in EXPECTED_TO_DRIFT, and the reason is the check working.
AGENTS.md is the file the protocol is written in, so every protocol decision moves it;
freezing it would mean recording decisions somewhere nobody is bound by. Same argument
that added CONTEXT.md and README.md on 2026-09-20. docs/ARCHITECTURE.md moves in this
commit per ADR-0007.
645 passed, 0 failed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent dce565f commit c708a61
8 files changed
Lines changed: 304 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
97 | 128 | | |
98 | 129 | | |
99 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
0 commit comments