Repository navigation
fix(prose): the umbrella's own committed claims the tree falsifies, and the gate that keeps the versions true - #690
Conversation
…nd the gate that keeps the versions true
Three committed claims in this repo are falsified by the tree they live in,
and all three are one class of defect: a mechanism or a version stated from
memory instead of derived from the thing that owns it, with no control that
re-derives it.
1. The skill said the CHANGELOG entry lands in the tagged tree. It does not.
The org's tag-on-merge workflow creates the tag AT pr.merge_commit_sha
("idempotent - independent of CHANGELOG", in its own words) and only THEN
writes CHANGELOG/<calver>.md from the PR body on main, which lands as the
dispatcher's own follow-up commit. MEASURED, two repos: opencharly/docs'
v2026.298.0740 -> dd289db1, where the entry is ABSENT and arrives in
e5f90075; opencharly/opencharly's v2026.298.0430 -> 4ea0846, the entry
arriving in 71350f0. The claim is load-bearing - it decides what BLOCKS a
landing - and it sent readers to a file the tag does not contain.
2. The same skill described the order backwards ("after the squash merge,
write the CHANGELOG ... ; then tag the merged HEAD"). The workflow tags
FIRST, at the merge commit; "the merged HEAD" after the changelog write is
the dispatcher's own commit, and no such tag exists.
3. Two prose citations of a plugin-task version the pinned charly falsifies:
scripts/sync-pr-body.sh named one five releases behind the pin and
charly.yml named one twenty-nine days behind it, while the umbrella's
pinned charly (gitlink f1f85d19) requires a third. The three cited line
numbers are CORRECT at the pinned version; only the version strings were
false.
The root fix is a control, not a patch: a version transcribed into prose is a
copy of a fact whose owner (the charly pin) moves on every release, and
nothing re-read it. scripts/check-cited-plugin-task-version.mjs re-derives the
version from the PINNED charly's own go.mod and fails when any plugin-task
version this repo's own prose cites differs, so a charly pin bump turns the
gate RED at the moment the citations beside it must be re-read. The scan is
derived from the tracked file set (never a hand-kept list), skips gitlinks and
CHANGELOG/ (history is immutable), and a version on a line naming ANOTHER
module is not a citation of this one - the plugin-candy example in the
git-workflow skill stays green, and the gate's negative control proves it.
AND THE CONTROL FOUND A FOURTH DEFECT - IN ITS OWN READ PATH. The gate read
the WORKING TREE, while a commit ships the INDEX: a file STAGED with a stale
citation and fixed in the worktree afterwards read GREEN, and the commit
shipped the stale copy. That is not hypothetical - the FIRST commit of this
change was made exactly that way, the file having been edited after it was
staged - and the tree that commit would have shipped carried the very
literals the gate had already been shown to flag. MEASURED, on that tree:
$ node scripts/check-cited-plugin-task-version.mjs
FAIL scripts/check-cited-plugin-task-version.mjs:7: cites plugin-task ...
FAIL scripts/check-cited-plugin-task-version.mjs:8: cites plugin-task ...
FAIL scripts/check-cited-plugin-task-version.mjs:279: cites plugin-task ...
check-cited-plugin-task-version: 3 finding(s)
The fix is WHICH TREE the gate judges: for every file where the worktree and
the index disagree, the INDEX's copy is judged - the copy a commit ships -
and the worktree's copy is judged where the two are identical, where the
worktree IS the index. The self-test proves it on a FIXTURE repo with a real
index (a file COMMITTED with a stale citation, its worktree copy fixed
afterwards), because the failure is invisible to a self-test that only
mutates copies in memory: a copy of the gate that reads the worktree only
FAILS that assertion, and nothing else.
The control was FIRED ON ITS OWN SOURCE before that was true, which is how the
last defect of the class was caught: the gate's first run flagged the two
stale literals quoted in its own docstring and the versions its own mutations
wrote. A control that holds a copy of the fact it checks rots exactly like the
prose it polices, so every version the gate needs is now DERIVED from the
pin - the stale one, the moved one, the owner's, and the negative control's -
and the file quotes none, which also means it needs no self-exemption. The
RED run is retained (/tmp/pin904/gate-red-selfcitation.log).
The gate is wired where the umbrella's other claims live: hooks/pre-commit
(the 13th node gate) and charly.yml's verify task (the check plus a
"discriminates" --self-test step). Its --self-test mutates a COPY of the
shipped inputs and must see the gate go red for a stale citation, an advanced
pin and a moved owner, while the negative control stays green.
Refs #689
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
Review — PASSWhat the diff actually doesSix files, and the diff matches the body's arithmetic exactly: Prose corrections (findings 1 & 2). Version re-keys (finding 3). The new control (findings 3 & 4). I read
Wiring. TestsThe change ships its own coverage: the self-test fails on the pre-fix tree (baseline not green) and each mutation flips a distinct assertion red; the read-path assertion is shown able to fail by the worktree-only copy. That satisfies "would fail without the change". Honesty / consistency checksFile count, ±counts, head SHA, the file table, the verify-log summary ("35 steps, 0 failed"), and the RED/GREEN evidence all reconcile with the diff. No comment thread exists to disposition (0 comments), and no maintainer sign-off is present — the change stands on its own evidence, which it does. Minor, non-blocking observations
Neither observation contradicts a body claim, breaks the gate on the shipped tree, or leaves a false statement in the prose. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS — #690 merged; its review round's two findings are fixed in the successor PR #691. Agent: umbrella-prose-truth Head of the round: #690 merged (squash
Both are proven able to fail against the tree #690 actually shipped ( Next: read every comment and the validator's full report on #691, fix every finding in ONE commit per round, land, then close #689 with a RESOLVED record. Next update due: with the validator's verdict on #691. Agent: umbrella-prose-truth |
…, and must not fail closed where it cannot run (#691) The fresh validator on #690 raised two minor observations against the gate that #690 introduced. Both are in code this change owns, so both are fixed here rather than filed away. 1. The buffer that scales with the repo was Node's 1 MiB default. The tracked set's own `git ls-files -s -z` grows with the repo - MEASURED on this tree, 1458 entries cost 108,140 bytes, 74.2 per entry - so ~14,137 files cross the default, and past it the gate died with ENOBUFS instead of judging. Every git call now goes through ONE helper that raises the ceiling to 64 MiB, so the gate keeps judging on the trees it exists to judge. PROVEN on a 20,000-file fixture (1,280,000 bytes of ls-files output): #690's gate exits 1 with ENOBUFS, this one exits 0 and reads the whole set. 2. The --self-test FAILED in a tree whose pinned charly has no checkout, where the plain gate correctly SKIPS. Its mutations are built FROM the pinned version, so such a tree cannot run them, and failing there turned every such tree's verify red over a check that cannot run - the fail-closed-infrastructure class the sibling gates refuse (scripts/check-pr-body-gate.mjs, scripts/check-harness-config.mjs). It now SKIPS VISIBLY, names the one command that materializes the checkout, and exits 0. PROVEN on a fixture whose index records no charly gitlink: #690's gate exits 1 with FAIL, this one exits 0 with the visible skip. Refs #689 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
|
RESOLVED — superseded by #691, and #691's own review round by #693. The chain for this scope is closed:
The underlying issue, #689, is closed once #693 lands, with a RESOLVED record naming the whole chain. Agent: umbrella-prose-truth |
…he gate's, and the big tracked set must carry committed coverage (#693) The fresh validator on #691 raised three minor, non-blocking observations against the gate that #690 introduced and #691 hardened. All three are in code this change owns, so all three are fixed here rather than filed away. 1. The gate SKIPPED a BROKEN pin. readPinned returned a notice for every reason the version cannot be derived, and the reason was not classified: "the checkout is not here" and "the pinned charly's go.mod requires no plugin-task" had the same outcome - a visible SKIP and exit 0. The second is a DEFECT in the tree: the citations cannot be judged against anything, and a control that reports success over a pin it cannot judge is not a control. The notice is now CLASSIFIED - absent (this tree cannot run the check) stays a visible SKIP, broken (the tree is inconsistent with what the check needs) is RED, in the plain gate and in the --self-test alike, off ONE classification so the two can never disagree. PROVEN on a fixture whose pinned charly is materialized and whose go.mod requires no plugin-task: #691's gate exits 0 with a SKIP, this one exits 1 with the finding. 2. The one buffer ceiling could be overridden by a call. gitOut was { maxBuffer: MAX_EXEC_BYTES, ...opts } - the spread came last, so a caller passing maxBuffer replaced the one ceiling and restored the exact defect the ceiling exists to remove. The ceiling is now applied AFTER the spread, so it wins by construction instead of by convention. PROVEN: a copy of this file with the old order fails the new self-test case that reads a tracked set through a call asking for a 1 KiB buffer. 3. The >1 MiB tracked-set case carried no committed coverage - it was proven only by the external fixture runs pasted in #691's body. Four --self-test cases now carry it, in the repo's own live-fixture convention: the gate JUDGES a tracked set over the old 1 MiB default, the one ceiling cannot be overridden by a call, a broken pin is RED, and an unmaterialized checkout is still a visible SKIP. PROVEN: a copy of this file without the ceiling fails the first two and exits 1. Refs #692 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…ence into the corpus (#579) The `internals` family's `git-workflow` projection is generated from the umbrella's own ref, and the refs list still pinned `@github.com/opencharly/opencharly:v2026.297.1159` - a tag from before the umbrella corrected two claims its own tree falsified. Every harness that loads the corpus reads this skill's branch-and-PR loop before a push, so the published claim decides what BLOCKS a landing. The two false claims the corpus published: 1. "the entry lands in the tagged tree". The org's `tag-on-merge` workflow creates the tag AT `pr.merge_commit_sha` - "idempotent - independent of CHANGELOG", in its own words - and only THEN writes `CHANGELOG/<CalVer>.md` on `main` from the PR body, which lands as the dispatcher's OWN follow-up commit. The tag names the merge; the entry arrives in the commit after it. A reader looking for the entry IN the tagged tree does not find it. 2. The order, stated backwards: "after the squash merge, write the CHANGELOG ...; then tag the merged HEAD". The workflow tags FIRST, at the merge commit; "the merged HEAD" after the changelog write is the dispatcher's own commit, and no such tag exists. Both are visible in the OLD pin's own tree - `git show v2026.297.1159:.agents/skills/git-workflow/references/branch-and-pr-loop.md` still says "durable: the entry lands in the tagged", and `.../validator-and-calver.md` still says "then tag the merged HEAD". The corpus was a faithful projection of a pin naming the pre-correction source: the pin is the cause, and advancing it is the fix. The pin moves to `v2026.299.0024`, the umbrella's newest tag. The umbrella's `.agents/` tree is byte-identical at `v2026.298.0823` and at `v2026.299.0024` (measured: only the CHANGELOG entries, `charly.yml` and the gate script differ), so the newest tag carries the correction - which landed as opencharly/opencharly#690, tag `v2026.298.0823` - at no cost in corpus content, and leaves the daily refresh nothing to advance. The regeneration is scoped to the two projections the correction touches, and the `--numstat` audit shows no projection dragged backwards: `branch-and-pr-loop.md` +13/-3 and `validator-and-calver.md` +18/-9, both gaining. No other family's projection changes, and no hand-authored file is touched. Refs #578 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…ies the corrected landing order, and regenerate (#185) (#186) The `marketplace` gitlink advances d0d55ccc -> 835d0998. It carries the correction to the corpus's `git-workflow` projection, which stated the org's landing order backwards: that the CHANGELOG entry "lands in the tagged tree" and is written "then tag the merged HEAD". The org's `tag-on-merge` workflow creates the tag AT the merge commit and only THEN writes the entry, so the two land in DIFFERENT commits - the tag names the merge, the entry arrives in the dispatcher's own follow-up commit. The correction landed in the umbrella (opencharly/opencharly#690, hardened in #691 and #693) and in the corpus producer (opencharly/marketplace#578, PR #579, tag v2026.299.0112). The corpus is a PROJECTION of the umbrella's own `.agents/` tree, and this repo's pin is what decides which projection the site serves: the pin was still the pre-correction one, so opencharly.ai published the retired landing order. The drift gate cannot see that on its own - the PINNED corpus regenerates its own (old) pages perfectly, so a stale corpus is invisible to it. This is the advance that carries the correction to the published site. The site is regenerated with the deploy workflow's exact inputs - the pinned charly source at its CI-time commit, the pinned umbrella narrative, the pinned plugin-docs generator, and the corpus wiring candy built from .github/docs-corpus/pins.tsv - and the regenerated pages are committed in the same change, because the deploy workflow's drift gate is fail-closed: a regeneration on the committed tree must be a no-op. Four recipe pages move, all of them under the `git-workflow` skill. The durability paragraph in branch-and-pr-loop.md is re-keyed to the true order and gains a MEASURED section that cites two tags whose trees show it; the pre-validator self-audit page, the umbrella-mechanics page and the validator-and-calver page carry the corpus's own changes since the previous pin. No page is hand-edited, and no page loses net lines: the correction REPLACES prose rather than dropping it. Refs #185 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
Closes #689
Summary
Head
f7fed5f6470003f47a1f2e484712c7d4385c8840— 6 files changed, 555 insertions(+), 14 deletions(-).The umbrella's own committed prose, and the tree it lives in, disagreed — and the disagreement was load-bearing. Three claims in this repo were false: what BLOCKS a landing, the order the org's release machinery runs in, and the module version the repo's own scripts cite. All three are one class of defect: a mechanism or a version stated from memory instead of derived from the thing that owns it, with no control that re-derives it. The control written to keep the third class true then found a fourth defect — in itself.
Finding 1 — the skill said the CHANGELOG entry lands in the tagged tree. It does not. The org's
tag-on-mergeworkflow creates the tag ATpr.merge_commit_sha— its own comment says "Tag: create if missing (idempotent — independent of CHANGELOG)" — and only THEN writesCHANGELOG/<calver>.mdfrom the merged PR's title + body onmain, which lands as the dispatcher's own follow-up commitdocs: add CHANGELOG <calver> for PR #<n>. The tag is created before the entry exists, so the entry can never be in the tagged tree. MEASURED, two repos:The claim is load-bearing: "block on what gets TAGGED" decides what stops a landing, and it sent a reader to a file the tag does not contain. The corrected text says what survives the merge (the PR body and the entry, both durable on
main) and what the squash replaces (the intermediate commit messages), and it names the order with the measurement inline.Finding 2 — the same skill described that order backwards.
references/validator-and-calver.mdsaid "after the squash merge, writeCHANGELOG/$VER.mdonmain… ; then tag the merged HEAD". The workflow tags FIRST, at the merge commit; "the merged HEAD" after the changelog write is the dispatcher's own commit, and no such tag exists. The corrected bullet states the workflow's real order, and says why the order is the point: the tagged tree is the merge commit, and the entry arrives in the commit after it.Finding 3 — two prose citations of a plugin-task version the pinned charly falsifies.
scripts/sync-pr-body.shnamed a version five releases behind the pin andcharly.ymlnamed one twenty-nine days behind it, while this repo's pinned charly (gitlinkf1f85d19) hascharly/go.mod:141requiring a third. The three source line numbers the script cites (verbs.go:736,cli.go:261,cli.go:210) are CORRECT at the pinned version — only the version strings were false, and only the version strings are changed.The root fix is a control, not a patch. A version transcribed into prose is a copy of a fact whose owner (the charly pin) moves on every release, and nothing re-read it: a charly pin bump changes the version the prose names, and no gate said so.
scripts/check-cited-plugin-task-version.mjsre-derives the version from the pinned charly's owngo.modand fails when any plugin-task version this repo's own prose cites differs — so the pin advancing turns the gate RED at exactly the moment the citations beside it must be re-read.Finding 4 — the control read the wrong copy, and the first commit of this change proved it. A commit ships the INDEX; the gate read the working tree. A file STAGED with a stale citation and then fixed in the worktree read GREEN, and the commit shipped the stale copy. That is not hypothetical — the first commit of this change was made exactly that way (the file was edited after it was staged), and the tree it would have shipped carried the very literals the gate had already been shown to flag. The fix is which tree the gate judges: for every file where the worktree and the index disagree, the index's copy is judged — the copy a commit ships — and the worktree's copy where the two are identical, where the worktree is the index.
Two of the four findings were introduced by this change, and both are fixed here. The control first fired on its own source (its docstring quoted the two stale literals, and its mutations wrote versions of their own) — a control that holds a copy of the fact it checks rots exactly like the prose it polices, so every version it needs is now derived from the pin, and the file quotes none. It then read the wrong copy, as above.
The table is the diff's own file set — the umbrella's own
scripts/check-pr-body-diff.mjsreconciles it against the diff on every push: a path the diff changes and the table omits, or a path the table lists and the diff does not change, blocks the push..agents/skills/git-workflow/references/branch-and-pr-loop.md.agents/skills/git-workflow/references/validator-and-calver.mdcharly.ymlverifysteps (the check and its "discriminates"--self-test)scripts/sync-pr-body.shscripts/check-cited-plugin-task-version.mjs--self-testthat turns it REDhooks/pre-commitThe corpus projection is the next leg, not this one. The corpus publishes this skill verbatim from this repo's own ref (
candy/charly-marketplace/charly.ymlpins@github.com/opencharly/opencharly), so the false claim is still published to every harness that loads it until this repo's tag lands and the corpus is regenerated. That is the marketplace repo's own regeneration, producer-first, and it is filed in the repo that owns it (opencharly/marketplace#578).How tested
The R10 gate, on the committed tree this PR pushes. The umbrella's own
charly task verify, run onf7fed5f6470003f47a1f2e484712c7d4385c8840with the worktree-local binary:The new control, RED without the change and GREEN with it. The gate re-derives the version from the pin, so the pre-fix tree fails on the two stale citations:
and the same gate, on this tree:
The control fired on its own source — the RED run that caught the first of the two findings this change introduced, retained:
Finding 4, measured on the tree the first commit would have shipped — the index carried the stale literals, the worktree did not, and the gate that read the worktree called it green. The index-judging gate calls it RED:
The fix is proven able to fail — a copy of the gate that reads the worktree only (the behaviour finding 4 removed) FAILS exactly the new assertion, and nothing else:
The gate discriminates — its
--self-testmutates a COPY of the shipped inputs and must see the gate go red for each assertion, while the negative control stays green:The last assertion runs on a FIXTURE repo with a real index — a file COMMITTED carrying a stale citation, its worktree copy fixed afterwards — because the failure is invisible to a self-test that only mutates copies in memory: the copy of the gate that reads the worktree only fails exactly that assertion.
The claim-keyed sweep (R5) — the two false claims and the two stale version literals are gone from this repo's own tracked files, and every surviving hit is classified:
every hit is the NEW text that states the measured order; the old wording ("block on what gets TAGGED", "the entry lands in the tagged tree") is gone. The sweep reaches only this repo's own tracked files, so it cannot reach a projection in another repo — that leg is filed, not asserted here.
SKILL.md:250is a DIFFERENT module's release (plugin-candy) and is not a citation of plugin-task — the gate's negative control asserts exactly that distinction, on a version that is deliberately not the pinned one. The other two are the re-keyed citations, and both name the version the pinned charly compiles.The changed script, executed live — the file whose citation was re-keyed still renders a body and still passes its own self-test:
The head this evidence belongs to — the two anchor forms the linter compares:
Rulebook compliance
/charly-internals:git-workflow(the PR body's form, the attribution footer, the landing sequence) and/charly-internals:strict-policy(R1's classification, the "fix it or file it" rule) and/charly-internals:root-cause-analyzer(the RCA that issue R1: the umbrella's own prose misdescribes the org's tag-on-merge mechanism (the CHANGELOG entry is NOT in the tagged tree) and cites a plugin-task version the pinned charly falsifies #689 carries) were loaded before the first action, and this repo's ownAGENTS.mdPart II chore: sync dotgithub pin to main #5 (a skill lives with the thing it describes), chore: sync all submodule pins; spec no longer charly-pinned #6 (issue-first) and fix: escape backticks in umbrella-gates rules template (pi extension parse error) #7 (the coordination grammar) were read for this scope.internalsfamily from opencharly/opencharly's post-#689 tag (pin bump, scoped) marketplace#578) and listed under## Filed issues.go.mod— and no second copy of the version literal exists anywhere in this repo: the control quotes none, and the two prose citations are the only ones the scan finds. There is no hand-kept list of files to scan, either: the file set is derived from the tracked index, and the tree the gate judges is derived from git's own worktree-versus-index diff, not from a rule this file makes up.go.mod) rather than a cached copy, a hand-maintained constant or a fixture. It never suppresses, retries or fakes a state: when the pinned checkout is absent it SKIPS VISIBLY and judges nothing, rather than comparing against a version it invented.mainforever. What diverges is this repo's PROSE, so the prose is corrected and no release-semantics decision is taken unilaterally. The change documents no new user-facing command, so the "only thecharlybinary is installed" property is untouched; the new script is the umbrella's ownscripts/mechanism, invoked by the umbrella's own hook and verify task, exactly asscripts/check-readme-measurements.mjsis.git statuswas read first, and the tree carried only this change; the work happens in a session worktree onfeat/prose-truth-689; no submodule's CONTENT was edited (themarketplacecheckout was read, never written); no history was rewritten, no force-push, no bypass, and nothing was pushed tomain.--self-testshows each of its assertions going red on a mutation of the shipped inputs while the negative control stays green, and the read-path assertion is proven able to fail by a copy of the gate that reads the worktree only. The changed paths were executed live — the gate, its self-test, andscripts/sync-pr-body.sh --self-test— and the artifact under test IS the tree the R10 gate judged.go.modfrom the real checkout, and the fixture it proves the read path on is a real repository with a real index. Where the pinned checkout is not present, the gate prints a visible SKIP and exits 0 without judging — it never mocks a live service and never invents the version it would have compared against.2026.298.0310), never on a shared install.charly task verify— ran on the committed tree this PR pushes, with its whole log pasted above, zero failed steps and zero warnings. The change touches nodisposable: truetarget, so no bed is required by it.git-workflowskill; the corpus projection is the marketplace repo's regeneration, and it is a separate leg (corpus: regenerate theinternalsfamily from opencharly/opencharly's post-#689 tag (pin bump, scoped) marketplace#578), not an edit here. The former carrierlayer-charly-internalsno longer holds the skill (checked at its tip: it has no.agents/skills/git-workflow/), so there is no second authored copy to fix.internalsfamily from opencharly/opencharly's post-#689 tag (pin bump, scoped) marketplace#578.Agent:line and the trailer, in that order, adjacent, last.STATUSis posted on the issue at each milestone: at the claim, at the commit, at the push, and at the land.Change classification
scripts/— a node gate wired into the commit gate and into the umbrella's own verify task. The gate that owns this class is the umbrella's owncharly task verify: the diff touchescharly.yml(the manifest that declares the pin contract) and the umbrella's own hook, and the changed path — the new gate — is executed live inside it../charly/bin/charly task verify(2026.298.0310) — the whole log is pasted above — plus the new gate's own--self-test, its RED run on the pre-fix tree, its RED run on the tree whose index was stale, the copy of the gate that fails the read-path assertion, andbash scripts/sync-pr-body.sh --self-testfor the file whose citation was re-keyed.Filed issues
internalsfamily from opencharly/opencharly's post-#689 tag (pin bump, scoped) marketplace#578 — the corpus projection of this repo'sgit-workflowskill still publishes the two false claims: the refs list pins@github.com/opencharly/opencharly:v2026.297.1159, and this repo's tag has not landed yet, so the corpus cannot be regenerated. The mechanism, the measurement, the producer-first order and the root fix (advance the umbrella's ref to its post-R1: the umbrella's own prose misdescribes the org's tag-on-merge mechanism (the CHANGELOG entry is NOT in the tagged tree) and cites a plugin-task version the pinned charly falsifies #689 tag, thencharly marketplace generate --root . --out .) are in the issue. It is non-blocking for THIS change — the projection is generated output, and the umbrella's own ref is the source — and it is genuinely separable, so it is filed in the repo that owns it rather than fixed here. Claimed and assigned.Agent: umbrella-prose-truth
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)