Skip to content

fix(pins): state the control's criterion as "not current", not "behind" - #1052

Merged
github-actions[bot] merged 2 commits into
mainfrom
fix/pin-criterion-classes
Oct 24, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
fix/pin-criterion-classes

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Closes #1051

Summary

Head 6da62b2b7fd73414d774f677c87949154057f386 — 5 files changed, 515 insertions(+), 102 deletions(-).

charly's pin-currency control landed in #1050 (squash 5001ff6904102916f083a9cf488740388d574a8c, tag v2026.296.2303) with a criterion its own prose mis-stated, and with a proof that covered one class of the three the criterion names. This is the fix, in the repo that owns the control.

The false claim, in the merged tree. charly.yml (the pin-current and pin-currency-proof task descriptions), AGENTS.md (the control's bullet and the proof's bullet) and the .github/workflows/pin-currency.yml header all say the control fails on a pin that is "behind AND un-advanced". The producer does not judge one class. plugin-task v0.2026296.2153 — the release this repo pins (charly/go.mod:141) — judges the set {behind, not-on-the-served-line, differs} (candy/plugin-task/verbs.go:981-991, staleEligible), and its own ancestry test names the same classes (verbs.go:916-929).

The class the prose omits is the class this org produces. not-on-the-served-line is what a squash-merge upstream produces: the served ref does not descend from the recorded commit, so the pin is not an ancestor of what is served. The producer says so itself (squashWhy: "a squash-merged branch advances without descending from its previous head, and a hand-pin looks identical; advance the pin either way"), and the org merges by squash in charly and layer-charly-internals among others — so this is the ordinary class for a squash-merged twin, and it is the shape of the #1035 recurrence. The third class, differs, is a pin with no checkout to judge: the shape a light tree produces, where the umbrella's own plan is heading (a working set instead of 431 checkouts).

The control is right and the sentence was not. Measured on a squash-shaped fixture, the shipped control reports the class, marks the pin STALE and exits non-zero — the coverage was real and the sentence under it was not. The repo's own proof could not have caught the mismatch, because it built one twin shape and ran two arms over it: the proof, the sentence and the fixture all agreed, and all three were wrong about the control's scope. The measurement was wrong in the same direction — it treated "the pin is not the tip" as "behind", which is the proxy that cannot see a squash-advanced pin at all.

The fix, in four parts.

  1. The criterion is stated as the producer defines it — "not current AND un-advanced", naming the three classes — on every surface that states it: charly.yml, AGENTS.md, the workflow header, and both scripts.
  2. The repo's own proof covers every class the criterion names. scripts/check-pin-currency.sh gains four more arms: a squash-shaped twin (a served ref that does not descend from the recorded pin) and a twin with no checkout at all, each in a neglected/recent pair. The third pair also proves the control's verdict does not depend on the tree shape — on a tree that materializes nothing, a not-current pin is still reported not current, and still goes red when it is neglected.
  3. The measurement classifies with the control's own test. scripts/measure-pin-cadence.py now decides each (day, twin) pair with merge-base --is-ancestor — the control's test — instead of the pin != tip proxy, and prints the class tally. The numbers do not move: over the 32-day window all 145 not-current pairs are the behind class, so "not current" and "behind" coincide in this repo's history — now shown, not assumed. The classifier is proved by a --self-test on a scratch twin, and the old proxy fails that self-test (the gate below runs the mutant).
  4. The control's scope is derived once and checked against every surface. The arms live in ONE table, the counts every surface states are derived from that table, and the proof now reads each surface that states the control's scope and turns red when one of them disagrees with the numbers the proof actually ran. The classifier's self-test likewise carries one arm per class the classifier can return — cur, behind, not-on-the-served-line, unmerged and unjudgeable — and asserts each class's neglect-eligibility against an independent expectation.

The files. charly.yml (two task descriptions and the derivation's comment), AGENTS.md (the control's bullet, the proof's bullet, and a new one for the classifier's proof), .github/workflows/pin-currency.yml (header, one new step, and the pull_request trigger now covering the two proof scripts — a change to the proof must re-run the proof), scripts/check-pin-currency.sh (six arms over three twin shapes, from one table, and the surfaces check), scripts/measure-pin-cadence.py (the ancestry classifier, the class tally, the --self-test).

How tested

The change class is hook / workflow scripts — .github/workflows/pin-currency.yml — together with candy / box config — this repo's charly.yml task surface — and the repo's own maintenance scripts. The class's gate is therefore: every changed script executed live, charly box validate, and the bed that composes the changed surface.

The gate, run on the committed tree this PR pushes:

=== 0. the tree this gate runs on ===
$ git rev-parse HEAD
$ git status --porcelain
=== 1. the R9 build: the worktree-local, CalVer-stamped binary ===
--- bootstrap (R9)
$ bash scripts/bootstrap-charly.sh
exit=0
--- the generated wiring is clean
$ bash scripts/check-generated-clean.sh
exit=0
--- the binary is the worktree-local build
$ bash -c ./bin/charly version
exit=0
=== 2. the core Go gate (charly/) ===
--- go vet ./...
$ bash -c cd charly && go vet ./...
exit=0
--- go test ./...
$ env TMPDIR=/tmp/charly-ci GOTMPDIR=/tmp/charly-ci bash -c cd charly && go test ./...
ok  	github.com/opencharly/charly/charly	186.027s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	128.507s
exit=0
=== 3. the tools/* sweep ===
--- the tools modules' own tests
$ bash -c fail=0; for d in tools/*/; do [ -f "$d/go.mod" ] || continue; echo "== $d =="; ( cd "$d" && GOWORK=off GOTOOLCHAIN=go1.26.8 go test -count=1 ./... ) || fail=1; done; exit $fail
== tools/generate-packages/ ==
?   	github.com/opencharly/charly/candy/generate-packages/cmd/serve	[no test files]
== tools/golden-cloudinit/ ==
?   	github.com/opencharly/charly/tools/golden-cloudinit	[no test files]
== tools/golden-compile/ ==
?   	github.com/opencharly/charly/tools/golden-compile	[no test files]
== tools/gomod-canonical/ ==
ok  	github.com/opencharly/charly/tools/gomod-canonical	0.001s
== tools/ledger-validate/ ==
ok  	github.com/opencharly/charly/tools/ledger-validate	0.002s
exit=0
=== 4. the formatter + linter gate ===
--- gofmt -l charly tools
$ bash -c out=$(gofmt -l charly tools); [ -z "$out" ] || { echo "$out"; exit 1; }
exit=0
--- golangci-lint fmt --diff (charly/)
$ bash -c cd charly && GOTOOLCHAIN=go1.26.8 "$(go env GOPATH)/bin/golangci-lint" fmt --diff
exit=0
--- golangci-lint run (charly/)
$ bash -c cd charly && GOTOOLCHAIN=go1.26.8 "$(go env GOPATH)/bin/golangci-lint" run ./...
exit=0
--- golangci-lint run (tools/*)
$ bash -c fail=0; for d in tools/*/; do [ -f "$d/go.mod" ] || continue; echo "== lint $d =="; ( cd "$d" && GOWORK=off GOTOOLCHAIN=go1.26.8 "$(go env GOPATH)/bin/golangci-lint" run ./... ) || fail=1; done; exit $fail
== lint tools/generate-packages/ ==
== lint tools/golden-cloudinit/ ==
== lint tools/golden-compile/ ==
== lint tools/gomod-canonical/ ==
== lint tools/ledger-validate/ ==
exit=0
=== 5. the manifest ===
--- charly box validate
$ ./bin/charly box validate
exit=0
=== 6. the control and its own proof ===
--- the control, live over this repo's own six twins
$ ./bin/charly task pin-current
exit=0
--- the control's own proof — that it can fail
$ ./bin/charly task pin-currency-proof
exit=0
--- the measurement's own proof — that the classifier tells the classes apart
$ python3 -I scripts/measure-pin-cadence.py --self-test
  ok    cur                       (the pin IS the served ref)
  ok    behind                    (the served ref descends from the recorded pin)
  ok    not-on-the-served-line    (a squash-merge: neither descends from the other)
  ok    unmerged                  (the recorded pin is AHEAD of the served ref)
  ok    unjudgeable               (the recorded commit is not in the twin's object store)
PIN-CADENCE-SELF-TEST-OK
exit=0
=== 7. the mutation differential: the coverage must FAIL without the change ===
$ MUT-A: the control's question removed (mode: "${MODE}" -> "verify") — the proof must go red
== the control: a pin NEGLECTED past the bound must FAIL ==
FAIL: the behind twin — a pin neglected since 2020-01-01T00:00:00Z must fail the bound
exit=1  (non-zero = the proof caught the neutered control)
$ git status --porcelain   (the manifest must be restored)
--- MUT-B: the classifier back to the OLD 'pin != tip' proxy — the self-test must go red
$ cp scripts/measure-pin-cadence.py /tmp/r1-repro/measure-mut.py; mutate the copy; run --self-test
SELF-TEST FAILED: 3 arm(s) did not behave as specified. The tally this
  ok    cur                       (the pin IS the served ref)
  ok    behind                    (the served ref descends from the recorded pin)
  FAIL  not-on-the-served-line    (a squash-merge: neither descends from the other)  — got 'behind'
  FAIL  unmerged                  (the recorded pin is AHEAD of the served ref)  — got 'behind'  — neglect-eligible True, expected False
  FAIL  unjudgeable               (the recorded commit is not in the twin's object store)  — got 'behind'
exit=1  (non-zero = the self-test caught the old proxy)
--- MUT-C: the measurement's neglect-eligible set, with 'unjudgeable' dropped — the self-test must go red
$ cp scripts/measure-pin-cadence.py /tmp/r1-repro/measure-mut-c.py; mutate the copy; run --self-test
SELF-TEST FAILED: 1 arm(s) did not behave as specified. The tally this
  ok    cur                       (the pin IS the served ref)
  ok    behind                    (the served ref descends from the recorded pin)
  ok    not-on-the-served-line    (a squash-merge: neither descends from the other)
  ok    unmerged                  (the recorded pin is AHEAD of the served ref)
  FAIL  unjudgeable               (the recorded commit is not in the twin's object store)  — neglect-eligible False, expected True
exit=1  (non-zero = the self-test caught the drifted eligible set)
--- MUT-D: a SURFACE's stated scope drifted from the proof's — the control's own proof must go red
$ cp AGENTS.md /tmp/r1-repro/AGENTS.md.mut-backup; mutate it; run the proof; restore it
== the surfaces must agree on the control's scope ==
FAIL: AGENTS.md states 'four twin shapes', but this proof runs 3 twin shapes
exit=1  (non-zero = the proof caught the drifted scope)
$ git status --porcelain   (the surface must be restored)
=== 8. the R5 sweep: the legacy criterion, claimed nowhere in the tree ===
--- 8a. the predicate is CALIBRATED against the known positive (issue #1048's own sentence)
$ grep -inE 'fails? (when|if) [^.]{0,30}twin is behind' /tmp/legacy-criterion.txt
exit=0  (0 = the predicate catches the legacy claim; 1 = the predicate is useless)
--- 8b. the same predicate over every shipped file
$ git grep -inE 'fails? (when|if) [^.]{0,30}twin is behind' -- '*.md' '*.yml' '*.sh' '*.py' '*.go'
CHANGELOG/2026.296.2303.md:13:**The correction to the criterion (R4).** #1048 asks for "a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares". Measured over this repo's own history, that gate would be red on 28 of the last 32 days — each of the six twins is behind the ref it declares on 17 to 27 of those days, and on 28 of the 32 at least one is. That is the permanently-red gate the org's own pin rule forbids, so the shipped criterion is narrower, and says so in the file: behind AND un-advanced past this repo's own bound. The bound is derived from this repo's own advance history — the longest gap that stayed within a 7-day bound was 6.4 d, 25 gaps ran past it (8.0 d to 25.1 d), and 168 h (7 d) is the only whole-day bound strictly between those two. `scripts/measure-pin-cadence.py` re-derives every one of those numbers, over a window named by its dates. Over the 9 days from 2026-10-15 to 2026-10-23 the shipped criterion is red on 6, at ages of 7.5 d to 14.7 d — every one inside a real lapse (8.1 d, 10.2 d or 15.3 d), and no red day on a healthy tree.
CHANGELOG/2026.296.2303.md:134:1:Install the control: a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares.
exit=0  (1 = the legacy criterion is in no shipped file)
--- 8c. the BROADER co-occurrence sweep — every hit, read and classified
$ git grep -inE '[^.]{0,60}\b(fails?|failing|failed|red)\b[^.]{0,60}\bbehind\b|[^.]{0,60}\bbehind\b[^.]{0,60}\b(fails?|failing|failed|red)\b' -- '*.md' '*.yml' '*.sh' '*.py'
AGENTS.md:77:  one twin was behind — so a gate on the distance would be red roughly three days out
CHANGELOG/2026.278.0912.md:304:own `summary.yml`, and the defect behind the red was reported to the owner that could fix it:
CHANGELOG/2026.278.0912.md:2435:- **Block 2 — the reds were dispositioned with framings this project forbids.** Verbatim from the verdict: "`origin/main` is red the same way right now" (an R2 prior-state argument) and "host saturation" / "I re-run it solo" (an R1 environmental argument and a concurrency idle-run dodge). Accepted in full, and **corrected rather than restated** — §Read first: Cause 1 and Cause 2 are no longer *argued* at all, they are merged upstream fixes (`sdk#343`→`#785`; `#781`) and are **green** on this head; and Cause 3 is decided by a SOLO re-run that reproduces the red, and is **routed to its named batch cutover `opencharly/charly#650`** with its evidence on that thread and on `#699` (§3, §5) instead of being framed away. **The remedy the verdict asked for** — "land `sdk#342`, then re-run the six beds on this head and paste each `summary.yml` with `ok: true` and no failed step" — is §3, pasted per bed: every bed that was run is listed there — `check-pkg-uninstall`, `check-commands-local`, `check-group`, `check-builder-vm` and `check-kind-host-vm` all `ok: true` with zero failed steps, and `check-pod-overlay` — the bed that went red on the earlier heads and is `ok: true` on the shipped tree now that `#798`/`ff3a59dd` has landed — with Cause 3's reachability proof that no changed statement stood behind that red.
CHANGELOG/2026.296.2303.md:11:**The control.** `charly task pin-current` asks whether every `box/*` gitlink is at the ref this repo's own `.gitmodules` declares for it, and fails only on NEGLECT: a pin that is behind AND that this repo has not advanced for longer than its own bound (168 h). "Behind" alone is churn. `charly task pin-currency-proof` proves the control can fail — it runs the shipped wiring, extracted from this repo's own `charly.yml`, over a scratch fixture whose two arms differ only in the date of the commit that recorded the pin: a neglected pin goes red, the same pin advanced recently passes.
CHANGELOG/2026.296.2303.md:13:**The correction to the criterion (R4).** #1048 asks for "a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares". Measured over this repo's own history, that gate would be red on 28 of the last 32 days — each of the six twins is behind the ref it declares on 17 to 27 of those days, and on 28 of the 32 at least one is. That is the permanently-red gate the org's own pin rule forbids, so the shipped criterion is narrower, and says so in the file: behind AND un-advanced past this repo's own bound. The bound is derived from this repo's own advance history — the longest gap that stayed within a 7-day bound was 6.4 d, 25 gaps ran past it (8.0 d to 25.1 d), and 168 h (7 d) is the only whole-day bound strictly between those two. `scripts/measure-pin-cadence.py` re-derives every one of those numbers, over a window named by its dates. Over the 9 days from 2026-10-15 to 2026-10-23 the shipped criterion is red on 6, at ages of 7.5 d to 14.7 d — every one inside a real lapse (8.1 d, 10.2 d or 15.3 d), and no red day on a healthy tree.
CHANGELOG/2026.296.2303.md:134:1:Install the control: a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares.
CHANGELOG/2026.296.2303.md:141:AGENTS.md:77:  one twin was behind — so a gate on the distance would be red roughly three days out
CHANGELOG/2026.296.2303.md:142:AGENTS.md:105:  which pins are behind and which are neglected; only a neglected pin turns it red.
CHANGELOG/2026.296.2303.md:143:AGENTS.md:108:  `charly.yml`** — a pin behind its served ref and un-advanced since 2020 must go red,
CHANGELOG/2026.296.2303.md:144:CHANGELOG/2026.278.0912.md:304:own `summary.yml`, and the defect behind the red was reported to the owner that could fix it:
CHANGELOG/2026.296.2303.md:147:charly.yml:4132:    description: Prove the pin-currency control can fail — a pin behind its served ref AND un-advanced past the bound must be reported
CHANGELOG/2026.296.2303.md:148:scripts/check-pin-currency.sh:181:  echo "FAIL: the recent arm's pin must still be reported behind — otherwise the two" >&2
CHANGELOG/2026.296.2303.md:149:scripts/measure-pin-cadence.py:5:WHY THIS EXISTS. `charly task pin-current` fails on NEGLECT: a twin that is behind
CHANGELOG/2026.296.2303.md:150:scripts/measure-pin-cadence.py:22:                     that fails on "behind" is red on exactly these days, which is
CHANGELOG/2026.296.2303.md:151:scripts/measure-pin-cadence.py:167:          "  (a gate that fails on 'behind' is red on these days)")
CHANGELOG/2026.296.2303.md:164:behind_day_rate: 28/32 = 87.5%  (a gate that fails on 'behind' is red on these days)
CHANGELOG/2026.296.2303.md:180:behind_day_rate: 8/9 = 88.9%  (a gate that fails on 'behind' is red on these days)
CHANGELOG/2026.296.2303.md:291:- 3 in `scripts/measure-pin-cadence.py` and 1 in `scripts/check-pin-currency.sh` — the measurement's own subject and its counterfactual ("a gate that fails on 'behind' is red on these days"), and the proof's assertion that the recent arm still reports the distance without staleness.
CHANGELOG/2026.296.2303.md:292:- 2 in `CHANGELOG/2026.278.0912.md` — history, where "behind" is spatial and "the red" is a check failure rather than the criterion.
charly.yml:4132:    description: Ask whether every box/* pin is at the ref its intent names, bounded by this repo's own neglect bound (fails only on a pin that is NOT CURRENT — behind, advanced past the served ref by a squash-merge, or unclassifiable — AND un-advanced past the bound)
charly.yml:4160:    description: Prove the pin-currency control can fail — a pin that is NOT CURRENT (behind its served ref, advanced past it by a squash-merge, or with no checkout to judge it) AND un-advanced past the bound must be reported STALE and fail, while the same pin advanced recently must pass
scripts/check-pin-currency.sh:253:  "behind|the behind twin|$WORK/subsrc|$WORK/shas-behind|yes|behind|a pin NEGLECTED past the bound must FAIL"
scripts/measure-pin-cadence.py:43:pin is not the tip, so it is behind) fails exactly that way on a squash-advanced
scripts/measure-pin-cadence.py:381:          "  (the legacy criterion: a gate that fails on 'behind' is red on these days)")
exit=0  (every hit above is classified in the PR body)
--- 8d. the criterion's OWN wording, keyed on the false claim this change fixed
$ git grep -inE 'behind AND (that this repo has not advanced|un-advanced)' -- '*.md' '*.yml' '*.sh' '*.py'
CHANGELOG/2026.296.2303.md:11:**The control.** `charly task pin-current` asks whether every `box/*` gitlink is at the ref this repo's own `.gitmodules` declares for it, and fails only on NEGLECT: a pin that is behind AND that this repo has not advanced for longer than its own bound (168 h). "Behind" alone is churn. `charly task pin-currency-proof` proves the control can fail — it runs the shipped wiring, extracted from this repo's own `charly.yml`, over a scratch fixture whose two arms differ only in the date of the commit that recorded the pin: a neglected pin goes red, the same pin advanced recently passes.
CHANGELOG/2026.296.2303.md:13:**The correction to the criterion (R4).** #1048 asks for "a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares". Measured over this repo's own history, that gate would be red on 28 of the last 32 days — each of the six twins is behind the ref it declares on 17 to 27 of those days, and on 28 of the 32 at least one is. That is the permanently-red gate the org's own pin rule forbids, so the shipped criterion is narrower, and says so in the file: behind AND un-advanced past this repo's own bound. The bound is derived from this repo's own advance history — the longest gap that stayed within a 7-day bound was 6.4 d, 25 gaps ran past it (8.0 d to 25.1 d), and 168 h (7 d) is the only whole-day bound strictly between those two. `scripts/measure-pin-cadence.py` re-derives every one of those numbers, over a window named by its dates. Over the 9 days from 2026-10-15 to 2026-10-23 the shipped criterion is red on 6, at ages of 7.5 d to 14.7 d — every one inside a real lapse (8.1 d, 10.2 d or 15.3 d), and no red day on a healthy tree.
CHANGELOG/2026.296.2303.md:290:- 3 in `AGENTS.md` and 2 in `charly.yml` — this change's own text, and each one carries the CONJUNCTION (behind AND un-advanced) that the legacy criterion lacks: the argument for the shipped criterion, the sentence that a reported-behind pin is not a failure, the proof's own requirement, and the control's and the proof's task descriptions.
exit=0  (1 = the false claim is in no shipped file)
--- 8e. the criterion stated CORRECTLY — the claim-keyed positive
$ git grep -inE 'not current' -- '*.md' '*.yml' '*.sh' '*.py'
.github/workflows/pin-currency.yml:5:# that is NOT CURRENT and that this repo has not advanced for longer than its own
.github/workflows/pin-currency.yml:6:# bound (168 h). "Not current" is a SET of classes — `behind`, `not-on-the-served-line`
.github/workflows/pin-currency.yml:8:# "not current" alone is CHURN: measured over this repo's own history, each twin is
AGENTS.md:104:- **A pin that is not current and REPORTED is not a failure.** The control's message says
AGENTS.md:105:  which pins are not current and which are neglected; only a neglected pin turns it red.
AGENTS.md:108:  `charly.yml`** — a pin not current and un-advanced since 2020 must go red, and the
AGENTS.md:113:  not current because there is no checkout to judge it, which is the shape of a light
CHANGELOG/2026.231.1222.md:9:ERROR: pip's dependency resolver does not currently take into account all the packages
CHANGELOG/2026.273.0744.md:71:  branched from — so `main` itself does not currently pass the Go suite.
CHANGELOG/2026.289.1231.md:12:2. **The five stale pins advance**, by `charly task sync`: `box/{arch,cachyos,debian,fedora,ubuntu}`. The instrument's own answer goes from **`5 of 6 NOT current [5 behind, 1 cur]`** to **`0 of 6 NOT current [6 cur]`**. Nothing was hand-pinned; `box/omarchy` was already `cur` and did not move.
CHANGELOG/2026.289.1231.md:46:      currency: 5 of 6 pin(s) NOT current [5 behind, 1 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/arch: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 395a583028; served d6e0aac72b (branch); box/cachyos: behind; recorded 673b1b6b90; served 44f0d6e17e (branch); box/debian: behind; recorded c788ce694a; served 9a06ceef6a (branch); box/fedora: behind; recorded 8c6294797c; served 58d918c4ab (branch); box/ubuntu: behind; recorded d2922298e9; served 8da2404d91 (branch); producer-first legs: box/arch (395a583028 -> d6e0aac72b) -> box/cachyos (673b1b6b90 -> 44f0d6e17e) -> box/debian (c788ce694a -> 9a06ceef6a) -> box/fedora (8c6294797c -> 58d918c4ab) -> box/ubuntu (d2922298e9 -> 8da2404d91)
CHANGELOG/2026.289.1231.md:60:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.294.1507.md:56:thing in one line (below): `0 of 6 pin(s) NOT current [6 cur]`.
CHANGELOG/2026.294.1507.md:123:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.294.1507.md:157:      currency: 6 of 6 pin(s) NOT current [6 behind]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/arch: behind; intent upstream:main (implicit: .gitmodules branch=); recorded d6e0aac72b; served 71ba7fdff8 (branch); box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 1e2f7f30df; served 03d8b55ab2 (branch); box/debian: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 9a06ceef6a; served 99f26253ab (branch); box/fedora: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 58d918c4ab; served 994cd218a4 (branch); box/omarchy: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 6ecfbbcec0; served 6ef8eaebb2 (branch); box/ubuntu: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 8da2404d91; served 7731f10d8c (branch); producer-first legs: box/arch (d6e0aac72b -> 71ba7fdff8) -> box/cachyos (1e2f7f30df -> 03d8b55ab2) -> box/debian (9a06ceef6a -> 99f26253ab) -> box/fedora (58d918c4ab -> 994cd218a4) -> box/omarchy (6ecfbbcec0 -> 6ef8eaebb2) -> box/ubuntu (8da2404d91 -> 7731f10d8c)
CHANGELOG/2026.294.1507.md:313:--param MODE=currency`, whose `NOT CURRENT` list should no longer name any `distro-*` path. That leg
CHANGELOG/2026.294.1602.md:67:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.295.0034.md:91:      currency: 5 of 6 pin(s) NOT current [5 behind, 1 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 03d8b55ab2; served bd5cf4214e (branch); box/debian: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 99f26253ab; served a586c1f452 (branch); box/fedora: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 994cd218a4; served b3c35d4de6 (branch); box/omarchy: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 6ef8eaebb2; served 44ca9e37e0 (branch); box/ubuntu: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 7731f10d8c; served 9731ef8efd (branch); producer-first legs: box/cachyos (03d8b55ab2 -> bd5cf4214e) -> box/debian (99f26253ab -> a586c1f452) -> box/fedora (994cd218a4 -> b3c35d4de6) -> box/omarchy (6ef8eaebb2 -> 44ca9e37e0) -> box/ubuntu (7731f10d8c -> 9731ef8efd)
CHANGELOG/2026.295.0034.md:101:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.295.0034.md:106:The state itself is the control: `5 of 6 NOT current [5 behind, 1 cur]` before, `0 of 6 [6 cur]`
CHANGELOG/2026.295.0034.md:186:- **R10:** change class is config (gitlinks only); the gate that owns it is the pin verb on the committed tree — `task sync` `rc=0` (1 step, 0 failed) and `task pins MODE=currency` `0 of 6 NOT current [6 cur]` — with the arm-A control failing and `box validate` `rc=0`, zero warnings, on both sides.
CHANGELOG/2026.295.1246.md:13:      currency: 1 of 6 pin(s) NOT current [1 behind, 5 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded bd5cf4214e; served 541398c061 (branch); producer-first legs: box/cachyos (bd5cf4214e -> 541398c061)
CHANGELOG/2026.295.1246.md:108:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.296.1339.md:124:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.296.1339.md:149:      currency: 4 of 6 pin(s) NOT current [4 behind, 2 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/arch: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 9b84c67cda; served 59792cabc8 (branch); box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 541398c061; served 42a3f078ac (branch); box/debian: behind; intent upstream:main (implicit: .gitmodules branch=); recorded a586c1f452; served fad84d2946 (branch); box/ubuntu: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 9731ef8efd; served f23f751dd9 (branch); producer-first legs: box/arch (9b84c67cda -> 59792cabc8) -> box/cachyos (541398c061 -> 42a3f078ac) -> box/debian (a586c1f452 -> fad84d2946) -> box/ubuntu (9731ef8efd -> f23f751dd9)
CHANGELOG/2026.296.1339.md:255:| R7 | The coverage fails without the change: the same audit on the pre-change gitlinks reports `4 of 6 pin(s) NOT current [4 behind, 2 cur]`, and on the committed tree it reports `0 of 6`. Both runs are pasted above, with the same binary and the same command. |
CHANGELOG/2026.296.1339.md:258:| R10 | The change class is a pin advance, and its gate is the pin surface's own audit plus the content pre-flight for every advanced twin: `charly task pins --param MODE=currency` (0 of 6 NOT current), `charly task pins --param MODE=verify` (6 checkouts clean at their gitlink) and `charly box validate` over all four twins' new content — all on the committed tree, on a fresh rebuild, with 0 warnings and 0 errors. |
CHANGELOG/2026.296.2303.md:112:      currency: 2 of 6 pin(s) NOT current [2 behind, 4 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 42a3f078ac; served 1893455d3a (branch); box/fedora: behind; intent upstream:main (implicit: .gitmodules branch=); recorded b3c35d4de6; served ee558d4d97 (branch); producer-first legs: box/cachyos (42a3f078ac -> 1893455d3a) -> box/fedora (b3c35d4de6 -> ee558d4d97)
charly.yml:4079:# THE CRITERION, in the producer's own words, because "not current" is a SET of
charly.yml:4081:# `box/*` pin that is NOT CURRENT — `behind`, `not-on-the-served-line` (what a
charly.yml:4132:    description: Ask whether every box/* pin is at the ref its intent names, bounded by this repo's own neglect bound (fails only on a pin that is NOT CURRENT — behind, advanced past the served ref by a squash-merge, or unclassifiable — AND un-advanced past the bound)
charly.yml:4150:# that is NOT MATERIALIZED, where the pin is not current because there is no
charly.yml:4156:# criterion's own claim true: "not current" is a set, and a proof that exercised
charly.yml:4160:    description: Prove the pin-currency control can fail — a pin that is NOT CURRENT (behind its served ref, advanced past it by a squash-merge, or with no checkout to judge it) AND un-advanced past the bound must be reported STALE and fail, while the same pin advanced recently must pass
scripts/check-pin-currency.sh:13:#   1. NEGLECT FAILS. A pin that is NOT CURRENT AND that its owner has not
scripts/check-pin-currency.sh:23:# NOT CURRENT IS NOT "BEHIND", and the proof has to say so. The criterion is "not
scripts/check-pin-currency.sh:24:# current AND un-advanced", and "not current" is a SET of classes: a twin that is
scripts/check-pin-currency.sh:36:# NOT MATERIALIZED, where the pin is not current for the third reason.
scripts/check-pin-currency.sh:39:# SHAPE: on a tree that materializes nothing, a pin that is not current is still
scripts/check-pin-currency.sh:40:# reported not current, and still goes red when it is neglected.
scripts/check-pin-currency.sh:133:# THREE twin shapes, because "not current" is a SET of classes:
scripts/check-pin-currency.sh:144:#               to judge ancestry) — the third reason a pin is not current, and
scripts/check-pin-currency.sh:226:  # control cannot see that it is not current: the pin is not current in BOTH arms.
scripts/measure-pin-cadence.py:27:                          so it is the rate a gate on "not current" is red on.
scripts/measure-pin-cadence.py:33:The CLASS TALLY over the window is printed with them, because "not current" and
scripts/measure-pin-cadence.py:91:# pin that is not current AND that its owner has not advanced for longer than
scripts/measure-pin-cadence.py:101:# pin "is still NOT CURRENT", and the producer's `ancestryClass` has no rc=128
scripts/measure-pin-cadence.py:106:# not current, so an un-advanced one is neglect. A measurement that dropped the
scripts/measure-pin-cadence.py:117:    as `unjudgeable`, its OWN class: it is counted as not current, and it keeps
scripts/measure-pin-cadence.py:156:    "not current coincides with behind HERE" without ever having asked.
scripts/measure-pin-cadence.py:226:        # and a pair that is not demonstrably current IS not current.
scripts/measure-pin-cadence.py:362:              f" not current on {not_current:2d}, stale on {stale:2d}")
scripts/measure-pin-cadence.py:385:          "  (the criterion the control ships: not current AND un-advanced past the bound)")
scripts/measure-pin-cadence.py:390:              " what says whether 'not current' and 'behind' coincide HERE)")
exit=0  (the criterion is now stated as 'not current' where it is stated at all)
=== 9. the derivation of the bound (the criterion is measured, not chosen) ===
$ python3 -I scripts/measure-pin-cadence.py --since 2026-09-22 --until 2026-10-23 --bound-hours 168
exit=0
$ python3 -I scripts/measure-pin-cadence.py --since 2026-10-15 --until 2026-10-23 --bound-hours 168 --list-days
exit=0
GATE_FAILED=0
GATE_RC=0

The bed — check-task is the bed that composes the changed surface, and it runs the widened proof end to end through verb:task. It ran on the same committed tree, after the last edit:

charly check run check-task: [deploy-add] START (charly deploy add; log: .check/check-task/2026.297.0002/deploy-add.log)
charly check run check-task: [deploy-add] PASS after 1m31.03s (log: .check/check-task/2026.297.0002/deploy-add.log)
charly check run check-task: [bring-up-members] START
charly check run check-task: [bring-up-members] PASS after 0s
charly check run check-task: [check-live] START (charly check live; log: .check/check-task/2026.297.0002/check-live.log)
charly check run check-task: [check-live] PASS after 2m7.114s (log: .check/check-task/2026.297.0002/check-live.log)
charly check run check-task: [update] START (charly update; log: .check/check-task/2026.297.0002/update.log)
charly check run check-task: [update] PASS after 1m22.453s (log: .check/check-task/2026.297.0002/update.log)
charly check run check-task: [cleanup] START (charly deploy del; log: .check/check-task/2026.297.0002/cleanup.log)
charly check run check-task: [cleanup] PASS after 1m1.311s (log: .check/check-task/2026.297.0002/cleanup.log)
charly check run check-task: [cleanup-members] START
charly check run check-task: [cleanup-members] PASS after 0s
charly check run check-task: PASS (steps=6)
BED_EXIT=0

The two transcripts above are the runs' decisive lines: every section, every command, every exit status and every differential's verdict. The complete verbatim transcripts — 37,968 and 13,775 characters — are this PR's first comment, because the two together do not fit a PR body (the platform's limit is 65,536 characters). Nothing is dropped from the account of either run: the filter keeps every line that carries a verdict, and the generator asserts that each differential's verdict and each run's terminator survives it.

The bed's own check-live step list — the step this change widens (the pin-currency control's own proof, now six arms over three twin shapes), and the run's own count:

  PASS  check command=charly task list enumerates the declared tasks (command:task reads the host project over the reverse channel)  [task-list-declared]  exit=0
  PASS  check the declared task runs through verb:task (kind:task load + the plan walk write the marker)  [task-verb-runs]  exit=0
  PASS  check the declared PIN task's own plan walks end to end through verb:task (kind:task load + the git-submodules status walk) — the new surface this change adds, witnessed by its own execution rather than by its declaration  [task-pins-verb-runs]  PATH                         BRANCH     PIN
  PASS  check the pin-currency CONTROL's own proof runs end to end through verb:task — a neglected pin must be reported STALE and fail, the same pin advanced recently must pass  [task-pin-currency-proof-runs]  exit=0
  PASS  check command=charly task --output prints the FINAL step's captured stdout RAW on stdout, the human report diverted to stderr (the hand-off a workflow `$id.stdout` ref reads)  [task-output-captured]  exit=0
  PASS  check --output and --json are rejected TOGETHER with the NAMED error (never a silent precedence, never a half-formatted stdout)  [task-output-json-exclusive]  exit=1
  PASS  check a task's params — the defaulted one AND the supplied one — resolve through the task env (the same self-check FAILS on a wrong value and SKIPS on an unresolved name, so a pass is never vacuous)  [task-params-resolved]  exit=0
  PASS  check a MISSING required param is still the NAMED error the moved workflowkit helper produces (never a silent empty value the step runs with)  [task-params-required-named]  exit=1
  PASS  check a depends_on CYCLE is still the NAMED error naming the WHOLE chain (the moved workflowkit closure helper) — never a hang, never a silent truncation to a shorter order  [task-helpers-cycle-named]  exit=1
  PASS  check piped stdin reaches a task's steps as TASK_STDIN and as the TASK_STDIN_FILE path — both ALWAYS defined in non-TTY mode, both carrying the piped bytes  [task-stdin-visible]  exit=0
10 steps: 10 passed, 0 failed, 0 skipped

The bed's own summary, as it lands on disk (.check/check-task/2026.297.0002/summary.yml):

bed: check-task
calver: 2026.297.0002
driver: /home/atrawog/Sync/Atrapub/a/claude/opencharly/.worktrees/light-init/charly/bin/charly
driver_version: 2026.296.2355
driver_size: 54074422
driver_mtime: 2026-10-23T23:56:55Z
runner_stderr: runner.stderr.log
steps:
  - name: deploy-add
    duration_seconds: 91
    ok: true
    skipped: 0
  - name: bring-up-members
    duration_seconds: 0
    ok: true
    skipped: 0
  - name: check-live
    duration_seconds: 127
    ok: true
    skipped: 0
  - name: update
    duration_seconds: 82
    ok: true
    skipped: 0
  - name: cleanup
    duration_seconds: 61
    ok: true
    skipped: 0
  - name: cleanup-members
    duration_seconds: 0
    ok: true
    skipped: 0
total_seconds: 362
diagnostics:
  errors: 0
  warnings: 0
  advisories: 0
  allowlisted: 0
  errors_fatal: true
  warnings_fatal: false
  advisories_fatal: false
  cache_ratio: not-applicable-no-build-steps
ok: true

The R5 sweep, claim-keyed. The claim is "the false criterion is stated in no current surface of this repo". The gate's own sweep (§8b) is keyed on the legacy sentence and finds it only in the published changelog of the merged PR — the file the tag v2026.296.2303 points at. The same two predicates over the tree without CHANGELOG/ return nothing:

$ git grep -inE 'fails? (when|if) [^.]{0,30}twin is behind' -- '*.md' '*.yml' '*.sh' '*.py' '*.go' ':!CHANGELOG/*'

exit=1
$ git grep -inE 'behind AND (that this repo has not advanced|un-advanced)' -- '*.md' '*.yml' '*.sh' '*.py' '*.go' ':!CHANGELOG/*'

exit=1

Every hit, read and classified. The gate's broader co-occurrence sweep (§8c) returns 24 hits, and every one is read here:

  • 1 in AGENTS.md and 2 in charly.yml — this change's own text: the sentence that a reported-but-not-current pin is not a failure, the control's task description and the proof's, and the derivation's comment. Each now carries the conjunction (not current AND un-advanced) that the false claim lacked, and names the three classes.
  • 2 in scripts/measure-pin-cadence.py — the measurement's own subject (the old proxy's blind spot, "the pin is not the tip, so it is behind") and its counterfactual ("the legacy criterion: a gate that fails on 'behind' is red on these days").
  • 2 in CHANGELOG/2026.278.0912.md — history, where "behind" is spatial and "the red" is a check failure rather than the criterion.
  • 16 in CHANGELOG/2026.296.2303.md — the published record of the merged PR feat(pins): install the pin-currency control and advance box/ubuntu to the served ref #1050, whose own body carried the false claim, quoted back at the charly's nested box/ubuntu gitlink is behind the ref its own .gitmodules declares AGAIN — the #1035 recurrence, and the control that would have caught it was never installed #1048 sentence it corrects. It is not edited here: that file is the content of the tag v2026.296.2303, and rewriting it would rewrite a published artifact (R6); CHANGELOG/ is history by the rulebook's own rule, and this PR's own changelog — written at merge from this body — states the criterion correctly and names the correction.

The anchor — every pasted line above belongs to this commit:

$ git rev-parse HEAD
6da62b2b7fd73414d774f677c87949154057f386

Rulebook compliance

  • R0 — skills first. The skills this area selects were loaded before the first edit: /charly-internals:git-workflow (the landing mechanics), /charly-internals:go and /charly-internals:go-quality (this repo's Go gate recipe and the lint surface), /charly-internals:strict-policy and /charly-internals:root-cause-analyzer (the discipline and the anomalies), /charly-internals:plugin and /charly-internals:disposable (placement and the disposable targets), /charly-check:check (the R10 matrix), and this repo's own AGENTS.md.
  • R1 — every anomaly got a root-cause analysis, and every finding is fixed. (a) The finding this PR exists for. The control's own prose named ONE of the three not-current classes the producer judges: it said the control fails on a pin "behind AND un-advanced", while the producer's staleEligible (plugin-task v0.2026296.2153, candy/plugin-task/verbs.go:981-991) makes a pin STALE when it is behind, not-on-the-served-line or differs AND un-advanced. A squash-advanced pin — the class the org's own squash merges produce, and the shape of the charly's nested box/ubuntu gitlink is behind the ref its own .gitmodules declares, so the umbrella's distro-ubuntu edge reports blocked-by charly:box/ubuntu (behind) #1035 recurrence — therefore read as uncovered. Missed control: the prose was never read back against the producer's own definition, and the repo's proof exercised only the behind class, so no in-repo evidence could have caught the mismatch; the validator's review named the neighbouring symptom (the measurement treating pin != tip as "behind" rather than testing ancestry) without connecting it to the criterion. Blast radius: charly.yml, AGENTS.md, the workflow header, scripts/check-pin-currency.sh, scripts/measure-pin-cadence.py, and the PR body of feat(pins): install the pin-currency control and advance box/ubuntu to the served ref #1050. Root fix: the criterion is stated as "not current AND un-advanced", naming the three classes, on every surface; the proof covers every eligible class (six arms over three twin shapes); and the measurement classifies with the control's own ancestry test, prints the class tally, and is proved by a --self-test that the old proxy fails. The finding was raised on feat(pins): install the pin-currency control and advance box/ubuntu to the served ref #1050, so it was never filed away — it is fixed here, against the merged tree, as the pin-currency control's criterion is stated as 'behind AND un-advanced', but the producer judges 'not current' — three classes, one proven #1051. (b) The gate's own first two runs were invalidated by a mid-gate edit: the tree moved under a running gate, so the gate was no longer executing the committed tree. Missed control: the gate was started before the last edit. Blast radius: the gate evidence itself. Root fix: each gate run is on a committed tree, and the gate's own first section prints that tree's SHA and its status; the runs that were invalidated were stopped, not pasted. (c) The self-test's fourth arm asserted the wrong thing on its first run — the recorded pin AHEAD of the served ref was expected to be unmerged, and the classifier said not-on-the-served-line, because the fixture's "ahead" commit was an orphan and so descended from nothing. Missed control: the arm was written from the class's name and not from the ancestry it describes. Blast radius: one arm of the new self-test. Root fix: the fixture now holds a commit that genuinely descends from the served one, and the arm asserts that. (d) The third gate run failed its tools/* lint leg with exit 127 — golangci-lint: command not found: the gate's own script called the linter unqualified while the charly/ legs called it as "$(go env GOPATH)/bin/golangci-lint", so the five tools/* modules were never linted at all; the same two legs also failed to accumulate a per-module failure the way the repo's CI does, so a module that failed before the last one would have been reported green. Missed control: the gate script was written by hand instead of derived from the repo's own ci.yml, and nothing checked that each leg's command exists. Blast radius: the tools/* legs of that run — the lint never happened. Root fix: the gate now mirrors ci.yml exactly (the PATH-qualified binary, GOWORK=off, per-module fail=1), and the run pasted above is a fresh, complete gate from the first step. (e) This change's own surfaces disagreed with each other about the control's scope. scripts/check-pin-currency.sh said "TWO twin shapes" while the file's own header, charly.yml and AGENTS.md all said three, and scripts/measure-pin-cadence.py said "the three shapes" and "all four" in one sentence while its arm list had four entries. Missed control: the counts were restated by hand on every surface, and nothing read one surface against another — the R5 sweep is claim-keyed, and it has no key for a count. Blast radius: the two files' own statements of what the control covers, and every reader who took them at face value. Root fix: the counts are no longer restated freely — the arms live in ONE table, the counts are derived from it, and the proof now reads every surface that states the control's scope and turns red when one disagrees with the numbers the proof actually ran (MUT-D below shows that check is not vacuous). (f) The classifier's proof did not cover every class the classifier can return. The self-test had four arms for a classifier with five outputs: unjudgeable — a pair whose commits the twin's object store does not carry, so the ancestry question is undecidable and git answers 128 — had none. Missed control: the arms were written from the classes the criterion NAMES, not from the classes the classifier can PRODUCE, and nothing compared the two sets. Blast radius: the class tally the measurement prints, and the differs class the control names for a pin with no checkout — the shape the criterion's third class has. Root fix: the self-test now carries one arm per class the classifier can return. (g) The measurement's neglect-eligible set did not carry the producer's judgement. STALE_ELIGIBLE excluded unjudgeable, while the producer's ancestryClass (plugin-task v0.2026296.2153, candy/plugin-task/verbs.go:916-929) has no rc=128 branch at all: it folds an absent object into not-on-the-served-line, a neglect-eligible class, and prints a causal explanation it never measured (currency mode: an unrun ancestry test is printed as a judged class, with a causal mechanism attached (exit 128 collapsed into exit 1) plugin-task#32 asks for the 128 to be told apart). A measurement that dropped the class would under-count the control's red days. The classifier's docstring also claimed such a pair was "never folded into a verdict", while the code counted it into the not-current tally. Missed control: the set was asserted to mirror the producer's own definition, and nothing read it against the producer. Blast radius: the stale_day_rate the bound is derived from — unchanged in this window, which holds no unjudgeable pair, but the set itself was wrong. Root fix: the class is in the set, the docstring says what the class does, and the self-test asserts the set against an independent expectation (MUT-C below). (h) The PR body was over the platform's limit, and the generator had no size guard. The first gh pr create failed with "Body is too long (maximum is 65536 characters)" — after the branch was pushed, so the branch existed with no PR. Missed control: the body generator assembled whatever the two transcripts held and never compared the result against the platform's limit, so the failure could only surface at the one step that cannot be repeated cheaply. Blast radius: the PR's first creation attempt; nothing was lost (the branch and the commit are unchanged). Root fix: the generator now asserts the assembled body against the limit before it writes it, so an over-long body fails before anything is pushed; the body carries the runs' decisive lines and the complete verbatim transcripts are the PR's first comment; and the generator asserts that every differential's verdict and each run's terminator survives the filter, so the shorter account cannot become a false one. None of the eight findings was filed away: (a) is this PR, (b), (c), (e), (f) and (g) are fixed in the tree and re-proved by the run above, (d) is fixed in the gate and re-run in full, and (h) is fixed in the generator that assembles this body.
  • R2 — no duplication. The control remains ONE operation: charly task pins MODE=currency with STALE_AFTER; sync and pin-current are thin wrappers over it, and the proof script reads the shipped wiring out of charly.yml rather than restating it. The classifier is ONE implementation, in the measurement script, and the self-test exercises that one — it does not restate the classification in a second place. The proof's arms are ONE table, and the scope counts every surface states are derived from that table instead of restated beside it. The self-test's expected neglect-eligibility is deliberately NOT derived from the set it checks — a test that recomputed the expected value from the code under test could not fail. The bound is stated once, as the STALE_AFTER parameter.
  • R3 — no workaround. Nothing is retried, slept, suppressed, or worked around. The control is the product's own pins verb, and the classes are the producer's own — the fix changes what this repo says and proves, never how the product behaves.
  • R4 — the product first, then the prose. The product was already right: the control judges every class the producer names, and the gate above proves it on a squash-shaped fixture and on a tree with no checkout. This change makes the repository's prose, proof and measurement agree with the product that already ships — it does not route around a defect in prose by changing the prose's meaning.
  • R5 — the legacy is gone, with the claim-keyed grep pasted. The two claim-keyed sweeps are pasted above: over the tree without CHANGELOG/, both return nothing (exit=1); over the whole tree, the legacy sentence survives only in CHANGELOG/2026.296.2303.md, the published record of the merged PR, which is not edited (R6) — and the broad sweep's 24 hits are each classified above.
  • R6 — user work and git safety. git status was read before the first edit; the change is one commit on fix/pin-criterion-classes, cut from fresh origin/main; no history was rewritten, no force-push, no amend after a push, no hook bypass, and no direct push to main. The previous PR's merge is not touched: this is a new branch off the merged main, not an edit of published history.
  • R7 — the coverage fails without the change. Four differentials in the gate above, all run live. MUT-A: the control's own question is removed from the shipped charly.yml and the proof goes red, so the coverage cannot pass without the control. MUT-B: the classifier is put back to the old pin != tip proxy and the new --self-test goes red on the arms the proxy cannot classify — so the change's own behavioural part (the ancestry classifier) is covered by a test that fails without it, and the six-arm proof covers every class the criterion names rather than one. MUT-C: the measurement's neglect-eligible set with unjudgeable dropped from it, and the self-test goes red — so the eligibility assertion cannot pass vacuously. MUT-D: a surface's stated scope drifted from the proof's (AGENTS.md says "four twin shapes" where the proof runs three), and the control's own proof goes red — so the scope check cannot pass vacuously either.
  • R8 — live or skip. No service is crossed and none is mocked: the control, the proof, the classifier, the self-test and the measurement are the product's own verbs and scripts over real local git repositories.
  • R9 — binary equals source. The gate used the worktree-local build — charly version reports the CalVer of this commit — and the binary's module set carries the plugin-task release this repo pins. The shared host install was never used.
  • R10 — a fresh, on-commit proof. The gate and the bed both ran on the committed tree this PR pushes, with zero warnings, and the workflow's own steps — build the worktree-local binary, run the control's proof, run the classifier's proof, run the control — are the ones the workflow carries, in that order, on that tree. The org-wide charly/pr-validator is the merge gate.

Change classification

Hook / workflow scripts (.github/workflows/pin-currency.yml) plus candy / box config (this repo's charly.yml task surface) plus the repo's own maintenance scripts (scripts/check-pin-currency.sh, scripts/measure-pin-cadence.py) — so the class's gate is: every changed script executed live, charly box validate, the bed that composes the changed surface (check-task), and this repo's own CI shape (the worktree-local build, the generated-wiring check, go vet, go test, the tools/* sweep, gofmt, and golangci-lint over charly/ and every tools module). All of it is pasted above, run on the committed tree this PR pushes, with zero warnings. The tier earned is fully tested and validated.

Filed issues

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

The pin-currency control landed in #1050 (5001ff6, v2026.296.2303) with a
criterion its own prose mis-stated: "behind AND un-advanced". The producer
(plugin-task v0.2026296.2153, candy/plugin-task/verbs.go:981-991) judges the
SET {behind, not-on-the-served-line, differs} — and the class the prose omits,
not-on-the-served-line, is what a squash-merged upstream produces, which is
how this org merges, and is the shape of the #1035 recurrence.

The control is right and the sentence was not: measured on a squash-shaped
fixture the shipped control reports `1 of 1 pin(s) NOT current [1
not-on-the-served-line]`, marks the pin STALE, and exits 1.

The fix is one cutover, in three parts:

  * the criterion is stated as "not current AND un-advanced", naming the three
    classes, in charly.yml, AGENTS.md, the workflow header and both scripts;
  * scripts/measure-pin-cadence.py now classifies every (day, twin) pair with
    the SAME ancestry test the control uses, instead of the `pin != tip`
    proxy, and prints the class tally. The numbers do not move — over the
    32-day window all 145 not-current pairs are the `behind` class — but they
    are now shown rather than assumed. The classifier is PROVED, by a
    --self-test on a scratch twin: the old proxy calls a squash-advanced pin
    `behind`, and the self-test is what says the difference is real;
  * scripts/check-pin-currency.sh gains FOUR more arms — the two SQUASH-shaped
    ones and the two with NO CHECKOUT at all — so the repo's own proof covers
    every class the criterion names, not just the first. The third pair also
    proves the control's verdict does not depend on the tree shape: on a tree
    that materializes nothing, a pin that is not current is still reported not
    current, and still goes red when it is neglected.

The control's own gate now carries the classifier's proof as a step, and its
pull_request trigger covers the two proof scripts — a change to the proof must
re-run the proof.

A false claim in a cutover's own new prose is blocking (R1), and the missed
control was that the prose was never read back against the producer's
definition while the proof exercised one class of it.

Closes #1051

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
… class

The change's own surfaces disagreed with each other about the control's
scope, and the proof did not cover every class the classifier can return.

  * scripts/check-pin-currency.sh said "TWO twin shapes" while the file's
    own header, charly.yml and AGENTS.md all said three, and
    scripts/measure-pin-cadence.py said "the three shapes" and "all four"
    in one sentence while its arm list had four entries. The same defect
    class this change exists to fix: a stated scope that is narrower than
    the scope implemented.
  * The classifier's self-test covered four of the five classes
    classify() can return: `unjudgeable` (a pair whose commits the twin's
    object store does not carry, so the ancestry question is undecidable)
    had no arm, and the neglect-eligible set excluded it — while the
    producer's own `ancestryClass` has no rc=128 branch and so folds an
    absent object into `not-on-the-served-line`, a neglect-eligible
    class (opencharly/plugin-task#32). A measurement that dropped the
    class would under-count the control's red days.

Root fixes, in the control and not only in the prose:

  * The arms live in ONE table, and the counts the surfaces state are
    DERIVED from it; the proof now checks every surface that states the
    control's scope against the numbers the proof actually ran, and turns
    red when one disagrees. That check is what was missing: nothing ever
    read the surfaces against each other.
  * The self-test carries one arm per class the classifier can return,
    and asserts each class's neglect-eligibility against an independent
    expectation — not derived from the set it checks, so it can fail.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS

The complete verbatim transcripts of the two runs whose decisive lines are pasted in the PR body. The body carries the filtered account (every section, every command, every exit status, every differential's verdict, every git grep hit); this comment carries the two transcripts whole — 37,968 and 13,775 characters — so nothing of either run is withheld from the PR's record. The body says where the platform's 65,536-character limit forced this split, and the generator asserts that every verdict survives the filter.

Both runs are on the committed tree this PR pushes, 6da62b2b7fd73414d774f677c87949154057f386.

The change-class gate, verbatim:

=== 0. the tree this gate runs on ===
$ git rev-parse HEAD
6da62b2b7fd73414d774f677c87949154057f386
$ git status --porcelain
(empty above = the working tree IS the committed tree)

=== 1. the R9 build: the worktree-local, CalVer-stamped binary ===

--- bootstrap (R9)
$ bash scripts/bootstrap-charly.sh
bootstrap-charly: regenerating compiled-in plugin wiring
Downloading github.com/opencharly/plugin-marketplace:HEAD...
bootstrap-charly: building bin/charly
bootstrap-charly: built ./bin/charly (2026.296.2355)
exit=0

--- the generated wiring is clean
$ bash scripts/check-generated-clean.sh
exit=0

--- the binary is the worktree-local build
$ bash -c ./bin/charly version
2026.296.2355
exit=0

=== 2. the core Go gate (charly/) ===

--- go vet ./...
$ bash -c cd charly && go vet ./...
exit=0

--- go test ./...
$ env TMPDIR=/tmp/charly-ci GOTMPDIR=/tmp/charly-ci bash -c cd charly && go test ./...
ok  	github.com/opencharly/charly/charly	186.027s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	128.507s
exit=0

=== 3. the tools/* sweep ===

--- the tools modules' own tests
$ bash -c fail=0; for d in tools/*/; do [ -f "$d/go.mod" ] || continue; echo "== $d =="; ( cd "$d" && GOWORK=off GOTOOLCHAIN=go1.26.8 go test -count=1 ./... ) || fail=1; done; exit $fail
== tools/generate-packages/ ==
?   	github.com/opencharly/charly/candy/generate-packages/cmd/serve	[no test files]
== tools/golden-cloudinit/ ==
?   	github.com/opencharly/charly/tools/golden-cloudinit	[no test files]
== tools/golden-compile/ ==
?   	github.com/opencharly/charly/tools/golden-compile	[no test files]
== tools/gomod-canonical/ ==
ok  	github.com/opencharly/charly/tools/gomod-canonical	0.001s
== tools/ledger-validate/ ==
ok  	github.com/opencharly/charly/tools/ledger-validate	0.002s
exit=0

=== 4. the formatter + linter gate ===

--- gofmt -l charly tools
$ bash -c out=$(gofmt -l charly tools); [ -z "$out" ] || { echo "$out"; exit 1; }
exit=0

--- golangci-lint fmt --diff (charly/)
$ bash -c cd charly && GOTOOLCHAIN=go1.26.8 "$(go env GOPATH)/bin/golangci-lint" fmt --diff
exit=0

--- golangci-lint run (charly/)
$ bash -c cd charly && GOTOOLCHAIN=go1.26.8 "$(go env GOPATH)/bin/golangci-lint" run ./...
0 issues.
exit=0

--- golangci-lint run (tools/*)
$ bash -c fail=0; for d in tools/*/; do [ -f "$d/go.mod" ] || continue; echo "== lint $d =="; ( cd "$d" && GOWORK=off GOTOOLCHAIN=go1.26.8 "$(go env GOPATH)/bin/golangci-lint" run ./... ) || fail=1; done; exit $fail
== lint tools/generate-packages/ ==
0 issues.
== lint tools/golden-cloudinit/ ==
0 issues.
== lint tools/golden-compile/ ==
0 issues.
== lint tools/gomod-canonical/ ==
0 issues.
== lint tools/ledger-validate/ ==
0 issues.
exit=0

=== 5. the manifest ===

--- charly box validate
$ ./bin/charly box validate
plugin github.com/opencharly/plugin-example-structkind/candy/plugin-example-structkind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-structkind-f39364ecc01e5411 (build sha256:e2c98e2435e2e0110c2fc29f08a76ccf6464efaecb40a95190752286d1f16a35); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-structkind
plugin plugin-example-kind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-kind-660763c18b405ea9 (build sha256:643e81502274cd1f42bcf3ba7f05a981effba9654ec6eb219e85dbdfa156bb65); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-kind
plugin github.com/opencharly/plugin-jetkvm/candy/plugin-jetkvm: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-jetkvm-2728452fcfb25529 (build sha256:9bdf8390f86de24e7ee3030e2dfdb5140aab232d5df4b40bd1510c18d64f0658); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-jetkvm
charly box validate: OK — checked 603 candies, 122 boxes, 49 deploys, 7 distros, 7 builders; 0 warnings, 0 errors
exit=0

=== 6. the control and its own proof ===

--- the control, live over this repo's own six twins
$ ./bin/charly task pin-current
plugin github.com/opencharly/plugin-example-structkind/candy/plugin-example-structkind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-structkind-f39364ecc01e5411 (build sha256:e2c98e2435e2e0110c2fc29f08a76ccf6464efaecb40a95190752286d1f16a35); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-structkind
plugin github.com/opencharly/plugin-example-kind/candy/plugin-example-kind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-kind-660763c18b405ea9 (build sha256:643e81502274cd1f42bcf3ba7f05a981effba9654ec6eb219e85dbdfa156bb65); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-kind
plugin github.com/opencharly/plugin-jetkvm/candy/plugin-jetkvm: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-jetkvm-2728452fcfb25529 (build sha256:9bdf8390f86de24e7ee3030e2dfdb5140aab232d5df4b40bd1510c18d64f0658); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-jetkvm
task pin-current: 1 step(s), 0 failed
  [pass] run — ask whether every box/* pin is current, within this repo's own bound on neglect
      currency: 2 of 6 pin(s) NOT current [2 behind, 4 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 42a3f078ac; served 1893455d3a (branch); box/fedora: behind; intent upstream:main (implicit: .gitmodules branch=); recorded b3c35d4de6; served ee558d4d97 (branch); producer-first legs: box/cachyos (42a3f078ac -> 1893455d3a) -> box/fedora (b3c35d4de6 -> ee558d4d97)
exit=0

--- the control's own proof — that it can fail
$ ./bin/charly task pin-currency-proof
plugin plugin-example-structkind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-structkind-f39364ecc01e5411 (build sha256:e2c98e2435e2e0110c2fc29f08a76ccf6464efaecb40a95190752286d1f16a35); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-structkind
plugin plugin-example-kind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-kind-660763c18b405ea9 (build sha256:643e81502274cd1f42bcf3ba7f05a981effba9654ec6eb219e85dbdfa156bb65); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-kind
plugin plugin-jetkvm: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-jetkvm-2728452fcfb25529 (build sha256:9bdf8390f86de24e7ee3030e2dfdb5140aab232d5df4b40bd1510c18d64f0658); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-jetkvm
task pin-currency-proof: 1 step(s), 0 failed
  [pass] check — the control bites on a neglected pin and stands down on a churned one
      exit=0
exit=0

--- the measurement's own proof — that the classifier tells the classes apart
$ python3 -I scripts/measure-pin-cadence.py --self-test
the classifier, on a scratch twin:
  ok    cur                       (the pin IS the served ref)
  ok    behind                    (the served ref descends from the recorded pin)
  ok    not-on-the-served-line    (a squash-merge: neither descends from the other)
  ok    unmerged                  (the recorded pin is AHEAD of the served ref)
  ok    unjudgeable               (the recorded commit is not in the twin's object store)
PIN-CADENCE-SELF-TEST-OK
exit=0

=== 7. the mutation differential: the coverage must FAIL without the change ===
$ MUT-A: the control's question removed (mode: "${MODE}" -> "verify") — the proof must go red
== the control: a pin NEGLECTED past the bound must FAIL ==
FAIL: the behind twin — a pin neglected since 2020-01-01T00:00:00Z must fail the bound
task pin-current: 1 step(s), 0 failed
  [pass] run — ask whether every box/* pin is current, within this repo's own bound on neglect
      verify: 0 policy pin(s) hold across 1 submodule(s); 1 checkout(s) clean at their gitlink
exit=1  (non-zero = the proof caught the neutered control)
$ git status --porcelain   (the manifest must be restored)

--- MUT-B: the classifier back to the OLD 'pin != tip' proxy — the self-test must go red
$ cp scripts/measure-pin-cadence.py /tmp/r1-repro/measure-mut.py; mutate the copy; run --self-test

SELF-TEST FAILED: 3 arm(s) did not behave as specified. The tally this
script prints cannot be trusted, and neither can the criterion it
supports.
the classifier, on a scratch twin:
  ok    cur                       (the pin IS the served ref)
  ok    behind                    (the served ref descends from the recorded pin)
  FAIL  not-on-the-served-line    (a squash-merge: neither descends from the other)  — got 'behind'
  FAIL  unmerged                  (the recorded pin is AHEAD of the served ref)  — got 'behind'  — neglect-eligible True, expected False
  FAIL  unjudgeable               (the recorded commit is not in the twin's object store)  — got 'behind'
exit=1  (non-zero = the self-test caught the old proxy)

--- MUT-C: the measurement's neglect-eligible set, with 'unjudgeable' dropped — the self-test must go red
$ cp scripts/measure-pin-cadence.py /tmp/r1-repro/measure-mut-c.py; mutate the copy; run --self-test

SELF-TEST FAILED: 1 arm(s) did not behave as specified. The tally this
script prints cannot be trusted, and neither can the criterion it
supports.
the classifier, on a scratch twin:
  ok    cur                       (the pin IS the served ref)
  ok    behind                    (the served ref descends from the recorded pin)
  ok    not-on-the-served-line    (a squash-merge: neither descends from the other)
  ok    unmerged                  (the recorded pin is AHEAD of the served ref)
  FAIL  unjudgeable               (the recorded commit is not in the twin's object store)  — neglect-eligible False, expected True
exit=1  (non-zero = the self-test caught the drifted eligible set)

--- MUT-D: a SURFACE's stated scope drifted from the proof's — the control's own proof must go red
$ cp AGENTS.md /tmp/r1-repro/AGENTS.md.mut-backup; mutate it; run the proof; restore it
   |       currency: 1 of 1 pin(s) NOT current [1 differs (no checkout to judge ancestry)]; intents: 1 upstream leaf/leaves (1 implicit), 0 derived-from edge(s); NOT CURRENT: gap: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded 564676438d; served 8ea80c346b (branch); producer-first legs: none reachable from this repo
   the same differs pin, advanced 2026-10-24T00:01:12Z, passed the same bound
== the surfaces must agree on the control's scope ==
FAIL: AGENTS.md states 'four twin shapes', but this proof runs 3 twin shapes
exit=1  (non-zero = the proof caught the drifted scope)
$ git status --porcelain   (the surface must be restored)

=== 8. the R5 sweep: the legacy criterion, claimed nowhere in the tree ===
--- 8a. the predicate is CALIBRATED against the known positive (issue #1048's own sentence)
$ grep -inE 'fails? (when|if) [^.]{0,30}twin is behind' /tmp/legacy-criterion.txt
1:Install the control: a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares.
exit=0  (0 = the predicate catches the legacy claim; 1 = the predicate is useless)
--- 8b. the same predicate over every shipped file
$ git grep -inE 'fails? (when|if) [^.]{0,30}twin is behind' -- '*.md' '*.yml' '*.sh' '*.py' '*.go'
CHANGELOG/2026.296.2303.md:13:**The correction to the criterion (R4).** #1048 asks for "a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares". Measured over this repo's own history, that gate would be red on 28 of the last 32 days — each of the six twins is behind the ref it declares on 17 to 27 of those days, and on 28 of the 32 at least one is. That is the permanently-red gate the org's own pin rule forbids, so the shipped criterion is narrower, and says so in the file: behind AND un-advanced past this repo's own bound. The bound is derived from this repo's own advance history — the longest gap that stayed within a 7-day bound was 6.4 d, 25 gaps ran past it (8.0 d to 25.1 d), and 168 h (7 d) is the only whole-day bound strictly between those two. `scripts/measure-pin-cadence.py` re-derives every one of those numbers, over a window named by its dates. Over the 9 days from 2026-10-15 to 2026-10-23 the shipped criterion is red on 6, at ages of 7.5 d to 14.7 d — every one inside a real lapse (8.1 d, 10.2 d or 15.3 d), and no red day on a healthy tree.
CHANGELOG/2026.296.2303.md:134:1:Install the control: a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares.
exit=0  (1 = the legacy criterion is in no shipped file)
--- 8c. the BROADER co-occurrence sweep — every hit, read and classified
$ git grep -inE '[^.]{0,60}\b(fails?|failing|failed|red)\b[^.]{0,60}\bbehind\b|[^.]{0,60}\bbehind\b[^.]{0,60}\b(fails?|failing|failed|red)\b' -- '*.md' '*.yml' '*.sh' '*.py'
AGENTS.md:77:  one twin was behind — so a gate on the distance would be red roughly three days out
CHANGELOG/2026.278.0912.md:304:own `summary.yml`, and the defect behind the red was reported to the owner that could fix it:
CHANGELOG/2026.278.0912.md:2435:- **Block 2 — the reds were dispositioned with framings this project forbids.** Verbatim from the verdict: "`origin/main` is red the same way right now" (an R2 prior-state argument) and "host saturation" / "I re-run it solo" (an R1 environmental argument and a concurrency idle-run dodge). Accepted in full, and **corrected rather than restated** — §Read first: Cause 1 and Cause 2 are no longer *argued* at all, they are merged upstream fixes (`sdk#343`→`#785`; `#781`) and are **green** on this head; and Cause 3 is decided by a SOLO re-run that reproduces the red, and is **routed to its named batch cutover `opencharly/charly#650`** with its evidence on that thread and on `#699` (§3, §5) instead of being framed away. **The remedy the verdict asked for** — "land `sdk#342`, then re-run the six beds on this head and paste each `summary.yml` with `ok: true` and no failed step" — is §3, pasted per bed: every bed that was run is listed there — `check-pkg-uninstall`, `check-commands-local`, `check-group`, `check-builder-vm` and `check-kind-host-vm` all `ok: true` with zero failed steps, and `check-pod-overlay` — the bed that went red on the earlier heads and is `ok: true` on the shipped tree now that `#798`/`ff3a59dd` has landed — with Cause 3's reachability proof that no changed statement stood behind that red.
CHANGELOG/2026.296.2303.md:11:**The control.** `charly task pin-current` asks whether every `box/*` gitlink is at the ref this repo's own `.gitmodules` declares for it, and fails only on NEGLECT: a pin that is behind AND that this repo has not advanced for longer than its own bound (168 h). "Behind" alone is churn. `charly task pin-currency-proof` proves the control can fail — it runs the shipped wiring, extracted from this repo's own `charly.yml`, over a scratch fixture whose two arms differ only in the date of the commit that recorded the pin: a neglected pin goes red, the same pin advanced recently passes.
CHANGELOG/2026.296.2303.md:13:**The correction to the criterion (R4).** #1048 asks for "a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares". Measured over this repo's own history, that gate would be red on 28 of the last 32 days — each of the six twins is behind the ref it declares on 17 to 27 of those days, and on 28 of the 32 at least one is. That is the permanently-red gate the org's own pin rule forbids, so the shipped criterion is narrower, and says so in the file: behind AND un-advanced past this repo's own bound. The bound is derived from this repo's own advance history — the longest gap that stayed within a 7-day bound was 6.4 d, 25 gaps ran past it (8.0 d to 25.1 d), and 168 h (7 d) is the only whole-day bound strictly between those two. `scripts/measure-pin-cadence.py` re-derives every one of those numbers, over a window named by its dates. Over the 9 days from 2026-10-15 to 2026-10-23 the shipped criterion is red on 6, at ages of 7.5 d to 14.7 d — every one inside a real lapse (8.1 d, 10.2 d or 15.3 d), and no red day on a healthy tree.
CHANGELOG/2026.296.2303.md:134:1:Install the control: a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares.
CHANGELOG/2026.296.2303.md:141:AGENTS.md:77:  one twin was behind — so a gate on the distance would be red roughly three days out
CHANGELOG/2026.296.2303.md:142:AGENTS.md:105:  which pins are behind and which are neglected; only a neglected pin turns it red.
CHANGELOG/2026.296.2303.md:143:AGENTS.md:108:  `charly.yml`** — a pin behind its served ref and un-advanced since 2020 must go red,
CHANGELOG/2026.296.2303.md:144:CHANGELOG/2026.278.0912.md:304:own `summary.yml`, and the defect behind the red was reported to the owner that could fix it:
CHANGELOG/2026.296.2303.md:147:charly.yml:4132:    description: Prove the pin-currency control can fail — a pin behind its served ref AND un-advanced past the bound must be reported
CHANGELOG/2026.296.2303.md:148:scripts/check-pin-currency.sh:181:  echo "FAIL: the recent arm's pin must still be reported behind — otherwise the two" >&2
CHANGELOG/2026.296.2303.md:149:scripts/measure-pin-cadence.py:5:WHY THIS EXISTS. `charly task pin-current` fails on NEGLECT: a twin that is behind
CHANGELOG/2026.296.2303.md:150:scripts/measure-pin-cadence.py:22:                     that fails on "behind" is red on exactly these days, which is
CHANGELOG/2026.296.2303.md:151:scripts/measure-pin-cadence.py:167:          "  (a gate that fails on 'behind' is red on these days)")
CHANGELOG/2026.296.2303.md:164:behind_day_rate: 28/32 = 87.5%  (a gate that fails on 'behind' is red on these days)
CHANGELOG/2026.296.2303.md:180:behind_day_rate: 8/9 = 88.9%  (a gate that fails on 'behind' is red on these days)
CHANGELOG/2026.296.2303.md:291:- 3 in `scripts/measure-pin-cadence.py` and 1 in `scripts/check-pin-currency.sh` — the measurement's own subject and its counterfactual ("a gate that fails on 'behind' is red on these days"), and the proof's assertion that the recent arm still reports the distance without staleness.
CHANGELOG/2026.296.2303.md:292:- 2 in `CHANGELOG/2026.278.0912.md` — history, where "behind" is spatial and "the red" is a check failure rather than the criterion.
charly.yml:4132:    description: Ask whether every box/* pin is at the ref its intent names, bounded by this repo's own neglect bound (fails only on a pin that is NOT CURRENT — behind, advanced past the served ref by a squash-merge, or unclassifiable — AND un-advanced past the bound)
charly.yml:4160:    description: Prove the pin-currency control can fail — a pin that is NOT CURRENT (behind its served ref, advanced past it by a squash-merge, or with no checkout to judge it) AND un-advanced past the bound must be reported STALE and fail, while the same pin advanced recently must pass
scripts/check-pin-currency.sh:253:  "behind|the behind twin|$WORK/subsrc|$WORK/shas-behind|yes|behind|a pin NEGLECTED past the bound must FAIL"
scripts/measure-pin-cadence.py:43:pin is not the tip, so it is behind) fails exactly that way on a squash-advanced
scripts/measure-pin-cadence.py:381:          "  (the legacy criterion: a gate that fails on 'behind' is red on these days)")
exit=0  (every hit above is classified in the PR body)
--- 8d. the criterion's OWN wording, keyed on the false claim this change fixed
$ git grep -inE 'behind AND (that this repo has not advanced|un-advanced)' -- '*.md' '*.yml' '*.sh' '*.py'
CHANGELOG/2026.296.2303.md:11:**The control.** `charly task pin-current` asks whether every `box/*` gitlink is at the ref this repo's own `.gitmodules` declares for it, and fails only on NEGLECT: a pin that is behind AND that this repo has not advanced for longer than its own bound (168 h). "Behind" alone is churn. `charly task pin-currency-proof` proves the control can fail — it runs the shipped wiring, extracted from this repo's own `charly.yml`, over a scratch fixture whose two arms differ only in the date of the commit that recorded the pin: a neglected pin goes red, the same pin advanced recently passes.
CHANGELOG/2026.296.2303.md:13:**The correction to the criterion (R4).** #1048 asks for "a gate step in `charly` that fails when a `box/*` twin is behind the ref its own `.gitmodules` declares". Measured over this repo's own history, that gate would be red on 28 of the last 32 days — each of the six twins is behind the ref it declares on 17 to 27 of those days, and on 28 of the 32 at least one is. That is the permanently-red gate the org's own pin rule forbids, so the shipped criterion is narrower, and says so in the file: behind AND un-advanced past this repo's own bound. The bound is derived from this repo's own advance history — the longest gap that stayed within a 7-day bound was 6.4 d, 25 gaps ran past it (8.0 d to 25.1 d), and 168 h (7 d) is the only whole-day bound strictly between those two. `scripts/measure-pin-cadence.py` re-derives every one of those numbers, over a window named by its dates. Over the 9 days from 2026-10-15 to 2026-10-23 the shipped criterion is red on 6, at ages of 7.5 d to 14.7 d — every one inside a real lapse (8.1 d, 10.2 d or 15.3 d), and no red day on a healthy tree.
CHANGELOG/2026.296.2303.md:290:- 3 in `AGENTS.md` and 2 in `charly.yml` — this change's own text, and each one carries the CONJUNCTION (behind AND un-advanced) that the legacy criterion lacks: the argument for the shipped criterion, the sentence that a reported-behind pin is not a failure, the proof's own requirement, and the control's and the proof's task descriptions.
exit=0  (1 = the false claim is in no shipped file)
--- 8e. the criterion stated CORRECTLY — the claim-keyed positive
$ git grep -inE 'not current' -- '*.md' '*.yml' '*.sh' '*.py'
.github/workflows/pin-currency.yml:5:# that is NOT CURRENT and that this repo has not advanced for longer than its own
.github/workflows/pin-currency.yml:6:# bound (168 h). "Not current" is a SET of classes — `behind`, `not-on-the-served-line`
.github/workflows/pin-currency.yml:8:# "not current" alone is CHURN: measured over this repo's own history, each twin is
AGENTS.md:104:- **A pin that is not current and REPORTED is not a failure.** The control's message says
AGENTS.md:105:  which pins are not current and which are neglected; only a neglected pin turns it red.
AGENTS.md:108:  `charly.yml`** — a pin not current and un-advanced since 2020 must go red, and the
AGENTS.md:113:  not current because there is no checkout to judge it, which is the shape of a light
CHANGELOG/2026.231.1222.md:9:ERROR: pip's dependency resolver does not currently take into account all the packages
CHANGELOG/2026.273.0744.md:71:  branched from — so `main` itself does not currently pass the Go suite.
CHANGELOG/2026.289.1231.md:12:2. **The five stale pins advance**, by `charly task sync`: `box/{arch,cachyos,debian,fedora,ubuntu}`. The instrument's own answer goes from **`5 of 6 NOT current [5 behind, 1 cur]`** to **`0 of 6 NOT current [6 cur]`**. Nothing was hand-pinned; `box/omarchy` was already `cur` and did not move.
CHANGELOG/2026.289.1231.md:46:      currency: 5 of 6 pin(s) NOT current [5 behind, 1 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/arch: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 395a583028; served d6e0aac72b (branch); box/cachyos: behind; recorded 673b1b6b90; served 44f0d6e17e (branch); box/debian: behind; recorded c788ce694a; served 9a06ceef6a (branch); box/fedora: behind; recorded 8c6294797c; served 58d918c4ab (branch); box/ubuntu: behind; recorded d2922298e9; served 8da2404d91 (branch); producer-first legs: box/arch (395a583028 -> d6e0aac72b) -> box/cachyos (673b1b6b90 -> 44f0d6e17e) -> box/debian (c788ce694a -> 9a06ceef6a) -> box/fedora (8c6294797c -> 58d918c4ab) -> box/ubuntu (d2922298e9 -> 8da2404d91)
CHANGELOG/2026.289.1231.md:60:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.294.1507.md:56:thing in one line (below): `0 of 6 pin(s) NOT current [6 cur]`.
CHANGELOG/2026.294.1507.md:123:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.294.1507.md:157:      currency: 6 of 6 pin(s) NOT current [6 behind]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/arch: behind; intent upstream:main (implicit: .gitmodules branch=); recorded d6e0aac72b; served 71ba7fdff8 (branch); box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 1e2f7f30df; served 03d8b55ab2 (branch); box/debian: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 9a06ceef6a; served 99f26253ab (branch); box/fedora: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 58d918c4ab; served 994cd218a4 (branch); box/omarchy: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 6ecfbbcec0; served 6ef8eaebb2 (branch); box/ubuntu: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 8da2404d91; served 7731f10d8c (branch); producer-first legs: box/arch (d6e0aac72b -> 71ba7fdff8) -> box/cachyos (1e2f7f30df -> 03d8b55ab2) -> box/debian (9a06ceef6a -> 99f26253ab) -> box/fedora (58d918c4ab -> 994cd218a4) -> box/omarchy (6ecfbbcec0 -> 6ef8eaebb2) -> box/ubuntu (8da2404d91 -> 7731f10d8c)
CHANGELOG/2026.294.1507.md:313:--param MODE=currency`, whose `NOT CURRENT` list should no longer name any `distro-*` path. That leg
CHANGELOG/2026.294.1602.md:67:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.295.0034.md:91:      currency: 5 of 6 pin(s) NOT current [5 behind, 1 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 03d8b55ab2; served bd5cf4214e (branch); box/debian: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 99f26253ab; served a586c1f452 (branch); box/fedora: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 994cd218a4; served b3c35d4de6 (branch); box/omarchy: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 6ef8eaebb2; served 44ca9e37e0 (branch); box/ubuntu: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 7731f10d8c; served 9731ef8efd (branch); producer-first legs: box/cachyos (03d8b55ab2 -> bd5cf4214e) -> box/debian (99f26253ab -> a586c1f452) -> box/fedora (994cd218a4 -> b3c35d4de6) -> box/omarchy (6ef8eaebb2 -> 44ca9e37e0) -> box/ubuntu (7731f10d8c -> 9731ef8efd)
CHANGELOG/2026.295.0034.md:101:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.295.0034.md:106:The state itself is the control: `5 of 6 NOT current [5 behind, 1 cur]` before, `0 of 6 [6 cur]`
CHANGELOG/2026.295.0034.md:186:- **R10:** change class is config (gitlinks only); the gate that owns it is the pin verb on the committed tree — `task sync` `rc=0` (1 step, 0 failed) and `task pins MODE=currency` `0 of 6 NOT current [6 cur]` — with the arm-A control failing and `box validate` `rc=0`, zero warnings, on both sides.
CHANGELOG/2026.295.1246.md:13:      currency: 1 of 6 pin(s) NOT current [1 behind, 5 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded bd5cf4214e; served 541398c061 (branch); producer-first legs: box/cachyos (bd5cf4214e -> 541398c061)
CHANGELOG/2026.295.1246.md:108:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.296.1339.md:124:      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CHANGELOG/2026.296.1339.md:149:      currency: 4 of 6 pin(s) NOT current [4 behind, 2 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/arch: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 9b84c67cda; served 59792cabc8 (branch); box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 541398c061; served 42a3f078ac (branch); box/debian: behind; intent upstream:main (implicit: .gitmodules branch=); recorded a586c1f452; served fad84d2946 (branch); box/ubuntu: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 9731ef8efd; served f23f751dd9 (branch); producer-first legs: box/arch (9b84c67cda -> 59792cabc8) -> box/cachyos (541398c061 -> 42a3f078ac) -> box/debian (a586c1f452 -> fad84d2946) -> box/ubuntu (9731ef8efd -> f23f751dd9)
CHANGELOG/2026.296.1339.md:255:| R7 | The coverage fails without the change: the same audit on the pre-change gitlinks reports `4 of 6 pin(s) NOT current [4 behind, 2 cur]`, and on the committed tree it reports `0 of 6`. Both runs are pasted above, with the same binary and the same command. |
CHANGELOG/2026.296.1339.md:258:| R10 | The change class is a pin advance, and its gate is the pin surface's own audit plus the content pre-flight for every advanced twin: `charly task pins --param MODE=currency` (0 of 6 NOT current), `charly task pins --param MODE=verify` (6 checkouts clean at their gitlink) and `charly box validate` over all four twins' new content — all on the committed tree, on a fresh rebuild, with 0 warnings and 0 errors. |
CHANGELOG/2026.296.2303.md:112:      currency: 2 of 6 pin(s) NOT current [2 behind, 4 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 42a3f078ac; served 1893455d3a (branch); box/fedora: behind; intent upstream:main (implicit: .gitmodules branch=); recorded b3c35d4de6; served ee558d4d97 (branch); producer-first legs: box/cachyos (42a3f078ac -> 1893455d3a) -> box/fedora (b3c35d4de6 -> ee558d4d97)
charly.yml:4079:# THE CRITERION, in the producer's own words, because "not current" is a SET of
charly.yml:4081:# `box/*` pin that is NOT CURRENT — `behind`, `not-on-the-served-line` (what a
charly.yml:4132:    description: Ask whether every box/* pin is at the ref its intent names, bounded by this repo's own neglect bound (fails only on a pin that is NOT CURRENT — behind, advanced past the served ref by a squash-merge, or unclassifiable — AND un-advanced past the bound)
charly.yml:4150:# that is NOT MATERIALIZED, where the pin is not current because there is no
charly.yml:4156:# criterion's own claim true: "not current" is a set, and a proof that exercised
charly.yml:4160:    description: Prove the pin-currency control can fail — a pin that is NOT CURRENT (behind its served ref, advanced past it by a squash-merge, or with no checkout to judge it) AND un-advanced past the bound must be reported STALE and fail, while the same pin advanced recently must pass
scripts/check-pin-currency.sh:13:#   1. NEGLECT FAILS. A pin that is NOT CURRENT AND that its owner has not
scripts/check-pin-currency.sh:23:# NOT CURRENT IS NOT "BEHIND", and the proof has to say so. The criterion is "not
scripts/check-pin-currency.sh:24:# current AND un-advanced", and "not current" is a SET of classes: a twin that is
scripts/check-pin-currency.sh:36:# NOT MATERIALIZED, where the pin is not current for the third reason.
scripts/check-pin-currency.sh:39:# SHAPE: on a tree that materializes nothing, a pin that is not current is still
scripts/check-pin-currency.sh:40:# reported not current, and still goes red when it is neglected.
scripts/check-pin-currency.sh:133:# THREE twin shapes, because "not current" is a SET of classes:
scripts/check-pin-currency.sh:144:#               to judge ancestry) — the third reason a pin is not current, and
scripts/check-pin-currency.sh:226:  # control cannot see that it is not current: the pin is not current in BOTH arms.
scripts/measure-pin-cadence.py:27:                          so it is the rate a gate on "not current" is red on.
scripts/measure-pin-cadence.py:33:The CLASS TALLY over the window is printed with them, because "not current" and
scripts/measure-pin-cadence.py:91:# pin that is not current AND that its owner has not advanced for longer than
scripts/measure-pin-cadence.py:101:# pin "is still NOT CURRENT", and the producer's `ancestryClass` has no rc=128
scripts/measure-pin-cadence.py:106:# not current, so an un-advanced one is neglect. A measurement that dropped the
scripts/measure-pin-cadence.py:117:    as `unjudgeable`, its OWN class: it is counted as not current, and it keeps
scripts/measure-pin-cadence.py:156:    "not current coincides with behind HERE" without ever having asked.
scripts/measure-pin-cadence.py:226:        # and a pair that is not demonstrably current IS not current.
scripts/measure-pin-cadence.py:362:              f" not current on {not_current:2d}, stale on {stale:2d}")
scripts/measure-pin-cadence.py:385:          "  (the criterion the control ships: not current AND un-advanced past the bound)")
scripts/measure-pin-cadence.py:390:              " what says whether 'not current' and 'behind' coincide HERE)")
exit=0  (the criterion is now stated as 'not current' where it is stated at all)

=== 9. the derivation of the bound (the criterion is measured, not chosen) ===
$ python3 -I scripts/measure-pin-cadence.py --since 2026-09-22 --until 2026-10-23 --bound-hours 168
box/arch       behind on 24/32 days, not current on 24, stale on  7
box/cachyos    behind on 27/32 days, not current on 27, stale on  3
box/debian     behind on 25/32 days, not current on 25, stale on  7
box/fedora     behind on 26/32 days, not current on 26, stale on  5
box/ubuntu     behind on 26/32 days, not current on 26, stale on  7
box/omarchy    behind on 17/32 days, not current on 17, stale on  6

window: 32 days, 2026-09-22 .. 2026-10-23   bound: 168h
behind_day_rate:      28/32 = 87.5%  (the legacy criterion: a gate that fails on 'behind' is red on these days)
not_current_day_rate: 28/32 = 87.5%  (every class but `cur`: behind, not-on-the-served-line, unmerged, unjudgeable)
stale_day_rate:       11/32 = 34.4%  (the criterion the control ships: not current AND un-advanced past the bound)
classes over the window (32 days x 6 twins): behind=145
  (the not-current pairs, by the class the control would name — this is what says whether 'not current' and 'behind' coincide HERE)

longest gap WITHIN the bound (ordinary operation): 6.4 d  (box/cachyos, 2026-07-09 -> 2026-07-16)
gaps PAST the bound (lapses): 25  — shortest 8.0 d, longest 25.1 d
exit=0

$ python3 -I scripts/measure-pin-cadence.py --since 2026-10-15 --until 2026-10-23 --bound-hours 168 --list-days
box/arch       behind on  6/9 days, not current on  6, stale on  2
box/cachyos    behind on  7/9 days, not current on  7, stale on  1
box/debian     behind on  7/9 days, not current on  7, stale on  2
box/fedora     behind on  7/9 days, not current on  7, stale on  2
box/ubuntu     behind on  8/9 days, not current on  8, stale on  2
box/omarchy    behind on  5/9 days, not current on  5, stale on  4

window: 9 days, 2026-10-15 .. 2026-10-23   bound: 168h
behind_day_rate:      8/9 = 88.9%  (the legacy criterion: a gate that fails on 'behind' is red on these days)
not_current_day_rate: 8/9 = 88.9%  (every class but `cur`: behind, not-on-the-served-line, unmerged, unjudgeable)
stale_day_rate:       6/9 = 66.7%  (the criterion the control ships: not current AND un-advanced past the bound)
classes over the window (9 days x 6 twins): behind=40
  (the not-current pairs, by the class the control would name — this is what says whether 'not current' and 'behind' coincide HERE)

longest gap WITHIN the bound (ordinary operation): 6.4 d  (box/cachyos, 2026-07-09 -> 2026-07-16)
gaps PAST the bound (lapses): 25  — shortest 8.0 d, longest 25.1 d

every STALE day in the window, with the age that made it stale:
    2026-10-15  box/arch       age   8.7 d  (bound 7.0 d)
    2026-10-15  box/debian     age   8.7 d  (bound 7.0 d)
    2026-10-15  box/fedora     age   8.7 d  (bound 7.0 d)
    2026-10-15  box/ubuntu     age   8.7 d  (bound 7.0 d)
    2026-10-16  box/arch       age   9.7 d  (bound 7.0 d)
    2026-10-16  box/cachyos    age   7.5 d  (bound 7.0 d)
    2026-10-16  box/debian     age   9.7 d  (bound 7.0 d)
    2026-10-16  box/fedora     age   9.7 d  (bound 7.0 d)
    2026-10-16  box/ubuntu     age   9.7 d  (bound 7.0 d)
    2026-10-18  box/omarchy    age  11.7 d  (bound 7.0 d)
    2026-10-19  box/omarchy    age  12.7 d  (bound 7.0 d)
    2026-10-20  box/omarchy    age  13.7 d  (bound 7.0 d)
    2026-10-21  box/omarchy    age  14.7 d  (bound 7.0 d)
exit=0

GATE_FAILED=0
GATE_RC=0

The check-task bed, verbatim:

plugin plugin-example-kind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-kind-660763c18b405ea9 (build sha256:643e81502274cd1f42bcf3ba7f05a981effba9654ec6eb219e85dbdfa156bb65); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-kind
plugin github.com/opencharly/plugin-example-structkind/candy/plugin-example-structkind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-structkind-f39364ecc01e5411 (build sha256:e2c98e2435e2e0110c2fc29f08a76ccf6464efaecb40a95190752286d1f16a35); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-structkind
plugin github.com/opencharly/plugin-jetkvm/candy/plugin-jetkvm: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-jetkvm-2728452fcfb25529 (build sha256:9bdf8390f86de24e7ee3030e2dfdb5140aab232d5df4b40bd1510c18d64f0658); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-jetkvm
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 21 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 2 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 52 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 66 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 15 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 2 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 18 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 15 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 6 repo(s) (first run — may take a moment)...
charly: git metadata cached.
Resolved @github.com/opencharly/plugin-vm -> main (default branch)
plugin plugin-kube: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-kube-3f9e555b8d97d811 (build sha256:09dabf0f5630856bc4a0470d911453eaaa9b890d1f89a45a3402d4a4a65fbc0c); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-kube
plugin github.com/opencharly/plugin-wl/candy/plugin-wl: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-wl-65648d97a2a8b115 (build sha256:83364c6552cbed1a05b24c42226b412ee0caadcd394cd42af1db0bd25e89f06c); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-wl
plugin github.com/opencharly/plugin-spice/candy/plugin-spice: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-spice-fa3b0a6cbdf3a158 (build sha256:8055f087acb887b0a8d96c4e311d1d974801bcc6cb2fdff34f58d45fbcba0c3c); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-spice
plugin github.com/opencharly/plugin-mise/candy/plugin-mise: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-mise-54f9892af98cc518 (build sha256:db3813dc9bbc5e782db71b0a4d10efd824ba52df7ffc5ccf5beaa70a13efc6ec); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-mise
plugin plugin-example-require: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-require-fe41f4f61889298b (build sha256:8c29d9b22b179abb10ebdcda9f587c02548d053f98ab8e034a67a55fe12ecc7e); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-require
plugin plugin-example-dispatch: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-dispatch-96c3ea5908b7b785 (build sha256:0fc9041fdb6d3e461fdf88ad99759ca1fa33d5cf299e80152f3eb2e0e872d58b); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-dispatch
plugin plugin-vnc: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-vnc-b6d2411a5ec78dcc (build sha256:d0f28d55e9f42781e0565e3ad1b518e7008814391c8eb475a8968f0ee4735d60); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-vnc
plugin plugin-record: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-record-ade45bedf0946cb9 (build sha256:e5d99c7f2ffeaf8d899cde14b8e512145feb9d9eae5db5ec22902498533cd032); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-record
plugin github.com/opencharly/plugin-mcp/candy/plugin-mcp: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-mcp-9f01d87a1dee59d6 (build sha256:84931af0af976a7db1e964e1ca5b21c11c49f086c84c9460b8c1dd3add4aa752); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-mcp
plugin plugin-cdp: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-cdp-c2655bd5bf99acd3 (build sha256:a511914c776c9743ed540c07ffed9d9ad6171c62b4b6bf5019b067b8101723b8); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-cdp
plugin github.com/opencharly/plugin-dbus/candy/plugin-dbus: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-dbus-7d5c8c8c81147f3f (build sha256:431a27da8cadd6c4c71ca5a4d2696b24349c2cfaeb3f7a4287774f2b88f25da5); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-dbus
charly: fetching git metadata for 208 repo(s) (first run — may take a moment)...
charly: git metadata cached.
plugin plugin-example-structkind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-structkind-f39364ecc01e5411 (build sha256:e2c98e2435e2e0110c2fc29f08a76ccf6464efaecb40a95190752286d1f16a35); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-structkind
plugin plugin-example-kind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-kind-660763c18b405ea9 (build sha256:643e81502274cd1f42bcf3ba7f05a981effba9654ec6eb219e85dbdfa156bb65); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-kind
charly: fetching git metadata for 9 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 21 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 16 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 6 repo(s) (first run — may take a moment)...
charly: git metadata cached.
plugin plugin-jetkvm: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-jetkvm-2728452fcfb25529 (build sha256:9bdf8390f86de24e7ee3030e2dfdb5140aab232d5df4b40bd1510c18d64f0658); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-jetkvm
plugin github.com/opencharly/plugin-spice/candy/plugin-spice: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-spice-fa3b0a6cbdf3a158 (build sha256:8055f087acb887b0a8d96c4e311d1d974801bcc6cb2fdff34f58d45fbcba0c3c); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-spice
plugin plugin-cdp: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-cdp-c2655bd5bf99acd3 (build sha256:a511914c776c9743ed540c07ffed9d9ad6171c62b4b6bf5019b067b8101723b8); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-cdp
plugin plugin-mcp: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-mcp-9f01d87a1dee59d6 (build sha256:84931af0af976a7db1e964e1ca5b21c11c49f086c84c9460b8c1dd3add4aa752); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-mcp
plugin plugin-wl: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-wl-65648d97a2a8b115 (build sha256:83364c6552cbed1a05b24c42226b412ee0caadcd394cd42af1db0bd25e89f06c); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-wl
plugin plugin-mise: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-mise-54f9892af98cc518 (build sha256:db3813dc9bbc5e782db71b0a4d10efd824ba52df7ffc5ccf5beaa70a13efc6ec); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-mise
plugin plugin-dbus: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-dbus-7d5c8c8c81147f3f (build sha256:431a27da8cadd6c4c71ca5a4d2696b24349c2cfaeb3f7a4287774f2b88f25da5); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-dbus
plugin github.com/opencharly/plugin-vnc/candy/plugin-vnc: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-vnc-b6d2411a5ec78dcc (build sha256:d0f28d55e9f42781e0565e3ad1b518e7008814391c8eb475a8968f0ee4735d60); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-vnc
plugin github.com/opencharly/plugin-kube/candy/plugin-kube: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-kube-3f9e555b8d97d811 (build sha256:09dabf0f5630856bc4a0470d911453eaaa9b890d1f89a45a3402d4a4a65fbc0c); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-kube
plugin plugin-example-require: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-require-fe41f4f61889298b (build sha256:8c29d9b22b179abb10ebdcda9f587c02548d053f98ab8e034a67a55fe12ecc7e); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-require
plugin plugin-example-dispatch: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-dispatch-96c3ea5908b7b785 (build sha256:0fc9041fdb6d3e461fdf88ad99759ca1fa33d5cf299e80152f3eb2e0e872d58b); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-dispatch
plugin plugin-record: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-record-ade45bedf0946cb9 (build sha256:e5d99c7f2ffeaf8d899cde14b8e512145feb9d9eae5db5ec22902498533cd032); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-record
Resolved @github.com/opencharly/plugin-deploy-local -> main (default branch)
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached.
plugin github.com/opencharly/plugin-deploy-local/candy/plugin-deploy-local: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-deploy-local-2710b6ba365e9fe0 (build sha256:812fed98e53126532fd30fb468c748b489da9ae5a0edcd279835041d07a11550); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-deploy-local
charly check run check-task: [deploy-add] START (charly deploy add; log: .check/check-task/2026.297.0002/deploy-add.log)
charly check run check-task: [deploy-add] PASS after 1m31.03s (log: .check/check-task/2026.297.0002/deploy-add.log)
charly check run check-task: [bring-up-members] START
charly check run check-task: [bring-up-members] PASS after 0s
charly check run check-task: [check-live] START (charly check live; log: .check/check-task/2026.297.0002/check-live.log)
charly check run check-task: [check-live] PASS after 2m7.114s (log: .check/check-task/2026.297.0002/check-live.log)
charly check run check-task: [update] START (charly update; log: .check/check-task/2026.297.0002/update.log)
charly check run check-task: [update] PASS after 1m22.453s (log: .check/check-task/2026.297.0002/update.log)
charly check run check-task: [cleanup] START (charly deploy del; log: .check/check-task/2026.297.0002/cleanup.log)
charly check run check-task: [cleanup] PASS after 1m1.311s (log: .check/check-task/2026.297.0002/cleanup.log)
charly check run check-task: [cleanup-members] START
charly check run check-task: [cleanup-members] PASS after 0s
charly check run check-task: PASS (steps=6)
charly: fetching git metadata for 24 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 3 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached.
Pruned 1 old check run artifact(s) (keep_check_runs=3)
BED_EXIT=0

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

What the change is

A prose/proof/measurement correction in the repo that owns the pin-currency control. The control itself (the pins verb, in the pinned plugin-task release) is untouched; this PR changes what charly says the control judges and what it proves, in five files: .github/workflows/pin-currency.yml, AGENTS.md, charly.yml, scripts/check-pin-currency.sh, scripts/measure-pin-cadence.py.

Verification against the diff and body

  • Body arithmetic is correct. Diff headers sum to exactly 14+21+34+198+248 = 515 insertions and 3+6+6+60+27 = 102 deletions across 5 files, matching the body. Head SHA 6da62b2b… matches the commit list and the branch tip given.
  • The core claim is reproduced by the diff. The old sentence ("behind AND un-advanced") is replaced by "NOT CURRENT … a SET of classes — behind, not-on-the-served-line, differs" on all the surfaces the body names (workflow header, AGENTS.md, both charly.yml task descriptions + derivation comment, both scripts). The R5 sweeps in the body are consistent with the diffs: the legacy wording survives only in CHANGELOG/2026.296.2303.md (a published artifact, deliberately not edited), and the current surfaces carry the corrected wording.
  • The proof is genuinely widened and not vacuous. check-pin-currency.sh now drives six arms from one ARM_TABLE over three twin shapes (subsrc behind, squashsrc orphan/squash, and the same subsrc with no checkout), with must_fail/must_pass asserting the class string, the STALE/(bound 168h)/gap needles, and that the green arm is green because of age, not because the pin reads current. SHAPE_COUNT/ARM_COUNT are derived from the table. The MUT-A/MUT-D differentials in the transcript show this bites (neutered control → red; drifted AGENTS.md count → red).
  • The classifier is real and self-tested. measure-pin-cadence.py now classifies with merge-base --is-ancestor (exit-code driven via sh_rc, which preserves rc), returns cur/behind/not-on-the-served-line/unmerged/unjudgeable, prints a class tally, and has a --self-test with one arm per returnable class and an independent eligibility expectation. MUT-B (old pin != tip proxy) and MUT-C (dropped unjudgeable from STALE_ELIGIBLE) both go red, so the self-test is not vacuous. The measured window (32 days) yields behind=145, behind_day_rate == not_current_day_rate == 28/32 — the "coincide here" claim is shown, matching the body.
  • Security/cleanliness. No secrets, no new input handling; shell=True calls use fixed twin constants and git SHAs; self-test uses a temp dir with GIT_CONFIG_GLOBAL=/dev/null and cleans up in finally. Scope is coherent: no legacy path left behind, counts derived rather than restated.

Comments

The single thread (comment 6377373849 by @aitrawog) is the author's own STATUS comment pasting the two verbatim transcripts. It is consistent with the body's filtered account and with the diffs (e.g. the step-9 output box/arch … behind on 24/32 … not current on 24, stale on 7 matches the new print format). It is not a maintainer sign-off; no designated maintainer has approved, so the change is assessed on its own evidence, which holds.

Minor, non-blocking observation

The body's §8c "broader co-occurrence sweep" says it "returns 24 hits, and every one is read here", but the four classification bullets sum to 23 — the scripts/check-pin-currency.sh:253 hit (the ARM_TABLE "behind twin" row, which contains both behind and FAIL) is not itemized. This is a bookkeeping slip, not a substantive gap: the omitted hit is this change's own benign arm-table text, and the material R5 conclusion (the false conjunction is absent from every current surface) is independently confirmed by §8d. Worth tightening the accounting in a follow-up, but it does not undermine the fix.

The unmerged class (measurement-side, ahead-of-served) and the unjudgeable/differs naming split are explicitly documented and deliberately excluded from STALE_ELIGIBLE, matching the producer's judgement; no contradiction.

The change does what it claims, the tests fail without it (four differentials), and the evidence is internally consistent and reproduced by the diff.

Verdict: PASS


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

View action run

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the pin-currency control's criterion is stated as 'behind AND un-advanced', but the producer judges 'not current' — three classes, one proven

1 participant