Skip to content

docs(scripts): ratchet-remedy corpus — the i18n-walk-parity ledger no longer ships empty - #19154

Merged
os-try-charles merged 1 commit into
mainfrom
claude/issue-15189-ledger-no-longer-ships-empty
Sep 19, 2026
Merged

os-try-charles merged 1 commit into
mainfrom
claude/issue-15189-ledger-no-longer-ships-empty

Conversation

@os-try-charles

Copy link
Copy Markdown
Collaborator

Fixes #15189

Clause-②: no

What this changes

One file, one entry, two prose sentences: scripts/check-ratchet-remedy-authority.mjs's
hand-classified corpus entry for check-i18n-walk-parity.mjs described that gate's
exemption ledger as shipping EMPTY. It has not been empty since the maintainer ruled,
on the parity gate's own first red, that the unwalked groups enter it with their reasons —
and the described file records that move itself.

Both sentences now say what is true. Nothing else moved: the classification, the
marked-rather-than-refused reason, the ledger, its ceiling and its
MAINTAINER-ONLY marking are all untouched, and check-i18n-walk-parity.mjs is not
edited at all.

The number question, and the choice taken

The new prose carries no count. The card notes this family's failure mode is precisely
a number copied out of another file going stale, and triage reported this as the seventh
instance. Two further facts made the number-free wording the cheaper one here:

What the corpus entry needs to carry is that the ledger is shrink-only and that growing it
is the maintainer's act — that, and not its size, is what makes marked the honest verdict
rather than refused. Triage's literal wording ("filled to three … shrink-only from
three") would have been equally true today; the dispatch left the choice open and this is
the half that does not need re-syncing. ⛔ No house rule is proposed here — whether prose
may ever quote another file's number is explicitly another card's question.

Live reading of the ledger being described

Read in-worktree at 2026-09-19T00:16:13Z on origin/main @ 87f776bd7, not copied
from the card:

scripts/check-i18n-walk-parity.mjs:209   KNOWN_NO_EXTRACTOR_FACE keys: messages, settingsCommon, settings   (3)
scripts/check-i18n-walk-parity.mjs:232   LEDGER_CEILING = 3

Same values the dispatch read two minutes earlier; no divergence to report.

Evidence

Both batteries, before and after — they are two different batteries and are reported
as two:

invocation before after
node scripts/check-ratchet-remedy-authority.mjs --self-test exit 0 exit 0
node scripts/check-ratchet-remedy-authority.mjs (bare) exit 0 exit 0

Bare run printed the identical verdict line on both sides — 257 scripts swept; 15 mark the expanding remedy, 5 turn it down outright, 237 hand out no ratchet-expanding remedy. Control corpus: 30 hand-classified scripts, set-equality audited both ways. — so no
verdict moved.

SELF_TEST_BATTERY_FLOOR reads 21 before and after. The corpus entry's battery is
(16) The corpus-scale positive control, pinned count 1 before and after; the
self-test's green is itself the assertion that every declared battery met its floor.
Nothing in the roster moved.

Residual reading, with a firing control taken from the probed file after the diff
existed
(the control was derived by listing terms present in the file and absent from
git diff BASE HEAD -- PATH, not pre-picked):

ships EMPTY   -> 0     (also 0 case-insensitively)
ships empty   -> 0
battery       -> 48 lines in the file, 0 in the diff   (this control fires)

The classification survived verbatim:

  • expect: 'marked' — 15 occurrences in the file before and after; 0 of them appear as
    a +/- line in the diff.
  • the refused-would-be-untrue comment block (the reason the entry is marked rather than
    refused) — present once before and after, and it does not appear as a +/- line.
  • inside the one why line that did change, the trailing 174 bytes are byte-identical:
    ; emitting the group is the author's remedy and is offered first, while exempting one is a decision with an owner, so that path is named with its owner rather than denied.',
    Only the leading false clause was replaced.

Gates derived in-worktree with
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack over the
real changed-file set (1 path) — 28 commands; every one that has reported so far is exit
0. By the tool's own warning that list is not a complete account of CI.

Changeset

skip-changeset. Verified rather than assumed: every published package declares
files: ["dist","README.md","CHANGELOG.md"], all package-relative, and the repo-root
package is private: true with no files. The repo-root scripts/ directory is inside no
package and reachable from no published files[] entry, so this diff moves no published
byte.


Generated by Claude Code

…longer empty

The hand-classified corpus entry for `check-i18n-walk-parity.mjs` described that
gate's exemption ledger as shipping EMPTY. It has not been empty since the
maintainer ruled, on the gate's own first red, that the unwalked groups enter it
with their reasons — the described file records that move itself.

Both sentences are rewritten to what is true now: the ledger was filled by
maintainer ruling and only shrinks from there. The new prose deliberately
carries NO count: this family's failure mode is a number copied out of another
file going stale, and the ledger is shrink-only with one entry already declared
a deferral, so any number written here is stale by design.

Classification untouched: `expect: 'marked'` and the marked-rather-than-refused
reason survive byte-identical, and `check-i18n-walk-parity.mjs` is not edited.

Claude-Session: https://claude.ai/code/session_017ef78bLdybu3AffehKkhfk
Co-authored-by: Claude <noreply@anthropic.com>
@os-try-charles os-try-charles added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Sep 19, 2026 — with Claude
@os-try-charles
os-try-charles marked this pull request as ready for review September 19, 2026 01:00
@os-try-charles
os-try-charles added this pull request to the merge queue Sep 19, 2026
Merged via the queue into main with commit 8b8258d Sep 19, 2026
37 checks passed
@os-try-charles
os-try-charles deleted the claude/issue-15189-ledger-no-longer-ships-empty branch September 19, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

2 participants