Skip to content

feat(pins): give charly the pin operation it never had, advance the five stale box/* gitlinks, and bump plugin-task to the currency-capable tag - #961

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/box-pin-wave
Oct 16, 2026

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Closes #936
Closes #942

Summary

This repo had no owner for its own box/* gitlinks, and this change gives it one — then uses it. The umbrella pins each distro-* FROM this repo's nested box/* gitlinks (pinned_from: charly + pin_map), so the value every consumer records IS the gitlink recorded here; nothing here could advance them, which is why five of six consumer pins were unreachable by any command in either repo (#936, #942).

Three parts, one cutover:

  1. charly.yml gains the pin operation — pins (the one definition, mode via param) with sync as its named advance entry point. The six box/* are leaves (branch = main in .gitmodules, landed as d72c0063), so their intent is upstream:main judged against the remote, and there is deliberately no pin_map here: this repo declares no derived edge of its own.
  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.
  3. plugin-task v0.2026283.105 → v0.2026288.804 — because the surface this change adds ships MODE=currency and the pinned version predates that mode: without the bump the new task's own decisive mode cannot run (opencharly/charly#956, filed from the consumer side, is the same defect seen from the umbrella).

Test coverage ships with it: check-task — the declared R10 witness of the compiled-in charly task surface — is extended in this commit so it goes RED without the change. It now asserts both new tasks are declared, and it composes the new pins task's plan through verb:task, i.e. through the compiled-in plugin-task provider the third part bumps.

How tested

The change class, read from the matrix that owns it

Three parts, and the R10 matrix (/charly-check:check, references/beds-and-r10.md — the owner's reference file, not its SKILL.md index) assigns each:

  • the charly.yml surface and its witness → the config class: pre-flight charly box validate, then "Build + run a bed that composes the changed entity";
  • the plugin-task bump → the charly Go code class: "a Go module dependency-pin adoption whose runtime effect is the COMPILED-IN plugins charly loads in-process" (the class check-wave-pins' own comment states) → this repo's core gate: go vet ./..., go test ./..., and the R9 worktree-local build;
  • the five box/* bumps → the matrix's bump clause: "a bump integrating submodule code is a code class, at a runtime tier" → the currency reading and the composed-box differential below.

Which bed composes the changed entity — and why it is check-task and not check-wave-pins. My plugin-task bump is exercised by verb:task, whose provider IS candy/plugin-task; check-task is the declared witness of that surface. check-wave-pins (the wave's declared gate) names plugin-build, plugin-vm and sdk in its three steps and touches neither plugin-task nor anything this change moves — and it is red for a measured, non-causal reason anyway (charly#958: it greps v0.2026286.1121/v0.2026286.856 while the graph carries v0.2026287.2220/v0.2026287.2356, identical at both ends of any advance).

The pin operation, live, on the surface this change adds

# head 503d7596 (git rev-parse HEAD), tree 129744b57fb491019c804fd4e1ea1d959f1124ab
# the head was re-keyed by a message-only amend before the first push (no force-push: the
# branch had never been pushed). One command whose output would differ if either paste came
# from another tree:
$ git rev-parse 503d7596^{tree} 129744b57fb491019c804fd4e1ea1d959f1124ab^{tree}
129744b57fb491019c804fd4e1ea1d959f1124ab
129744b57fb491019c804fd4e1ea1d959f1124ab
$ bin/charly version
2026.289.0649

# BEFORE — the first use of the surface this change adds
$ bin/charly task pins -p MODE=currency
task pins: 1 step(s), 0 failed
  [pass] run — run git-submodules in the selected mode
      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)
rc=0

# THE ADVANCE — the new named entry point
$ bin/charly task sync
task sync: 1 step(s), 0 failed
  [pass] run — advance the box/* pins to the refs their intent names
      ran 1 task(s), 0 step(s) failed
rc=0

# AFTER — the same binary, on the committed tree
$ bin/charly task pins -p MODE=currency
task pins: 1 step(s), 0 failed
  [pass] run — run git-submodules in the selected mode
      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
rc=0

git diff --cached --numstat before the commit: 5 files, 1 insertion / 1 deletion each — one gitlink per row, no elision.

Every changed path, with its intent

path         intent                            before        after         served remote main
box/arch     upstream:main (.gitmodules)       395a5830286d  d6e0aac72b51  d6e0aac72b51
box/cachyos  upstream:main (.gitmodules)       673b1b6b90ab  44f0d6e17ee7  44f0d6e17ee7
box/debian   upstream:main (.gitmodules)       c788ce694a06  9a06ceef6a03  9a06ceef6a03
box/fedora   upstream:main (.gitmodules)       8c6294797cd5  58d918c4ab0d  58d918c4ab0d
box/omarchy  upstream:main (.gitmodules)       6ecfbbcec040  6ecfbbcec040  6ecfbbcec040   (already cur — NOT moved)
box/ubuntu   upstream:main (.gitmodules)       d2922298e9c0  8da2404d9105  8da2404d9105
non-gitlink  charly.yml (+60), charly/go.mod (plugin-task), charly/go.sum

★ The composition proof — and the instrument that had to be fixed before it meant anything

The reconnaissance flagged this as not order-free: all six box/* manifests are referenced from within this repo, and the from: chains cross namespaces (from: cachyos-vm, from: cachyos-gpu-vm, from: omarchy-jetkvm-install-host, from: arch). Proving what the committed tree composes needed a differential, and the first differential I ran was a false positive I caught with a control:

$ # two generations, SAME pins, one minute apart — the base tag moves with the clock
run 1: 5cf0525191b2462b   ARG BASE_IMAGE=ghcr.io/opencharly/arch:2026.289.1133
run 2: b1cfca4f4f5a2bd9   ARG BASE_IMAGE=ghcr.io/opencharly/arch:2026.289.1139

So the auto tag is wall-clock-derived and a Containerfile hash is not an instrument for pin work. The instrument used instead derives its mask from a same-state pair, and only then compares across states — same binary, same flags, before-state in a checkout whose submodules sit at the recorded gitlinks:

$ # mask DERIVED from two same-state runs: exactly one line differs, in one box
### cachyos.arch.arch-builder
3c3
< ARG BASE_IMAGE=ghcr.io/opencharly/arch:2026.289.1144
---
> ARG BASE_IMAGE=ghcr.io/opencharly/arch:2026.289.1148

$ # BEFORE (old pins) vs AFTER (this commit), masked with exactly that line
  cachyos.cachyos:            IDENTICAL (masked)  bytes=4580
  cachyos.arch.arch:          IDENTICAL (masked)  bytes=1864
  cachyos.arch.arch-builder:  IDENTICAL (masked)  bytes=15418

$ # the content-derived label is identical on both sides (it is NOT time-derived)
LABEL ai.opencharly.candy_version='{"github.com/opencharly/layer-build-toolchain":"v2026.271.1840","github.com/opencharly/layer-nodejs":"v2026.272.0322","github.com/opencharly/layer-pixi":"v2026.272.0440","github.com/opencharly/layer-yay":"v2026.272.0425"}'

$ # and the composed SET is the same on both sides — which is the crossing, confirmed
cachyos.arch.arch  cachyos.arch.arch-builder  cachyos.cachyos      (before)
cachyos.arch.arch  cachyos.arch.arch-builder  cachyos.cachyos      (after)

Reading: the advance moves nothing in the composed Containerfiles — same boxes, same candy-version label, byte-identical once the clock-derived line is masked — and the crossing is real and now named: generating cachyos.cachyos composes cachyos.arch.arch and cachyos.arch.arch-builder, i.e. the cachyos namespace reaches into arch's base boxes.

The class's gate on the committed tree

$ bin/charly box validate
charly box validate: OK — checked 602 candies, 122 boxes, 48 deploys, 7 distros, 7 builders; 0 warnings, 0 errors
rc=0
$ bin/charly check run check-task
charly check run check-task: [deploy-add] PASS after 4m26.311s
charly check run check-task: [bring-up-members] PASS after 2ms
charly check run check-task: [check-live] PASS after 7m11.012s
charly check run check-task: [update] PASS after 3m48.169s
charly check run check-task: [cleanup] PASS after 55.469s
charly check run check-task: [cleanup-members] PASS after 0s
charly check run check-task: PASS (steps=6)
rc=0

That is the full R10 sequence (deploy -> check live -> fresh update -> teardown) on a disposable: true host-local deploy. Its checks, verbatim from check-live.log — the first two are the lines this change adds or extends, the rest are the surface's pre-existing arms:

  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 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]  ran 1 task(s), 0 step(s) failed
9 steps: 9 passed, 0 failed, 0 skipped

task-list-declared is the step extended here: it asserts both new tasks are declared (MODE=currency asks whether every pin is at the ref its intent names and Advance this repo's own box/* gitlinks — strings only those two task entities can print), so it goes red the moment the surface is absent. task-pins-verb-runs composes the new task's plan through verb:task — i.e. through the compiled-in candy/plugin-task provider that part three bumps.

$ # from charly/ — the module dir, per charly/AGENTS.md ("never run bare module-wide Go
$ # commands from the superproject"); the plugin-task bump is a Go module change
$ GOWORK=off go vet ./...
rc=0
$ GOWORK=off go test ./...
ok  	github.com/opencharly/charly/charly	411.298s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	132.527s
rc=0

Change classification

  • Change class: mixed, and the union of its classes' gates is what ran above — a config change to this repo's maintenance surface (charly.yml, the kind:task surface + its witness bed), a Go module pin adoption (plugin-task, compiled in), and five submodule pointer bumps integrating code (the matrix's own clause). charly box validate was the pre-flight; the bed that composes the changed entities ran; this repo's core Go gate and the R9 build ran.
  • Attribution tier: fully tested and validated — the class's gates ran on the committed tree and the changed paths executed live: the new task surface ran (currency before/after + the advance), the bed that witnesses it composed a declared task through the very provider this change bumps, and the composed boxes were re-generated and compared.
  • Not touched: opencharly/opencharly#492 (another author's umbrella pin-sync PR) — no shared path: it moves umbrella gitlinks (plugin-*, layer-*) and scripts/sync-pr-body.sh; this moves this repo's own charly.yml, go.mod/go.sum and box/* gitlinks.
  • Breaking change + rollback: none — a revert restores the previous surface and pins.
  • Producer-first, and what follows: with these five gitlinks current, the umbrella's distro-* pins become advanceable through its own charly task sync. That consumer leg is separate by construction, and hand-pinning distro-* would break the traceability this change exists to restore.

Rulebook compliance

  • R0 — /charly-internals:git-workflow (pinning/umbrella mechanics), /charly-check:check and its owner's matrix file, /charly-internals:skills; this repo's own rulebook (charly/AGENTS.md) read first, per Part II refactor(charly): P1 lint/dead/dup rewrite + concurrency & correctness fixes #4, including its R9/core-gate section.
  • R1 — every number is a command's own output with its own rc. Four things are reported rather than smoothed: the check-wave-pins staleness (charly#958) and that it is not causal here; the roster panic (plugin-check#121); the plugin-task predating currency (charly#956), fixed in this change rather than described; and the time-derived auto tag, which invalidated my first composition differential and is what that instrument had to be rebuilt around.
  • R2 — one canonical pin definition (pins); sync only selects its mode. Nothing was hand-pinned, and no second mechanism was introduced.
  • R3 — no workaround: the pin movement went through the verb the umbrella already uses; the plugin-task bump is the producer-first fix for a mode the surface needs, not a bypass of it; and the freshness check was honoured by placing the R9 binary in the checkout rather than skipping it.
  • R4 — no prose routes around a defect. Every documented command used is charly's own.
  • R5 — nothing legacy is renamed; the change adds a surface and advances pins.
  • R6 — git status was clean before the sync and at the head; the work ran in a dedicated single-owned worktree; no checkout was moved by hand (the sync moved them); no force-push, no bypass, no direct-main push.
  • R7 — the coverage fails without the change: check-task's two new declared-task assertions and its new verb:task composition step exist only because of this change. The pin movement's own artifact (the recorded gitlinks) was validated at its boundary by the currency reading after the advance with the same binary.
  • R8 — no boundary crossing a real service is mocked: the reading's git ls-remote is a read against a Git remote, and the bed's host: local deploy is explicitly disposable: true.
  • R9 — the CalVer-stamped, worktree-local binary was built with scripts/bootstrap-charly.sh in this worktree, invoked through its bin/, and bin/charly version → 2026.289.0649 (the CHANGELOG name of the merged main it was built from).
  • R10 — the class's gate, by name, on the committed tree 503d7596: charly box validate, check run check-task, the new task's own live run, this repo's core Go gate, and the R9 build.
  • HC — one coherent cutover: the surface, its first use, the mode it needs, and its witness all land together, with no deferred half inside the scope.
  • Part II docs: adopt PR templates across submodules + pr-validator security hardening #3 — every pin judged by intent; the leaves are judged against their remotes; currency is the question asked, not consistency.
  • Part II chore: bump pkg/arch → #commit-pinned PKGBUILD #7 / COORD — CLAIM posted on #936 with the operator's freeing of the scope stated as theirs, and the composition proof recorded as in-scope.

Filed issues

  • opencharly/charly#956 — the pinned plugin-task predated currency, so the umbrella's own task pins MODE=currency could not run on a fresh clone. Fixed in this change (the bump), which is why it is no longer merely filed.
  • opencharly/charly#958 — check-wave-pins, the wave's declared R10 gate, cannot gate: its qualified invocation cannot resolve its from: template, and its wp-pins expectations are a wave stale (red identically at both ends of an advance).
  • opencharly/plugin-check#121 — check-roster panics and returns rc=2, the code reserved for "checks FAILED", naming no bed.
  • opencharly/opencharly#506 — the tier/matrix question for a currency-clean pin wave, filed with the measurement that no bed in the umbrella can read its advanced gitlinks.

What I could not do

distro-ubuntu was reported by the brief as having no landed producer and therefore staying a blocked-by. Measured, that premise is false for this pin's intent. Its main landed #36 and #39 (a GitHub-runner VM candy + its R10 bed, and its extraction into a KubeViz entity), so the recorded gitlink is an ancestor of main and the reading calls it behind — "an advance available NOW", Part II #3. It is therefore advanced here, with the correction stated rather than inherited; if the intent was to hold it, that is a one-line revert of that gitlink and I will take the correction.

Agent: umbrella-pin-sync

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

…e five box/* gitlinks, and bump plugin-task to the currency-capable tag

Nothing in this repo owned advancing its own box/* gitlinks, while the umbrella pins each
distro-* FROM them (pinned_from: charly + pin_map) — so five of six consumer pins could not be
advanced by any command in either repo (#936, #942). This adds the missing
owner: `pins` (the one definition, mode via param) with `sync` as its named advance entry
point, and the six box/* are LEAVES (`branch = main`, landed as d72c006) judged against the
remote, with no pin_map here because this repo declares no derived edge of its own.

The same cutover uses it: `charly task sync` advances box/{arch,cachyos,debian,fedora,ubuntu}
to the refs their intent names, and `MODE=currency` goes from "5 of 6 NOT current" to
"0 of 6 NOT current [6 cur]". Nothing was hand-pinned.

plugin-task moves v0.2026283.105 -> v0.2026288.804 because the surface this change adds ships
MODE=currency, and the pinned version predates that mode (#956): without the
bump the new task's own decisive mode cannot run.

check-task — the declared R10 witness of the compiled-in task surface — is extended in the same
commit so it goes RED without this change: it now asserts both new tasks are declared, and
composes the new `pins` task's plan through verb:task. It PASSED 9/9 on this tree, including the
fresh [update] step.

Closes #936
Closes #942

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 503d759654d1740b62c12ebeff5281e967a178b7 (branch: feat/box-pin-wave)

Security screen: PASS — no embedded directives, secrets, exfiltration, weakened guardrails, or description↔diff scope mismatch; the 5 gitlink SHAs, plugin-task bump, and charly.yml tasks all match the body's accounting (8 files = 5 gitlinks + charly.yml + go.mod + go.sum).

Checklist: All applicable rules PASS or NA — config + Go-dep-pin + submodule-bump change class; R10 witness check-task ran a fresh update on a disposable: true target with pasted per-step output and its new contains/task-pins-verb-runs steps fail without the change; the non-causal red gates are filed (charly#958, plugin-check#121); placement is config/consumer-side (no capability into core, no alias/kit import); the body ends with the Assisted-by: line.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 16, 2026 12:30
@github-actions
github-actions Bot merged commit 04ec38a into main Oct 16, 2026
2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 16, 2026
github-actions Bot pushed a commit to opencharly/opencharly that referenced this pull request Oct 16, 2026
… current, and roll charly (#509)

opencharly/charly#961 landed the five box/* gitlinks; the umbrella's distro-* pins are EDGES
that mirror them, so the producer moving makes the edges lag their source and their state
behind - an advance available NOW. One atomic task sync does both halves (charly rolls first,
then the pin_map re-pins the six distro-* from its new gitlinks), so the edge is never left
half-updated.

Staged: charly (be0f7a04fd -> 7fb93ab0) and distro-{arch,cachyos,debian,fedora,ubuntu}.
distro-omarchy is already consistent with its source and did not move. Nothing was hand-pinned.

The currency reading goes from [1 behind, 5 blocked-by charly:box/*, 409 cur, 14 differs] to
[414 cur, 15 differs] - no behind, no blocked-by, "producer-first legs: none reachable from
this repo". task verify is RED on two harness-config steps for a cause proved independent of
this diff (an empty marketplace/ defeats the derivation's guard) and filed as #508.

Closes #507

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

Co-authored-by: Andreas Trawoeger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants