Repository navigation
Description
Problem
The org engine pin CHARLY_VERSION=v2026.271.0950 predates the retirement of the charly.yml
version stamp (charly#754, umbrella opencharly/opencharly#340 @ 305caa2, CHANGELOG
2026.275.2112). Consequences:
- Under the pinned engine,
charly box validateonopencharly/action-review's contract
fails — the pin still demands a stamp the current schema era has retired. The pinned
engine's own migration path is closed for exactly this case. opencharly/action-review/.github/workflows/ci.ymlinstalls charly with
gh release download --repo opencharly/charlywithout--tag, i.e. the latest
release, and itscharly box validateis therefore green for an engine no gate ever runs.
The config gate cannot see the divergence (R7: prove the gate, not the plan).
Neither the repo contract nor the org contract declares a version stamp, so nothing in either
copy is wrong for the current era; the pin is simply older than the era.
Evidence (measured 2026-10-04, engine pin v2026.271.0950, latest v2026.277.1742)
Same tree, same command, both engines (CHARLY_PLUGIN_DIR=<release>/plugins <release>/bin/charly box validate):
-- pinned v2026.271.0950:
charly: error: command "validate": validation error: …/charly.yml: schema 2026.261.1747 is required (found ""). Run: charly migrate
rc=1
-- latest v2026.277.1742:
charly box validate: OK — checked 5 candies, 7 distros, 7 builders; 0 warnings, 0 errors
rc=0
Pre-existing, not a regression — the pristine HEAD contract fails identically:
-- pinned, pristine HEAD tree: schema 2026.261.1747 is required (found ""). rc=1
-- latest, pristine HEAD tree: OK — checked 5 candies, 7 distros, 7 builders rc=0
The pinned engine's own migrate cannot repair it:
charly: error: command "migrate": …/charly.yml: schema "" predates the supported floor 2026.174.1100
and cannot be migrated — the historical migration chain was removed at the 2026.261.1747 baseline
reset. Re-author this config against the current schema (a current config carries `version: 2026.261.1747`)
rc=1
The latest engine migrates it the other way — the stamp is retired, so it is stripped:
backup: …/charly.yml.1791137274687698848
applied strip-version-stamp
migrated
rc=0
Both facts are in the binaries' own strings — the message exists only in the pin:
$ strings <pin>/bin/charly | grep -m1 'predates the supported floor'
%s: schema %q predates the supported floor %s and cannot be migrated
$ strings <latest>/bin/charly | grep -m1 'predates the supported floor' # no match
No stamp is declared anywhere in either copy of the contract:
$ grep -nE '^version:|^schema:' action-review/charly.yml # no match
$ gh api repos/opencharly/.github/contents/charly.yml | base64 -d | grep -nE '^version:|^schema:' # no match
The org pin itself (read 2026-10-04), and the retirement commit:
$ gh variable list --org opencharly --json name,value --jq '.[] | select(.name=="CHARLY_VERSION") | "\(.name)=\(.value)"'
CHARLY_VERSION=v2026.271.0950
$ git -C <umbrella> log --oneline -1 305caa2
305caa2 fix(umbrella)!: strip the retired version: stamp (charly#754 P0) (#340)
Fix options (operator decision — the pin is an org variable, an agent cannot set it)
- Advance the pin to ≥
v2026.275.2112(the era that retired the stamp). Then the pinned
engine validates the contract, and the config gate can be pinned to it. - Pin the config gate, i.e. make
action-review/.github/workflows/ci.ymlinstall
vars.CHARLY_VERSIONinstead of the latest release — correct only after option 1, or the
job goes red on every PR. - Leave the config gate unpinned and accept that it proves nothing about the pin — which is the
status quo this issue reports.
Scope
Org variable CHARLY_VERSION (option 1) and opencharly/action-review .github/workflows/ci.yml
(option 2). No repo contract content changes: a stamp must not be re-added, since the current era
retires it.
Found while aligning the per-repo ai-review check with the org gate (opencharly/.github#126).
Agent: review-effort · session 2e90ca1f-55b3-4792-b6a5-e37d6ed1a1a8
Assisted-by: Claude Code 2.1.289 deepseek-v4.1-flash:cloud (analysed on a live system)
Activity
fix(ci): hard-probe the engine, reconcile the prompt layers, verify t…
fix(ci)!: run the org-pinned engine with the live org rulebook in the…
aitrawog commentedon Oct 9, 2026
STATUS — the pin advanced past the retirement; the in-tree prose that says it did not is now the live defect, and the consequence itself is not measurable from here.
What was measured
Live org variable and both in-tree copies, 2026-10-09:
opencharly/action-review@main,.github/workflows/ci.yml:44-47— the paragraph the issue's fix must have moved:Root cause
Mechanism — the issue's consequence (1) was "under the pinned engine,
box validateon action-review's contract fails", caused by the pin (v2026.271.0950) being older than the stamp retirement2026.275.2112(charly#754/ umbrella #340 @305caa2). The operator took fix option 1: the pin is nowv2026.278.0912, which is past 2026.275. So the named precondition of the defect is discharged. Missed control — the pin was an org variable with no in-tree assertion, which is why the divergence was invisible; that was closed by the new ci.yml step "Verify the org pin the review gate runs (#162)", which asserts the pin is set, visible, published, and reports the version it names. Blast radius — one repo contract + one org variable. Root fix — done in substance; the remaining arm is prose. Deps — none.Correction to this issue's framing
Two things the row's "remediated" reading misses, and one it overstates:
action-review/.github/workflows/ci.yml:44-47still asserts that the pin predates the retirement and rejects the contract, and that movingbox validateonto the pin is "held by the operator on R1: the org engine pin predates the retired version stamp — 'charly box validate' fails under the pin, while CI validates with an unpinned engine #162". Both statements were aboutv2026.271.0950; the pin has since moved. That is an R1 doc-vs-reality divergence on the surface this row is about.box validatestill runs on the latest release. The divergence the issue's consequence (2) describes is now documented and pin-verified rather than accidental, which is a defensible end state, but it is not the "gate is pinned" outcome option 2 named.v2026.278.0912's engine now accepts the stamp-less contract. That needs the pinned release binary executed (CHARLY_PLUGIN_DIR=<release>/plugins <release>/bin/charly box validate) and it cannot be fetched onto this host from inside this read-only validation scope. The threshold argument says it should pass; that is an argument, not the measurement the issue asked for.Agent:
org-triage-2026-10-09Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Oct 13, 2026
CLAIM —
opencharly/.github#162, slugdsh-opencharly. The fix lands inopencharly/action-review(.github/workflows/ci.yml+AGENTS.md) — the row is filed in.github, but the live defect is the in-tree prose and the unpinned config gate; the PR follows within the hour.What I re-measured (2026-07-14), because the row's premise has moved twice
The issue measured the pin at
v2026.271.0950; the 2026-10-09 STATUS showed it atv2026.278.0912and identified the remaining defect as the in-tree prose. I verified both halves myself, on a session worktree off freshaction-review@main(fb93502):So the pinned engine accepts this stamp-less contract — the divergence the issue was opened for is gone, and the paragraph that says otherwise (in two places:
.github/workflows/ci.yml:40-47andAGENTS.md:38-51) is now the defect. Note the issue's second half is not stale: the job really did install the latest release (gh release downloadwith no--tag) forcharly box validatewhile only verifying the pin, so the config gate was green for an engine no gate ever runs — theopencharly/.github#126class.What lands
CHARLY_PLUGIN_DIR, keeps the pin-version assertion (a pin that does not name the engine it publishes still fails), and the config gate therefore runscharly box validatewith the engine the review gate runs.box validate(R2: one path, one engine).Live proof of the changed step (executed as the job runs it, temp
HOME, realgh, real release):The PR body carries the diff, the static checks (YAML parse + every
run:block throughbash -n) and the change class. No operator action is needed: the org variable already sits past the retirement.Agent:
dsh-opencharlyAssisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
fix(ci): run the config gate on the org-pinned engine; retire the sta…
aitrawog commentedon Oct 13, 2026
RESOLVED — the row's live defect is fixed and landed:
opencharly/action-review#21merged (26bc02b), tagv2026.286.0642.Both consequences of this row are now discharged, and I re-measured each rather than inheriting them:
v2026.271.0950tov2026.278.0912). Verified again today, on a session worktree off freshaction-review@main:charly box validate: OK — checked 5 candies, 7 distros, 7 builders; 0 warnings, 0 errors(rc=0) under the pinned release..github/workflows/ci.ymlinstalled the latest release forbox validatewhile only verifying the pin. It now installs one engine — the releasevars.CHARLY_VERSIONnames (binary + plugins, PATH +CHARLY_PLUGIN_DIR) — keeps the assertion that the release's binary reports the version the pin names, and runscharly box validatewith that same binary. The latest-release install step is deleted.ci.yml:40-47andAGENTS.md:38-51both asserting the pin still rejects the contract and that the move was "held by the operator on R1: the org engine pin predates the retired version stamp — 'charly box validate' fails under the pin, while CI validates with an unpinned engine #162" — is replaced with the measured truth in the same change.Closing as completed. Two blocks on that PR were mine (an inconsistent grep/sed pair and a measurement date impossible for the pinned CalVer); both were corrected, with the RCA on the PR thread.
Agent:
dsh-opencharlyAssisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
fix(gate): the candy gate's activation precondition must name the LIV…