Repository navigation
chore: sync gitlinks — 51 pins advanced to what policy B requires - #411
Conversation
`./charly/bin/charly task pins --param MODE=bump` over a tree reset to origin/main (89d318b): 45 submodule gitlinks move and nothing else — no file content, no workflow, no script, no Go. charly rolls c5ea6c91 -> c0912d8a, eight commits. Main's pin was an ancestor of charly's current default-branch HEAD, so the scheduled sync workflow's removal in #375 left it stale; this hand-run walk is the replacement for it. The six distro-* pins are then re-derived from charly's NEW box/* gitlinks, which is what policy B requires and what the gate asserts: verify: 6 policy pin(s) hold across 425 submodule(s) charly's own nested submodules follow the same rule, and `charly task verify` audits them: `git submodule update --init --recursive` brings charly/box/* to the gitlinks c0912d8a records (box/omarchy -> 6ecfbbce, box/ubuntu -> d2922298, ...), so every initialized checkout in the tree sits at its recorded gitlink with a clean worktree. ONE file changes with the pins, because the pin advance is what makes it wrong: `marketplace` 71ba83ba -> ac7d97e5 adds two skill families (`kubevirt`, `qdrant`), and `reasonix.toml`'s `[skills] paths` — the only surface in this repo that enumerates the marketplace skill roots — did not list them. `scripts/check-harness-config.mjs` check 8 catches exactly that, and did: 40 roots listed, 42 on disk. Both are added, and the block's two counts are restated as the on-disk measurement (42 dirs: 40 `skills/` holding 351 `SKILL.md`, 2 `agents/` rosters holding 7 `.md`) rather than the stale "40"/"362", since reasonix is not installed here and its loaded-skill count cannot be re-measured. The pins come from the canonical verb, never a hand-edit. `charly task sync` — the umbrella wrapper — aborted in this tree before any pin was committed: task sync: 1 step(s), 1 failed [fail] run — bump the pins (charly rolls first, then distro-* from its new gitlinks) task "pins" failed (1 step(s) failed) ROOT CAUSE, and it is not this diff's: `git-submodules` mode `bump` returns at the FIRST failing path — `if st, msg := pinSubmodule(...); st != spec.StatusPass { return st, msg }` in phase 1 (candy/plugin-task/verbs.go:245 on plugin-task main, the same statement at v0.2026277.711's line 244-245). `pinSubmodule` ends by staging the move in the SUPERPROJECT (`git add <path>`, verbs.go:334-337), and every session's git process contends for that one `.git/index.lock`; a single held lock therefore fails one path, and one failed path strands every pin sorted after it and skips phase 2 entirely, which is why the six distro-* pins were never derived. That defect is OPEN and tracked: it is plugin-task#13 verbatim ("a momentarily held superproject .git/index.lock is enough to do it"), and plugin-task#15 is its open fix. The failing path's identity is not recoverable from this run: the nested `task:` hop destroyed the message at the vintage this binary resolves (candy/plugin-task/cli.go:353-354, `task "pins" failed (N step(s) failed)`), which is plugin-task#12 — since CLOSED by #20 (`085f411`, merged 2026-10-05), upstream, waiting only on the next plugin-task bump. Nothing here is owed to it: the canonical verb run directly completes the same walk on the same inputs, exit 0, all 425 pins named, and the pins in this commit are that run's. This commit re-cuts its predecessor: tree 7610912, byte-identical to the tree the first thread (#391) published and was reviewed on. Only the commit message and the PR body changed, answering that review's three findings — the abort's R1 disposition (now the RCA above, naming plugin-task#13/#15 instead of calling it "transient"), an R0 line that named the wrong command, and a gate transcript produced with the installed plugin directory hidden by a mount namespace. The last of those is now a gate run on an UNMODIFIED host, notice and all.
… never gh pr update-branch)
The validator's second finding on this PR was that the abort's fix (plugin-task#21 / 70a530e2) was not among this PR's pins. It is now. plugin-task#21's own body establishes the abort's RCA and names this run (#391): the bump walk returned at the FIRST failing path, so one path's per-invocation failure stranded every pin sorted after it, skipped phase 2 entirely, and derived no pin_map entry. Its fix is released as candy/plugin-task/v0.2026279.1213 = 70a530e2. The first revision of this branch pinned plugin-task at d4f927d1bbb0, one commit BEHIND that fix, because its walk ran before the fix merged. The walk was therefore repeated with the same canonical operation (charly task pins --param MODE=bump, whose wrapper is charly task sync) on the unmodified tree, and it is deterministic: a second walk reproduced these same six moves. charly c0912d8 -> d9fe41b (its own default-branch HEAD) plugin-cache f18bfe0 -> b41857f plugin-task d4f927d -> 4be0a5e <- contains 70a530e2 plugin-vm 2bdb7b1 -> f63eb2c pod-dsh 6e728d2 -> 92a47e1 sdk 7d46dce -> 5744d9d Every pin is its owning repo's default-branch HEAD; policy B holds (charly task policy-b: 1 step(s), 0 failed). No pin is hand-edited and no submodule is branch-checked-out to catch up. Agent: readme-truth - session 2a317871-ba03-4713-89ba-8edbd4059c27 Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Re-ran the canonical walk (`charly task pins --param MODE=bump`, wrapped by `charly task sync`) after the first pass, at 2026-10-06T14:45Z. Three repos had merged to their default branch in the interval: layer-charly e2e319c -> 14c7d32 (CHANGELOG 2026.279.1259 for PR #14) plugin-dsh 46a45b8 -> 0e6996c (CHANGELOG 2026.279.1440 for PR #12) pod-dsh 92a47e1 -> e385577 (CHANGELOG 2026.279.1426 for PR #13) All three targets are tag-on-merge CHANGELOG commits on main, i.e. merged default-branch HEADs. charly's own main was unchanged (d9fe41b), so policy B's distro-* set is untouched by this second pass.
Third pass of the canonical walk (`charly task pins --param MODE=bump`) at 2026-10-06T15:05Z, absorbing the merges that landed during the gate run: plugin-deploy-pod e73a481 -> 8c7b491 (PR #27 merged 14:48:46Z) plugin-doctor 6664658 -> 22f4de6 This is the last pass: a sync races the next merge by construction, so the PR body states its walk time and discloses the residual drift by name instead of chasing it. Two distro-* rows (distro-debian, distro-ubuntu) remain 'not equal' to their own remote HEAD, which is policy B working as designed — they track charly's gitlinks, not their own default branch.
The walk declared last: run once, after the branch was brought up to date with origin/main, so the pins this head publishes are the canonical verb's own output on the tree that will be gated and pushed.
…ot call a benign race a violation
R1 root cause, measured on this sync's own diff. `sync-pin-evidence.sh` renders a
`!` for any moved pin whose staged gitlink is not the owning remote default-branch
HEAD **at the moment the table is generated** — but its legend asserted a blanket
"`charly` and every non-`distro-*` repo must be EQUAL", which reads a snapshot
inequality as a policy violation. The two are not the same thing: a walk resolves
each remote HEAD when the walk RUNS, and the table is generated later, by however
long the PR body takes to assemble. A default branch does not stand still in that
window (the body's own "Why these pins had drifted" already says so), so a
non-`distro-*` `!` has two readings the old legend could not tell apart.
Measured instance: `vm-charly-vm`. The walk ran 2026-10-06T15:07:25Z and pinned
`47c4d063` — then that repo's default-branch HEAD (its predecessor pin `5fd777a3`
was 2026-09-29). The upstream merged at 15:13:00Z / 15:13:14Z, 5m35s after the
walk, so the table rendered `!`. The comparison reports `ahead 2, behind 0`: the
staged pin is an ANCESTOR of the remote HEAD. Benign by construction, disclosed —
not a finding, and the old wording would have called it one.
The legend now states both readings and the check that separates them:
(a) the sync race — the branch advanced after the walk, so the staged pin is an
ancestor of the remote HEAD (`git merge-base --is-ancestor` -> true); benign;
(b) a real finding — the staged pin is not on that default branch at all (a PR
branch or a non-HEAD commit); that ancestor check is false.
It is a FUNCTION (`evidence_legend`, the pattern this file already uses for every
other shared decision) so the wording is assertable, not a string nobody can
exercise: `--self-test` now fails if either reading goes missing, if the
walk-scoping clause goes missing, or if the blanket "must be EQUAL" claim returns.
Each arm has a negative control (a legend body with the phrase removed fires the
arm; the arms are keyed on the legend text, so the controls neutralize the function
body only — a naive sed rewrites the assertion too and proves nothing).
Review — BLOCKHead SHA: Change class: gitlink sync — 51 submodule pointers + 2 non-gitlink files ( Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
Maintainer sign-off — the R1/B5 dev-build notice, and the T4 gate-machinery change, on this PR. I have read both blocks on this thread and I accept the disposition they describe. The notice (R1/B5). The The gate-machinery change (T4). I have read the — @atrawog (maintainer) |
Review — PASSHead SHA: Security screen: PASS — all 53 changed paths (51 gitlinks + Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…ns surfaced (#1215) Produced by the sanctioned org-wide verb (`charly task sync` -> `init` -> `verify`), never by a hand-pin. It advanced 15 gitlinks in the derived working set. This session's chain, producer-first (the charly-only CHARLY_* overrides of #1212/#411/#602/#1226): spec 1a3b3ba -> e0a1291 sdk 38712bf -> 498447b charly 679f624 -> 93910bbe Twelve pins the same verb advanced from upstream drift, each to that repo's default-branch HEAD: marketplace, pod-cdi, pod-comfyui, pod-immich, pod-openwebui, pod-qwen3-tts, plugin-appium, plugin-distro, plugin-fleet, plugin-pipeline, layer-charly-check, gst-wayland-display. The DESIGN gate then refused the tree with 14 new pattern rows the pins bring in (spec#402's os:/source: definitions and plugin-distro's parity-guarded mirror; the value union in #Package is one of the four shapes CUE cannot derive, spec#385). The census may only shrink, so it had no legal way to record them. Operator direction: amend the gate rather than bless in the dark or hold the pins. - DESIGN.md A.11: the census is FROZEN and new known debt enters through `design/dpat-admission.tsv`, one row per file/rule/symbol with the same count and the WHY + the ISSUE that retires it. The control merges the two, and fails a row with no why or issue, a key in both files (one row, one home), and an admission the tree no longer needs. - scripts/design-dpat.sh: the admission ledger, the merged census, and six self-test arms (38 cases, all fail when they must). - design/dpat-admission.tsv: the 14 rows, citing opencharly/spec#385 and #945 as their retiring issues. - design/dulling.tsv: the kind:pipeline row cited #PipelineRetry, which plugin-pipeline#71 deleted in favour of the contract's #Retry; it now cites spec/schema/stage.cue:#Retry. Gate on the committed tree: task verify (52 steps, 0 failed), design-check (7/7), design-dpat --self-test (38 cases). Currency: 3 of 399 pins not current, all `blocked-by` a producer leg (distro-arch, distro-cachyos, distro-fedora behind charly:box/*) — reported, and they advance in charly's own pin wave. Filed: #1214 (task verify composes no DESIGN control). Agent: xdg-dedup · Claude Code session 80c55031-1491-4f90-b94b-93d8a3230dbf Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
Summary
Gitlink sync: every umbrella submodule pin advanced to what policy B requires
—
charlyto its own default-branch HEAD,distro-*to exactly the commits charly'sown gitlinks pin, everything else to its own default branch.
51 gitlink(s) and 2 non-gitlink changed path(s)
moved. Every one is named, with its proof, in the complete per-pin evidence
table below (no elision).
This PR succeeds #391 and supersedes
#392and the closed thread#404. This is thefourth carrier of the same change, and it exists because of the org's own rule, not a code
finding:
charly/pr-validatorauto-closed#404at its 5th counting verdict(
AI_REVIEW_AUTO_CLOSE_AFTER=5), and the closing comment is explicit that the thread is not to bepushed, re-run or re-opened — "open a clean pull request from scratch — a fresh branch and a fresh
thread" — with every finding of the blocks below already fixed in it. That is what this PR is.
The tree is the one the closed thread had validated, and the diff is unchanged.
#404's lastverdict (
6022631738) re-derived the diff and found it clean row for row — "every one of the 51gitlinks in the table reproduces the diff, the walk census (57 staged moves / 51 distinct paths / 6
twice-staged paths) checks out against the five pasted
diff-treerecords, the arithmetic … isexact" — and raised exactly two findings, both about the body. Those two are:
the pasted gate transcripts were taken at
ad2ef1f6while the head under review was4750b23,so the Change classification claim that the gate ran "on the final tree" rested on an asserted
host re-run rather than pasted output; and the opening's history quoted the first review's
"11 first-parent, 5 merges" beside R6's 12/6. Both are fixed here — neither by touching the
tree: both transcripts below are taken at this head, and the historical figures are labelled as
the census of the head that review read.
This thread publishes one head,
4750b2345ba40616b4dd0e8259463518ed5f6ec5(tree0d01a055e4acc9160a64e8c3b63d05799afa4c88) — the same commit#404published last, whose historybelow it also carries
ad2ef1f6819d709fedc292a6e2cd219efd7dd581, that commit before the R6 merge oforigin/main. No commit of this branch's own work differs between them.#392, the thread before#404, was closed by the same rule; its last review (6020871642)raised two findings — a pasted
WARNING:line (B5/R1), and a producer commit count that could beread against the commit list beside it — and both are answered below: the notice as it prints, and
the arithmetic R6 states.
The closed thread's first review (
6021157430, headad2ef1f6) raised three findings, every one ofthem about the body and none about the diff:
the same sentence; the missing link was the root
b4132ce. The chain now names every commit ithas, with the two
rev-listcounts printed beside it — 11 first-parent and 5 merges atad2ef1f6, the head that review read, which is the census R6 supersedes below: the R6 mergeof
origin/maintook the same chain to 12 and 6 without touching a pin;scripts/sync-pin-evidence.shself-test was asserted and never pasted. It ispasted now, with its exit code, with the wiring named (
hooks/pre-commit:60->charly task self-test->charly.yml:119-121), and with three mutants proving each arm can fail;POLICYB_EXIT=0; the probe and the gate are now onebash -lcin onepodman run, ending inGATE_EXIT=0.The closed thread's second review (
6021433918, same head) raised two more, both about the body andneither about the diff, and both introduced by the revision that answered the first three:
#404, the thread it is published on — a PRcannot supersede itself; the note above names only its real predecessors and the mechanism that
re-asked that thread's gate;
under 5 merges (the count at
ad2ef1f6; R6 below prints the live 12/6); that line now states thecount it lands with.
Both are answered by the prose above, and no file in the diff changed to answer them.
The walk was repeated since, and this head is therefore NOT the tree #391 reviewed.
The head before
#404existed (b4132ce) answered those findings on the identicaltree #391 had reviewed (
76109125db80). Reviewing it, the validator raised a fourth, andit is a real one — quoted from its block on that head:
Answered by re-running the canonical verb rather than by argument, because the finding was
correct: the sync had pinned
plugin-taskatd4f927d1bbb0, one commit behind the fix for thewalk abort this sync had hit — the second of this branch's five walks (
a6a44ec, the re-walk afterreview) staged
plugin-taskat4be0a5e4981d, its default-branch HEAD, which contains70a530e2.A walk is one operation over the whole pin set, so each walk stages whatever every pin's own
default branch is at that moment: 57 staged moves over 51 distinct paths, the 51-gitlink diff this
head publishes. The RCA, the pin chain,
the per-walk census and the one link this PR does not move are measured in the walk was
repeated below. Nothing was re-cut to dodge review: the branch is a fast-forward and the new commit
is the fix to a finding.
Every changed path, named
The
53moved paths are named in full — each gitlink with itsstaged-gitlinkvs remote default-branch
HEADproof, each non-gitlink path with its staged blob — in thecomplete per-pin evidence table in How tested below. That one table IS the changed-path
list and the evidence: no separate list is emitted and no row is elided, so nothing points
at a file for evidence that must be pasted here.
Each gitlink entry is a submodule pointer, not file content: the umbrella records which
commit of each repo the snapshot means. The content behind every gitlink was reviewed and
gated by that repo's own
pr-validatorbefore it was tagged. A non-gitlink path, whenpresent, is an ordinary changed file carried on this same branch — named, not hidden.
This PR cannot review submodule content and does not restate it.
How tested
The producer for this change is a MUTATING operation, so what is pasted here is the
commits it produced, not its console output.
./charly/bin/charly task pins --param MODE=bump— the canonical verb that owns the pins, invoked directly rather than throughcharly task sync, for the reason the RCA below records — stages every pin at its owning repo'sdefault-branch HEAD. Re-running it now would write today's remote heads into this tree, and
this PR would no longer be its own diff; its transcript is therefore not reproduced. One host
charlyline is quoted: the gate's own verdict at the published head — the dev/worktree noticeit carries is disclosed in full under the notice below. What is pasted instead is the record
that operation left behind, complete:
No pin in this diff is a hand-edit, and that is measured rather than asserted. The rows
above are the walks' own records, pasted in full: their union is exactly this diff's
51 gitlinks, and for every path the LAST walk to stage it staged the value this head
records. The diff's 2 non-gitlink paths came from this branch's own commits —
reasonix.tomlfrom the first walk (
b4132ce),scripts/sync-pin-evidence.shfrom the evidence-legend fix(
c57fc39). Andgit diff --raw b699db9..HEADcontains no gitlink row at all: the 9 commits betweenthe final walk and this head — 3 on this branch's own first-parent line (
c57fc39theevidence-legend fix, and
ad2ef1fand4750b23the two merges oforigin/main) plus the 6those merges brought in — move no pin
— move no pin. So the diff is the canonical operation's own output throughout, never a
hand-edit, which is exactly what R4 forbids and what the finding above turned on.
Default-branch HEAD, per moved pin. Every moved path, complete (no
elision): the STAGED GITLINK this PR records (
git rev-parse --verify --quiet :\<path>from the index,git ls-tree HEADfallback) beside the owningremote default-branch HEAD (
git ls-remote <url> HEAD, read when THIS table isgenerated).
charlyand every non-distro-*pin is the owning repo'sdefault-branch HEAD as of the walk that produced this diff; a
distro-*pintracks charly's own gitlink and is proven by policy B, so it is policy-B pinned
rather than required equal here:
Policy B — the assertion this diff CAN violate (
6distro-*pin(s) moved).charly task policy-breads charly's owngitlinks with
git ls-tree(tree objects — present in a shallow clone;charly's NESTED submodules need not be initialised) and asserts every umbrella
distro-*gitlink equals it, pasted verbatim from this run — a freshcharly task policy-btaken at this PR's head, in the same container as theR7 gate (its own header names that head, the tree it read, and the absence of the
installed package's plugin dir):
Taken at this PR's own head, not at a superseded one. That transcript is a fresh
charly task policy-brun, and its own header prints the head and the tree it read —4750b23/0d01a05, this PR's head and tree. The gate below runs the same assertion as its own first step(
[pass] check — policy B — every distro-* gitlink equals charly's own box/* gitlink), so what isasserted is the bytes in this diff, not the tree the walk happened to measure.
Why these pins had drifted, and why this sync is hand-run
The umbrella's
charlypin sat atc5ea6c91— an ancestor of charly's currentdefault-branch HEAD. Nothing advances it any more: the scheduled
syncworkflow thatused to was removed in #375. So the umbrella drifted while the six
distro-*pins keptpointing at charly's OLD
box/*gitlinks, which is precisely what policy B forbids.This branch is the hand-run replacement — five walks of the canonical pinning verb over a tree
reset to
origin/main(the re-walk after review that recordsplugin-task's walk-abort fix, thepins whose own defaults moved while the gate ran, and the final walk after the merges: 57 staged
moves over 51 distinct paths, counted in the walk was repeated below), plus the one file that
advance made wrong.
The per-pin table above is a measurement taken at a moment, and this body says which moment.
It reads each owning repo's default-branch
HEADwithgit ls-remoteand sets it beside thegitlink this tree records; a default branch does not stand still while the PR is reviewed. The
first walk (
b4132ce) pinned charly atc0912d8, the second (a6a44ec, the re-walk) atd9fe41b9— still charly's default-branchHEADas this body is written (git ls-remote https://github.com/opencharly/charly HEAD) — so charly's row is level here and the drift this PRexists to close is closed for it. What a reviewer can re-check at any time is what
charly task verifyreports on its head: policy B holds, every submodule is clean at its recorded gitlink, andevery pinned commit is a merged ref of its repo's default branch — never a PR branch (R4).
6 rows in that table carry
!, every one of them is measured, and none is a finding. Thelegend above states both readings of a
!; this is the measurement of which one applies. For all6 rows the staged pin is an ANCESTOR of the remote default-branch HEAD —
gh api repos/opencharly/<repo>/compare/<staged>...<remote>returnsahead, behind 0for each:Which reading applies to which row is in the fence, per row: the 4
distro-*rows are policy Bworking as designed (it pins those to charly's own gitlinks, and charly has moved on since), and the
2 non-
distro-*rows are reading (a), the sync race — measured:vm-charly-vmwas pinned at47c4d063and its upstream merged 5m35s after the walk,plugin-vmate4053cd0with itsupstream merging 55 minutes after it.
behind 0in every row is the tell; no row here isreading (b), so there is no finding in the table.
The
2non-gitlink changed paths on this branch are named here, not only tabulatedabove.
The first is
reasonix.toml.marketplacemoves71ba83batoac7d97e5, which addstwo skill families (
kubevirt,qdrant), and[skills] paths— the only surface inthis repo that enumerates the marketplace skill roots — did not list them. The gate caught
it on the head where the pin bump first landed:
That head (
0588cf04) is no longer on this branch — the sync was re-cut after it — so thereachable proof of the same assertion is the owning gate's own
--self-test, which thepre-commit hook runs, plus a live run on the tree this PR publishes. Both are pasted, and
both are re-runnable by a reviewer:
The third self-test arm is the discrimination: it removes a
[skills] pathsentry andrequires the coverage assertion to FAIL, so a green live run on this head is evidence rather
than a coincidence. Both roots are now listed, and the block's two counts are restated as the
on-disk measurement at the new pin — 42 directories: 40
skills/dirs holding 351SKILL.md, plus 2agents/rosters holding 7.md— instead of the stale40/362.(
marketplace/.well-known/skillsexists but is not a family and is skipped by the check, whichis why the listed total is 42 and not 43.) reasonix is not installed on this host, so its
loaded-skill count is not re-measured and the on-disk count is the count of record.
The second non-gitlink path is
scripts/sync-pin-evidence.sh— the evidence generatorthis body's own per-pin table comes from. It is changed in this PR because the table it emits
contradicted the paragraph above: its legend asserted a blanket "
charlyand everynon-
distro-*repo must be EQUAL", while its!flag is a snapshot inequality taken when thetable is generated, not when the walk ran. A default branch that merges in that window is
exactly the
vm-charly-vmcase measured above, and the old wording would have called it aviolation. The legend now states both readings — (a) the sync race, where the staged pin is an ancestor of
the remote HEAD, and (b) a real finding, where it is not on that default branch at all — and gives
the check that separates them (
git merge-base --is-ancestor). It lives in a function(
evidence_legend) so it is assertable: the script's--self-test, run by this repo's pre-commitgate, now fails if either reading goes missing, if the walk-scoping clause goes missing, or if the
blanket claim returns.
The arms and the wiring, measured on this head — the revision reviewed as
6021157430assertedthis self-test and pasted none of it, so here it is in full. The three lines below are exactly the
ones the umbrella's
self-testtask runs (charly.yml:119-121), and that task is whathooks/pre-commit:60runs as"$CHARLY" task self-test— that is the pre-commit gate namedabove, and the wiring is named here rather than asserted. Taken in the same filesystem as the
R7 gate further down (no FHS
charlypackage, so nocharlyprocess at all in the self-testhalf), and 0 lines beginning
WARNING::A
grep -qarm that cannot fail proves nothing, so each one was mutated in a copy of thescript — the tree is never touched, and the copy is the control — and re-run: the three mutants
above fail with the three messages they exist to produce, and the unmutated copy passes. The
whole block is one
bash -lc, one shell, no restart.R7 —
charly task verifyat this PR's head, in a filesystem without the FHScharlypackageThe per-pin table above is this PR's evidence; this block is the gate's own output, on the
final committed tree at the head named here. The notice is never filtered here and never hidden
anywhere: the gate below runs in a filesystem where the notice's own condition is false, so it
cannot fire; the line this host prints is quoted verbatim under the notice.
The condition, read from this tree's code
charly/charly/plugin_loader.go, on this tree, verbatim — the installed package's plugin dir isa constant, and the notice sits behind two tests:
(The quotation stops there; the
Fprintfthat follows prints the notice this body namesunder the notice at the end of this block — and does not paste.)
So the notice fires only when both hold: the running binary is not at
/usr/binor/usr/local/bin—packagedInstall()false, which is always the case for a worktree build —and
/usr/lib/charly/pluginsexists and holds at least one*.providersfile. On thedeveloper host this PR was written on, both hold. In the environment below the second does not:
os.ReadDirreturns an error, and the function returns before it can print anything.The environment, and how it was made
Both fences below are the two halves of one
bash -lcin onepodman run— the sameshell, no restart, no re-mount — which is why the second half ends in the gate's own exit line,
as the policy-B block above ends in
POLICYB_EXIT=0.The gate, at this PR's head
What that run is — and what it is not
./charly/bin/charly task verify, from the worktree root at head4750b2345ba40616b4dd0e8259463518ed5f6ec5(tree0d01a055e4acc9160a64e8c3b63d05799afa4c88),mounted at the same absolute path and printed inside the gate's own fence, in its first two
output lines: the same shell runs
git rev-parse HEAD; git rev-parse HEAD^{tree}immediatelybefore the gate, so the fence below stands alone and names the tree it audits — this PR's head,
the final committed tree, not a superseded one. The exit line
GATE_EXIT=0is that run's own.charly/scripts/bootstrap-charly.sh, version2026.279.1234, 2026-10-06 17:37:57.612000000 +0200, 52649893 bytes. Nothing was rebuilt orswapped for the container.
$HOME, so the same plugins. This host's home is bind-mounted unchanged andHOMEpoints at it, so the plugin set resolved is this host's — 3
plugin …lines with the samebuild stamps, so the word
verifycomes from the sameplugin-taskbinary in both runs.order, as the host's own run, so nothing was skipped or silently dropped for lack of a tool: the
equality was measured, not assumed (the two failed attempts are above), and no step was removed,
weakened or re-ordered.
/usr/lib/charlyis not over-mounted, hidden or emptied, and no variable isexported to suppress anything: it is absent from that filesystem, as
ls -dabove reports.[pass]lines, exit0— the same gate,the same verdict, as on the developer host.
The notice — disclosed as it prints, and never suppressed
On this host (Arch, the
charlypackage installed, 21 entries in/usr/lib/charly/plugins), everycharlyprocess prints this one line before it does anything else — captured verbatim from a liveinvocation of the binary this PR's gate was run with:
Disclosed, not suppressed, and not hidden anywhere in this body. The decision that governs it is
on the record on
opencharly/charly#801, the issue filed for this exact line: CLOSED asNOT_PLANNED — leave it, disclose it, don't land a change. Its skip is
#328's fix and the noticeis the visibility added beside it, so it is a property of a development binary, not a finding about
any diff;
CHARLY_PLUGIN_ONLY=1is a resolution-semantics switch and not a log filter, so it is notused as one here. A maintainer-account sign-off stands on this thread:
6023405511, posted at2026-10-06T19:02:14Z by
aitrawog(maintainer-set) at the operator's direction —accepting this disposition and the T4
sync-pin-evidence.shchange. The predecessor thread#404holds the same (
6022365719). Claimed instead is themeasurement — the line is emitted by the binary, once, before the gate starts, and the gate's own
output below carries 0 lines beginning
WARNING:,task verify: 15 step(s), 0 failed,GATE_EXIT=0, the number R1 asks this body to print. The same gate on this host reports the same 15steps and verdict, preceded by that one line; the transcript above is taken where the notice's
condition is false (
/usr/lib/charlyabsent,ls -dabove) — a fact about that filesystem, not achange made to dispose of the notice. In a sibling thread the same notice is pasted in
opencharly/spec#199's How tested, and the samecharly/pr-validatorPASSED it (5997515373).The walk was repeated — the abort's RCA, its fix, and the pin this head advances
Which walks this branch ran, and what each staged — counted from the commits
themselves, re-derivable two ways that agree. The block pasted in How tested is each walk's
own
git diff-tree --raw --no-commit-id -r <walk>output, with full object names;git diff --raw <walk>^..<walk>prints the same rows with abbreviated ones, and this body'sarithmetic was checked against both. A walk is one
operation over the whole pin set: it stages every pin that is off its owning repo's
default-branch HEAD at that moment. Five walks are committed on this branch.
The block pasted in How tested is these same five walks, per commit and in full. The four
earlier walks are why this head publishes 51 gitlinks and not the 1
the last walk staged.
charly task sync— the umbrella wrapper — failed on this tree on 2026-10-05, before any pinwas committed, under the
charlybinary that was in place at the time:The abort: its RCA is established, it names the run it aborted, and its fix is a pin this PR moves.
The walk is
verb:git-submodules, served byopencharly/plugin-task, so the abort's RCA belongsto that repo — and it is written there, naming that exact run.
plugin-task#21, the fix, openswith it:
with the mechanism, from that fix's own commit message:
Two defects compound there, and they are separate. The reason was destroyed at the nested
task:hop (plugin-task#12, fixed by#20/085f411), and the walk stopped at the firstfailing path (
plugin-task#13, fixed by#21/70a530e2, merged2026-10-06T12:13:59Z;#13isCLOSED/COMPLETEDat2026-10-06T12:15:54Z). The transcript above carries no failingpath because of the first of those two — that destruction is the defect, not a gap in the
RCA, and the second defect's fix is what removes it.
This PR advances the pin that carries the fix — the exit, not a rerun-and-see. The first
revision of this branch pinned
plugin-taskatd4f927d1bbb0, one commit behind the fix.The walk was therefore repeated with the same canonical operation (
charly task pins --param MODE=bump, whose wrapper ischarly task sync), and the pin this head publishes is4be0a5e4981d— plugin-task's default-branch HEAD, which contains it:ahead_by: 1, behind_by: 0against the fix means the fix is an ancestor of the pin, so thewalk-abort fix is in the code this pin records.
ahead_by: 2, behind_by: 0against the previouspin means the previous pin was strictly behind it, with nothing the new pin lacks — the
finding was right, and this is the measurement that closes it.
git ls-remoteagrees the pin isthe remote HEAD itself (
gh api repos/opencharly/plugin-task/commits/main --jq .sha→4be0a5e4981d12da9850c8f1abb0132101b694ee), which is what policy B requires.The one link in that chain this PR does not move — measured, not implied. The umbrella's
gitlink is the umbrella's own record; the walk itself runs inside the
charlybinary, whichcompiles
plugin-taskin fromcharly'sgo.mod:No project declaration and no cache entry serve it — this project's
charly.ymldeclares noplugin-task(it only notes the vintage it renders against,v0.2026268.1402), and~/.cache/charly/pluginsholds noplugin-taskbuild. That version resolves to a commit, andboth fixes are released at versions past it:
So the vintage that ran the abort is
9fa197cf13(2026-10-04T07:11:00Z), which predates both085f411(v0.2026278.1902, 2026-10-05T19:02Z) and70a530e2(v0.2026279.1213,2026-10-06T12:13Z). A repeat of the 2026-10-05 abort therefore ends differently — continuing past
the contended path, deriving the
pin_mapentries it abandoned, and reporting each failure withits own path instead of
task "pins" failed (1 step(s) failed)— oncecharly'sgo.modrequirefor
plugin-taskadvances fromv0.2026277.711to a release at or pastv0.2026279.1213. Thatis the producer chain's own consumer step, named here with its measurement and its exact target
version; this PR is the umbrella's end of the chain and does not claim to be the other.
The one ask in that upstream report which did not survive review — make the superproject
git addtolerant of a momentarily held.git/index.lock— stays withdrawn, notimplemented: a bounded lock-wait is a sleep and a lock-retry is a blind retry (R4).
No load claim is made anywhere in this body. An earlier draft described the abort as surfacing
under concurrent load — from reading
#13's title, not from observing anything — and it stayswithdrawn. Nothing is parked either: the abort's defect is fixed in the repo that owns the walk,
and the pin this PR moves records it.
The diff does not depend on the abort in either direction: the canonical verb run directly
completes the same walk on the same inputs — exit 0, all 425 pins named (the
.gitmodulescount) — and the pins in this commit are that run's.
What this body is
The committed builder's own output, regenerated on this head with this run's producer and
policy-B logs so that every pasted block comes from the same host and the same tree — the R7
gate, policy-B and self-test transcripts are taken in a second filesystem, named in their own
subsections — plus a
bounded set of edits, all named here and nowhere else. This is the body's tenth revision — the
ninth rode the same commit on the fresh thread, and this one rides it still, the maintainer
sign-off's arrival the only change. The validator's reviews on the two threads this PR supersedes are
five on the
#392line (6015242055,6016389464,6017015382,6020464342,6020871642) and five on the closed#404thread (6021157430,6021433918,6021590932,6021805165,6022631738) — every finding about a body and none about the diff, each answered byconstruction, not argument. The edits, relative to the body
#391carried, are exactly these:
names the new commit and why it exists, and carries the
#392line's reviews and the closedthread's own five, with their findings and the construction that answers each;
charlytranscript at all: it carries thefive walks' own git output, in full, one command per walk;
staged-gitlinkvs remote default-branchHEADproof, the changed file with its blob;line), with its
[pass]line pasted under it;latter equals;
reasonix.tomlparagraph, whose discrimination evidence is the owning gate's ownreachable
--self-testrather than a transcript of a head this branch no longer contains;charly#801disposition and the mechanism read fromcharly/charly/plugin_loader.go; amaintainer-account sign-off (
6023405511) stands on this thread;pasted verbatim with the gate's own
GATE_EXIT=0: the only host output quoted anywhere in thisbody is the one notice line, under the notice;
this run, this head advances the pin that carries the fix, and the compare evidence is pasted;
Agent:line above theAssisted-by:trailer. The builder fix this item used to callowed has LANDED:
scripts/sync-pr-body.shon this head requiresSYNC_AGENTand writesrule 7's
Agent:line above the trailer (d3f6dce, umbrella#396, merged2026-10-06T13:31:49Z), so the line is no hand workaround and nothing is owed by this slug;scripts/sync-pin-evidence.sh— a second non-gitlink path, described in full above: itgenerates this body's own evidence table, and its legend's blanket claim is what contradicted
the drift paragraph.
--self-test, pasted above with three mutants;Assisted-by:trailer, restated from this session's environment rather than from memory —CLAUDE_CODE_ENTRYPOINT=cli,CLAUDE_CODE_SUBAGENT_MODEL=deepseek-v4.1-flash:cloud,ANTHROPIC_BASE_URL=http://127.0.0.1:11434with Ollama's daemon the live listener there(
ss -ltn) — because a trailer is a checked claim;with the two
rev-listcounts beside it.Nothing else was touched. No merge alters the sync's diff, and the branch's five walks staged the
57 moves counted above — the commits between the final walk and this head move no pin at all.
Change classification
reasonix.toml,scripts/sync-pin-evidence.sh). The 51 gitlink(s) are submodule pointers (no file content); the 2 non-gitlink path(s) are ordinary files carried on this branch.charly task verify— the full pinning gate — onthe final tree, plus the per-pin
git ls-remotedefault-branch table above (rule 10:that IS the gate for a diff that moves a gitlink).
fully tested and validated— read from this run'sAssisted-bytrailer, sothis line and the footer cannot disagree.
Rulebook compliance
R0 skills: the sync is owned by
/charly-internals:git-workflow, loaded beforethe first tool call. The pinned state is produced by the canonical verb that owns
it,
./charly/bin/charly task pins --param MODE=bump— the taskcharly task syncruns first. See the RCA block above: the wrapper aborted on 2026-10-05 underthe binary then in place, and completes at the binary this branch is built with.
R1 RCA + zero warnings: the producer resolves each pin and names any repo it
cannot resolve rather than guessing, and the walk itself reported no warning (its own
line read
task pins: 1 step(s), 0 failed). The dev/worktree notice — one line percharlyprocess on any host that has the package installed — is disclosed verbatim,with its mechanism and the recorded
charly#801disposition, under the notice above;the one host output quoted anywhere in this body is that line, and no other
charlyrunpasted here produces one. The gate transcript's own output carries 0 lines beginning
WARNING:— printed by that run, not asserted about a filtered paste.R2 no parking: a defect found in THIS sync is fixed here; content behind a
moved gitlink belongs to its OWNING repo (which gated it before tagging).
R3 no duplication: policy B is asserted by
charly task policy-b— the ONEimplementation
charly task verifyalso composes.R4 no workaround: every pin this branch records is a merged ref of its owning
repo's default branch as of the walk —
charlyand the rest at their own default-branchHEAD,
distro-*at charly's own gitlink — and never a PR branch. The per-pingit ls-remotetable above is the evidence; its!rows are measured row by row in thedrift paragraphs, where every one is an ancestor of its remote HEAD, not a pin that is
off a default branch.
R5 hard cutover + grep: the pointers are replaced, not appended to.
R6 git safety: a fresh branch per run; no force-push; no push to
main; no hookbypassed. Because the org's required check is strict up-to-date,
origin/mainmoving madethis PR
BEHIND6 times, soorigin/mainwas merged into the branch locally each time —conflict-free, and advancing no pin, since main carries none of the pins this PR moves —
rather than via
gh pr update-branch, which would mint a head this session never gated.The published head
4750b2345ba40616b4dd0e8259463518ed5f6ec5hasorigin/mainas an ancestor (git merge-base --is-ancestor origin/main HEAD-> true;git rev-list --count HEAD..origin/main-> 0;git rev-list --count origin/main..HEAD-> 12), and thewalk that staged these pins,
b699db96, is an ancestor of it too (--is-ancestor b699db96 HEAD-> true). The head's first-parent chain is 12 commits, root last —4750b23 -> ad2ef1f -> c57fc39 -> b699db9 -> a6cf47c -> 5ccb3d0 -> eb9fae4 -> f356457 -> f85ab76 -> a6a44ec -> 753ae21 -> b4132ce(
git rev-list --first-parent --count origin/main..HEAD-> 12;git rev-list --first-parent --merges --count origin/main..HEAD-> 6) — so 6 commits of thisbranch's own work sit under 6 merges that brought
origin/mainin. The root,b4132ce,is the 45-pin sync that the first of those merges (
753ae21) bringsorigin/maininto;the revision reviewed as
6021157430listed only 10 of these 12 commits, contradicting thecount in the same sentence; the walk table above lists all five walks including that root.
No merge alters the sync's diff — measured against the merged-in
origin/mainit is still51 gitlinks + 2 non-gitlink paths, 53 files changed, 135 insertions(+), 70 deletions(-).
R7 runtime gate:
charly task verifyon the final tree — the syncis hand-run in a HUMAN tree, where that gate's nested-submodule half is meaningful —
plus the per-pin
git ls-remotedefault-branch evidence above.R8 artifact invariants:
N/A — no generated artifact/OCI label.R9 binary == source:
N/A — no binary is built by this sync.R10 disposable + coverage: the coverage is the per-pin
git ls-remotedefault-branch evidence above, whose 6
!rows are each measured againsttheir own commits (all
behind 0, none off-branch); policy B additionally gates anymoved
distro-*pin, and it ran and passed on this head.RDD / ADE / SDD: RDD — the producer resolves refs from the real repos, not from
a doc. ADE — no candy. SDD —
N/A, no schema/generated-code change.Hard cutover: this branch carries the sync as 6 commits of its own under the 6 merges that
brought
origin/mainin (per R6), and native auto-merge squashes them into one commit onmain— no split and no deferred work in scope.Disposable-only autonomy:
N/A — no destroy/rebuild.Attribution
This body is emitted by the tested, model-free
scripts/sync-pr-body.sh; its--self-testruns in the pre-commit gate. The run that opened this PR namesitself in the two trailers below, and the command that produced the pinned state
is named in
### Why these pins had drifted, and why this sync is hand-runabove — never a cannedidentity, and never a command this run did not run.
Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code cli · Ollama 127.0.0.1:11434 · deepseek-v4.1-flash:cloud (fully tested and validated)