Repository navigation
chore(pins): the umbrella's consumer leg of the plugin-task producer work - #680
Conversation
…work Two findings, one story, one PR. **The pin.** The umbrella recorded `plugin-task` at `0a3785d2f6`, a gitlink its producer had left behind: the served tip `69223053ff` DESCENDS from the recorded pin (`git merge-base --is-ancestor` → rc=0), so this is a fast-forward advance available NOW, not a divergence. The pin's intent is a leaf (`upstream:main`), so `behind` is a REPORT-and-PASS state, and the umbrella's own tree was carrying a verb that the producer had already moved. The advance is made by the sanctioned verb, never by a hand-pin: `charly task sync` rolled the submodules to their default-branch HEAD and advanced 399 pins in the index, `charly task init` materialized the checkouts at those pins, and `charly task verify` judged the tree. The verb's scope is the whole pin set, so the wave carried five gitlinks, each proved a fast-forward against its own remote (`behind=0`): | path | recorded | served | |---|---|---| | `dotgithub` | `9f3df6d800` | `716c551dc3` | | `marketplace` | `a4f1c32b9a` | `cc10955e4e` | | `plugin-command` | `585f62d35f` | `36945d4e35f` | | `plugin-marketplace` | `2a5ed0f6c2` | `ba254d57ee` | | `plugin-task` | `0a3785d2f6` | `69223053ff` | The currency report leaves exactly one row not current — `distro-cachyos`, whose `blocked-by` names its producer leg (`charly:box/cachyos`), which the pin contract reports and passes, and which is already filed as #669. **The fixture.** `scripts/sync-pr-body.sh`'s self-test built its "task-summary producer form" arm from a summary the product RETIRED in plugin-task#25, while the script's own self-test message claimed the arm covered "the current summary shape". The shape is now rendered by ONE definition (`producer_log_current`), read from the product's own source (`candy/plugin-task/verbs.go:736` in the module the binary is built from — `charly/charly/go.mod` pins plugin-task v0.2026296.2153) and confirmed end to end by a real `charly task sync` run of this repo. The arms' expectations are INDEPENDENT literals, not the renderer's own template: an assertion that greps the definition cannot fail when the definition regresses, which is exactly how the retired shape survived here. The historical per-pin form stays where it is deliberately: the fleet arm uses it because it is the only producer log longer than the excerpt's bound (it is what proves the bound is applied inside the body), and the small arm below it exists to prove a historical log is carried verbatim. The headline keeps its two-bucket form: the binary prints `task %s: %d step(s), %d failed` at that module version, and the third bucket arrives with opencharly/charly's own module-pin leg. Refs #678 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…tatus `build_body` runs the evidence builder inside a command substitution and assigned the result, relying on `errexit` to abort when the dependency fails. That reliance is not sound: the self-test calls the builder as `build_body … || fail "…"`, and in that position bash disables `errexit` for the WHOLE function body. A dependency that failed inside the builder was therefore swallowed, the substitution left `evidence_body` empty, and the arm went on to assert against a body that was missing the dependency's output. The builder now checks the dependency's status ITSELF, so the live path and every self-test arm behave identically, and a failure names its cause: ``` if ! evidence_body="$(… bash "$SCRIPT_DIR/sync-pin-evidence.sh" …)"; then echo "::error::the evidence builder failed — a body that cannot decide must not claim it does not" >&2 rm -f "$type_file" return 1 fi ``` The new arm breaks the dependency WITHOUT touching the tree — the pin-check log is the evidence builder's own input and it `cat`s that log, so a MISSING one makes it exit non-zero — and proves the build fails loud instead of rendering a body with an empty evidence table. Reverting the status check turns that arm red, so it discriminates. The live path was already safe (it calls `build_body` with no `||`, so `errexit` was on there); the arms were not. Refs #679 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
Review — PASSWhat the PR does, re-derived from the diffThe five gitlinks. Every recorded→served SHA pair in the diff matches the body's table exactly: The diffstat. 5 gitlinks × (+1/−1) plus The script change — correctness
Tests / discriminationThe change ships coverage that would fail without it, and the body proves discrimination with two mutations, each applied and shown (
The Security / scope / cleanlinessNo secrets, no new input handling, no privilege changes, no dependency additions. The only runtime-affecting edit is the dependency-status guard, which tightens failure behavior. The change is coherent (pin wave + one script fixture) with no leftover legacy path; the historical per-pin form is retained deliberately in the fleet arm for a stated reason (it is the only log longer than the excerpt bound) and is documented as such. Comments / sign-offThere are no comments in the thread, so there is nothing to re-derive and no maintainer sign-off to weigh. With no designated maintainer configured, the change stands on its own evidence — and it does: the change-class gate ( Minor (non-blocking) observations
Everything the body claims is either corroborated by the diff or presented as reproducible command output with no internal contradiction. No correctness, security, scope, or test-coverage defect rises to a block. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
… names the CLASS Round 2's BLOCK report was right, and it was right about a claim this PR INTRODUCED: the same overstatement the previous round had removed from scripts/init-submodules.sh's header had been re-introduced, in four other surfaces, in the same cutover. The corrected claim is the measured one: the currency report judges a twin's CURRENCY from the twin's REMOTE alone and never asks whether the checkout EXISTS, so while that remote has not moved the twin reads `cur` and the report exits 0 -- MEASURED in the reproduced defect state, `0 of 411 pin(s) NOT current [411 cur]`, the SAME verdict the healthy tree prints. The checkout is needed only to CLASSIFY a twin whose remote HAS moved, and only then does the report print `differs (no checkout of box/cachyos to judge ancestry)`, the twin's class left UNDETERMINED. EVERY passage now says exactly that -- TWELVE of them, across SEVEN files, not four. 1. `.pi/README.md`, the .pi extension's MODULE HEADER and its STEP 3b COMMENT, and `.claude/workflows/verify-status.js` are restated to the measured truth. The old wording presented a moved-remote behaviour as the unconditional consequence of an absent nested level. 2. The R5 SWEEP IS NOW A COMMITTED GATE, AND IT NAMES THE CLASS. The sweep that should have caught this named only the wording the previous round had RETIRED, so it could not name a claim it had no key for -- and a sweep written in a PR body is not a control, because nothing in the repository runs it. The key set lives in `scripts/check-retired-claims.mjs`: EIGHT patterns, each a pattern for a CLASS of claim, and each carrying the concrete WORDINGS that class has been written in as its proof material -- `--self-test` injects every one of the SEVENTEEN instances into a COPY of a tracked file and requires the scan to go RED, because a pattern that cannot be made to fail proves nothing. The scan is CASE-INSENSITIVE, and that is not tidiness: this very class was written in two cases, and a case-sensitive key catches only the case its author happened to use. 3. The gate found SIX further SITES the class had reached, across FOUR files, and they are corrected here, in the same commit: scripts/check-pi-gates.mjs's own two comments, scripts/check-verify-submodules.mjs's header, the .pi extension's fail-closed comment, the SHIPPED STEP's comment, and the SHIPPED STEP's own FAILURE MESSAGE. The RCA of that miss is the control's shape, not the writer's care: a list of EXACT WORDINGS can only name the wordings that have already been written. MEASURED: the round-1 sweep had exactly ONE key for this class -- the wording it had already retired in scripts/init-submodules.sh -- and that key matches NONE of the TEN sites the class still stood at, so a word list would have caught none of them. So the control now matches the SHAPE (`judge an edge ...`, unqualified), and the wordings became its instances rather than its limits. 4. The non-blocking finding -- "step 3b is only statically checked" -- is FIXED, not filed. `scripts/check-pi-gates.mjs` now FIRES `charly_worktree_create` against a fixture umbrella: an origin carrying the REAL `scripts/init-submodules.sh`, a `charly` module that DECLARES a nested submodule and a `marketplace` module that declares none. F6 proves the nested level really materializes in the worktree; F7 proves a nested level that cannot materialize FAILS the tool, because `pi.exec` RESOLVES on a non-zero exit. Two new mutations keep EVERY static assertion GREEN and are caught ONLY by firing -- the initializer re-rooted at a path that is not the module, and the initializer's non-zero exit swallowed -- which is what proves the fired coverage is live (R7). 5. The non-blocking finding -- "`--all`/`--root` support is not visible in the diff" -- is answered, not filed: both flags are PRE-EXISTING (origin/main's scripts/init-submodules.sh carries them; they landed with #647 / PR #712), and the script's own `--self-test` exercises both on a temp fixture -- `--root` throughout, and claim 6, "--all materializes EVERY declared path" -- and `scripts/self-test.sh` runs that self-test. 6. The pre-commit gate BLOCKED this commit once, and the finding is fixed here, not filed: the new `.pi/README.md` paragraph stated a count of a collection that GROWS -- "0 of 411 pin(s)" -- in a block that carried no date, which is exactly what `scripts/check-readme-measurements.mjs` exists to catch. The missed control was mine: I ran the pi and retired-claim gates and not the measurement gate. The paragraph now carries the day the measurement was taken (2026-10-26), and the gate is green. 7. A finding OF MY OWN, found in round 2, and it is against this change's own control: the sweep's scan unit was a LINE, and the class it names is a CLAIM -- and a claim WRAPS. MEASURED on the class's own TWO sites in origin/main's scripts/init-submodules.sh: the LATER of them (:622) splits the phrase across a comment marker (`... the umbrella's own currency report cannot then JUDGE` / `# an edge whose source is a nested pin: ...`), so a line-oriented scan of the class sees ONE of that class's TWO sites there and MISSES the wrapped one -- the very site this PR's first push had already retired. A line-oriented scan of the class found 1 there and 10 on the round-1 head; the scan in this commit finds 2 there and the same 10. Across both heads the class reached TWELVE sites in SEVEN files. The missed control is the control's UNIT: a control that only recognizes a class in the shape it was first written in is the defect this gate exists to catch, wearing a different hat. So the root fix is in the CONTROL: the scan's unit is now the CLAIM STREAM -- the file's lines with their comment marker stripped, joined by one space across a WRAP, and separated by a hard newline where a sentence ENDS or a new block BEGINS -- and the class's own WRAPPED wording is one of the class's instances, so the self-test proves the wrap-tolerant form is EFFECTIVE rather than merely present. The self-test also proves every key is SOUND: seven qualified, TRUE wordings must leave the scan GREEN -- the flat class's FOUR (the ANCESTRY qualifier, the same form WRAPPED, a scoped possessive, and the English compound "an edge case") and the EIGHTH class this round's false-claim finding added (below) its THREE (the VERDICT level really does read alike, the report's own state name really does tell them apart, and a not-current verdict does not separate the two KINDS of not-current) -- because a key that cries wolf is a gate that gets switched off. The comment markers are the languages' own -- `//`, `#`, `*`, `<!--` -- and `;` is NOT one of them: a shell `case` arm's `;;` is CODE, and reading it as a comment would join it to the comment above it. MEASURED: dropping it costs no power -- the class still stands at 10 on the round-1 head and at 2 in origin/main. 8. A finding OF MY OWN, found in round 2, and it is against this PR's own PROSE: this change INTRODUCED a false claim, in FOUR surfaces in the TREE (and, as finding 11 shows, in TWO further surfaces that a tree scan cannot see: this PR's own FIRST COMMIT'S MESSAGE, and this PR's own PR BODY) -- of the very kind it exists to remove -- that the report's two not-current states are "indistinguishable from a real divergence" / "which a reader cannot tell apart from a real divergence". The PRODUCT says otherwise: the report's own `ancestryClass` (plugin-task v0.2026297.2108, candy/plugin-task/verbs.go:916) NAMES the real-divergence states apart -- `behind`, `unmerged` and `not-on-the-served-line` for a twin whose checkout EXISTS, and only `differs (no checkout of <twin> to judge ancestry)` for a twin whose checkout does NOT. So the report's own state name tells a real divergence apart from an unjudgeable one; only the VERDICT level cannot, because both read "not current'. MEASURED: the class stood at FOUR sites in the TREE at the round-1 head and at ZERO in origin/main's TREE -- it is a class this change invented. All four tree surfaces are corrected (.pi/README.md, the .pi extension's module header, its step 3b comment, and the initializer's WHY block), and the class is keyed in the committed sweep as its EIGHTH class, with three TRUE wordings of the same idea as its counter-instances, so the sweep cannot miss its recurrence. 9. A finding OF MY OWN, found while assembling this round's body, and it is against this round's own EVIDENCE: the LIVE PROOF's paste was captured from a run that ABORTED. The proof script ran the shipped step under `set -e` in its FIRST section, where the step's failure was EXPECTED -- the tree is a light tree, so the nested level is absent and the step fails -- and `set -e` treated that expected failure as fatal, so the script died before it recorded anything. The paste therefore carried `PROOF_RC=1` and three EMPTY greps, and the body presented that as the proof. MEASURED: the same script against a tree whose nested level was MATERIALIZED printed the whole proof -- the difference was the STARTING state, not the tree. The missed control was the CAPTURE's: it never asserted the proof's exit code, so a failed proof was pasted as evidence. The root fix is in the CONTROL: the proof ESTABLISHES its own PRECONDITION -- the nested level materialized at its gitlink, with the umbrella's own initializer -- so every run starts from the SAME state, every expected failure is RECORDED instead of being fatal, and the script fails LOUD when a state it requires is not the state it gets. It is IDEMPOTENT now: two consecutive runs produce byte-identical logs. 10. A finding OF MY OWN, again against this round's own EVIDENCE, and again caught by the control -- the body's own verifier re-running every pasted command: one pasted COMMAND could not run at all. `grep -m 1 -F 'the umbrella's own tracked tree carries no RETIRED claim form' ...` has an APOSTROPHE inside single quotes, so `umbrella's` closes the quoted string and bash dies with `unexpected EOF while looking for matching ''`. The output pasted for that command was HAND-WRITTEN -- exactly what the control exists to catch. The command is double-quoted now, and its output is captured, not written. The same round found the live proof's LOG was BINARY: the init's plugin views inherit the redirected descriptor and write to it AFTER the parent exits, so the file carried a hole, and the NUL padding made every grep over it answer `binary file matches`. The root fix is in the CONTROL again: the remedy's summary is read from a STREAM -- a pipe carries no offsets, so no hole can appear -- and the exit code is the INIT's own (`PIPESTATUS[0]`), never the reader's. 11. A finding OF MY OWN, found in the same pass, and it is against this PR's own PUBLISHED HISTORY: this PR's FIRST COMMIT'S MESSAGE (13c2004) is PUSHED, and so cannot be amended, and it carries THREE retired claim forms -- one in each of three classes. MEASURED by the body's own control, which scans this branch's commit messages with the committed sweep's own patterns: the FIRST message takes THREE hits (the verdict-level "indistinguishable from a real divergence", the FLAT "cannot judge an edge", and the "which the pin contract calls a FAILURE" wording), the SECOND takes none, and the THIRD -- this message -- takes only the hits its own retractions quote. The first message states, in the same breath, the code-branch claim that finding 8's measurement also found false ("asks the edge arm for the twin's checkout, finds none, and prints `differs (...)`"): the report prints that state only once the twin's remote HAS moved, which on the defect tree it had not. The surface CANNOT be fixed in place: R6 forbids amending or rewriting published history, and a pushed branch is never rebased. It is therefore REPORTED, not corrected -- the rulebook's own remedy for a finding raised on one's own PR, which is fixed or rebutted with evidence, never filed away. The MECHANISM behind it is ALREADY FILED: #707 measured that the landed squash commit carries the FIRST commit's message rather than the PR body's, so a later session's body moves forward while the landed message stays behind -- and THIS PUSH ADDS ITS EVIDENCE to that issue, with the three measured forms, the product's counter-evidence and the eight repos' merge setting. The successor-PR route remains the operator's option. MEASURED, and stated plainly because it is the operator's to weigh: the org's merge setting is `squash_merge_commit_message: COMMIT_MESSAGES` -- the same in all EIGHT org repos measured (charly, sdk, spec, marketplace, docs, layer-charly-internals, plugin-task, layer-charly-check) -- so the branch's commit messages BECOME the squash message, which PR #680 shows: its squash message is 4.4 KB while its PR body is 20.4 KB. This retraction is ITSELF part of that squashed message, and it lands at its END: a reader of `main`'s history meets the retraction in the same message, and the false sentence is never the last word. I am not changing a shared org setting to avoid that, and I am not rewriting a published commit; the alternative is a successor PR whose single commit carries an accurate message, at the cost of a fresh branch, a fresh R10 gate and a fresh validator round, and the operator can order that at the merge. THE MISSED CONTROL: the committed sweep scans the umbrella's TRACKED TREE, and a commit message is not a tracked file, so the patterns that name these classes never saw a message. THE ROOT FIX is in the CONTROL: the body's own control now scans this PR's COMMIT MESSAGES with the committed sweep's own patterns, next to the PROSE scans it already does (this body, this round's PR comment, and this round's evidence comment on #707), and the count it reports is in the body's control block -- a tripwire that NAMES this surface, so a later round cannot add a retired wording to a message without the count moving. 12. A finding OF MY OWN, found in this round, and it is against this round's own BODY: the body measured 92,328 CHARACTERS (92,859 bytes) -- 41 % over GitHub's 65,536-character cap for an issue or PR body -- and NOTHING in the push path would have refused it. The two gates that stand between a body and a push (the org linter `marketplace/scripts/pr_body_lint.py`, and the umbrella's own `scripts/check-pr-body-diff.mjs`, the one the pre-push hook runs against `PR_BODY.md`) check the sections, the footer order, the attribution and the diff, and NEITHER checks the size; the repo already knows the failure mode, because `scripts/sync-pr-body.sh` documents it as MEASURED on 2026-09-22 and guards ITS body with `GITHUB_BODY_MAX` -- but that guard covers the SYNC PR's body alone, and an authored body had nothing. THE ROOT FIX is in the BODY: it is rebuilt under the cap, with every PASTE kept, every finding kept, and the two longest listings reduced to their own captured output instead of a re-typed copy of it. The MISSING COMMITTED GUARD is a separate change, with a separate gate and a separate subject, so it is FILED rather than folded in: #716. 13. A finding OF MY OWN, found in the same pass, and it is against this round's own PROSE, in TWO statements. The first: the size claim read "the round-2 body measured 92,328 bytes", while 92,328 is the CHARACTER count of THIS round's LOCAL draft -- a draft that was never published and never handed to the push path -- and the published round-2 body measured 39,896 bytes; the unit was wrong and the body was wrong. The second: the body's numbering statement claimed that all THREE surfaces list the findings by SUBJECT, while this message numbers its OWN list -- so the statement named a surface it had not read. THE MISSED CONTROL: this change's body discipline -- every number read back from the artefact that owns it -- was applied to the PASTE blocks, and NOT to the PROSE, so nothing compared a sentence with the file it described. THE ROOT FIX: every figure is re-measured from the file that owns it and quoted with its unit, the artefact it names is named, and the body's own size is stated as a BOUND rather than as a number the body would invalidate by carrying it. The filed issue carried the same error and is corrected to match. Filed: #713 (the pin contract's classification of an unjudgeable pin is contested), #714 (the .pi worktree tool drops the exit code of four of its five pi.exec calls), and #716 (nothing in the push path refuses a PR body over GitHub's 65,536-character cap). The MECHANISM behind finding 11 is already filed at #707, and this push adds its EVIDENCE to that issue. No other issue is filed -- finding 11 is NOT filed away: it is a finding raised on this PR, and the rulebook's own remedy is that it is fixed or rebutted with evidence, never filed. Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…) (#715) * fix(gate): the nested check must assert the nested POST-CONDITION (#710) `charly task init` now guarantees that a materialized path carries its OWN nested level (#647). The umbrella's gate did not follow: its nested step treated an ABSENT nested level as a notice, so a tree that could not be judged passed `charly task verify` in silence. The step was named for a claim it did not make — "charly's own nested submodules are at their gitlinks" — and it passed on a tree where NONE of them had a checkout. On that tree the umbrella's currency report asks the edge arm for the twin's checkout, finds none, and prints `differs (no checkout of box/cachyos to judge ancestry)`: the twin's class left UNDETERMINED, indistinguishable from a real divergence, while the gate stays green. The gate's green must not mean "less than it says". So the step's rule becomes the post-condition: under a MATERIALIZED charly, an absent nested level FAILS, naming the paths and the remedy (`charly task init`); a `+`/`U` drift still FAILS; and the "OK" line moved INSIDE the branch, because a check that ran nothing must not claim the nested submodules are at their gitlinks. A charly that is NOT materialized at all is still a light tree, and stays a notice — its pin is audited from the index. The strict rule has a blast radius, and it is inside this change: the .pi extension's `charly_worktree_create` materialized `charly` NON-recursively, so a .pi worktree would have gone RED at the new step. Under R1 (this change introduces it → blocking) the .pi path is fixed in the same cutover, not filed. The .pi fix materializes the nested level through the umbrella's OWN initializer, re-rooted at the module (`--root <module> --all`): at a module's root, `--all` IS that module's nested level, so the path lifecycle keeps ONE implementation at every level (R2), and the `--reference` borrowing of the top level is untouched. Cost is measured, not assumed: in a real .pi worktree the nested level costs 9.0 MB — the six twins' working trees (5.2 MB) plus their blobless object stores (3.8 MB) — inside charly's 21.1 MB checkout, which the path BUILDS a 54 MB binary into, and marketplace's 9 MB, against the 9.5 G a full recursive materialization of the graph costs. The nested pass FAILS CLOSED — `pi.exec` RESOLVES on a non-zero exit, so the code is read — because a worktree whose nested level is missing is a worktree whose currency report cannot judge an edge, and it must never be reported as ready. The fixture gate `scripts/check-verify-submodules.mjs` EXTRACTS the shipped step text from `charly.yml` (never a copy, so the two cannot drift) and gained the discriminating cases: a materialized charly without its nested level FAILS naming the path and the remedy; an uninitialized charly is a NOTICE and GREEN; a `+`/`U` drift still FAILS; a materialized charly whose nested level IS at its gitlink is GREEN. Two new mutations turn it RED — the absent nested level demoted back to a notice (the defect's own shape), and the "OK" line printed even when nothing was checked. `scripts/check-pi-gates.mjs` gained the matching static assertions (the nested level goes through the umbrella's own initializer, re-rooted at the module, for the module's OWN declared set, and fails CLOSED) and two mutations that turn it RED: the nested level never materialized, and the nested materialization not fail-closed. `scripts/init-submodules.sh`'s header asserted, twice, that the report's `differs (no checkout of box/cachyos to judge ancestry)` "is which the pin contract calls a FAILURE" — the rulebook's reading, which the pin contract's own state table and the product that prints the state contradict. The two sentences now say the fact both surfaces agree on: the twin's class is left UNDETERMINED. The classification itself is filed as #713. The surfaces that carry the claim were corrected to match: the plan-only invariant emitter (`.claude/workflows/verify-status.js`), the .pi cost model (`.pi/README.md`), and the PR-body evidence builder (`scripts/sync-pin-evidence.sh`), whose wording could be read as "the nested level is optional". Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated) * fix(gate): the report's blindness is stated, and an unreadable nested status FAILS The first push of this branch carried three claims the review could not corroborate, and one path that could pass while reading nothing. This commit corrects the claims, closes the path, and re-proves the whole change. 1. The cost comparison in the .pi extension's comment quoted a figure from the wrong universe: it compared the nested level's 9.0 MB with "the 9.5 GB the whole graph would cost". That 9.5 G is the umbrella's own FULL-clone measurement -- dated and measured in the README and in scripts/measure-clone.sh, and it still lives there -- but the .pi path's cost model is a different universe, and the figure that owns it is .pi/README.md's own table: ~606 MB for a full recursive materialization of this graph (376 MB of worktree-private module objects plus ~230 MB of checkouts). The comment now quotes that figure, and the body pastes the README row it comes from. 2. The initializer's header claimed a pin-state classification the body did not describe: "the pin's state becomes a `blocked-by` that names the producer". The clause is now corroborated by the two surfaces that OWN it and stated in the body -- the pin contract's own state table (AGENTS.md: 613-614, which names the state and says it PASSES) and the product's own code (plugin-task v0.2026297.2108, candy/plugin-task/verbs.go:1233, which produces it). Whether an unjudgeable pin is a FAILURE is still contested -- #713 -- and this change does not rest on it. 3. The claim about what the currency report DOES was the product's CODE branch, not the tree's OBSERVED behaviour. The report judges a twin's currency from the twin's REMOTE alone, and consults the twin's CHECKOUT only to CLASSIFY a twin whose remote has moved -- it never asks whether the checkout EXISTS. MEASURED in the reproduced defect state (the whole nested level absent, all six twins), the report's own verdict line reads "0 of 411 pin(s) NOT current [411 cur]" and it EXITS 0 -- and that line is the SAME line the healthy tree produces out of `charly task verify`. Two states, one verdict: the report cannot tell them apart, so it cannot see the defect. That measurement is the ROOT of the design: the gate has to assert #647's post-condition itself. The header, the body and this commit now say the measured truth. 4. FIXED, not filed: the shipped step swallowed a failure to READ the nested status (`|| true`), so an unreadable status left an empty check that still claimed the nested submodules are at their gitlinks. That is the same mechanism as this change's own thesis, so it is closed in the same cutover: the step now fails when the status cannot be read, the fixture step's label names the case, and the fixture gate gained a case (a materialized charly whose gitfile points at an object store that is not there) plus a mutation that reintroduces the swallow. Filed: #713 (the pin contract's classification of an unjudgeable pin is contested) and #714 (the .pi worktree tool drops the exit code of four of its five pi.exec calls). No other issue is filed. Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated) * fix(gate): the report's blindness is stated TRUTHFULLY, and the sweep names the CLASS Round 2's BLOCK report was right, and it was right about a claim this PR INTRODUCED: the same overstatement the previous round had removed from scripts/init-submodules.sh's header had been re-introduced, in four other surfaces, in the same cutover. The corrected claim is the measured one: the currency report judges a twin's CURRENCY from the twin's REMOTE alone and never asks whether the checkout EXISTS, so while that remote has not moved the twin reads `cur` and the report exits 0 -- MEASURED in the reproduced defect state, `0 of 411 pin(s) NOT current [411 cur]`, the SAME verdict the healthy tree prints. The checkout is needed only to CLASSIFY a twin whose remote HAS moved, and only then does the report print `differs (no checkout of box/cachyos to judge ancestry)`, the twin's class left UNDETERMINED. EVERY passage now says exactly that -- TWELVE of them, across SEVEN files, not four. 1. `.pi/README.md`, the .pi extension's MODULE HEADER and its STEP 3b COMMENT, and `.claude/workflows/verify-status.js` are restated to the measured truth. The old wording presented a moved-remote behaviour as the unconditional consequence of an absent nested level. 2. The R5 SWEEP IS NOW A COMMITTED GATE, AND IT NAMES THE CLASS. The sweep that should have caught this named only the wording the previous round had RETIRED, so it could not name a claim it had no key for -- and a sweep written in a PR body is not a control, because nothing in the repository runs it. The key set lives in `scripts/check-retired-claims.mjs`: EIGHT patterns, each a pattern for a CLASS of claim, and each carrying the concrete WORDINGS that class has been written in as its proof material -- `--self-test` injects every one of the SEVENTEEN instances into a COPY of a tracked file and requires the scan to go RED, because a pattern that cannot be made to fail proves nothing. The scan is CASE-INSENSITIVE, and that is not tidiness: this very class was written in two cases, and a case-sensitive key catches only the case its author happened to use. 3. The gate found SIX further SITES the class had reached, across FOUR files, and they are corrected here, in the same commit: scripts/check-pi-gates.mjs's own two comments, scripts/check-verify-submodules.mjs's header, the .pi extension's fail-closed comment, the SHIPPED STEP's comment, and the SHIPPED STEP's own FAILURE MESSAGE. The RCA of that miss is the control's shape, not the writer's care: a list of EXACT WORDINGS can only name the wordings that have already been written. MEASURED: the round-1 sweep had exactly ONE key for this class -- the wording it had already retired in scripts/init-submodules.sh -- and that key matches NONE of the TEN sites the class still stood at, so a word list would have caught none of them. So the control now matches the SHAPE (`judge an edge ...`, unqualified), and the wordings became its instances rather than its limits. 4. The non-blocking finding -- "step 3b is only statically checked" -- is FIXED, not filed. `scripts/check-pi-gates.mjs` now FIRES `charly_worktree_create` against a fixture umbrella: an origin carrying the REAL `scripts/init-submodules.sh`, a `charly` module that DECLARES a nested submodule and a `marketplace` module that declares none. F6 proves the nested level really materializes in the worktree; F7 proves a nested level that cannot materialize FAILS the tool, because `pi.exec` RESOLVES on a non-zero exit. Two new mutations keep EVERY static assertion GREEN and are caught ONLY by firing -- the initializer re-rooted at a path that is not the module, and the initializer's non-zero exit swallowed -- which is what proves the fired coverage is live (R7). 5. The non-blocking finding -- "`--all`/`--root` support is not visible in the diff" -- is answered, not filed: both flags are PRE-EXISTING (origin/main's scripts/init-submodules.sh carries them; they landed with #647 / PR #712), and the script's own `--self-test` exercises both on a temp fixture -- `--root` throughout, and claim 6, "--all materializes EVERY declared path" -- and `scripts/self-test.sh` runs that self-test. 6. The pre-commit gate BLOCKED this commit once, and the finding is fixed here, not filed: the new `.pi/README.md` paragraph stated a count of a collection that GROWS -- "0 of 411 pin(s)" -- in a block that carried no date, which is exactly what `scripts/check-readme-measurements.mjs` exists to catch. The missed control was mine: I ran the pi and retired-claim gates and not the measurement gate. The paragraph now carries the day the measurement was taken (2026-10-26), and the gate is green. 7. A finding OF MY OWN, found in round 2, and it is against this change's own control: the sweep's scan unit was a LINE, and the class it names is a CLAIM -- and a claim WRAPS. MEASURED on the class's own TWO sites in origin/main's scripts/init-submodules.sh: the LATER of them (:622) splits the phrase across a comment marker (`... the umbrella's own currency report cannot then JUDGE` / `# an edge whose source is a nested pin: ...`), so a line-oriented scan of the class sees ONE of that class's TWO sites there and MISSES the wrapped one -- the very site this PR's first push had already retired. A line-oriented scan of the class found 1 there and 10 on the round-1 head; the scan in this commit finds 2 there and the same 10. Across both heads the class reached TWELVE sites in SEVEN files. The missed control is the control's UNIT: a control that only recognizes a class in the shape it was first written in is the defect this gate exists to catch, wearing a different hat. So the root fix is in the CONTROL: the scan's unit is now the CLAIM STREAM -- the file's lines with their comment marker stripped, joined by one space across a WRAP, and separated by a hard newline where a sentence ENDS or a new block BEGINS -- and the class's own WRAPPED wording is one of the class's instances, so the self-test proves the wrap-tolerant form is EFFECTIVE rather than merely present. The self-test also proves every key is SOUND: seven qualified, TRUE wordings must leave the scan GREEN -- the flat class's FOUR (the ANCESTRY qualifier, the same form WRAPPED, a scoped possessive, and the English compound "an edge case") and the EIGHTH class this round's false-claim finding added (below) its THREE (the VERDICT level really does read alike, the report's own state name really does tell them apart, and a not-current verdict does not separate the two KINDS of not-current) -- because a key that cries wolf is a gate that gets switched off. The comment markers are the languages' own -- `//`, `#`, `*`, `<!--` -- and `;` is NOT one of them: a shell `case` arm's `;;` is CODE, and reading it as a comment would join it to the comment above it. MEASURED: dropping it costs no power -- the class still stands at 10 on the round-1 head and at 2 in origin/main. 8. A finding OF MY OWN, found in round 2, and it is against this PR's own PROSE: this change INTRODUCED a false claim, in FOUR surfaces in the TREE (and, as finding 11 shows, in TWO further surfaces that a tree scan cannot see: this PR's own FIRST COMMIT'S MESSAGE, and this PR's own PR BODY) -- of the very kind it exists to remove -- that the report's two not-current states are "indistinguishable from a real divergence" / "which a reader cannot tell apart from a real divergence". The PRODUCT says otherwise: the report's own `ancestryClass` (plugin-task v0.2026297.2108, candy/plugin-task/verbs.go:916) NAMES the real-divergence states apart -- `behind`, `unmerged` and `not-on-the-served-line` for a twin whose checkout EXISTS, and only `differs (no checkout of <twin> to judge ancestry)` for a twin whose checkout does NOT. So the report's own state name tells a real divergence apart from an unjudgeable one; only the VERDICT level cannot, because both read "not current'. MEASURED: the class stood at FOUR sites in the TREE at the round-1 head and at ZERO in origin/main's TREE -- it is a class this change invented. All four tree surfaces are corrected (.pi/README.md, the .pi extension's module header, its step 3b comment, and the initializer's WHY block), and the class is keyed in the committed sweep as its EIGHTH class, with three TRUE wordings of the same idea as its counter-instances, so the sweep cannot miss its recurrence. 9. A finding OF MY OWN, found while assembling this round's body, and it is against this round's own EVIDENCE: the LIVE PROOF's paste was captured from a run that ABORTED. The proof script ran the shipped step under `set -e` in its FIRST section, where the step's failure was EXPECTED -- the tree is a light tree, so the nested level is absent and the step fails -- and `set -e` treated that expected failure as fatal, so the script died before it recorded anything. The paste therefore carried `PROOF_RC=1` and three EMPTY greps, and the body presented that as the proof. MEASURED: the same script against a tree whose nested level was MATERIALIZED printed the whole proof -- the difference was the STARTING state, not the tree. The missed control was the CAPTURE's: it never asserted the proof's exit code, so a failed proof was pasted as evidence. The root fix is in the CONTROL: the proof ESTABLISHES its own PRECONDITION -- the nested level materialized at its gitlink, with the umbrella's own initializer -- so every run starts from the SAME state, every expected failure is RECORDED instead of being fatal, and the script fails LOUD when a state it requires is not the state it gets. It is IDEMPOTENT now: two consecutive runs produce byte-identical logs. 10. A finding OF MY OWN, again against this round's own EVIDENCE, and again caught by the control -- the body's own verifier re-running every pasted command: one pasted COMMAND could not run at all. `grep -m 1 -F 'the umbrella's own tracked tree carries no RETIRED claim form' ...` has an APOSTROPHE inside single quotes, so `umbrella's` closes the quoted string and bash dies with `unexpected EOF while looking for matching ''`. The output pasted for that command was HAND-WRITTEN -- exactly what the control exists to catch. The command is double-quoted now, and its output is captured, not written. The same round found the live proof's LOG was BINARY: the init's plugin views inherit the redirected descriptor and write to it AFTER the parent exits, so the file carried a hole, and the NUL padding made every grep over it answer `binary file matches`. The root fix is in the CONTROL again: the remedy's summary is read from a STREAM -- a pipe carries no offsets, so no hole can appear -- and the exit code is the INIT's own (`PIPESTATUS[0]`), never the reader's. 11. A finding OF MY OWN, found in the same pass, and it is against this PR's own PUBLISHED HISTORY: this PR's FIRST COMMIT'S MESSAGE (13c2004) is PUSHED, and so cannot be amended, and it carries THREE retired claim forms -- one in each of three classes. MEASURED by the body's own control, which scans this branch's commit messages with the committed sweep's own patterns: the FIRST message takes THREE hits (the verdict-level "indistinguishable from a real divergence", the FLAT "cannot judge an edge", and the "which the pin contract calls a FAILURE" wording), the SECOND takes none, and the THIRD -- this message -- takes only the hits its own retractions quote. The first message states, in the same breath, the code-branch claim that finding 8's measurement also found false ("asks the edge arm for the twin's checkout, finds none, and prints `differs (...)`"): the report prints that state only once the twin's remote HAS moved, which on the defect tree it had not. The surface CANNOT be fixed in place: R6 forbids amending or rewriting published history, and a pushed branch is never rebased. It is therefore REPORTED, not corrected -- the rulebook's own remedy for a finding raised on one's own PR, which is fixed or rebutted with evidence, never filed away. The MECHANISM behind it is ALREADY FILED: #707 measured that the landed squash commit carries the FIRST commit's message rather than the PR body's, so a later session's body moves forward while the landed message stays behind -- and THIS PUSH ADDS ITS EVIDENCE to that issue, with the three measured forms, the product's counter-evidence and the eight repos' merge setting. The successor-PR route remains the operator's option. MEASURED, and stated plainly because it is the operator's to weigh: the org's merge setting is `squash_merge_commit_message: COMMIT_MESSAGES` -- the same in all EIGHT org repos measured (charly, sdk, spec, marketplace, docs, layer-charly-internals, plugin-task, layer-charly-check) -- so the branch's commit messages BECOME the squash message, which PR #680 shows: its squash message is 4.4 KB while its PR body is 20.4 KB. This retraction is ITSELF part of that squashed message, and it lands at its END: a reader of `main`'s history meets the retraction in the same message, and the false sentence is never the last word. I am not changing a shared org setting to avoid that, and I am not rewriting a published commit; the alternative is a successor PR whose single commit carries an accurate message, at the cost of a fresh branch, a fresh R10 gate and a fresh validator round, and the operator can order that at the merge. THE MISSED CONTROL: the committed sweep scans the umbrella's TRACKED TREE, and a commit message is not a tracked file, so the patterns that name these classes never saw a message. THE ROOT FIX is in the CONTROL: the body's own control now scans this PR's COMMIT MESSAGES with the committed sweep's own patterns, next to the PROSE scans it already does (this body, this round's PR comment, and this round's evidence comment on #707), and the count it reports is in the body's control block -- a tripwire that NAMES this surface, so a later round cannot add a retired wording to a message without the count moving. 12. A finding OF MY OWN, found in this round, and it is against this round's own BODY: the body measured 92,328 CHARACTERS (92,859 bytes) -- 41 % over GitHub's 65,536-character cap for an issue or PR body -- and NOTHING in the push path would have refused it. The two gates that stand between a body and a push (the org linter `marketplace/scripts/pr_body_lint.py`, and the umbrella's own `scripts/check-pr-body-diff.mjs`, the one the pre-push hook runs against `PR_BODY.md`) check the sections, the footer order, the attribution and the diff, and NEITHER checks the size; the repo already knows the failure mode, because `scripts/sync-pr-body.sh` documents it as MEASURED on 2026-09-22 and guards ITS body with `GITHUB_BODY_MAX` -- but that guard covers the SYNC PR's body alone, and an authored body had nothing. THE ROOT FIX is in the BODY: it is rebuilt under the cap, with every PASTE kept, every finding kept, and the two longest listings reduced to their own captured output instead of a re-typed copy of it. The MISSING COMMITTED GUARD is a separate change, with a separate gate and a separate subject, so it is FILED rather than folded in: #716. 13. A finding OF MY OWN, found in the same pass, and it is against this round's own PROSE, in TWO statements. The first: the size claim read "the round-2 body measured 92,328 bytes", while 92,328 is the CHARACTER count of THIS round's LOCAL draft -- a draft that was never published and never handed to the push path -- and the published round-2 body measured 39,896 bytes; the unit was wrong and the body was wrong. The second: the body's numbering statement claimed that all THREE surfaces list the findings by SUBJECT, while this message numbers its OWN list -- so the statement named a surface it had not read. THE MISSED CONTROL: this change's body discipline -- every number read back from the artefact that owns it -- was applied to the PASTE blocks, and NOT to the PROSE, so nothing compared a sentence with the file it described. THE ROOT FIX: every figure is re-measured from the file that owns it and quoted with its unit, the artefact it names is named, and the body's own size is stated as a BOUND rather than as a number the body would invalidate by carrying it. The filed issue carried the same error and is corrected to match. Filed: #713 (the pin contract's classification of an unjudgeable pin is contested), #714 (the .pi worktree tool drops the exit code of four of its five pi.exec calls), and #716 (nothing in the push path refuses a PR body over GitHub's 65,536-character cap). The MECHANISM behind finding 11 is already filed at #707, and this push adds its EVIDENCE to that issue. No other issue is filed -- finding 11 is NOT filed away: it is a finding raised on this PR, and the rulebook's own remedy is that it is fixed or rebutted with evidence, never filed. Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated) * fix(gate): the body's own evidence must be TRUE, and the control asserts its coverage The validator's third BLOCK report found this PR's own body quoting an EMPTY evidence block — the "pattern is effective" listing — while the body's own control reported the whole body as verified. The log the block was captured from holds every line it claims; the CAPTURE is what failed. The mechanism, in the capture: the command that produced the block used `sed` with `/` as its `s` delimiter, while its own pattern names `scripts/init-submodules.sh` — so `sed` read the rest of the expression as FLAGS and aborted with "unknown option to 's'", writing that error to stderr and NOTHING to stdout. The capture kept stdout only, so a command that FAILED became an empty block that reads like a measurement. The same defect sat one command further on, in the reflog listing, whose `sed` used `|` as its delimiter with an unescaped `|` inside its own alternation. THE MISSED CONTROL, and it is the same one in both places: the capture never asserted the command's exit status or its stderr, and the control that re-runs the body's commands asserted FIDELITY — a paste matches what the command emits — and never VERACITY: it never asked whether the command SUCCEEDED, whether it covered every command the body pastes, or whether the body it read was the body being published. The control's own output was a SNAPSHOT taken BEFORE the last assembly, so the published body had never been verified at all. And the body's fences were UNBALANCED — 27 fence lines, an odd number — so one fence was unpaired and every fence after it was mis-paired: each block's closing fence was consumed as the next block's opening. The measurable consequences: the body's own `## Rulebook compliance`, `## Change classification` and `## Filed issues` sections sat INSIDE a fenced block and rendered as code, and the control re-ran SIX of the body's SIXTY-THREE commands while its pasted output claimed that every command above was re-run. THE ROOT FIX is in the control, and it is the control's own assertions: the fences must PAIR, every command line must sit inside a fenced block, the five required sections must be PROSE, every command must EXIT 0 and write NOTHING to stderr, and the control's own output must be re-established as a FIXED POINT over the body that carries it. The capture now fails LOUD instead of shipping an empty block, and a command that reports a count uses a form whose exit status is 0 (`| wc -l`, never `grep -c`, which exits 1 when it counts nothing) — a broken pipeline shows up on stderr, which the same rule catches. AND THE SWEEP'S OWN BLIND SPOT, which is a LIST ITEM. The committed sweep's claim stream DROPPED every markdown block start — a heading, a list item, a table row, a quote — text and all, so a claim a reader sees in a list item was invisible to the scan. The umbrella's own rulebook is written as list items: the shape the claims live in was the shape the gate could not see. MEASURED on this PR's own body, whose R1 findings are list items: the scan reported ONE hit where the prose quotes FOUR of the retired forms. THE MISSED CONTROL, and it is the same shape of gap the sweep was built to close: the self-test injected every instance as a BARE line, so it proved each pattern effective in the one shape it had been written in. A control that only recognizes a class in the shape it was first written in is the defect this gate exists to catch, wearing a different hat. THE ROOT FIX is that a block start is a BOUNDARY, never an EXCLUSION: its text enters the claim stream with the block MARKER stripped (the marker is syntax; the text is what a reader sees), and a list item CONTINUES on the lines indented to its content column, because a claim that wraps inside a list item is one claim. The self-test now proves every pattern effective in the LIST shape as well, and that case is RED without the fix. The tree is unchanged by the fix: the sweep is GREEN over it before and after. The class above is not this PR's to fix here: `scripts/check-pr-body-diff.mjs` — the umbrella's own body gate — reports `check-pr-body-diff: OK` on a body whose fences do not pair, and its evidence and count arms degrade to "NOTE … inapplicable" while the body carries the evidence they claim to be blind to. The gate's fence reader answers WHERE a fence ends and is never asked WHETHER the fences pair. That gate defect is pre-existing and separable from this change's subject, so it is FILED, with the measured blast radius on this PR's own published body and the shape of the fix: a fence-balance assertion and a section-visibility assertion, both hard failures that name their line. The validator's two non-blocking observations are fixed here too. The over-long comment line in `scripts/init-submodules.sh` is re-wrapped to the file's own width with the SAME words (the re-wrap joins back to the original line), and the sweep's CLASS, INSTANCE and COUNTER-INSTANCE counts do not move — the LIST shape adds one case per class beside them. The README's 51 MB against this body's 54 MB is reconciled with the MEASURED cause: the `charly` pin advanced from `c5ea6c91` (the tree the README's other rows were measured on, 2026-10-06) to `f1f85d19`, and the per-worktree binary tracks the pin, so its size moves with it; the row now names both measurements and the cause. AND THIS ROUND'S OWN BODY TRIPPED THE HOUSE LINT -- the gate that reads a body the way a reviewer does. The umbrella's own pre-push hook installs the body at $GITDIR/PR_BODY.md and runs `marketplace/scripts/pr_body_lint.py` on it, and that lint reported this body RED: an unbacked universal claim in `## Rulebook compliance`, whose section carries no evidence block, so a claim-matching sentence there needs a pointer. The sentence was this PR's own new bullet on the control's coverage, and it ended "...so the published body had never been verified". THE MISSED CONTROL, and it is the same shape as the ones above: the control asserted the body's own STRUCTURE -- its fences, its command coverage, its section visibility, its commands' exit status, its size -- and never ran the lint the pre-push hook runs. So the control reported the body verified while the house lint had it RED: a control that checks a sixth of what it claims reads as a PASS. The ORDER hid it too: the body was edited, the fixed point was re-run to convergence, and the lint was only run afterwards. THE ROOT FIX is in both places. In the BODY: the sentence now carries the pointer the rule asks for -- the evidence is above it, the control block the body carries -- so the claim is BACKED rather than reworded. In the CONTROL: the house lint is now one of the SEVEN properties the control asserts about the body, run with the PINNED marketplace checkout the hook itself finds, and only its COUNT is carried into the control's own output, so the control's text cannot become a function of its own text. And the pre-push check had been reading the umbrella ROOT's marketplace checkout -- a different commit from the pinned one the hook uses -- and it now reads the hook's own. AND THIS ROUND'S OWN AMEND INVALIDATED A PASTE IN THIS PR'S OWN BODY -- the reflog listing. The branch's reflog is APPEND-ONLY: every amend adds entries to it, so the listing the body carried stopped being what the command emits the moment this round's amend -- the one that carried the house lint's RCA above into this commit -- added one more entry, and the control's re-run said so: "FAIL the paste at body line 278 does not match what the command emits". MEASURED: the actual listing began {21:47}|commit (amend) where the body carried {20:13}|commit (amend), and nothing else in it moved. The body also claimed, in prose, that this round's commit "was created at 19:40 and amended ONCE (20:13)", which the same amend turned into a false claim. THE MECHANISM: the body pasted a LIVE surface and asserted a live COUNT, and the act that carried the fix was itself the invalidation -- so no re-run, no fresh capture and no careful ordering could have made that body true; the next capture would have died the same way. THE MISSED CONTROL: the control compares a paste with a command's output, which catches a STALE paste but cannot make a LIVE paste true -- and this body's own R1 list had claimed the count's root fix was "the count is a PASTE, a command a reader can run", which is true of a COUNT and false of a SNAPSHOT: a paste of a live surface is still live. THE ROOT FIX is in both places. In the BODY: the listing is FILTERED to the PUBLISHED commits -- the head's ancestors -- because a published commit cannot be amended (R6), so its reflog entries are HISTORY while the head's own entries are LIVE; the head's amend discipline is stated as the RULE (every amend is made while its commit is LOCAL and UNPUSHED), not as a snapshot of a live surface; and the pushes' times -- which the body carried in prose -- now come from the remote-tracking reflog's own record, frozen the same way. In the CONTROL: it now ASSERTS the invariant as a SEVENTH property -- every command that reads a reflog must filter it by a published commit's subject or SHA, and the head's own subject and SHA must not satisfy that filter -- so a body that pastes the live head's history again is RED before the push, not after it. Filed: #713, #714, #716, #717. Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated) --------- Co-authored-by: Andreas Trawoeger <[email protected]>
Closes #678
Closes #679
Summary
Head
5f71a72fbedb1edc1c477a430f660c83ba2108ed— the commit this PR pushes: 6 files changed, 80 insertions(+), 14 deletions(-).The umbrella's consumer leg of the plugin-task producer work. The producer's merged main carries three things the umbrella's recorded pin did not: the task summary's third bucket (a step that ran nothing), the stderr capture its skipped-step test needed, and the CI gates' fixes. The umbrella still recorded
plugin-taskat0a3785d2f6, and the umbrella's ownscripts/sync-pr-body.shbuilt its "task-summary producer form" arm from a summary the product retired in plugin-task#25 — while that arm's own message claimed it covered "the current summary shape". One story, one cut: the pin advance, the fixture that renders the shape from the product's own source, and the RCA of a defect the new arm inherits.The pin. The advance is made by the sanctioned verb, never by a hand-pin:
charly task syncrolled the submodules to their default-branch HEAD and advanced the pins in the index,charly task initmaterialized the checkouts at those pins, andcharly task verifyjudged the tree. The verb's scope is the whole pin set, so the wave carried the five gitlinks the currency report named — each proved a fast-forward against its own remote:dotgithub9f3df6d800716c551dc3marketplacea4f1c32b9acc10955e4eplugin-command585f62d35f36945d4e35plugin-marketplace2a5ed0f6c2ba254d57eeplugin-task0a3785d2f669223053ffThe currency question, before and after the wave — the question this change is about, asked with the one verb that answers it. Before: six pins not current — the five the wave moved (
marketplacebehind, the other four "no checkout to judge ancestry"), plusdistro-cachyos'sblocked-by. After: one row, and it is theblocked-bythat names its producer leg, which the contract reports and passes.The fixture. The summary shape is now rendered by ONE definition, read from the product's own source (
candy/plugin-task/verbs.go:736in the module the binary is built from —charly/charly/go.modpins plugin-task v0.2026296.2153) and confirmed end to end by a realcharly task syncrun of this repo. The arms' expectations are INDEPENDENT literals, not the renderer's own template: an assertion that greps the definition cannot fail when the definition regresses, which is exactly how the retired shape survived here. The historical per-pin form stays where it is deliberately — the fleet arm uses it because it is the only producer log longer than the excerpt's bound, and the small arm below it proves a historical log is carried verbatim.The RCA this cut carries. #679: the builder ran its evidence dependency inside a command substitution and relied on
errexitto abort when the dependency failed. The self-test calls the builder asbuild_body … || fail "…", and in that position bash disableserrexitfor the WHOLE function body — so a dependency that failed inside the builder was swallowed, the substitution left the evidence table empty, and the arm went on to assert against a degraded body. The live path was safe (it calls the builder with no||); the arms were not. The builder now checks the dependency's status itself, so both paths behave identically, and a new arm proves the failure is loud.The corpus's breaking change, and why it is safe for the umbrella. opencharly/marketplace#576 dropped the retired carrier (
layer-charly-internals, archived) from the refs list and moved five internals skills to the umbrella's own tagv2026.297.1159in the same commit. The umbrella's own five skills are unchanged between that tag andorigin/main, so the farm the bump re-derives serves no stale copy: banner-stripped, the corpus's 18 published files are byte-identical to the umbrella's tree at that tag.dotgithub9f3df6d800→716c551dc3marketplacea4f1c32b9a→cc10955e4eplugin-command585f62d35f→36945d4e35plugin-marketplace2a5ed0f6c2→ba254d57eeplugin-task0a3785d2f6→69223053ffscripts/sync-pr-body.shHow tested
The head this body describes
The change-class gate, on the committed tree this body describes — the diff moves gitlinks, so the gate is the umbrella's own
verifytask, run on the committed tree with the worktree-local, CalVer-stamped build (R9):The wave itself — sync → init → verify, the order the pin contract names. The sync advanced the pins in the index and re-derived the harness bindings from the corpus the bump brought; the init materialized the checkouts at those pins; the verify judged them.
The currency question, before and after the wave
Every advance is a fast-forward against its own remote — the compare is the recorded pin against the new one, on the pin's own repo.
The changed script, executed live, and two mutations that discriminate at their own assertions — the real run is green; the retired-shape renderer turns the "CURRENT producer summary" arm red; reverting the status check turns the loud-failure arm red.
Each mutation is provably APPLIED — the mutant differs from the committed script in exactly the mutated hunk, and nothing else:
The R5 sweep, claim-keyed. The claim is "the retired one-line producer summary is gone from the umbrella's current surfaces". The whole-tree inventory, with no filter and no window: every matching file is in
CHANGELOG/, and the rulebook says history belongs only there.The last two blocks are the same scoped sweep, the second one on the pre-change commit: the predicate matches the claim where the claim existed, and matches nothing in the tree being pushed.
The corpus's new source is the umbrella's own tag, and the farm follows it without drift.
And the corpus's published copies are the umbrella's tree at that tag, with only the generator's banner between them:
Rulebook compliance
AGENTS.mddispatcher selected/charly-internals:git-workflow(the git/ghworkflow, the pin contract, the wave's order, the PR body),/charly-internals:root-cause-analyzer(the the sync-pr-body self-test can assert on a body whose evidence table is missing (errexit is off inside a function called on the left of||) #679 RCA),/charly-internals:strict-policy(the engineering-discipline rows),/charly-check:check(the R10 gate by change class) and/charly-internals:marketplace(the corpus and the refs list). This harness resolves the/charly-internals:strict-policyand/charly-check:checkforms only by path, so those two were read from the corpus (marketplace/internals/skills/strict-policy/SKILL.md,marketplace/check/skills/check/SKILL.md) — the rulebook's named fallback for a harness that cannot resolve the addressed form. They were read after this leg's first tool actions, so their conclusions were re-derived against this tree before the push: the R1 classification of the sync-pr-body self-test can assert on a body whose evidence table is missing (errexit is off inside a function called on the left of||) #679 (blocking, fixed here, not filed away), the sweep instrument (a scoped, unfiltered, non-windowed sweep with a positive control, and the whole-tree inventory beside it), the mutation discipline (each fix proved by a mutation that turns its own arm red, with the mutation's application shown), and the change-class gate (a gitlink diff → the umbrella's ownverifytask, plus the changed script executed live).||) #679, and it is fixed here: it lives in the exact file this PR opens and the new arm inherits the defect, so shipping without the fix would leave the tree incorrect. The RCA: mechanism — bash disableserrexitfor a function body invoked on the left of||, and the builder relied on it; missed control — no arm failed the builder's dependency, so a swallowed failure degraded the rendered body silently; blast radius — the self-test arms (the live path was safe, because it calls the builder with no||); root fix — the builder checks its dependency's status itself, and a new arm proves the failure is loud. The second finding — the fixture's retired producer-log shape — is fixed in the same cut. The one currency row the wave did not move is ablocked-bythat names its producer leg, which the pin contract permits and reports; it is already filed (see Filed issues).charly task sync, the materialization throughcharly task init, the judgement throughcharly task verify— no hand-pin, no branch checkout, no sleep, no retry, no suppressed finding, no ad-hoc container or service command.charly task syncrun, and the script's own arm message now describes what the arm asserts.CHANGELOG/, and history belongs only there..worktrees/light-init/opencharly) branched off freshorigin/main;git statuswas empty before every commit; no history was rewritten, no force-push, no hook bypass, and nothing was pushed tomain. The two local commits were amended only before the first push, to re-tier the attribution trailer to the tier the gate earned.status=ahead,behind=0).2026.297.0121), produced by this worktree's own bootstrap; no shared host install was used.charly task verify— which carries the pin check, the currency report, the branch audit and the committed builders' self-tests — plus the changed script's own self-test run live:33 step(s), 0 failed, exit 0, with no warning line in its output.Change classification
A pin wave plus a fixture fix — no product-runtime change. The diff moves five gitlinks to their producers' served mains and rewrites one script: the fixture's renderer and the builder's dependency check. It changes no Go source and no schema.
plugin-task's Go,dotgithub's CI workflows — so this is not the documentation-only submodule-pointer class, and the tier is a runtime tier.charly task verifyon the committed tree —33 step(s), 0 failed, exit 0, zero warning lines — plus the changed script's self-test run live with its two mutation proofs, the currency report that answers is this repo CURRENT?, and the claim-keyed sweep above.fully tested and validated— the change-class gate passed on the final tree with zero warnings, and the changed paths executed live. Thedocumentation reviewedtier is forbidden here: the diff moves pins and changes a script.charly/charly/go.mod's module pin, which this diff does not touch.Filed issues
#678 — the umbrella's
plugin-taskgitlink is behind its producer's merged main, and the sync-PR-body fixture reproduces a producer-log shape the product retired. FIXED by this PR, and closed by it.#679 — the sync-pr-body self-test can assert on a body whose evidence table is missing (
errexitis off inside a function called on the left of||). FIXED by this PR, and closed by it: the builder now checks its evidence dependency's own status, and a new arm proves the failure is loud. The RCA is in the issue and above.No other issue is filed by this PR. Every finding this change raises is fixed in it.
The one row the wave did not move is
distro-cachyos, which the currency report names asblocked-by charly:box/cachyos (behind)— the contract's named producer leg, which PASSES and is REPORTED, because the next step in a cross-repo sequence is another repo's PR. It is already filed as #669, so this PR adds evidence to that file rather than opening a second one for the same row:— charly's own
box/cachyosgitlink is two commits behinddistro-cachyos's main, andopencharly/charlyowns that advance.Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)