Skip to content

Commit e56de09

Browse files
committed
ci(dispatch-gates): add the seventh no-check-families row for the declaration beside it
The declaration added to `checklist-status.yml` is the SEVENTH in the tree, and the live-marker census pins the roster by NAME with an exact match — so adding one reds it. That is the pin working, and its own comment says why it is a roster and not a count: "a bare count reddens for a seventh declaration without saying which six were already read". The maintenance it forces is this commit. ⛔ The two halves are atomically coupled and cannot be split across PRs: the declaration without this row reds the census, and this row without the declaration reds it too (the census reads the live files). They land together or `dispatch-gates --self-test` is red on `main` either way. Also bumps the companion `liveMarkerCensus.length === 6` guard, which is the count half of the same reading, and the prose that states it. Measured on this head: `node scripts/pm/dispatch-gates.mjs --self-test` EXIT=0, 1866 cases pass (it was EXIT=1, 2 of 1866, with the declaration alone). The three rows this touches all read green: the paths-filtered guard at "gaps: none", the census at seven rows, and "every live reason ENDS on its own marker line (cut: none)". Claude-Session: https://claude.ai/code/session_01AmH9bKvGoLjiY86Q4Z3og2 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 255f47c commit e56de09

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎scripts/pm/dispatch-gates.mjs‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22173,8 +22173,16 @@ function selfTest() {
2217322173
}
2217422174
const censusRows = liveMarkerCensus.map((r) => `${r.file}:${r.line} ${r.key}`).sort();
2217522175
t(
22176-
`the live tree carries the six declarations this card measured, and no others (${censusRows.join(' · ') || 'none'})`,
22176+
`the live tree carries the seven declarations measured for this census, and no others (${censusRows.join(' · ') || 'none'})`,
2217722177
censusRows.join(' · ') === [
22178+
// Seventh row, added with the declaration it names: `checklist-status.yml`
22179+
// is paths-filtered (its `pull_request:` trigger is filtered to itself) and
22180+
// its only working step invokes the GENERATOR `pnpm gen:checklist-status`,
22181+
// so it discovers no `check:` family and declares why. ⚠️ This roster is the
22182+
// maintenance this pin exists to force: it is NAMED rather than counted
22183+
// precisely so a seventh declaration reddens WITH the six already read
22184+
// printed beside it, and the author adds their row instead of a number.
22185+
'.github/workflows/checklist-status.yml:57 no-check-families',
2217822186
'.github/workflows/merged-branch-reaper.yml:212 no-check-families',
2217922187
'.github/workflows/os-create-smoke.yml:48 no-check-families',
2218022188
'.github/workflows/scaffold-e2e.yml:23 no-check-families',
@@ -22187,7 +22195,7 @@ function selfTest() {
2218722195
const censusCut = liveMarkerCensus.filter((r) => !r.whole).map((r) => `${r.file}:${r.line} ${r.key}`);
2218822196
t(
2218922197
`every live reason on those markers ENDS on its own marker line (cut: ${censusCut.join(', ') || 'none'})`,
22190-
censusCut.length === 0 && liveMarkerCensus.length === 6,
22198+
censusCut.length === 0 && liveMarkerCensus.length === 7,
2219122199
);
2219222200
t(
2219322201
'and every one of them carries a non-empty reason — whole is not the same claim as present, and both are owed',

0 commit comments

Comments
 (0)