Commit 7ccd261
committed
docs(adr),chore(devx): tombstone ADR-0107 — withdrawn, number retired (#6676)
docs/adr/ ran 0106-* straight to 0108-*. Archaeology on full history (9,829
commits, clone verified unshallowed) settles which of the three cases it is:
the number was DRAFTED AND WITHDRAWN, not lost and not never-assigned.
53d37f1 (#3716) 2026-07-28 00:25 +0800 adds 0107-hook-body-write-set-
accepted-static-gap.md, Proposed
3bb382b (#3735) 2026-07-28 09:24 +0800 owner decision deletes it;
#3700 closed as not planned
Nothing else ever claimed the number: `git log --all --diff-filter=AD --
'docs/adr/0107*'` returns exactly those two commits, `-S'ADR-0107'` five (both
of the above, the two later gate commits, #6634), `-S'0107' -- docs/` the same
two. No restoration is wanted — and one would be actively wrong: the withdrawn
record's D2 declared "no heuristic source analysis" a PERMANENT posture, and
c1d44f7 (#4271, 2026-07-31) reversed exactly that, shipping the parser-based
`hook-body-write-unknown-field` lint. Its subject says so: 从 accepted gap 变
为作者时 lint 告警.
So: a tombstone, recording the withdrawal, the later reversal, and the
archaeology, so the next reader does not redo it.
The gate edit is forced by the tombstone, not scope creep. #6634 had
grandfathered the bare number onto `UNRESOLVED_ADR_CITATIONS`, which is audited
in BOTH directions — a number that gains a record fails the entry as stale.
Removing it is the (a) remedy the gate's own dangling-citation message
recommends over the allowlist, and it is strictly stronger: the entry would
have expired on its own once the withdrawal changeset is consumed by a release
(direction B: "nothing cites it any more"), quietly re-freeing the number,
whereas a record makes re-use collide in the number-uniqueness audit.
Reverse-verified in both directions, predicted before running:
- tombstone removed, entry stays removed -> RED, "ADR-0107 is cited by 3
file(s) but names no record", fix (a) named in the message
- tombstone kept, entry restored -> RED, "entry for 0107 is stale —
docs/adr/ now HAS a record"
Gates: check:adr-anchors OK (119 decision numbers, 20916 citations resolve),
check:adr-links OK (532 destinations), check:nul-bytes OK, check:doc-authoring
OK (375 files), check:empty-changeset OK, eslint clean.
No changeset: docs/adr/** and scripts/** ship in no published package, so this
releases nothing — the `skip-changeset` label is the documented route and an
empty-frontmatter changeset is rejected by check:empty-changeset (#5471).
Fixes #6676
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F8q5J1MQyocgtNspb15fSn1 parent 123b6c6 commit 7ccd261
2 files changed
Lines changed: 127 additions & 15 deletions
Lines changed: 96 additions & 0 deletions
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
104 | 111 | | |
105 | 112 | | |
106 | 113 | | |
| |||
222 | 229 | | |
223 | 230 | | |
224 | 231 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
233 | 241 | | |
234 | 242 | | |
235 | 243 | | |
| |||
588 | 596 | | |
589 | 597 | | |
590 | 598 | | |
591 | | - | |
592 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
593 | 609 | | |
594 | 610 | | |
595 | 611 | | |
| |||
0 commit comments