Repository navigation
Commit e62c44e
committed
fix(cli): close the #18491 NOT_A_GATE parity-gap entry the per-package pass was recorded in
`test/validate-build-gate-parity.test.ts` holds a CLOSED roster: every bare
identifier either command calls must land in exactly one of its three ledgers.
Wiring `runPerPackageAuthoringRules` into both doors left it unclassified, so
the roster reddened — correctly, and on the one shard that runs
`packages/cli` (`Test Core (4/6)`, step "Run this shard's tests").
⛔ Not a refusal: nothing in the suite was newly rejected by `os validate`, so
the `Clause-②: no` declaration is untouched by this red. The two failures were
"every call site in compile.ts and validate.ts is classified" (1 unclassified
name) and "no ledger entry is stale" (3 names no command uses any more).
What the ledgers now say:
* `runPerPackageAuthoringRules` joins SHARED_NON_REGISTRY_GATES. It cannot
become a registry rule: a registry rule is handed ONE stack, and this pass
is the thing that DECIDES which stack — the artifact sliced per package
(ADR-0130 D4/D5). Its row buys a real assertion for free, because
`it.each(SHARED_NON_REGISTRY_GATES)` asserts both commands run it.
* The #18491 entry "Input to the compile-only per-package rule walk — a real
parity gap, reported not closed" is DELETED, not reworded. That entry was
right and is now spent; a ledger row that outlives its finding is how a
closed gap reads as an open one.
* `artifactPackages` survives on its own reason — both commands read it to
COUNT the packages for the step line. `packageBodyAsStack` left the command
files with the loop, as did `findingKey` and the `new Set(…)` de-duplication.
packages/cli unit tier: 213 files / 3041 tests, all passing.
Claude-Session: https://claude.ai/code/session_01DvvamiacK328idtBYJBxV3
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4c837a5 commit e62c44e
1 file changed
Lines changed: 25 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
102 | 117 | | |
103 | 118 | | |
104 | 119 | | |
| |||
152 | 167 | | |
153 | 168 | | |
154 | 169 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
164 | 180 | | |
165 | 181 | | |
166 | 182 | | |
| |||
190 | 206 | | |
191 | 207 | | |
192 | 208 | | |
193 | | - | |
194 | 209 | | |
195 | 210 | | |
196 | 211 | | |
197 | 212 | | |
198 | | - | |
199 | 213 | | |
200 | 214 | | |
201 | 215 | | |
| |||
0 commit comments