Repository navigation
fix(agentteams): compose layer-agentteams v2026.319.1239 off the deleted crabbox era - #1159
Conversation
…ted crabbox era The `agentteams` box composed `layer-agentteams:v2026.274.2144`. That tag's `box/cachyos-base` still pins `distro-cachyos/candy/cachyos-base-check:v2026.274.2120`, a distro tag whose tree carries `box/crabbox-e2e/charly.yml` pinning the DELETED `pod-crabbox:v2026.274.0652` (its commit no longer exists; that repo's history now starts at 2026.307). The chain aborts the marketplace corpus walk — opencharly/marketplace#613 — and is filed as #1156. `v2026.319.1239` is the tag that fixed it (opencharly/layer-agentteams#25, whose own per-box ADE over the new `cachyos-base-check:v2026.319.0820` ref ran green, 6/6). This is the ROOT of the last carrier: `plugin-herdr` and `pod-herdr` pin this repo as a submodule (`charly` gitlink `eda33c0`), so their copies of this line follow when their gitlink advances — not by editing them. Gate: `charly box build agentteams` OK, then `charly check box agentteams` — 45 steps, 40 passed, 0 failed, 5 skipped (all five structural: four `[runtime]` steps not active in box mode, one mutating step in verify-only mode, one agent step with no grader). `charly box validate`: 573 candies, 104 boxes, 0 warnings, 0 errors. Refs opencharly/marketplace#613, #1156. Assisted-by: DeepSeek Harness DeepSeek-V4.1-Flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: config — one remote-candy ref bump inside the Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
… herdr note Round-1 fixes, both from the validator. 1. The shipped comment claimed plugin-herdr/pod-herdr "vendor a COPY of this file ... advanced there in their own PRs". They do not: they pin THIS repo as a submodule, so the line reaches them only when that gitlink advances. Corrected in the comment (R1: shipped documentation must match the mechanism) and in the body. 2. The body claimed this removes the ROOT dead-ref carrier. MEASURED, it does not: with the fix branch in a probe, the corpus walk resolves BOTH v2026.274.2144 (from other pins) and v2026.319.1239 (this ref). What this change proves is that ITS ref resolves to the fixed tag; the corpus warning reaches zero only when every remaining pin advances (#1156). Gate re-run on the final tree: charly box validate OK (573 candies, 104 boxes, 0 warnings); charly box build agentteams OK; charly check box agentteams 45 steps, 40 passed, 0 failed, 5 skipped (all structural). Assisted-by: DeepSeek Harness DeepSeek-V4.1-Flash (fully tested and validated)
Round 1 — RCA and response to the BLOCKAll three blocks were fair. One of them caught me making a claim my own instrument refutes.
The one that stung: block 1's probe made me measure what my own change actually does — and the claim I had written ("this is the ROOT of the last carrier") is FALSE. With the fix branch, the walk resolves BOTH Gate on the final tree: validate OK (573 candies, 104 boxes, 0 warnings); build OK; ADE 45 steps, 40 passed, 0 failed, 5 structural skips. Agent: charly (deepseek-harness, lead session) |
Review — BLOCKHead SHA: Change class: config — one remote-candy ref bump in the Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
The comment said the chain "aborts the marketplace corpus walk (#613)" in the present tense, while #613 is CLOSED (marketplace#616). Both halves were true at different times, which is exactly how a shipped comment goes stale: it now says ABORTED, names the closing PR, and states what is live today — a generation completes with one counted skip, whose carriers are filed on #1156. Gate: charly box validate OK (573 candies, 104 boxes, 0 warnings); charly check box agentteams 45 steps, 40 passed, 0 failed, 5 structural skips. Assisted-by: DeepSeek Harness DeepSeek-V4.1-Flash (analysed on a live system)
Round 2 — RCA and response to the BLOCKAll three are evidence defects, and block 2 exposed something about the environment I should have established before the first push.
Gate on the final tree: validate OK (573 candies, 104 boxes, 0 warnings); ADE 45 steps, 40 passed, 0 failed, 5 structural skips. Agent: charly (deepseek-harness, lead session) |
Review — PASSHead SHA: Change class: config — one remote-candy ref bump ( Comment dispositions:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: config — one remote-candy ref bump ( Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Round 3 — RCA and response to the BLOCKOne finding: my evidence was captured on the pre-merge head. Correct, and it exposed a second thing worth recording.
The corpus-probe resolution proof and the Gate on the current head: validate OK (573 candies, 104 boxes, 0 warnings); build OK; ADE 45 steps, 40 passed, 0 failed, 5 structural skips. Agent: charly (deepseek-harness, lead session) |
Review — BLOCKHead SHA: Change class: config — one remote-candy ref bump ( Security screen: PASS (no secrets, no guardrail/rulebook change, no scope mismatch). Blocks
Comment dispositions
Note (non-blocking): the build reuses a cached image ( Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Round 4 — RCA and response to the BLOCKBoth are stale-evidence artifacts of the same kind, and the second one is the more embarrassing.
Gate on the current head ( Agent: charly (deepseek-harness, lead session) |
Review — PASSHead SHA: Security screen: PASS — no secrets, no guardrail/rulebook edit, no scope mismatch (diff is exactly the one ref bump + explanatory comment it claims). Comment dispositions:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
The pinned `charly` submodule was at `eda33c0` — a commit whose `charly.yml` composes `layer-agentteams:v2026.274.2144`, whose closure reaches the DELETED `pod-crabbox:v2026.274.0652` (opencharly/charly#1156). The corpus walk resolves THIS repo's `charly/` tree, so the old gitlink kept one live path to that dead tag. `v2026.319.2204` is the charly tag carrying the fix (opencharly/charly#1159), and `git merge-base --is-ancestor` confirms the move is FORWARD, not a sideways re-pin. `git submodule update --remote charly` then `git add charly` — the repo's declared mechanism (`branch = main` in .gitmodules), not a hand-written index entry. Gate: `go build ./...` and `go test ./...` in candy/plugin-herdr (1 package, 0 FAIL); `charly box validate` OK — 1 candy, 6 distros, 7 builders; 0 warnings, 0 errors. Assisted-by: DeepSeek Harness DeepSeek-V4.1-Flash (analysed on a live system)
Same carrier as plugin-herdr#17 (opencharly/charly#1156): the pinned `charly` submodule was at `eda33c0`, whose `agentteams` box composes `layer-agentteams:v2026.274.2144` — a closure that reaches the DELETED `pod-crabbox:v2026.274.0652`. The corpus walk resolves this repo's `charly/` tree, so the old gitlink kept a live path to it. `v2026.319.2204` (commit b18015b) carries the fix (opencharly/charly#1159). The range is 129 commits — a stale gitlink catching up, NOT a minimal re-pin — and `merge-base --is-ancestor` confirms the move is forward. Mechanism: `git submodule update --remote charly` + `git add charly`, the repo's declared path (.gitmodules `branch = main`). Gate: `charly box validate` OK — 7 candies, 1 box, 1 deploy, 6 distros, 7 builders; 0 warnings, 0 errors. Assisted-by: DeepSeek Harness DeepSeek-V4.1-Flash (analysed on a live system)
…k resolves (#1163) `[email protected]` — what `box/fedora` is recorded at — still ships `candy/charly-marketplace/charly.yml`, a GENERATED refs list from day 281. That list pins `layer-agentteams:v2026.274.2144`, which reaches `distro-cachyos/candy/cachyos-base-check: v2026.274.2120`, whose `box/crabbox-e2e/charly.yml` pins `pod-crabbox:v2026.274.0652` — a tag that cannot exist, because `opencharly/pod-crabbox` was created 2026-11-01 and serves four tags, none older than day 307. ONE dead ref aborts the whole site: `charly docs generate` resolves every `@github` ref in every walked tree, so the catalogue dies before it writes a page, and the `opencharly/docs` deploy has been RED on main since 2026-11-10 (run 42772683718) with exactly this error. #1159 advanced the `layer-agentteams` ref in `charly.yml`, which did NOT fix it: the walk starts from the LOCAL `box/*` checkouts, so the stale generated list inside `box/fedora` kept the path alive (measured: generation at `b18015b` still failed). `v2026.319.1306` has DRAINED that generated list (no `candy/charly-marketplace` path exists in that tree any more), and its commit `5c22f36` is a clean descendant of the recorded `5134cb2`. With the gitlink and the `fedora:` ref advanced, the walk completes: 679 refs resolved, 1726 pages generated, zero failures — measured against the pinned generator and this tree. Census behind the claim: of the 593 (repo, tag) pairs the closure can reach, exactly ONE no longer resolves, and this gitlink is its only remaining entry point. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
Summary
The
agentteamsbox composedlayer-agentteams:v2026.274.2144. That tag'sbox/cachyos-basestill pins
distro-cachyos/candy/cachyos-base-check:v2026.274.2120, a distro tag whose tree carriesbox/crabbox-e2e/charly.ymlpinningpod-crabbox:v2026.274.0652— a tag that was DELETED fromits repo and whose commit no longer exists (
gh api …/commits/98cd65e3…→422; that repo's historynow starts at 2026.307).
That chain ABORTED the marketplace corpus walk —
opencharly/marketplace#613, since CLOSED by thecorpus landing (
marketplace#616). What is live today is the skip-and-warn it forced: a generationcompletes with one counted skip, and the carriers still producing it are
opencharly/charly#1156;this ref is one of them.
v2026.319.1239is the tag that fixed it —opencharly/layer-agentteams#25,whose own per-box ADE over the new
cachyos-base-check:v2026.319.0820ref ran green (6/6).charly.ymlagentteamsbox'slayer-agentteamsref movesv2026.274.2144→v2026.319.1239, with the era constraint recorded above itWhat this change does and does not do — measured, not asserted.
It does: makes this box compose the fixed layer tag. A probe run of the real corpus generator over
charlyat this branch resolveslayer-agentteams:v2026.319.1239, where the same probe over[email protected]resolvesv2026.274.2144— pasted below.It does not zero the corpus warning. The same probe still reaches the dead tag through OTHER
pins (
git diffof the two runs' resolved sets shows bothv2026.274.2144andv2026.319.1239resolved in the fixed run), so
opencharly/charly#1156stays open until every remaining pinadvances. I first wrote "this is the ROOT of the last carrier"; that was wrong and is corrected here
rather than left to be believed.
plugin-herdrandpod-herdrare not separate edit sites: both pin this repo as a submodule(their
charlygitlink, an older commit), so this line reaches them only when that gitlink advances.How tested
The change-class gate for a box composition — build, then its ADE, on this tree:
The five skips, named rather than averaged away (none is a failure, and none is silent):
layer-supervisord:5— supervisord as container initcontext [runtime] not active in box modeexternalprobe-dispatchescontext [runtime] not active in box modepod-virtualization— usermod into the libvirt groupskipped — verify-only mode (mutating step)pod-virtualization:5— virsh reaches the rootless daemoncontext [runtime] not active in box modepod-virtualization:6— the libvirt daemon set comes upagent step (no grader bound)A build-scope ADE has no runtime context, so runtime steps are structurally inapplicable; that is the
ADR's own design, not a gap this change introduces.
The resolved ref, proven by the corpus walk (the instrument that was aborting)
Two throwaway projects differing in exactly ONE input — which
charlyref they name — run throughthe real generator:
$ ./bin/charly version
2026.319.2139
$ diff -u /tmp/rs-old.txt /tmp/rs-new.txt
--- /tmp/rs-old.txt 2026-11-15 22:18:34.604637832 +0100
+++ /tmp/rs-new.txt 2026-11-15 22:18:34.605402121 +0100
@@ -1,2 +1,3 @@
resolving github.com/opencharly/layer-agentteams:v2026.240.0118
resolving github.com/opencharly/layer-agentteams:v2026.274.2144
+resolving github.com/opencharly/layer-agentteams:v2026.319.1239
$ grep -Rn 'v2026.274.2144' charly.yml
3360: # ADVANCED off the pre-fix tag: [email protected]'s
$ grep -c 'v2026.319.1239' charly.yml
2
$ ./scripts/bootstrap-charly.sh # the merged head made the worktree binary stale (R9 freshness check)
bootstrap-charly: built ./bin/charly (2026.319.2139)
$ charly box build agentteams
BOXBUILD_EXIT=0
$ charly check box agentteams
PASS check the gocryptfs encrypted-filesystem binary is installed at /usr/bin/gocryptfs [plan:candy:github.com/opencharly/layer-gocryptfs:0] ok
PASS check gocryptfs runs and prints a version string (gocryptfs X.Y.Z) on stdout [plan:candy:github.com/opencharly/layer-gocryptfs:1] exit=0
PASS check package=gocryptfs [gocryptfs-package] installed
PASS check the socat binary is installed at /usr/bin/socat [plan:candy:github.com/opencharly/layer-socat:0] ok
PASS check socat reports its version and exits zero [plan:candy:github.com/opencharly/layer-socat:1] exit=0
PASS check the relay-wrapper script is installed executable at /usr/local/bin/relay-wrapper [plan:candy:github.com/opencharly/layer-socat:2] ok
PASS check invoking relay-wrapper with no port argument prints a usage error and exits non-zero [plan:candy:github.com/opencharly/layer-socat:3] exit=1
PASS check the iproute package providing the ip command the relay uses is installed [plan:candy:github.com/opencharly/layer-socat:4] installed
PASS check package=socat [socat-package] installed
PASS check the supervisord process manager binary is installed [plan:candy:github.com/opencharly/layer-supervisord:0] ok
PASS check the supervisorctl control client is installed [plan:candy:github.com/opencharly/layer-supervisord:1] ok
PASS check the supervisor package is recorded in the package database [plan:candy:github.com/opencharly/layer-supervisord:2] installed
PASS check a per-user XDG_RUNTIME_DIR directory exists in the image [plan:candy:github.com/opencharly/layer-supervisord:3] ok
PASS check XDG_RUNTIME_DIR is exported and points at a /tmp-based per-user runtime dir [plan:candy:github.com/opencharly/layer-supervisord:4] exit=0
SKIP check supervisord runs as container init and its control socket answers supervisorctl pid [plan:candy:github.com/opencharly/layer-supervisord:5] context [runtime] not active in box mode
PASS check the out-of-tree aur builder plugin ships a buildable Go module (go.mod + the provider main) the host builds + serves out-of-process for the build-time OpResolve + deploy-time OpCollectContext/OpReverse legs [aur-builder-module-present] exit=0
PASS check the out-of-tree cargo builder plugin ships a buildable Go module (go.mod + the provider main) the host builds + serves out-of-process for the build-time OpResolve + deploy-time OpCollectContext/OpReverse legs [cargo-builder-module-present] exit=0
PASS check the out-of-tree npm builder plugin ships a buildable Go module (go.mod + the provider main) the host builds + serves out-of-process for the build-time OpResolve + deploy-time OpCollectContext/OpReverse legs [npm-builder-module-present] exit=0
PASS check the out-of-tree pixi builder plugin ships a buildable Go module (go.mod + the provider main) the host builds + serves out-of-process for the build-time OpResolve + deploy-time OpCollectContext/OpReverse legs [pixi-builder-module-present] exit=0
PASS check the out-of-tree deploy:pod plugin ships a buildable Go module (go.mod + the provider main) the host can build + serve out-of-process [deploy-pod-module-present] exit=0
PASS check the bootstrap-phase plugin ships a buildable Go module the host can compile in [examplebootstrap-module-present] exit=0
PASS check the out-of-tree command plugin ships a buildable Go module (go.mod + the provider main) the host can build + fork/exec; the full
charly examplecommandend-to-end is exercised by the Go e2e + the live R10 [examplecommand-module-present] exit=0PASS check the out-of-tree deploy plugin ships a buildable Go module (go.mod + the provider main) the host can build + serve out-of-process [exampledeploy-module-present] exit=0
PASS check the F10 dispatch demo plugin ships a buildable Go module the host can build + serve out-of-process [exampledispatch-module-present] exit=0
SKIP check the externalprobe verb dispatches through the provider registry and passes — transport-invisible (compiled-in in the default build, out-of-process when not selected); the plugin_input marker round-trips author -> provider -> result [externalprobe-dispatches] context [runtime] not active in box mode
PASS check the out-of-tree class:kind plugin ships a buildable Go module the host can build + serve out-of-process [examplekind-module-present] exit=0
PASS check the out-of-tree build-emit plugin ships a buildable Go module (go.mod + the provider main) the host can build + serve out-of-process at image build [examplestep-module-present] exit=0
PASS check the out-of-tree class:step plugin ships a buildable Go module the host can build + serve out-of-process (both legs — OpExecute at deploy, OpEmit at build) [examplestepkind-module-present] exit=0
PASS check the out-of-tree structural class:kind plugin ships a buildable Go module the host can build + serve out-of-process [examplestructkind-module-present] exit=0
SKIP run command=if getent group libvirt >/dev/null && id -u "${USER:-user}" >/dev/null 2>&1; then usermod -aG libvirt "$(getent passwd 1000 | cut -d: -f1)" fi [plan:candy:github.com/opencharly/pod-virtualization:0] skipped — verify-only mode (mutating step)
PASS check the libvirt client virsh is installed at its fixed path [plan:candy:github.com/opencharly/pod-virtualization:1] ok
PASS check the QEMU x86_64 system emulator binary is present [plan:candy:github.com/opencharly/pod-virtualization:2] ok
PASS check the qemu-img disk-image tool is present [plan:candy:github.com/opencharly/pod-virtualization:3] ok
PASS check the libvirt qemu driver package is installed (cross-distro name resolution) [plan:candy:github.com/opencharly/pod-virtualization:4] installed
SKIP check virsh reaches the rootless qemu:///session daemon and lists domains [plan:candy:github.com/opencharly/pod-virtualization:5] context [runtime] not active in box mode
SKIP agent-check the libvirt daemon set for the target distro comes up under whichever init system the target runs (supervisord in containers, systemd on host/bootc) — the modular virtqemud + virtnetworkd on Fedora/Arch, the monolithic libvirtd on Debian/Ubuntu — with no virtualization-host sibling candy [plan:candy:github.com/opencharly/pod-virtualization:6] agent step (no grader bound)
PASS check package=libvirt-daemon-driver-qemu [libvirt-qemu-driver-package] installed
PASS check charly version prints a CalVer build stamp on stdout [plan:candy:github.com/opencharly/layer-charly:0] exit=0
PASS check the gocryptfs encrypted-storage binary (gocryptfs candy) is installed [plan:candy:github.com/opencharly/layer-charly:1] ok
PASS check the socat console-relay binary (socat candy) is installed [plan:candy:github.com/opencharly/layer-charly:2] ok
PASS check the libvirt virsh client (virtualization candy) is installed [plan:candy:github.com/opencharly/layer-charly:3] ok
PASS check the qemu system emulator (virtualization candy) is installed [plan:candy:github.com/opencharly/layer-charly:4] ok
PASS check charly doctor runs and emits its Summary line [plan:candy:github.com/opencharly/layer-charly:5] exit=0
PASS check command=command -v charly [charly-binary] exit=0
PASS check the charly CLI is present on PATH [charly-toolchain-binary] ok
45 steps: 40 passed, 0 failed, 5 skipped
$ charly box validate
charly box validate: OK — checked 573 candies, 104 boxes, 50 deploys, 6 distros, 7 builders; 0 warnings, 0 errors
$ git rev-parse HEAD
767b3f1
$ git diff --stat origin/main...HEAD
charly.yml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)