Repository navigation
chore(deps): bump plugin-build to v2026.322.2319 - #1210
Conversation
## Summary The compiled-in build drive advances to the merged `candy/plugin-build/v0.2026322.2319` (opencharly/plugin-build#60, squash `16b57922375cfba3592d34dd2098230dc3ed8973`, tag `v2026.322.2319`), so the `charly` binary links the build resolve that stops a caller's `--tag` from renaming a borrowed builder node. **The pin, before and after — two files, +3/−3.** | File | Before | After | |---|---|---| | `charly/go.mod:16` `github.com/opencharly/plugin-build/candy/plugin-build` | `v0.2026322.1325` | `v0.2026322.2319` | | `charly/go.sum:160` (module hash) | `v0.2026322.1325 h1:p4aD3N4f…` | `v0.2026322.2319 h1:0vCOtaaS2uzkFSr9wHDaiDLIloZ6KT4PjrLiOd9u+N4=` | | `charly/go.sum:161` (`/go.mod` hash) | `v0.2026322.1325/go.mod h1:du0+Gb9s…` | `v0.2026322.2319/go.mod h1:du0+Gb9slRRh4VfSg9Lwex94TLHA7jrw9UD7tJkkWIE=` | The base moved since issue #1208 was last described: `origin/main` no longer carries `v0.2026317.2215` — charly#1204's squash (CHANGELOG `2026.322.1604`, merged 2026-11-18T16:04Z) advanced that require to `v0.2026322.1325`. This leg is therefore a **one-tag** delta (`1325` → `2319`), not two, and the brief's `v0.2026317.2215` is stale rather than a second bump. **What the bump delivers.** plugin-build#60 splits the two tag roles the resolve always had. `borrowedTag` — `buildkit.ComputeCalVer()`, computed once per resolve — stays on every box the build does **not** produce: a builder borrowed from another repository's namespace, and any auto-intermediate off a target's own chain. `targetTag` — the caller's `req.Tag` from `charly box build <box> --tag <t>` — is stamped on exactly the boxes the build **produces**, and the resolve's output set is promoted to it after the fact. So a check bed's `--tag check-comfyui-pod-<calver>` no longer renames `arch-builder`, and the emitted Containerfile no longer names `ghcr.io/opencharly/arch-builder:check-comfyui-pod-<calver>` — a ref no registry serves, which died as `failed to resolve source metadata: … not found` even though the image was in the local store under its own tag (#1208). DESIGN.md **D-KIND-2** — vocabulary data is nodes in the repositories that own it — is the requirement this obeys: a caller's tag has no business renaming another repository's node. **Nothing else moves.** `plugin-build`'s own `go.mod` is byte-identical between the two tags (its `/go.mod` checksum `du0+Gb9slRRh4VfSg9Lwex94TLHA7jrw9UD7tJkkWIE=` is unchanged at both pins), so this bump drags no `sdk`/`spec`/plugin pin with it. Confirmed against the tree: the only three occurrences of the old version string outside `CHANGELOG/` were the three lines above. ## How tested On branch `chore/pin-plugin-build`, in the session worktree off `origin/main` (`5286f448712328a45d5d3d42cde86377677de639`). This repo's declared gate for the class (`AGENTS.md`: `go build`, `go vet`, `gofmt`, `go test`, then `charly box validate`, then the org-wide `charly/pr-validator`) plus this repo's own witness bed for a pin adoption, `check-wave-pins`, run on that tree. The tag is the merged one, read from the remote and from the proxy — not taken from the brief: ```console $ git ls-remote --tags https://github.com/opencharly/plugin-build | tail -2 09de5ec84d1189861a239ea6ba77859abd71f2a3 refs/tags/v2026.322.1325 16b57922375cfba3592d34dd2098230dc3ed8973 refs/tags/v2026.322.2319 $ go list -m -versions github.com/opencharly/plugin-build/candy/plugin-build | tr " " "\n" | tail -3 v0.2026319.1655 v0.2026322.1325 v0.2026322.2319 ``` The bump, and the module graph after it: ```console $ go get github.com/opencharly/plugin-build/candy/[email protected] go: downloading github.com/opencharly/plugin-build/candy/plugin-build v0.2026322.2319 go: upgraded github.com/opencharly/plugin-build/candy/plugin-build v0.2026322.1325 => v0.2026322.2319 $ go mod tidy; echo "tidy rc=$?" tidy rc=0 $ grep -n 'plugin-build' go.sum 160:github.com/opencharly/plugin-build/candy/plugin-build v0.2026322.2319 h1:0vCOtaaS2uzkFSr9wHDaiDLIloZ6KT4PjrLiOd9u+N4= 161:github.com/opencharly/plugin-build/candy/plugin-build v0.2026322.2319/go.mod h1:du0+Gb9slRRh4VfSg9Lwex94TLHA7jrw9UD7tJkkWIE= ``` The go gate, on the tree this commit carries: ```console $ go build ./...; echo "build rc=$?" build rc=0 $ go vet ./...; echo "vet rc=$?" vet rc=0 $ gofmt -l .; echo "gofmt rc=$?" gofmt rc=0 $ go test ./... ok github.com/opencharly/charly/charly 242.459s ok github.com/opencharly/charly/charly/internal/pluginsgen 135.070s rc=0 ``` R9 — the binary is the worktree's own, rebuilt from this tree, and its stamp equals the source: ```console $ ./scripts/bootstrap-charly.sh bootstrap-charly: regenerating compiled-in plugin wiring bootstrap-charly: building bin/charly bootstrap-charly: built ./bin/charly (2026.322.2235) $ ./bin/charly version 2026.322.2235 $ git log -1 --format='%s (%ci)' docs: add CHANGELOG 2026.322.2235 for PR #1209 (2026-11-18 22:35:26 +0000) $ git status --short ``` `charly box validate` on the same binary: ```console $ ./bin/charly box validate; echo "validate rc=$?" charly box validate: OK — checked 548 candies, 107 boxes, 51 deploys, 6 distros, 7 builders; 0 warnings, 0 errors validate rc=0 ``` This repo's own witness bed for the change class, on the same tree — `check-wave-pins` (`kind: local`, `disposable: true`, `host: local`), whose header names exactly this class: ```console $ ./bin/charly check run check-wave-pins; echo "bed rc=$?" charly check run check-wave-pins: [deploy-add] PASS after 1m9.269s charly check run check-wave-pins: [bring-up-members] PASS after 3ms charly check run check-wave-pins: [check-live] PASS after 2m4.236s PASS the module graph the binary was built from carries the pins charly/go.mod declares [wp-pins] exit=0 PASS the adopted plugin-build ANSWERS in-process — `charly box generate` dispatches the compiled-in build-generate provider and renders a box Containerfile [wp-build-generate] exit=0 PASS the adopted plugin-vm ANSWERS in-process — `charly vm list` dispatches the compiled-in command:vm provider [wp-vm-list] exit=0 3 steps: 3 passed, 0 failed, 0 skipped charly check run check-wave-pins: [update] PASS after 41.804s charly check run check-wave-pins: [cleanup] PASS after 38.0s charly check run check-wave-pins: [cleanup-members] PASS after 0s charly check run check-wave-pins: PASS (steps=6) bed rc=0 ``` `.check/check-wave-pins/2026.322.2330/summary.yml`: `status: PASS`, `ok: true`, `diagnostics: errors 0, warnings 0`, `skipped_checks: 0`, `driver_version: 2026.322.2235`. What `wp-pins` asserts is the property a pin advance must have — the graph the BINARY was built from agrees with what this tree adopts, read from both sides rather than from a literal: ```console $ go version -m ./.worktrees/pin-plugin-build/charly/bin/charly | tr '\t' ' ' | grep plugin-build dep github.com/opencharly/plugin-build/candy/plugin-build v0.2026322.2319 h1:0vCOtaaS2uzkFSr9wHDaiDLIloZ6KT4PjrLiOd9u+N4= ``` and `wp-build-generate` shows the adopted module dispatching in-process: `charly box generate my-box` rendered `/tmp/charly-wave-pins-boxbed/.build/my-box/Containerfile`. ### What was NOT run, plainly **No `pod:` bed, and not issue #1208's own closure arm.** `charly check run check-comfyui-pod` is the bed that reproduces this defect end to end, and it cannot be resolved from any MERGED project closure: the bed lives only on the still-OPEN opencharly/distro-cachyos#206 (`fix/nvidia-cdi-pod-contract`), which adds the `check-comfyui-pod:` entity to that repo's `charly.yml`. `grep` over the merged `distro-cachyos` checkout and over this project's closure finds no such bed, so the verb has nothing to dispatch. That is why this commit carries `analysed on a live system` and not `fully tested and validated`, and why #1208 stays open with the live arm as its closure criterion. **No synthetic `--tag` build arm either**, and here is the measurement behind that: the discriminating arm needs a builder image that exists in local storage **under its own tag** so the resolve does not rebuild it (that is exactly the comfyui bed's situation). On this host the local store carries no `arch-builder`/`*-builder` image at all and the charly OCI store `$XDG_DATA_HOME/charly/images` does not exist, so such an arm would first build the builder — which proves the build, not the tag scope. ## Rulebook compliance - **R0** — `/charly-internals:git-workflow` and `/charly-internals:go` loaded before the first git action; the umbrella `AGENTS.md` read from `origin/main` (the R11 form) and this repo's own `AGENTS.md` read from `origin/main` before touching the tree. - **R1** — every finding met on the way is fixed here or named: the stale pin value in the brief is corrected above from the tree and the proxy rather than repeated; there is no warning to file (the validate line is `0 warnings, 0 errors`). - **R2/R3** — no code in this change. The behaviour change is the adopted module, whose rule has ONE home (`candy/plugin-build/build_tag_scope.go`), and no retry or fallback is introduced here. - **R4** — no prose routes around a defect; no documented command changes. - **R5** — the old `require` is replaced, not shadowed: the claim-keyed grep for the retired version over the tracked tree (excluding `CHANGELOG/`) returns nothing, and no `replace` directive exists. - **R6** — `git status --short` was empty before the edit; work is in `.worktrees/pin-plugin-build/charly` on `chore/pin-plugin-build`, never in the submodule checkout; no force-push, no direct `main` push, no other session's branch touched (opencharly/charly has no other open PR at this head). - **R7** — the coverage that proves the changed rule fails without it is the producer's (`build_tag_scope_test.go`, its before-arm pasted in opencharly/plugin-build#60); this leg proves the adopted module is the one the binary links and dispatches, in `wp-pins` and `wp-build-generate`. The live arm this change exists for is named under *What was NOT run*. - **R8** — no service boundary is crossed or mocked in this change. - **R9** — built by `scripts/bootstrap-charly.sh` in the worktree; `./bin/charly version` prints `2026.322.2235`, equal to the CalVer of HEAD, and the tree is clean after the build (the generated `go.work` / `plugins_generated.go` are byte-identical to the committed ones). No shared install, and no new runtime OS dependency, so nothing moves in `packaging:`. - **R10** — `check-wave-pins` is the bed this repo declares for exactly this change class (its header: *"the change class here is a Go module dependency-pin adoption whose runtime effect is the COMPILED-IN plugins charly loads in-process"*), and it ran on this tree; its output is pasted above. The `pod:` bed that would prove the DEFECT is fixed is unmerged — stated, not hidden. - **R11** — DESIGN.md **D-KIND-2** is the requirement this serves and it is cited, not amended: a builder is a vocabulary node owned by the repository that declares it, and the adopted resolve stops a caller renaming it. No field, shape, kind, verb or mechanism is added here, so no other D-id is touched. ## Change classification A compiled-in module pin advance: every build that passes `--tag` keeps its own produced boxes on that tag and leaves borrowed builder nodes on the CalVer their owning repository gave them; a build with no `--tag` is byte-identical to today's behaviour. **Breaking change + rollback:** none — the pointer moves to a module tag the org has already merged and published, no wire shape, schema or CLI flag changes, and the rollback is reverting this commit, which restores `v0.2026322.1325` and the pre-fix tag stamping. ## Filed issues No issue is filed: nothing met here is separable from the change, and #1208 stays open as the tracker for the one leg this repo cannot run — the live `check-comfyui-pod` bed. *Agent: comfyui-vram-fix · DeepSeek Harness session 20261118-2110* Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (analysed on a live system)
Review — BLOCKHead SHA: Change class: code/config — Go module dependency pin ( Blocks
Comment thread: 0 comments — nothing to disposition. Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS — round 1 BLOCK: RCA and body repair Head unchanged at Finding 1 — R5 / CONC(d): an absence claim without its grep. The body asserted "the only three occurrences … were the three lines above" and "the claim-keyed grep returns nothing, and no Finding 2 — R9: the version-stamp evidence was captured on the base tree. The pasted block showed RCA — the missed control. Mechanism: I treated the body as prose written from measurements I had already made, and let one of those measurements (the R9 block) go stale when Re-run: the failed Agent: comfyui-vram-fix · DeepSeek Harness session 20261118-2110 |
Review — PASSHead SHA: Security screen: PASS — pin-only change, no secrets/egress/guardrail edits, no directives aimed at the validator. Comments:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
The compiled-in build drive advances to the merged
candy/plugin-build/v0.2026322.2319(opencharly/plugin-build#60, squash
16b57922375cfba3592d34dd2098230dc3ed8973, tagv2026.322.2319), so thecharlybinary links the build resolve that stops a caller's--tagfrom renaming a borrowed builder node.The pin, before and after — two files, +3/−3.
charly/go.mod:16github.com/opencharly/plugin-build/candy/plugin-buildv0.2026322.1325v0.2026322.2319charly/go.sum:160(module hash)v0.2026322.1325 h1:p4aD3N4f…v0.2026322.2319 h1:0vCOtaaS2uzkFSr9wHDaiDLIloZ6KT4PjrLiOd9u+N4=charly/go.sum:161(/go.modhash)v0.2026322.1325/go.mod h1:du0+Gb9s…v0.2026322.2319/go.mod h1:du0+Gb9slRRh4VfSg9Lwex94TLHA7jrw9UD7tJkkWIE=The base moved since issue #1208 was last described:
origin/mainno longercarries
v0.2026317.2215— charly#1204's squash (CHANGELOG2026.322.1604, merged2026-11-18T16:04Z) advanced that require to
v0.2026322.1325. This leg is therefore aone-tag delta (
1325→2319), not two, and the brief'sv0.2026317.2215is stale ratherthan a second bump.
What the bump delivers. plugin-build#60 splits the two tag roles the resolve always had.
borrowedTag—buildkit.ComputeCalVer(), computed once per resolve — stays on every box thebuild does not produce: a builder borrowed from another repository's namespace, and any
auto-intermediate off a target's own chain.
targetTag— the caller'sreq.Tagfromcharly box build <box> --tag <t>— is stamped on exactly the boxes the build produces, andthe resolve's output set is promoted to it after the fact. So a check bed's
--tag check-comfyui-pod-<calver>no longer renamesarch-builder, and the emitted Containerfileno longer names
ghcr.io/opencharly/arch-builder:check-comfyui-pod-<calver>— a ref no registryserves, which died as
failed to resolve source metadata: … not foundeven though the image was in the local storeunder its own tag (#1208). DESIGN.md D-KIND-2 — vocabulary data is nodes in
the repositories that own it — is the requirement this obeys: a caller's tag has no business
renaming another repository's node.
Nothing else moves, and that is a measurement rather than a recollection.
plugin-build's owngo.modis byte-identical between the two tags (its/go.modchecksumdu0+Gb9slRRh4VfSg9Lwex94TLHA7jrw9UD7tJkkWIE=is unchanged at both pins), so this bump drags nosdk/spec/plugin pin with it. The pin surface is exactly the three lines above: the retiredstring over the tracked tree on
origin/main, then the adopted one on this head, both excludingCHANGELOG/and both pasted with their own exit status.How tested
Head
e88980c7c4d185621dbf1db632f15f45474d64f3, branchchore/pin-plugin-build, in the session worktree offorigin/main(5286f448712328a45d5d3d42cde86377677de639). This repo's declared gate for theclass (
AGENTS.md:go build,go vet,gofmt,go test, thencharly box validate, then theorg-wide
charly/pr-validator) plus this repo's own witness bed for a pin adoption,check-wave-pins, run on that tree.The tag is the merged one, read from the remote and from the proxy — not taken from the brief:
The bump, and the module graph after it:
The go gate, on the tree this commit carries:
R9 — the binary is the worktree's own, rebuilt from this tree AFTER the commit was made, so the
stamp it carries is the CalVer of the head being pushed and not of the base it branched from:
2026.322.2337is not a wall clock and not a guess:scripts/calver.shderives the stamp fromthe HEAD commit's UTC date alone (2026-11-18 23:37:50Z → day 322, 23:37), and a binary built
before the commit reports the base commit's
2026.322.2235instead. The two agree on this headbecause the binary was rebuilt after it, which is exactly the R9 property.
charly box validateon the same binary:This repo's own witness bed for the change class, on the same tree —
check-wave-pins(
kind: local,disposable: true,host: local), whose header names exactly this class:.check/check-wave-pins/2026.322.2346/summary.yml:status: PASS,ok: true,diagnostics: errors 0, warnings 0,skipped_checks: 0,total_seconds: 232.The same bed also passed twice on byte-identical content before this head existed (
2026.322.2330before the commit,2026.322.2338on the committed tree with the pre-commit binary); the run pasted here is the one one88980c7with the rebuilt binary, so itsdriver_versionis the CalVer of that head.What
wp-pinsasserts is the property a pin advance must have — the graph the BINARY was built from agrees with what this tree adopts, read from both sides rather than from a literal:and
wp-build-generateshows the adopted module dispatching in-process:charly box generate my-boxrendered
/tmp/charly-wave-pins-boxbed/.build/my-box/Containerfile.What was NOT run, plainly
No
pod:bed, and not issue #1208's own closure arm.charly check run check-comfyui-podisthe bed that reproduces this defect end to end, and it cannot be resolved from any MERGED
project closure: the bed lives only on the still-OPEN opencharly/distro-cachyos#206
(
fix/nvidia-cdi-pod-contract), which adds thecheck-comfyui-pod:entity to that repo'scharly.yml.grepover the mergeddistro-cachyoscheckout and over this project's closurefinds no such bed, so the verb has nothing to dispatch. That is why this commit carries
analysed on a live systemand notfully tested and validated, and why #1208 stays open withthe live arm as its closure criterion.
No synthetic
--tagbuild arm either, and here is the measurement behind that: thediscriminating arm needs a builder image that exists in local storage under its own tag so
the resolve does not rebuild it (that is exactly the comfyui bed's situation). On this host the
local store carries no
arch-builder/*-builderimage at all and the charly OCI store$XDG_DATA_HOME/charly/imagesdoes not exist, so such an arm would first build the builder —which proves the build, not the tag scope.
Rulebook compliance
R0 —
/charly-internals:git-workflowand/charly-internals:goloaded before the firstgit action; the umbrella
AGENTS.mdread fromorigin/main(the R11 form) and this repo's ownAGENTS.mdread fromorigin/mainbefore touching the tree.R1 — every finding met on the way is fixed here or named: the stale pin value in the brief
is corrected above from the tree and the proxy rather than repeated; there is no warning to
file (the validate line is
0 warnings, 0 errors).R2/R3 — no code in this change. The behaviour change is the adopted module, whose rule has
ONE home (
candy/plugin-build/build_tag_scope.go), and no retry or fallback is introduced here.R4 — no prose routes around a defect; no documented command changes.
R5 — the old
requireis replaced, not shadowed, and every absence claim carries itscommand. The retired string is GONE from the tracked tree at this head — the same grep the
Summary block shows on
origin/main, now onHEAD:and no
replacedirective overrides the pin:R6 —
git status --shortwas empty before the edit; work is in.worktrees/pin-plugin-build/charlyonchore/pin-plugin-build, never in the submodulecheckout; no force-push, no direct
mainpush, no other session's branch touched (opencharly/charlyhas no other open PR at this head).
R7 — the coverage that proves the changed rule fails without it is the producer's
(
build_tag_scope_test.go, its before-arm pasted in fix(build)!: a caller's --tag must not rename borrowed builder nodes plugin-build#60); this legproves the adopted module is the one the binary links and dispatches, in
wp-pinsandwp-build-generate. The live arm this change exists for is named under What was NOT run.R8 — no service boundary is crossed or mocked in this change.
R9 — built by
scripts/bootstrap-charly.shin the worktree AFTER the commit;./bin/charly versionprints2026.322.2337, which isscripts/calver.shon HEADe88980c7(the stampderives from that commit's UTC date), and the tree is clean after the build (the generated
go.work/plugins_generated.goare byte-identical to the committed ones). No sharedinstall, and no new runtime OS dependency, so nothing moves in
packaging:.R10 —
check-wave-pinsis the bed this repo declares for exactly this change class (itsheader: "the change class here is a Go module dependency-pin adoption whose runtime effect is
the COMPILED-IN plugins charly loads in-process"), and it ran on this tree; its output is
pasted above. The
pod:bed that would prove the DEFECT is fixed is unmerged — stated, nothidden.
R11 — DESIGN.md D-KIND-2 is the requirement this serves and it is cited, not amended: a
builder is a vocabulary node owned by the repository that declares it, and the adopted resolve
stops a caller renaming it. No field, shape, kind, verb or mechanism is added here, so no other
D-id is touched.
Change classification
A compiled-in module pin advance: every build that passes
--tagkeeps its own produced boxes onthat tag and leaves borrowed builder nodes on the CalVer their owning repository gave them; a
build with no
--tagis byte-identical to today's behaviour.Breaking change + rollback: none — the pointer moves to a module tag the org has already
merged and published, no wire shape, schema or CLI flag changes, and the rollback is reverting
this commit, which restores
v0.2026322.1325and the pre-fix tag stamping.Filed issues
No issue is filed: nothing met here is separable from the change, and #1208
stays open as the tracker for the one leg this repo cannot run — the live
check-comfyui-podbed.Agent: comfyui-vram-fix · DeepSeek Harness session 20261118-2110
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (analysed on a live system)