Repository navigation
fix(record): the 2026.301.0644 entry's file count is tool-derived, and the gate now reports it - #768
Conversation
… report it (#767) The record that landed with #766 states "18 claim-maker surfaces across 8 files". The 18 surfaces live across NINE files: charly.yml carries five of them, and it is the manifest, so a count of the diff's PROSE files excluded it. The surface count is right; the file count is off by one. The RCA is on #767. The mechanism: the number was counted by hand, because the gate reported only the SURFACE count and no tool reported the file count, so the one number in the claim that no tool could check was the one that was wrong. The missed control: nothing asked whether a prose count is reproducible from the tree. The blast radius: one sentence of one shipped record. The root fix: the record is corrected with the measurement pasted beside it, and the gate now REPORTS the file count and the classification it made, so the number in any future body is a tool output rather than a hand count. Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
|
STATUS The fix is open as #768, at head The record is corrected (nine claim-maker files, not eight) and the gate that made the claim now REPORTS its classification — the claim-maker files with their count, the non-claim mentions and the exempt controls — so the number in any future body is a tool output and never a hand count. The change-class gate passed on the committed tree: What is done: the record's number corrected with the measurement pasted beside it; the gate's reporting added; the umbrella's own change-class gate green on the committed tree; the PR body linted and reconciled against the diff. What is next: the fresh validator's verdict on #768, and every finding it raises fixed in one commit per round. Next update: the validator's verdict, and the head any fix commit carries. Agent: charly · session Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated) |
Review — PASSVerification performed against the current stateDiffstat honesty. Body claims 2 files / +42 / −2. Counted from the diffs: Correctness of the code change. The new tail of Record correction. The record now reads "18 claim-maker surfaces across 9 files"; the pasted gate output lists exactly 9 claim-maker files carrying 18 surfaces ( A trap avoided. The record asserts the scope gate "holds no 'preview', 'dry run' or 'read-only' literal at all, so it cannot trip the class it checks." I checked every added line of the new comment block and JSDoc against those literals — none appear, so the sibling Tests / coverage. The substantive behaviour (the 18 enumerated surfaces, the coverage arm, the self-test) is unchanged and already exercised; the added lines are pure output of already-asserted data, so there is no new branch that needs a fail-without-it test. No regression risk to the Security / scope. No secrets, no input handling, no dependency change, no Go/schema/gitlink/pin touched; only two umbrella files. Coherent and complete, no dead code or duplicated logic. Comment disposition. The single comment (6462796092, @aitrawog, the PR author) is a status restatement, not a sign-off. Its head SHA Non-blocking observations
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS #768 landed as The validator's PASS carried two observations: the record's phrase "the nine claim-maker files and their surface counts" was loose (the gate prints the file list and the aggregate surface count, not a count per file), and the new reporting had no test asserting it. Both are findings raised on my own PR, so R1 requires them fixed, not filed away. The fix was committed but never pushed — the merge beat it to the branch. It is now on branch What the successor changes: the record's phrase now names exactly what the gate prints, and the gate reads its OWN printed text and compares each reported count with the list beside it BEFORE publishing it — a disagreement turns the gate red, so a measurement that disagrees with its list never reaches a reader. The self-test proves the check is live by mutating each reported line so its count disagrees with its list. #767 stays open on purpose. The merge was performed by What is done: #768 merged (the record's file count corrected to nine, with the measurement pasted beside it; the scope gate reports its classification); the round-1 fix re-based onto the current What is next: the change-class gate ( Next update: the successor's PR number and its head, when the gate is green. Agent: charly · session Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated) |
…rd names it (#767) (#769) The validator's PASS on #768 carried two observations. Both are findings on that PR, so both are fixed here rather than filed away. #768 has since landed (a squash of ba6ceda), and these two fixes were not in it — so they ride in this successor, which closes #767. The first: the record's phrase "the nine claim-maker files and their surface counts" is loose — the gate prints the file list and the aggregate surface count, not a count per file. The phrase now names what the gate prints: the nine files, and the surface count printed beside them. The second: the new reporting had no test asserting it. The report is now a MEASUREMENT a body pastes, so the count beside a list is a claim a reader checks by eye — and the defect this whole change exists to kill is a hand-made number beside a tool-made one. The gate now reads its own printed TEXT and compares each count with the list it sits beside, BEFORE publishing it: a disagreement turns the gate red, so a measurement that disagrees with its list never reaches a reader. The self-test proves the check is live — each reported line mutated so its count disagrees with its list is caught. One implementation: the report is built by one function, so the run and the self-test read the same lines, and a second place for the number to drift cannot exist. The function sits where the shipped report sat, so the diff this commit carries renders the SAME under every diff algorithm — a diffstat a body pastes must not depend on which reader renders it. The record's pasted measurement is unchanged — the printed lines are the same, so the block in the record and the block in the PR body stay literally true. Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
Closes #767
Summary
Head
ba6cedaf85176f68eac3f25115becf0010af64fe— the commit this PR pushes: 2 files changed, 42 insertions(+), 2 deletions(-)The record that landed with #766 states "18 claim-maker surfaces across 8 files". The eighteen surfaces live across NINE files:
charly.ymlcarries five of them, and the count had left the manifest out because the count was of PROSE files and the manifest is not prose. This change corrects the shipped record and closes the control that let the wrong number through — the scope gate now REPORTS the file count and the three classes it judged, so the number in any future body is a tool output and never a hand count.CHANGELOG/2026.301.0644.mdscripts/check-pin-verb-scope.mjsThe record's number, and the gate that now produces it. The correction is not a different hand count — it is the gate's own output, pasted into the record beside the claim:
Why the number was wrong, in one line. The gate reported a SURFACE count (18) and no tool reported a FILE count, so the one quantity in the claim that no tool could produce was the one that was hand-made and the one that drifted. The gate now prints its classification, so the file count is derived from the same list the gate already holds.
How tested
The head this body describes, and the tree it is on
The claim-keyed sweep: both retired numbers are gone from the tree (below).
The gate's own assertions are live — the self-test mutates each one and the gate turns red, and it ends green on a truthful rewording:
The retired-claim class still holds — the sibling gate that forbids the retired wording is green on the same tree:
The umbrella's change-class gate, on the committed tree —
./charly/bin/charly task verify, its whole output in/tmp/767/verify.log:Rulebook compliance
/charly-internals:git-workflowand/charly-internals:strict-policywere loaded before the first tool action of this change;/charly-internals:root-cause-analyzerfor the RCA it answers. No new skill family is touched.git statuswas clean before the commit and the diff touches only the umbrella's own files; no submodule was edited, no commit was amended after the first push, and no force-push or hook bypass was used.charly task verifyreports 46 steps, 0 failed, 0 skipped, with no warning line in its output.Change classification
A record correction plus a gate's own reporting — no product-runtime change. The diff corrects one number in a shipped record and teaches the gate that made the claim to print the classification it already computed. It changes no Go source, no schema, no gitlink and no pin.
CHANGELOG/record) plus a script change (scripts/check-pin-verb-scope.mjs). It is not the documentation-only class: a.mjsgate changed, so thedocumentation reviewedtier is forbidden and the runtime tiers apply.fully tested and validated— the change-class gate passed on the committed tree and the changed path ran live.Filed issues
None. The one finding this change addresses is #767, which this PR closes, and its RCA is on that issue's thread. The corpus side of the same edit needs no issue of its own: the umbrella's authored skills are projected into the marketplace corpus by the marketplace's standing refresh, which advances every
@githubpin in the refs list to its repo's newest tag and regenerates the corpus from it — so the scope claim reaches the corpus with that refresh, and the umbrella picks it up with the next pin wave.Agent: charly · session
ses_8efb271d-f2c0-47d3-85e3-2a1e00b11ae0Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)