Commit 16d5c63
committed
refactor(doc-truth): consolidate the two #176 guards into one (fold DOC-17 into DOC-16)
PRs #476 (DOC-16, banner/primacy/mirror PRESENCE guard) and #475 (DOC-17,
over-claim RATCHET) landed in parallel and left two near-identically-named
scripts on main — tools/check-doc-truthing.sh and tools/check-doc-overclaims.sh
— with overlapping intent. This folds them into a single guard so neither
lingers, taking the best of both:
* tools/check-doc-truthing.sh is now the one unified, toolchain-free gate. It
keeps #476's fail-accumulator + note() structure (reports ALL problems in
one run) for the presence invariants (DOC-04/05: matrix primacy + anti-
over-claim section + banner pointers + STATE.a2ml mirror keys), and absorbs
#475's over-claim ratchet (DOC-08/09) as a fourth check feeding the same
accumulator, plus the `--update` re-baseline mode. Presence-checking covers
the banners (where "production-ready" legitimately appears); the frozen
tools/doc-overclaims.allow baseline adds phrase detection without false
positives.
* tools/check-doc-overclaims.sh deleted; tools/doc-overclaims.allow kept
(13 signatures unchanged), now owned by the unified script.
* CI: the two "Issue #176" build steps collapse into one.
* justfile: `guard` runs the single script; `doc-overclaims-bless` →
`doc-truth-bless` (calls `check-doc-truthing.sh --update`).
* Ledger: DOC-16 rewritten to describe the unified guard; DOC-17 marked
"folded into DOC-16"; matrix change-control + STATE.a2ml mirror updated.
Pure consolidation — no behavioural change to either check, no compiler code
touched. Verified: unified guard green; `--update` green; both negative
directions (new over-claim phrase / dropped banner) bite.
Refs #176
Refs #175
https://claude.ai/code/session_01HR1GHjBfNdfcFZm1XiLXK41 parent f10fbdb commit 16d5c63
8 files changed
Lines changed: 155 additions & 187 deletions
File tree
- .github/workflows
- .machine_readable/6a2
- docs
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 87 | | |
95 | 88 | | |
96 | 89 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
231 | 230 | | |
232 | 231 | | |
233 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | | - | |
| 101 | + | |
103 | 102 | | |
104 | | - | |
105 | | - | |
| 103 | + | |
| 104 | + | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| |||
This file was deleted.
0 commit comments