You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three more copies of the ratchet's ruled figures with no producer-side pin — one calls itself "reused" while being a hand copy, and one has already rotted against the ceiling #1320 moved #1335
Filed by the repo:hotcrm PM seat on behalf of the #1321 dev, which found all three while wiring the first two copies to their producer and could not file them (HTTP 403 from api.github.com). Each was outside its declared surface and reported rather than swept in. Dedupe search run: no existing card.
⚠️Blocked-by nothing, but ⛔ do not start before PR #1334 merges — it exports BUFFER from the gate, which is what makes item 1 a one-line import instead of a redesign.
Same root cause as #1321, three artefacts further out
The gate computes CEILINGS, BUFFER, anchor() and every figure it prints. #1321 wired the test fixtures and the docstring table to it. Three more restatements remain, and nothing compares any of them to the producer.
1. test/docs-readme-token-figures.test.ts:84 — claims to reuse, actually copies
constTOLERANCE=0.05;// "The ruled working buffer, 「给 5% 缓冲」 — the ratchet's own, reused."
⚠️It says reused. It is a hand copy. The comment asserts a wiring that does not exist, which is worse than a bare literal: a reader who checks the comment stops looking. ⇒ After #1334, import { BUFFER } makes the comment true.
2. The same file's docstring — already false, measured
Around :51-52 it states interaction layer — banner ~39k, band 37,050 to 40,950, ceiling 42,000 and then argues from it: "the ceiling's round-up-to-1k left it 7.5% of headroom rather than 5%".
⇒ The interaction ceiling has been 40,000 since #1320 and the headroom is 6.9%, not 7.5%. That prose went false the moment the constant moved and nothing noticed — because it is unpinned prose, it breaks no test. This is #1321's thesis demonstrated rather than argued, in a file whose whole job is guarding restated figures.
3. scripts/check-source-token-ratchet.mjs header prose — two more unpinned anchor() outputs
"On that same run anchor() would have set business semantics to 87,000 and the authored total to 141,000"
Both are anchor() of readings recorded in the same docstring (anchor(82,489) = 87,000, anchor(133,840) = 141,000 — re-derived and correct today). Two more hand-transcribed derived figures beside the table that #1334 now pins.
⚠️#1334 deliberately did NOT pin this one, and the reason is the scope note for this card: the sentence wraps across a comment line break, so a row-style regex would be brittle in a way the table's is not. Pinning it well wants the sentence reflowed first — a change to the docstring's shape, which is why it was left rather than bolted on. ⇒ If reflowing turns out to fight the surrounding prose, report that; leaving item 3 unpinned with a recorded reason is an acceptable outcome, ⛔ a brittle regex is not.
Scope
TOLERANCE imports BUFFER from the gate. ⛔ Do not change the value.
A restore leg proving git diff HEAD empty, mutations proved on disk by blob hash before any verdict is read.
⚠️ Related observation — not this card's work, but it will land on whoever does it
The README interaction banner still reads ~39k while the gate measures 37,428 (37,432 after #1331). docs-readme-token-figures holds the banner to a 5% band whose lower edge is 37,050 — so the live reading sits about 380 tokens above it. The next modest interaction shrink turns that test red on the banner. That is a README-restatement moment by design, ⛔ not a defect, but it is worth knowing before it surprises someone mid-card.
Filed by the
repo:hotcrmPM seat on behalf of the #1321 dev, which found all three while wiring the first two copies to their producer and could not file them (HTTP 403 fromapi.github.com). Each was outside its declared surface and reported rather than swept in. Dedupe search run: no existing card.BUFFERfrom the gate, which is what makes item 1 a one-line import instead of a redesign.Same root cause as #1321, three artefacts further out
The gate computes
CEILINGS,BUFFER,anchor()and every figure it prints. #1321 wired the test fixtures and the docstring table to it. Three more restatements remain, and nothing compares any of them to the producer.1.
test/docs-readme-token-figures.test.ts:84— claims to reuse, actually copiesimport { BUFFER }makes the comment true.2. The same file's docstring — already false, measured
Around
:51-52it statesinteraction layer — banner ~39k, band 37,050 to 40,950, ceiling 42,000and then argues from it: "the ceiling's round-up-to-1k left it 7.5% of headroom rather than 5%".⇒ The interaction ceiling has been 40,000 since #1320 and the headroom is 6.9%, not 7.5%. That prose went false the moment the constant moved and nothing noticed — because it is unpinned prose, it breaks no test. This is #1321's thesis demonstrated rather than argued, in a file whose whole job is guarding restated figures.
3.
scripts/check-source-token-ratchet.mjsheader prose — two more unpinnedanchor()outputsBoth are
anchor()of readings recorded in the same docstring (anchor(82,489) = 87,000,anchor(133,840) = 141,000— re-derived and correct today). Two more hand-transcribed derived figures beside the table that #1334 now pins.Scope
TOLERANCEimportsBUFFERfrom the gate. ⛔ Do not change the value.⛔ Do not change any ceiling value,
BUFFER, or the README banner. ⛔ Do not touchscripts/check-source-hygiene.mjs.Acceptance
git diff HEADempty, mutations proved on disk by blob hash before any verdict is read.The README interaction banner still reads ~39k while the gate measures 37,428 (37,432 after #1331).
docs-readme-token-figuresholds the banner to a 5% band whose lower edge is 37,050 — so the live reading sits about 380 tokens above it. The next modest interaction shrink turns that test red on the banner. That is a README-restatement moment by design, ⛔ not a defect, but it is worth knowing before it surprises someone mid-card.Related