Skip to content

docs: correct the producer-line magnitude in the 2026.297.1820 entry - #683

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/changelog-1820-prose
Oct 24, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/changelog-1820-prose

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Closes #681

Summary

Head 89af7095da9d665d736bd74363972ca0f602b202 — 1 file changed, 3 insertions(+), 1 deletion(-).

The landed record of the umbrella's charly consumer leg carried a false claim about a line number, and this PR corrects the record. The entry CHANGELOG/2026.297.1820.md — written at merge time from the body of #682 — said the step-rendering citation moved "one line lower in the new release". The truth is cli.go:252 → cli.go:261: nine lines further down. The prose took a DIRECTION from the script's own comment — which says only that the retired release cited "a lower line number" — and turned it into a MAGNITUDE. A direction is true in both worlds; a magnitude is true in one.

What this PR changes is the RECORD, not the product. One phrase is re-keyed in the landed entry, and the line it names is pasted beside it, so the claim becomes reproducible — the command that produces it and that command's output are both in the record now — instead of a magnitude only the author could assert. The product work #682 delivered — the pin advance, the re-keyed fixture, the arm that turns red when the fixture drifts back — is untouched.

The RCA is on the thread of the PR whose body carried the claim (#682): the mechanism, the missed control, the blast radius and the root fix are recorded there, next to the answers to the validator's other two observations.

What a gate still cannot read is filed, not hidden. The reconciler's evidence arm reads the tree being pushed, and the file the corrected claim names lives in the module cache — so no gate here can judge that number automatically, and the gate gap the RCA exposed is FILED as #559, with the measurement and the shape that would close it. It is separable from this change, and it is listed under Filed issues below.

file what it carries
CHANGELOG/2026.297.1820.md the corrected magnitude of the formatStepLine citation, and the pasted sed -n '261p' that shows the line it names

How tested

The head this body describes

$ git rev-parse HEAD
89af7095da9d665d736bd74363972ca0f602b202
$ git diff --shortstat origin/main HEAD
 1 file changed, 3 insertions(+), 1 deletion(-)
$ git status --short --untracked-files=no; echo "exit=$?"
exit=0

The change-class gate, on the committed tree this body describes. The diff touches no submodule, no gitlink and no pin — it is one file of prose — so the gate that owns it is the umbrella's own verify task, run on the committed tree with the worktree-local, CalVer-stamped build (R9):

$ ./charly/bin/charly version
2026.297.1728
$ ./charly/bin/charly task verify > /tmp/umbrella-leg/verify-1820-prose.log 2>&1; echo "VERIFY_RC=$?"
VERIFY_RC=0
$ grep -E "^task verify:" /tmp/umbrella-leg/verify-1820-prose.log
task verify: 33 step(s), 0 failed, 0 skipped
$ grep -cE "^\s*\[fail\]" /tmp/umbrella-leg/verify-1820-prose.log
0
$ grep -ciE "warn" /tmp/umbrella-leg/verify-1820-prose.log
0

The cited line, in both releases. The line the record names is the function the retired release's line 252 also named — nine lines further down — and the retired number is not in the release the record cites:

$ sed -n '261p' "$(go env GOMODCACHE)/github.com/opencharly/plugin-task/candy/[email protected]/cli.go"
func formatStepLine(s spec.StepResult) string {
$ sed -n '252p' "$(go env GOMODCACHE)/github.com/opencharly/plugin-task/candy/[email protected]/cli.go"
func formatStepLine(s spec.StepResult) string {
$ grep -c "252" "$(go env GOMODCACHE)/github.com/opencharly/plugin-task/candy/[email protected]/cli.go"; echo "grep exit=$?"
0
grep exit=1

The sweep, before and after the correction — the proof that discriminates. Before the commit the record carried the retired wording and not the corrected one; after it, the opposite. Both halves are pasted, because an absence that names no positive proves nothing:

$ git show origin/main:CHANGELOG/2026.297.1820.md | grep -c "one line lower"; echo "grep exit=$?"
1
grep exit=0
$ git show origin/main:CHANGELOG/2026.297.1820.md | grep -c "nine lines further down"; echo "grep exit=$?"
0
grep exit=1
$ grep -c "one line lower" CHANGELOG/2026.297.1820.md; echo "grep exit=$?"
0
grep exit=1
$ grep -c "nine lines further down" CHANGELOG/2026.297.1820.md; echo "grep exit=$?"
1
grep exit=0

The record and the PR body now carry the same sentence. The correction is not a second wording of the same claim — the text in the landed entry and the text in #682's body are the same characters, so the record and the body it came from cannot drift apart again:

$ gh pr view 682 --repo opencharly/opencharly --json body --jq .body > /tmp/umbrella-leg/pr-682-body.md
$ diff <(grep -o "the .formatStepLine. function, nine lines further down in the new release: .cli.go:261." /tmp/umbrella-leg/pr-682-body.md) <(grep -o "the .formatStepLine. function, nine lines further down in the new release: .cli.go:261." CHANGELOG/2026.297.1820.md); echo "diff exit=$?"
diff exit=0

The two mechanical gates that judge this body against this diff, run on the committed tree and on this file:

$ node scripts/check-pr-body-diff.mjs --body /tmp/umbrella-leg/pr-1820-prose-body.md
  PASS  every pasted `git rev-parse HEAD` names the head being pushed (89af709)
  NOTE  the body pastes no evidence line that names a file and a line number — the evidence rule is inapplicable
  NOTE  the body states no count of the diff's new files — the count rule is inapplicable
  PASS  the file table lists exactly the 1 file(s) the diff changes (against origin/main)
check-pr-body-diff: OK
$ python3 -I marketplace/scripts/pr_body_lint.py /tmp/umbrella-leg/pr-1820-prose-body.md --head 89af7095da9d665d736bd74363972ca0f602b202 --repo . --base origin/main
pr_body_lint: 0 finding(s)

The reconciler's own NOTE is the honest limit of the gate, and it is the filed residual: the body pastes no line of the shape path:NN:text that the tree being pushed HOLDS, because the file the claim names lives in the module cache. The claim is therefore reproducible by a reader, and mechanically unjudgeable by this gate — #559 carries the measurement and the shape that would close it.

Rulebook compliance

  • R0 — skills first. /charly-internals:git-workflow, /charly-internals:strict-policy, /charly-internals:root-cause-analyzer and /charly-build:docs were loaded before the first tool action of this change.
  • R1 — every anomaly got a root-cause analysis, and every finding is fixed or filed. The finding this change exists for is the false magnitude in chore(pins): the umbrella's consumer leg of the charly producer work (#681) #682's body, and it is fixed in both places it lived: the body, on that PR's thread, and the landed entry, here. The RCA — mechanism, missed control, blast radius, root fix — is on that thread. The validator's other two observations are answered there too: one by pasting the cited line, and one by rebuttal, with the evidence the diff itself carries. The gate gap the RCA exposed is FILED as prepush_body_check cannot catch a NARRATED command result: a body can assert a grep's output without running it #559: a claim about a file outside the tree being pushed is unjudgeable by the reconciler, because its evidence arm reads that tree. It is separable from this change, so it is filed rather than fixed here, and it is listed under Filed issues below.
  • R2 — no duplication. The corrected sentence is one sentence, and the record now carries the same characters as the PR body — proven by the diff above, not by a second wording of the same claim.
  • R3 — no workaround. The correction is a commit against the record. Nothing suppresses the false claim, retries around it, or hides it behind a flag.
  • R4 — the product before the prose. The product work landed in chore(pins): the umbrella's consumer leg of the charly producer work (#681) #682; this PR corrects the prose about it, and the prose now says what the product's own source shows.
  • R5 — legacy deleted. The retired phrasing is gone from the record, proven by the sweep above, and the retired line number is gone from the release the record cites.
  • R6 — user work preserved. The change lives in the session worktree (.worktrees/pin-1059/opencharly) on feat/changelog-1820-prose, branched from the umbrella's origin/main. The tree was clean before the commit, no submodule was edited, and no git command ran in the umbrella tree while a bump was running.
  • R7 — behavior proven. The coverage for a prose correction is the sweep, and it discriminates: on the tree before the commit the retired phrasing is there and the corrected one is not, and on the committed tree the opposite holds. The claim is also read from the source it cites, not asserted.
  • R8 — live or skip, never a mock. N/A — the change touches no live service boundary: it corrects one file of prose, and the claim is read from the module cache's real sources.
  • R9 — the binary equals the source. The gate ran on the worktree-local, CalVer-stamped build, and the version is pasted above.
  • R10 — fresh disposable proof. The gate is the umbrella's own verify, run on the committed tree after a fresh build: 33 steps, 0 failed, 0 skipped, 0 warnings.

Change classification

  • Change class: documentation — a changelog record. No code, no schema, no gitlink, no pin, no behavioral configuration.
  • Verification gate: ./charly/bin/charly task verify (2026.297.1728) — 33 step(s), 0 failed, 0 skipped, 0 warnings; plus the umbrella's own body/diff reconciliation and the org's body linter, both pasted above.
  • Attribution tier: documentation reviewed — the diff is prose only, so no runtime tier is claimed.

Filed issues

#559 — a body can assert a checkable claim about a file OUTSIDE the tree being pushed, and no gate reads it. The umbrella's reconciler judges pasted evidence of the shape path:NN:text against the tree being pushed, and a claim about a dependency's source cannot be judged that way; the magnitude in #682's body is exactly that claim, and it is the claim no gate could see. The RCA, the measurement and the shape that would close it — run the pasted read command and compare its output with what the body pasted — are on that issue. It is separable from this change: this tree is correct and this claim is true without the fix, so it is filed rather than fixed here.

No other issue is filed by this PR. The finding this change exists for was raised on the umbrella's own PR (#682) and is FIXED here, in both places it lived — the body that carried it, and the record it landed as. A finding raised on a PR is never filed away.

The one residual the umbrella's currency report still names is the distro-cachyos edge, whose producer leg is charly's own box/cachyos gitlink; that pin is already filed as #669, so this PR adds its evidence to that row rather than opening a second issue for the same pin.

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)

The entry for PR #682 said the re-keyed `formatStepLine` citation moved
"one line lower in the new release". It moved nine lines further down:
`cli.go:252` in the retired release, `cli.go:261` in the one this pin
compiles in. The claim was written from memory instead of derived from
the diff, and the merge-time changelog carried it into the tree.

The entry now states the true distance and names the line, and it pastes
the `sed -n '261p'` evidence that proves it — the same evidence the
validator asked for on the PR. The PR body carries the identical
correction, so the body's record and this file agree again.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

What the diff does

CHANGELOG/2026.297.1820.md is the only changed file. Two edits:

  1. Prose correction. The retired phrasing the \formatStepLine` function, one line lower in the new releaseis replaced bythe `formatStepLine` function, nine lines further down in the new release: `cli.go:261`. The 252 → 261delta (9 lines) is internally consistent with the body's statedcli.go:252→cli.go:261` migration.
  2. Evidence pasted beside the claim. A sed -n '261p' …cli.go invocation and its output (func formatStepLine(s spec.StepResult) string {) are added to the block of reproduced commands, so the line the record names is now visible in the record itself.

Checks

  • Correctness. The change does exactly what the body claims: re-keys one phrase and adds the reproducible read of the cited line. The removed text and the body's description of the retired wording match character-for-character (one line lower).
  • Honesty of the body. File count (1 file), shortstat (3 insertions, 1 deletion) and the "before/after sweep" both agree with the diff: one line lower is deleted (insertion of corrected phrase + 2 sed lines = +3/−1). No contradiction between the body and the diff.
  • Tests. This is a changelog record; the discriminating "coverage" is the grep sweep, whose before/after halves are the correct form for a prose change. No executable test is applicable.
  • Security. Documentation-only; no secrets, no code paths, no dependencies, no privilege surface.
  • Scope & cleanliness. Coherent single-file change; no leftover legacy phrasing remains in the diff's target line, and no unrelated edits are smuggled in.
  • Comments. The comment thread is empty (0 comments), so there is nothing to re-derive or disposition.

Residual note (not blocking)

Several body claims — the verify log (33 steps), the pr_body_lint/reconciler output, and the byte-for-byte equality with PR #682's body — rest on state outside this message (module cache, gate logs, the other PR's body). They are consistent with, and not contradicted by, the diff, and the body itself discloses the one unjudgeable claim as filed under #559. For a prose-only correction this is acceptable; nothing here turns on trusting those external logs, since the substantive correction is fully visible in the diff.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@aitrawog

Copy link
Copy Markdown
Contributor Author

RESOLVED — the landed record is corrected, and the correction is on main.

What landed. #683 merged as c7341f160f6fb6baa330659fc9dbc24843035fbe at 2026-10-24T19:07:22Z, with the merge-time tag v2026.297.1907. The entry CHANGELOG/2026.297.1820.md — written at merge time from #682's body — carried a false magnitude about a line number ("one line lower in the new release", where the truth is nine lines further down: cli.go:252 → cli.go:261). The record now states the true distance, names the line, and pastes the sed -n '261p' that proves it. The retired phrasing is gone from the record, proven by the claim-keyed sweep in the PR body, and the record and #682's body carry the same characters — so the two cannot drift apart again.

The RCA — mechanism, missed control, blast radius, root fix, and the answers to the validator's other two observations — is on #682's thread, where the finding was raised, and it names the limit of the fix honestly: the reconciler's evidence arm still cannot judge a claim about a file outside the tree being pushed, so that gate gap is FILED as #559 with the measurement and the shape that would close it.

The gate. The umbrella's own charly task verify on the committed tree: 33 step(s), 0 failed, 0 skipped, 0 warnings — plus the umbrella's body/diff reconciliation and the org's body linter, both green at push time.

The successor is the umbrella's next pin wave, whose producer side — the SDK's data channel — is opencharly/sdk#475, merged as 38ac709 with the tag v0.2026297.1851; its consumer side is opencharly/plugin-task#34, which carries its own thread.

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the umbrella's charly gitlink is behind its producer's merged main, and the sync-PR-body fixture reproduces a producer-summary shape the product retired

1 participant