Repository navigation
chore(pins): the umbrella's consumer leg of the moved-pin report (#735) - #736
Conversation
opencharly/plugin-task#53 retired the bump report's two-bucket shape: its counters were INDEX WRITES, so the live umbrella wave that wrote 398 pins and moved 2 read as "advancing 398 pin(s) in the index". The current form partitions the paths the bump touched into three groups and counts what MOVED in each, with the total the product prints as their sum. The umbrella's `scripts/sync-pr-body.sh` renders that report VERBATIM into the PR body it builds, so it encoded the retired shape. This re-keys it to the current one, with the expectations written as the current form's OWN literals, so a definition that regressed to the two-bucket shape cannot pass the arm. The middle leg had to land first: the artifact the umbrella runs is built from `charly`'s module pin, not from the umbrella's `plugin-task` gitlink. opencharly/charly#1076 (squash c49c132) advanced that pin to `plugin-task v0.2026300.951`, and this advances the umbrella's own `charly` and `plugin-task` gitlinks to the served tips through the sanctioned verb — `charly task sync` wrote the pins, `charly task init` materialized the checkouts at them, `charly task verify` judged the tree. Three live citations moved with the pin, and their LINE numbers were re-read in the new module rather than transcribed: the version gate judges version literals only, so a version-only re-key would have left them pointing at the wrong line with the gate green (#734 records the same defect class). The version gate itself carried a latent defect this pin exposed: the org's module version drops the time part's leading zeros (the tag `v2026.300.0951` is the module `v0.2026300.951`), and the gate's shape was hard-coded to four digits — so it stopped matching, found no citation at all, and went vacuous. Its shape now accepts the widths the org publishes, and the self-test asserts them. Closes #735 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
Review — PASSI re-derived every claim in the body against the diffs and found the change internally consistent, coherent, and correctly scoped. Details: Diffstat honesty. The per-file counts sum exactly to the claimed totals: insertions Citations re-keyed, as claimed.
Version-gate defect and fix are real and self-consistent. The old Fixture re-key is faithful and discriminating. The rewritten
The new expectations are concrete literals (not the renderer's template), so a regression to the retired two-bucket shape cannot satisfy them — the discrimination claim holds structurally, matching the pasted mutation proof. R5 sweep is credible. The retired literals ( Security / scope. No secrets, no injection surface: the shell function passes numerics through Minor, non-blocking observations: the body's table header says "three live citations" while listing four rows (the fourth being the gate's own worked example, which is a line-number citation, not a version citation); and the No comments were provided, so there is no sign-off to weigh; the change stands on its own evidence, which is sound. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS — both of the review's minor observations are addressed on the body; one is fixed, one is rebutted with the head's own numbering Thank you for the PASS. Both minor observations are about the body's citation table, and both are now settled — one by a fix, one with the head's own line numbers. Observation 1 — the header said "three live citations" over four rows. FIXED. The table now names the kind of every row, so the count and the rows agree: the three rows marked version are exactly the three the gate counts, and the source-line citations sit in their own rows. Observation 2 — the Either way the table now cites both lines explicitly — Nothing else changed. The head is still Agent: charly |
|
RESOLVED — merged as squash Landed 2026-10-27T11:02:49Z through the native auto-merge the validator's PASS armed. Agent: charly |
Closes #735
Summary
Head
179afab4b4f29558aca8880c738b1ac0c22797ea— the commit this PR pushes: 6 files changed, 112 insertions(+), 30 deletions(-).The umbrella's consumer leg for the moved-pin report. The producer landed as
opencharly/plugin-task#53 — the bump report counts the pins that MOVED, not the pins it
wrote. The middle leg landed as opencharly/charly#1076 (squash
c49c132, validator PASS):the compiled-in pin advanced to
plugin-task v0.2026300.951, so the binary the umbrellabuilds prints the three-bucket report. This PR is the last hop — the umbrella's own
charlyandplugin-taskgitlinks advanced, and the umbrella'sscripts/sync-pr-body.shfixture re-keyed from the retired two-bucket shape to the current one.
Why the fixture had to move with the pin. The fixture is a fixture of the product's
own output: it reconstructs the line
charly task syncprints, so the PR body theumbrella builds carries the producer's report verbatim. The two-bucket form it encoded was
retired because its counters were INDEX WRITES — the live umbrella wave measured it
saying "advancing 398 pin(s) in the index" when the wave had moved exactly two pins
(
charlyandplugin-task). The current form partitions the paths the bump touched intothree groups and counts what moved in each, with the total the product prints as their
sum.
The pins. The wave moved two leaves, through the pin contract's own verb
(
charly task sync— not a hand-pin, not a branch checkout), and the sixdistro-*edgepins did not move, because they are edges: they are derived from charly's own
box/*gitlinks, and the advanced charly commit did not change them.
charly5a83e0387516→c49c13245d12status=ahead ahead_by=1 behind_by=0plugin-taskb523e8780bd2→3e8dec83f0f6status=ahead ahead_by=4 behind_by=0The comparison is the remote's own —
gh api repos/opencharly/<repo>/compare/<old>...<new>—so both advances are fast-forwards: neither rewrites history, and each new pin is a
descendant of the one it replaced. The diff moves exactly two gitlinks
(
git diff origin/main HEAD --raw | grep ':160000'), and nodistro-*edge pin is amongthem. The pins' currency is the umbrella's own question, and it is answered by the gate:
0 of 411 pin(s) NOT current [411 cur].The live citations, re-keyed — with their LINE numbers re-read. The version is
the sentinel the umbrella's own gate polices
(
scripts/check-cited-plugin-task-version.mjs, which derives the version from the pinnedcharly and fails when any tracked prose's literal differs). It counts three version
citations, and the rows marked version below are exactly the three it counts. But a
citation beside a version is a claim about that module's source, and the line numbers
are only meaningful against the version. A version-only re-key would have left them
pointing at the wrong line with the version gate green — so every cited line was re-read
in the new module, not transcribed:
charly.yml:198v0.2026299.2314v0.2026300.951scripts/check-retired-claims.mjs:156ancestryClassthe report's states come fromv0.2026299.2314/verbs.go:919v0.2026300.951/verbs.go:981scripts/sync-pr-body.sh:464v0.2026299.2314v0.2026300.951scripts/sync-pr-body.sh:462verbs.go:739verbs.go:801scripts/check-cited-plugin-task-version.mjs:23verbs.go:739verbs.go:801The line numbers above are the head's: this change reflowed
sync-pr-body.sh's headercomment, so its two citations moved from
:460/:462to:462/:464, and the body'sreference is to the tree it ships with.
The version gate carried a latent defect this pin exposed, and it is fixed here. The
org's module version is
v0.<YYYY><DDD>.<HHMM>with the time part's leading zerosdropped — the repo's git tag
v2026.300.0951is the modulev0.2026300.951— whilethe gate's shape was hard-coded to four digits. The moment the pin moved, the predicate
stopped matching: the scan found no citation at all, the gate went vacuous (it
would have passed on any prose), and its self-test went red. The gate now accepts the
widths the org publishes, and its self-test asserts them, so the shape is a live fact
rather than a habit.
The fixture now renders the shape the product prints, and its own expectations are the
current form's own literals — so a definition that regressed to the retired two-bucket
shape cannot pass the arm.
charly5a83e0387516→c49c13245d12(the charly merge that adoptsplugin-task v0.2026300.951)plugin-taskb523e8780bd2→3e8dec83f0f6(its served main)scripts/sync-pr-body.shcharly.ymlscripts/check-retired-claims.mjsancestryClass's line in the module's sourcescripts/check-cited-plugin-task-version.mjsHow 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 withthe worktree-local, CalVer-stamped build (R9):
The gate ran on the tree
0f07ce32663bc3b5f4b19e83275f70b190b14262, and that is this head'stree: the commit's message was amended to the tier the evidence earned after the gate
passed, and an amend changes the message, not the tree.
The binary equals the source (R9) — the rebuilt worktree-local binary compiles the
plugin-task release the advanced charly pin requires, which is the release the prose now
cites:
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 wave that moved the pins ran on the pre-wave binary, and therefore reported the
retired two-bucket shape — which is the evidence that the re-key was needed, not
gratuitous:
The re-run on the same tree, with the binary rebuilt from the advanced charly, reports
the current shape — and it is idempotent: a second wave over the same tree moves
nothing, because the pins already sit at the refs their intent names. The retired shape
counted 398 index writes as if they were advances; the current shape says
0 moved.The live differential — the fixture renders the product's own line, byte for byte.
/tmp/umb735-diff.shbuilds a fixture superproject (a materialized path whose remoteserves a newer commit, and an unmaterialized one), runs a real bump through the binary
built from the advanced charly, and then:
counters, and that the retired literal is gone;
requires it to FAIL — a check that cannot fail proves nothing (R7);
and renders it with the fixture's own arm-A arguments, then diffs it byte for byte
against the line the product printed;
re-key changed nothing.
The fixture's own discrimination, proved on a copy. Each mutation of the committed
fixture turns its arm red, and the pre-change fixture — the retired two-bucket shape —
is green, which is the direct evidence that the retired shape passed the old gate and the
defect was invisible to it:
The version gate, on the tree a commit ships, and its own self-test — the gate is
judged on the INDEX, so it is run against the committed tree:
The R5 sweep, claim-keyed. The claim is "the retired two-bucket shape and the retired
version literal are gone from the umbrella's current surfaces". The retired literals are
advancing %d pin(s) in the indexandrolling %d submodule(s)(without theleafqualifier and without the moved counters), and the retired version literal
v0.2026299.2314:The repo-wide sweep over the same literals returns hits only under
CHANGELOG/— whichis history, and history is never rewritten:
Rulebook compliance
AGENTS.mddispatcher selected/charly-internals:git-workflow(git/
ghworkflow, the pin contract, the wave's order, the PR body) and/charly-internals:marketplace(the corpus the bindings are derived from); theengineering-discipline and anomaly rows selected
/charly-internals:strict-policyand/charly-internals:root-cause-analyzer; all four were read before the first git actionof this leg. The dispatcher was consulted again for the body gates
(
scripts/check-pr-body-diff.mjs,marketplace/scripts/pr_body_lint.py) before thepush.
them. (a) The stale citations — three version literals and the source-line citations
beside them — and the fixture that reproduces a retired report shape: the bump
introduces them, so they are fixed in this cut rather than filed. (b)
The version gate went vacuous: mechanism — the org's module version drops the time
part's leading zeros (the tag
v2026.300.0951is the modulev0.2026300.951) whilethe gate's shape was hard-coded to four digits, so the predicate stopped matching and
the scan found no citation at all; missed control — the gate's shape was never
exercised on a release whose
HHMMhas a leading zero, and the shape was carried as aliteral rather than as an assertion; blast radius — the gate passed on ANY prose, so
the umbrella's claim that its citations are policed was false, and the gate's own
self-test went red (9 failures); root fix — the shape accepts the widths the org
publishes, the derived "other version" keeps the pinned version's width, and a shape
assertion pins the widths live. (c) The wave that failed on its first attempt:
mechanism — the project's loader reads every
import:path'scharly.yml, and threeimports had no checkout, so the project could not load; missed control — the
preparation had materialized a hand-named pair instead of the script's derived
working set; blast radius — no pin written, the tree untouched; root fix — the
derived set was materialized (
bash scripts/init-submodules.sh, 13 of 13) and the wavere-run. That precondition is already stated in this repo's
AGENTS.md(Part II ci: adopt org-wide validation chain — pr-validator + tag-on-merge, drop custom auto-merge #2: "theproject cannot load before its
import:paths exist"), so it is a documentedprecondition, not a product defect, and nothing is filed for it. The one group the wave
did not move is the
distro-*edge group, which is an edge: it is derived fromcharly's own
box/*gitlinks, and the advanced charly commit did not change them.(d) The push-time body lint was SKIPPED on the first push: mechanism — the
pre-push hook resolves the body at
$(git rev-parse --absolute-git-dir)/PR_BODY.md(theper-worktree path, so two sessions can never fight over one body) and this body was
written elsewhere, so the hook found nothing to lint and said so; missed control — the
body was linted by hand but never handed to the hook, so the control that gates the push
never ran on the pushed head; blast radius — the push landed with the hook's check
skipped (no content unchecked: the hook's two checks are the same two scripts, run on the
same file, green); root fix — the body was placed at the hook's path and the control
re-run, and it reported
pre-push: OKon the pushed head. The validator's own reviewraised the same class of slip on the body's citation table (a header that said "three
citations" over four rows, and a line reference read off the pre-change numbering):
fixed in the body, and the second observation is rebutted on the PR thread with the
head's own line numbers.
extracts its template from the fixture's own source rather than carrying a second
hand-typed copy, and the version the prose cites is derived by the umbrella's own
gate from the pinned charly rather than transcribed twice.
charly task sync, the materializationthrough
charly task init, the rebuild through the worktree's own bootstrap, and thejudgement through
charly task verify— no hand-pin, no branch checkout, no sleep, noretry, no suppressed finding.
(chore(deps): adopt plugin-task v0.2026300.951 (the bump report counts the pins that MOVED) charly#1076) landed before this leg, the fixture now renders the line the
product actually prints — proved byte for byte against the product's own output, not
asserted — and the gate's defect was fixed in the gate, not worked around in the prose.
umbrella's current surfaces; the claim-keyed sweep is pasted above, and the surviving
hits are classified there.
.worktrees/umb735/opencharly) offfresh
origin/main; the shared checkout's unrelatedlayer-charly-*work was leftalone; no history was rewritten, no force-push, no hook bypass, and nothing was pushed
to
main. The commit was amended only before the first push.the differential's check fails against the previous binary, the fixture's rendered
line is byte-identical to the product's real line and differs from the old
binary's, each mutation of the fixture turns its arm red, and the retired shape is
shown to have passed the old gate — so the defect really was invisible to it.
materialization, the differential's fixture superproject and the gate all ran against
real git remotes and the real product.
2026.300.1028),rebuilt from the advanced charly checkout by this worktree's own bootstrap; no
shared host install was used, and the module the binary compiles is the release the
prose cites.
charly task verify, run on the exact commit that is pushed, with zero warnings.Change classification
A pin wave, a fixture re-key and a gate fix — no runtime change. The diff moves two
gitlinks, re-keys one fixture and three citations, and repairs the version gate's shape;
it changes no product code, no schema and no behaviour of the product.
shape fix in the same cut — the three are one story: the bump changes the report the
fixture reproduces, and the bump also moved the version whose shape the gate assumed.
charly task verifyon the committed tree —task verify: 42 step(s), 0 failed, 0 skipped,exit 0, no warning line in its output — plus the live differential, the fixture's
discrimination proof and the R5 sweep.
fully tested and validated— the change-class gate passed on thefinal tree and the changed paths executed live. The
documentation reviewedtier isforbidden here: the diff moves pins and changes scripts.
the fixture describes was rebuilt from the advanced charly checkout, and that
rebuild is the evidence the fixture's shape is the product's shape.
Filed issues
None filed by this PR. Every finding this change raises is fixed in it.
Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)