Repository navigation
Description
Category
category:verification
Type
type:fix
Remedy / files the remedy will touch
charly.yml (check-pod-cdi-userns's template image pin) and its setup
Cited design decision or org-rulebook rule (or none)
AGENTS.md R1
Classification
Non-blocking — genuinely separable; left unclaimed for a later session to pick up.
Evidence (verified: commands with output, file:line, measurements)
Measured 2026-11-27, with the plugin tree at origin/main (9217b70) AND at the
fix/keep-id-loader-path branch - the failure is identical on both, so it is not
caused by that change:
== config: write the quadlet from the resolved deploy
ensure-image: pulling ghcr.io/opencharly/arch:2026.323.1515
ensure-image: pull ghcr.io/opencharly/arch:2026.323.1515 failed: exit status 125
Error: unable to copy from source docker://ghcr.io/opencharly/arch:2026.323.1515
charly: error: command "config": ... image not found in local storage
== charly config rc=1
Registry check for that tag:
$ curl -H "Authorization: Bearer $TOK" https://ghcr.io/v2/opencharly/arch/manifests/2026.323.1515
http=404 {"errors":[{"code":"MANIFEST_UNKNOWN","message":"manifest unknown"}]}
$ curl -H "Authorization: Bearer $TOK" "https://ghcr.io/v2/opencharly/arch/tags/list?n=3"
{"name":"opencharly/arch","tags":["2026.307.1828"]}
So the tag the template pins (charly.yml:347, image:
ghcr.io/opencharly/arch:2026.323.1515) was never published (or has been pruned);
the registry carries only 2026.307.1828. charly config pulls the image at
config time when it is absent from the local store, so the bed fails before it
exercises anything.
Mechanism
The bed's deploy template pins image ghcr.io/opencharly/arch:2026.323.1515. That tag returns MANIFEST_UNKNOWN on ghcr; the registry lists only 2026.307.1828. charly config runs ensure-image, which tries to pull the image when the local store lacks it, so the bed dies at config with 'image not found in local storage' before exercising anything. It probably passed originally because the same tag was in the local image store then, and charly clean --images has since pruned it.
Missed control
No check verifies that a bed's pinned base image is actually resolvable from the registry; a local store hit hid the gap at the time the bed was written.
Blast radius
check-pod-cdi-userns only: it cannot run on a host whose local store no longer holds that tag, so it is not a usable regression gate even though the plugin's keep-id/userns contract depends on it.
Root fix
Pin the template at a tag that exists (or publish the pinned one from distro-arch) so charly config can resolve the image on a clean host; the bed then runs as the regression gate it was written to be.
Spike (its result, or none with the reason)
none: an image-resolution defect, reproduced identically on origin/main and on the fix branch (the control run rules out the change as the cause)
Surfaced while gating opencharly/plugin-deploy-pod#; the control run on origin/main fails the same way, so it is pre-existing.
Agent: cdi-audit · Claude Code session f760307f-53b4-4f48-87da-00f95e5300ed
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Activity
aitrawog commentedon Nov 27, 2026
CLAIM
CLAIM — the bed's base-image pin, and the assertion rewrite the same file owes.
pod-cdi-keepid-bindpinsghcr.io/opencharly/arch:2026.323.1515, which the registry answers with MANIFEST_UNKNOWN, socharly configfails at ensure-image before the bed exercises anything. The repin to the tag the repo actually carries (2026.307.1828) lands together with the second half this file owes: the bed still asserts the RETIREDuserns=host/User=0:0shape and fails onUserNS=keep-id, while the merged contract (feat/keepid-cdi-spec-v2, D-HW-10) emits keep-id with the image user against the derived devices-only spec. One file, one bed, one gate.Agent:
cdi-audit· Claude Code sessionf760307f-53b4-4f48-87da-00f95e5300edAssisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
fix(bed): assert the keep-id CDI contract, and pin a base tag the reg…
aitrawog commentedon Nov 27, 2026
RESOLVED
RESOLVED — fixed in #105 (
3c5908f914674d344a73e316e15f224c26735dd0).The bed's subject now pins
ghcr.io/opencharly/arch:2026.307.1828, the tag the repo actually carries, and the same change landed the assertion rewrite the file also owed:check-pod-cdi-usernshad still required the retireduserns=host/User=0:0shape and FAILED onUserNS=keep-id, while the merged contract emits keep-id with the image user against the derived devices-only CDI spec.Proof on the merged tree:
charly check run check-pod-cdi-userns→PASS (steps=6), every phaseskipped: 0,pc-userns-keepid-user … PASS, exit=0(summary.check/check-pod-cdi-userns/2026.331.1556/summary.yml), with the emitted unit read from disk asUserNS=keep-id:uid=1000,gid=1000before and after the fresh rebuild.Agent:
cdi-audit· Claude Code sessionf760307f-53b4-4f48-87da-00f95e5300edAssisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)