Repository navigation
fix: the agentteams manager/worker entrypoint execs a candy ref, not supervisord - #445
Conversation
…supervisord
charly box validate emitted 10 "resolves init supervisord ... no candy of that name
is in this project's scanned set" warnings. Four are charly's own boxes, and two of
those turned out to be a live defect rather than a missing reference.
agentteams-manager and agentteams-worker had this:
entrypoint:
- '@github.com/opencharly/layer-supervisord:v2026.239.1300'
- -n
- -c
- /etc/supervisord.conf
The first element of an OCI entrypoint is the binary to exec. A candy ref is not a
binary, so these two images would try to exec a file literally named
"@github.com/opencharly/layer-supervisord:v2026.239.1300" and die at start. The same
mistake also meant layer-supervisord was never composed - the ref was sitting in
entrypoint:, not candy: - which is exactly what the warning was reporting.
The box's own comment says "the box bakes the supervisord init as its OCI
entrypoint", so the intent is clear. Fixed both halves: entrypoint execs
`supervisord`, and the candy ref moves to candy: where it composes.
agentteams and check-boxload-app were the plain case - init supervisord resolved,
candy never referenced - so each gets the ref in its candy: list, the remedy the
warning names and the form sibling boxes already use.
Measured on this tree:
main: 10 "resolves init" warnings
branch: 6
charly box validate: exit 0 both ways
go test -count=1 ./...: exit 0
The remaining 6 are boxes in box/fedora (check-pod, composition-app,
composition-source, selftest-image, selftest-layer, tutorial-shell). They are fixed
in distro-fedora#42 and clear here when that merges and the gitlink advances - not
deferred, already in flight.
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (all 4 box changes accounted for in the body), no secrets/exfiltration, no weakened guardrails, no supply-chain change (pinned Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (all 4 box changes accounted for in the body), no secrets/exfiltration, no weakened guardrails, no supply-chain change (pinned Checklist: All applicable rules PASS or NA.
Note (non-blocking): the Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Summary
charly box validateemitted 10 warnings of this shape:Four are charly's own boxes. Two of those turned out to be a live defect, not a missing
reference.
The defect
agentteams-managerandagentteams-workerboth had:The first element of an OCI entrypoint is the binary to exec. A candy ref is not a binary, so
these two images would try to exec a file literally named
@github.com/opencharly/layer-supervisord:v2026.239.1300and die at start. The same slip is whythe warning fired at all: the ref sat in
entrypoint:rather thancandy:, so layer-supervisordwas never composed either. One mistake, two failures.
The box's own comment states the intent — "the box bakes the supervisord init as its OCI
entrypoint" — so both halves are fixed: the entrypoint execs
supervisord, and the ref moves tocandy:where it composes.agentteamsandcheck-boxload-appare the plain case (init resolves, candy never referenced);each gets the ref in its
candy:list, which is the remedy the warning names and the formsibling boxes already use.
How tested
Two-way on this tree, final committed state, clean worktree:
All four of charly's own warning boxes are cleared.
The remaining 6 — in flight, not deferred
They are boxes in the
box/fedorasubmodule (check-pod,composition-app,composition-source,selftest-image,selftest-layer,tutorial-shell), fixed indistro-fedora#42by the same remedy. They clear here when that merges and the gitlinkadvances. This is a live sibling PR, not a routed batch.
Rulebook compliance
start-time failure, which is what the warning exists to catch, and the RCA is the fix.
the dependency.
layer-supervisord:v2026.239.1300is the merged tag these boxesalready referenced; no new version is introduced.
charly.ymlonly; no submodule edited.Change classification
charly box validatewarning count two-way (10 → 6, exit 0 both ways)plus
go test -count=1 ./...on the final committed tree.analysed on a live system— the warning path and the validation gate ranlive with retained output, and the entrypoint defect is proven from the file itself. No
disposable bed run is included for the two agentteams boxes (their beds need the AgentTeams
stack), so I am not claiming
fully tested and validated.Assisted-by: Claude Code Anthropic Opus 5 (analysed on a live system)