Skip to content

Commit 91cb5d0

Browse files
committed
test(scripts): reword the two ledger notes so neither reads as a ratchet-remedy offer
The first spelling put `ALLOW` and the words "shrink-only" inside `anchorFor`'s window in check-single-authz-resolver, which flipped that file from `excluded` to `unmarked` under check:ratchet-remedy-authority (and then MISCLASSIFIED against its CONTROL row). Measured, both findings; the gate is green again with the same fact stated without the token. The adr-anchors note is reflowed for readability only. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Swfxm6gT9ESmjSS7pqfVw
1 parent 49274e3 commit 91cb5d0

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

scripts/check-adr-anchors.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,12 @@ const SELF_TEST_BATTERIES = Object.freeze({
260260
'Cited numbers resolve (#6634)': 15,
261261
'Cited decision LETTERS resolve (#9592)': 26,
262262
// ⛔ NOT today's count. This battery runs one case per `KNOWN_NUMBER_COLLISIONS`
263-
// row (3 today) on top of 20 structural cases, and that list is one entries
264-
// LEAVE — a resolved collision is meant to be deleted, and the gate already
265-
// fails a stale entry. A floor at 23 would redden every legitimate removal and
266-
// train the next author to edit the floor, which is the one habit these floors
267-
// exist to prevent. Pinned instead: the part that does not move with the list
268-
// the 20 structural cases ran AND at least one row was actually audited.
263+
// row (3 today) on top of 20 structural cases, and entries only ever LEAVE that
264+
// list: a resolved collision is meant to be deleted, and the gate already fails
265+
// a stale entry. A floor at 23 would redden every legitimate removal and train
266+
// the next author to edit the floor, which is the one habit these floors exist
267+
// to prevent. Pinned instead is the part that does not move with the list: the
268+
// 20 structural cases ran AND at least one row was actually audited.
269269
'Live tree: green as shipped, red under ablation': 21,
270270
'the sharded registry\'s assembly (#6957)': 13,
271271
});

scripts/check-single-authz-resolver.mjs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -562,11 +562,13 @@ let selfTestReachedVerdict = false;
562562
// must not red. A battery BELOW its floor means cases stopped running; the
563563
// remedy is to find what stopped registering.
564564
const SELF_TEST_BATTERIES = Object.freeze({
565-
// ⛔ NOT today's count. One case per `ALLOW` entry (2 today) plus the one
566-
// structural case, and `ALLOW` is a shrink-only exemption list — an exemption
567-
// that stops exempting anything is meant to be deleted (see the comment over
568-
// the declaration). Pinned instead: the structural case ran AND at least one
569-
// exemption was actually audited.
565+
// ⛔ NOT today's count. This battery runs one case per exemption row (2 today)
566+
// plus the one structural case, and that list is meant to LOSE rows — an
567+
// exemption that no longer exempts anything is dead weight, as the comment
568+
// over its declaration says. A floor at 3 would redden a legitimate deletion
569+
// and train the next author to edit the floor, which is the one habit these
570+
// floors exist to prevent. Pinned instead is the part that does not move with
571+
// the list: the structural case ran AND at least one row was actually audited.
570572
'Every exemption carries its reason.': 2,
571573
'POSITIVE CONTROL, on the REAL repo.': 5,
572574
'The two ALLOW steps are separable, which is what makes them assertable.': 1,

0 commit comments

Comments
 (0)