Repository navigation
chore(pins)!: advance charly, plugin-check, plugin-substrate, sdk and spec; re-home the pod census row and citation - #1002
Conversation
… spec; re-home the pod census row and citation The five pins 2.1 unit 3 (pod) landed were behind, and the two design ledgers described the pre-move tree. This advances exactly the five pins the currency question named and reconciles the census, the citation, the rows the relocation touched, and one version-sentinel prose surface: - charly 9a988fe7 -> 85149793 (v2026.317.0814, PR #1130) - plugin-check b56b37e3 -> 7e9dbd2d (v2026.317.0744, PR #144) - plugin-substrate 1e97151e -> 25586c76 (v2026.317.0614, PR #32) - sdk 24279099 -> fe1bd998 (v0.2026317.712, PR #504) - spec 64f85a36 -> 9cfcc117 (v0.2026317.703, PR #307) `charly task sync` moved exactly those five and nothing else (it reports 5 pin(s) moved), and `charly task pins --param MODE=currency` then reads 0 of 409 pin(s) NOT current. spec#307 deleted #Pod/#PodValue and plugin-substrate's CUE module gained them, so the census row for `#PodValue: (#Pod | schema.#DeployValue)` is RELOCATED, not lost: it re-homes from spec/schema/node.cue to plugin-substrate/candy/plugin-substrate/schema/pod.cue with the same rule and the same count. The total is unchanged (357 known violations, every per-rule count identical), so this is a relocation, not new debt. The one line citation that showed the kind body (spec/schema/pod.cue:10-19) is re-anchored onto the plugin copy as the NAME citations #Pod and #PodValue — the full definition set that moved — and its baseline row is lowered with it, so `design/cite-baseline.tsv` keeps only citations that hold. TODO.md carried three findings on `main` before this change, in two gate legs, and it is the only prose this wave touches. `charly task verify` was red on the literal-pathspec leg (`scripts/check-guidance-pathspec.mjs`, #751): the unit-2 lesson's sweep names its path argument as `git ls-tree origin/main -- "$p"`, which git may REINTERPRET, instead of `":(literal)$p"`. Fixed to the literal form; the paste below it is unchanged, proven by running both forms over every `plugin-*` path at origin/main (0 differ, and 0 of them carry a glob metacharacter). Leg 13 of the pre-commit gate (`scripts/check-cited-plugin-task-version.mjs`) pairs every line naming `plugin-task` with every version literal on that line, so unit 2's `sdk` row — which names the plugin in its prose and the sdk module tag in its version column — and its lesson sentence, which quoted the retired literal, both read as live plugin-task version claims. Measured on the pristine `origin/main` worktree: the same two findings, on either charly pin. Both lines now state what they mean, and the retired literal stays once in `CHANGELOG/2026.317.0537.md`, where history is immutable. The control's class — a predicate keyed to a module MENTION rather than the citation FORM — is filed as #1001. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) Co-authored-by: aitrawog <[email protected]>
Review — PASSHead SHA: Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no supply-chain surprise; the five gitlinks advance to already-merged org commits ( Checklist: All applicable rules PASS or NA.
Tool-limited note: the Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…gories and the cumulative invariant (#1003) Unit 3 (pod) landed as FIVE legs, not one as the tracker said: plugin-substrate#32, spec#307, sdk#504, plugin-check#144 and charly#1130, then the umbrella pin wave #1002. The block records the measured effects at the pins that wave set (spec.KindValueDefs 9 -> 8, #<Word>Value 10 -> 9, 11 kind bodies left over this file's 14-name list), the one-row census relocation (node.cue -> the plugin's pod.cue, differing only by the schema qualifier), the one re-anchored citation (a line citation -> two NAME citations on the plugin's copy), the THIRD keeper category (#PodSidecar stays because the contract's own #ResolvedPod cites it, after unit 1's spec-generator keeper and unit 2's sibling-plugin keeper), the reason #307's pushed body says 13 -> 12 over a 15-name list (#Image is #CandyValue's image arm, not a kind body), the corrected CUMULATIVE invariant (309 = 250 pod + 47 task + 12 pipeline, 2004 - 309 = 1695), the fact that TestKindValueDefs_ComposedEqualsBase needs no edit by construction, and the two control defects filed as #1001 and #751. 2.1 stays open: eight kinds remain, in opencharly/spec#304's measured order. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed) Co-authored-by: aitrawog <[email protected]>
Summary
2.1's unit 3 (
pod) landed as five legs, and every one of them left the umbrella's pin behind. Thisadvances exactly those five — each to the tag-on-merge CHANGELOG commit one above the leg's tagged
squash, not to the squash itself — and reconciles the two design ledgers the move falsified, together
with the three prose lines
mainwas already red on.plugin-substrate1e97151e8964366cfaa7ccc30d9959b5b7893efe25586c76406c43ba6b16b405eea653b8f24a36fdv2026.317.0614spec64f85a369c32a19730c73779e2cd608066b947469cfcc117c57283098d3314991dc451799830dc0bv0.2026317.703sdk24279099392ac42db10945f4294eee68c7ca48a5fe1bd99831237dbb0c786dbeedbdd5c83c0a8767v0.2026317.712plugin-checkb56b37e3159176c2e08167fc0999da9bf93668357e9dbd2d774640c91202b08348980f51bf06d18ev2026.317.0744charly9a988fe793b22a10748cd5fab1c1bef45f868650851497933ae4fd8f32d14a417bc11eb4d7aa3652v2026.317.0814The mechanism is the verb — measured, not assumed
Part II #3 names two ways to move a pin and says to read what a
charly taskverb does first. So thewave was measured before it was trusted:
charly task sync— the org-wide verb whose own step name is"advance EVERY submodule pin this repo declares" — was run, and what it moved was compared with what
the currency question had named. It moved exactly the five, and nothing else:
git status --shortafterwards listed five gitlinks and no sixth path. The verb is therefore the mechanism here; the
narrow per-path checkout-roll that the previous leg (#987) used for ONE pin was not needed, and running
both would have been a second mechanism for one outcome.
spec#307 deleted the kind body; the plugin gained it — a relocation, not a loss
spec#307deleted#Podand#PodValueand kept#PodSidecar, which the contract's own#ResolvedPodcites. The plugin's CUE module now declares the body, so the schema-pattern census rowfor
#PodValuere-homes rather than disappearing:spec/schema/node.cue, ruleunion,#PodValue: (#Pod | #DeployValue) @go(-), count 1 — gone;plugin-substrate/candy/plugin-substrate/schema/pod.cue, ruleunion,#PodValue: (#Pod | schema.#DeployValue) @go(-), count 1 — arrived.Exactly one row moved, every per-rule count is identical, and the total is consistent — no rule's
per-rule count rose. That is the test #996 set for this ledger.
The one line citation that showed the kind body —
spec/schema/pod.cue:10-19, affirmed against#Pod— could not survive the move: at the new pin those lines sit inside no definition at all. Thekind:podledger row now cites the plugin copy by NAME, the form a pin advance cannot falsify (A.13),naming both definitions the relocated body carries — the full definition set that moved:
Nothing else in
design/citedspec/schema/pod.cue,sdk/loaderkit/cue_schema.goorcharly/substrate_spec_aliases_test.go— measured, not assumed: at this head the first grep is empty,and at the base it finds only the one
kind:podcitation on its two columns:The three prose lines that were red on
mainbefore this changecharly task verifywas already red atorigin/main, in two legs, on prose this pin wave did notwrite. Both legs were re-measured on a pristine
origin/maincheckout before anything was touched —$BASEbelow is that checkout, a separately materialized worktree this branch never writes to — andboth are fixed here, because a red gate forbids the push and
verifyis this change class's gate.Leg 13, the version sentinel (
scripts/check-cited-plugin-task-version.mjs), measured on thepristine base:
The control pairs every line naming
plugin-taskwith every version literal on that line; neither lineclaims plugin-task's version.
:288is thesdkrow of unit 2's leg table, whose version cell is thesdk module tag;
:372is unit 2's lesson sentence, which quotes the retired literal as history— the same sentence survives verbatim in
CHANGELOG/2026.317.0537.md:38-39, where the scan exempts itbecause history is immutable. Both lines now state what they mean, with the retired literal staying
once in the CHANGELOG, and the leg is green:
The literal-pathspec leg (
scripts/check-guidance-pathspec.mjs, #751), alsomeasured on the pristine base:
Unit 2's sweep named its path argument as
git ls-tree origin/main -- "$p"; it now uses":(literal)$p". The paste under that command is unchanged, and that is decided rather than assumed —the two forms are compared over every
plugin-*path atorigin/main:The version-sentinel class — a predicate keyed to a module MENTION instead of the citation FORM —
is filed as #1001 rather than papered over.
The files in this diff
charly9a988fe793b22a10748cd5fab1c1bef45f868650→851497933ae4fd8f32d14a417bc11eb4d7aa3652(v2026.317.0814, PR #1130)plugin-checkb56b37e3159176c2e08167fc0999da9bf9366835→7e9dbd2d774640c91202b08348980f51bf06d18e(v2026.317.0744, PR #144)plugin-substrate1e97151e8964366cfaa7ccc30d9959b5b7893efe→25586c76406c43ba6b16b405eea653b8f24a36fd(v2026.317.0614, PR #32)sdk24279099392ac42db10945f4294eee68c7ca48a5→fe1bd99831237dbb0c786dbeedbdd5c83c0a8767(v0.2026317.712, PR #504)spec64f85a369c32a19730c73779e2cd608066b94746→9cfcc117c57283098d3314991dc451799830dc0b(v0.2026317.703, PR #307)design/dpat-baseline.tsv#PodValuecensus row re-homed,spec/schema/node.cue→plugin-substrate/candy/plugin-substrate/schema/pod.cue; emitted with--emit-census, one row out and one in, no other linedesign/cite-baseline.tsv--emit-baseline: thekind:podline citationspec/schema/pod.cue 10-19, anchor#Pod, digestc69c414d1af3795a— the row the re-anchored citation replacesdesign/dulling.tsvkind:podrow's citation: thespec/schema/pod.cue:10-19line citation → the two NAME citationspod.cue:#Podandpod.cue:#PodValueon the plugin copyTODO.mdsdkrow names "the task plugin" instead of the repo string that collided with its own version cell, the unit-2 lesson names the version the pin compiles and points at the CHANGELOG for the retired literal, and the sweep'sls-treepath argument takes the literal pathspec formHow tested
Every command below ran in the session worktree
.worktrees/dsh-pin-21u3/opencharly, branched offorigin/mainat opencharly/opencharly2b6413f193ceb1a3201ba04a12d6c000a2d61100, on the tree thiscommit publishes — opencharly/opencharly
2eaf6bb451ed22d5e5032a1c118c8d1a3e0a00e3.The run order was the one Part II #2 and #3 mandate: the derived working set, then the binary built
from the pinned
charly, then the checkouts of the four repos the currency question had to judge, thenthe wave:
1. Every pin equals the commit its remote serves
The tree records the same five ids, and the base recorded the five they replace:
Each target is the CHANGELOG commit one above the leg's tagged squash —
25586c76sits on937a9b07564116b8723a0a2223299bae8508c41c, and85149793sits on8997c4809d31aa9af16e64e02ab4fbbba380205b:2. Currency: the no-checkout reading, the judged reading, the wave, and after
The FIRST reading is worth pasting — captured before the checkouts existed, so it cannot be re-run on
this tree — because it reads as complete while judging four of the five pins as unjudged: the ancestry
test needs a checkout, and the derived working set does not materialize these four.
That line is re-executable only while four pins lack a checkout, so what it says about the STATE is
anchored by the base gitlinks pasted in #1. After
CHARLY_INIT_PATHS=plugin-substrate,spec,sdk,plugin-check ./charly/bin/charly task initthe same verbon the same tree names all five and the producer-first order (captured on this branch at base
2b6413f, before the advance):The wave, and the scope of what it touched (the
syncline is captured from the run; the path listbelow it is re-executable):
And the currency question afterwards, re-run on the committed tree:
3. The census: one row re-homed, every per-rule count identical
One out, one in, same rule, same count — and the per-rule arithmetic either side:
301 non-comment lines either side, one of which is the column-header row, so 300 violation rows and
357 occurrences before and after — the same totals
design-dpatprints below. No rule's per-rulecount rose, and the total is consistent: a relocation, not new debt. The committed census is also
exactly what the pins produce:
4. The citation: re-anchored onto the plugin's copy, baseline lowered with it
The control that caught it, on the advanced pins before the re-anchor (captured, not re-runnable — the
citation it names is gone from the tree):
After it — the baseline row the name citation replaces is lowered, so the
kind:podline citationleaves
cite-baseline.tsv, and every remaining citation resolves at the new pin:5. Pintag: a tag on every advanced pin, fetched before anything could blame them
init-submodules.shfetches by commit and never transfers tags, so an unfetched pin readsuntaggedand the message blames the pin (#999).
git -C <repo> fetch --tags originran inall five before the wave was committed, and the control reads green with no new census row:
All five advanced pins land in the 24
changelog-tip— the expected class for a tag-on-merge leg —and
untaggedstays at the one already recorded.6. The change-class gate, on the committed tree
7. R9 — the binary is the source
Rebuilt from the current
charlypin after the advance, not from the pre-wave one, and the stamp isthat pin's CHANGELOG tag.
go version -mcannot prove a charly commit here (-buildvcs=false), whichis why the gitlink is pasted beside it rather than derived from the binary:
Every
$line above was re-executed from this worktree and its output compared with the paste. Twogroups cannot be re-run as-pasted, and each says so where it sits: the base-state findings, which run
against a separate
origin/maincheckout named by--root(re-executable, and pasted that way), andthe three before-the-advance readings (#2's judged currency line and the
syncoutput, #4's caughtfinding), which a wave makes un-repeatable by construction and which are anchored by the re-executable
base gitlinks in #1.
Rulebook compliance
R0 — skills first.
/charly-internals:git-workflowand/charly-internals:strict-policywereloaded before the first tool call, and
AGENTS.md(R0–R10, Part II ci: adopt org-wide validation chain — pr-validator + tag-on-merge, drop custom auto-merge #2/fix: escape backticks in umbrella-gates.ts template literal #3, "Commit, push, land") wasread in full. The dispatcher's pinning row and its
charly task sync-is-org-wide warning are whatproduced the measure-then-trust ordering above.
R1 — RCA every anomaly, then fix it or file it. Four anomalies, each RCA'd before any fix.
(a) The first currency reading judged four pins
differs (no checkout to judge ancestry)whileprinting an empty leg list — mechanism: the ancestry test needs a checkout the derived working set
does not create; fix: the
CHARLY_INIT_PATHSinit pasted above. (b) The census gate went red with onenew
unionrow AND one stale row — mechanism: the definition moved between modules; disposition:relocation, fixed by
--emit-census. (c) The pre-commit gate refused the first commit on twoTODO.mdversion citations — mechanism measured on the pristine base:mainwas already red there,and the control pairs a module mention with any version literal on the line; instance fixed, class
filed as gate: check-cited-plugin-task-version pairs a module MENTION with any version literal on the line, so a table row's unrelated version cell reads as a plugin-task citation #1001. (d)
charly task verifythen failed one step onTODO.md's barels-treepathspec —again measured red on the pristine base, fixed to the literal form. Each is pasted red-then-green
above, and the final gate output carries zero warnings.
R2 — no duplication. ONE pin mechanism (the verb), not a second hand-rolled roll beside it; the
census and the citation record re-emitted by their own controls rather than hand-edited; the retired
sentinel literal kept in ONE home (
CHANGELOG/) instead of two.R3 — no workarounds. No sleep, retry, suppression or hand-pin; the hook was never bypassed. Both
pre-existing red legs were made green by making their claims true, and the one finding that is about
the control's own reach is filed (gate: check-cited-plugin-task-version pairs a module MENTION with any version literal on the line, so a table row's unrelated version cell reads as a plugin-task citation #1001), not silenced.
R4 — product before prose. The ledgers and
TODO.mdchanged only after the pins that falsify themwere measured, and every command in this body runs with the worktree-local
charlyalone.R5 — legacy deleted, claim-keyed grep pasted. The retired citation is gone; every surviving
pod.cuemention names the plugin's copy:R6 — preserve user work and Git safety.
git status --shortwas empty before staging; the waveran alone in its own worktree (Part II fix: escape backticks in umbrella-gates.ts template literal #3 — no concurrent git command while it held the index); the
branch is
feat/pins-21-unit3-podoff freshorigin/main; nothing was force-pushed and no otherworktree or branch was touched. After committing,
git show --statlists all nine files andgit status --shortis empty, so the whole tree is in the commit.R7 — prove behaviour, not compilation. Every claim above is a command's output on the committed
tree. The census relocation cannot be faked green: the control fails in BOTH directions, and it was
red on both sides of the edit until each side was right. The pathspec fix's "the paste is unchanged"
is decided by running both forms over every
plugin-*path, not asserted.R8 — live or skip, never fake. Nothing here crosses a live service. The three citation notices
are the control's designed, visible skips for a repository this tree does not pin, pasted as notices
and never counted as passes.
R9 — binary equals source. Rebuilt from the current
charlygitlink after the advance(
bootstrap-charly: built ./bin/charly (2026.317.0814)) andcharly versionreads2026.317.0814,the merge tag of that pin. No new runtime OS dependency, so
packaging:is untouched.R10 — fresh disposable proof. This diff touches gitlinks and prose only: no runtime path, no
plugin code, no schema the binary compiles against at runtime. The gate that owns the change class is
the umbrella's own pin gate,
./charly/bin/charly task verify, run on the committed tree, composedwith the currency question and
bash scripts/design-check.sh, all pasted above. Nodisposable: truetarget is affected, so no check bed is owed here; each producer repo ran its ownbed with its own change.
Change classification
Breaking change + rollback: the pointers move to commits the org has already merged, so nothing
breaks for a reader of THIS repo — but
spec#307is a real contract break one level down, and aconsumer that composes the NEW
specwith an OLDERplugin-substratebreaks.specno longer declares#Podor#PodValue—spec#307deleted both and kept#PodSidecar, which the contract's own#ResolvedPodcites — and the host resolves a kind's gate def from the PROVIDER's own declaration — so aplugin-substratebuilt before#32, whose
kind: podcapability does not declareInputDef: "#PodValue"and whose CUE module does notcarry the body, leaves
#Podundefined when its served schema is composed against the new contract,and the
podkind fails to resolve at all. The umbrella is safe only because these five gitlinks movetogether —
charly#1130pins the four producers in lockstep — so upgradeplugin-substrateandspectogether; that lockstep IS the compatibility contract.Rollback, in one step per direction: revert this commit (
git revert), and the five gitlinks return to9a988fe793,b56b37e315,1e97151e89,2427909939and64f85a369c— the pre-unit-3 org state inwhich
specstill declares the kind body. For a consumer pinned directly to the repos rather thanthrough the umbrella, pin
plugin-substrateback below #32's squash937a9b07564116b8723a0a2223299bae8508c41ctogether withspecbelow8cceca6924290854600a29cb74b7daf83d7bec01. The merge tags are immutable, sov2026.317.0614andv0.2026317.703stay reachable for a bisect after either rollback.Filed issues
check-cited-plugin-task-versionpairs a module MENTION with anyversion literal on the line, so a table row's unrelated version cell reads as a plugin-task
citation. Filed with the RCA, the measured red state of
origin/main, and the two-part root fix(match the citation FORM; give a live record the historical-quote escape
CHANGELOG/has bydirectory).
The missed control behind that red state — nothing in CI re-runs the umbrella's own gate — is already
#832 and needed no new issue.
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)