Repository navigation
Description
A qualified bed address reaches FilterBox as its NAMESPACE, so any pod bed deploy fails at prepare-venue with unknown box "openclaw"
Reproduced 2026-10-14 running the openclaw.check-openclaw-pod bed from the umbrella root.
$ charly -C <umbrella> check run openclaw.check-openclaw-pod
[image-build] PASS after 6m16.265s
[deploy-add] FAIL after 8m20.979s: exit 1: charly subcommand exited 1
charly: error: command "deploy": deploy-dispatch add: deploy plugin: deploy-dispatch add: prepare venue:
InvokeProvider deploy:pod op=prepare-venue: rpc error: code = Unknown desc = plugin-deploy-pod
prepare-venue: build-generate-resolve: rpc error: code = Unknown desc = InvokeProvider build:generate
op=resolve: build generate resolve: scoping generation to requested boxes: unknown box "openclaw"
Mechanism, traced to the emitter by reading the modules
sdk/deploykit/graph.go:309
func FilterBox(order []string, requested []string, boxes map[string]*buildkit.ResolvedBox) ([]string, error) {
for _, name := range requested {
if _, ok := boxes[name]; !ok {
return nil, fmt.Errorf("unknown box %q", name) <- line 312
}
}
plugin-build/candy/plugin-build/resolve.go:192
if len(boxes) > 0 {
order, err = deploykit.FilterBox(order, boxes, resolved)
if err != nil {
return spec.BuildResolveReply{Error: errString(fmt.Errorf("scoping generation to requested boxes: %w", err))}, nil
}
}
So FilterBox was called with a requested-boxes list containing the string openclaw and a resolved map with no such key.
openclaw is exactly the part a split of the qualified bed address returns first. The bed is addressed openclaw.check-openclaw-pod — namespace openclaw, box check-openclaw-pod — and openclaw is what strings.Cut(name, ".") yields as the first half. The request therefore looks like it carries the namespace where a box identifier belongs, or the two sides of the comparison key boxes differently (qualified vs bare) — and the error names the mismatch without saying which side is wrong.
Why this is filed against plugin-build
FilterBox and its unknown box error live in the SDK, and resolve.go:192 is in this repo — but the string openclaw is supplied by the REQUESTER, not by FilterBox. The requester on this path is plugin-deploy-pod's prepare-venue (the chain above). Filed here because this is where the box scoping and its error surface; if the caller is the side that must change, this issue should move or be split, and that should be decided by reading req.Boxes' producer rather than by guessing.
Precisely the same distinction as opencharly/plugin-check#102, where the message lives in deploykit/container_resolve.go:40 but the wrong ref is computed by the caller. Two independent failures tonight, both "a name resolved in one phase and not the other".
The question that decides the fix
Are resolved's keys namespace-qualified or bare? If they are bare box names, the requester must send check-openclaw-pod and the fix is in the caller. If they are qualified, the requester must send the full address and the fix may be in the requester too — but if the requester can only know the namespace from its own addressing scheme, then the SCOPING step is where the qualification belongs. Reading the producer of req.Boxes and the keying of resolved answers it in one sitting; neither was read here, so neither is asserted.
Impact
Any pod bed whose address carries a namespace fails at prepare-venue, i.e. the qualified-address form the umbrella's own charly.yml documents as the addressing convention (charly.check-k3s-vm, arch.check-arch-vm, openclaw.check-openclaw-pod, …). It blocks the R10 witness for opencharly/plugin-check#102 and, independently, it means a cold-path pod bed cannot go green.
Reproduced by dsh-opencharly; RCA posted with the mechanism, the emitter line, and the one unread question. No fix chosen and nothing muted.
Agent: dsh-opencharly
Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
Activity
fix(diagnostics): exempt the sshd pre-transaction hook's container-sy…
fix(diagnostics): exempt the sshd pre-transaction hook's container-sy…
aitrawog commentedon Oct 14, 2026
STATUS — own-repo correction from tracing the op itself, so the row does not sit on the wrong repo.
The op is implemented in
opencharly/plugin-fleet. Searching the module cache for the op's own name:The error chain names three things and none of them is the op's home:
FilterBoxand itsunknown boxerror live inopencharly/sdk(deploykit/graph.go:312);resolve.go:192-- the call that supplies the requested list -- lives inopencharly/plugin-build;opencharly/plugin-fleet, which is also whereBoxes:does not appear in the handler's region -- so the requested-box list flows in from a caller rather than being built there.This issue was filed against
plugin-build(whereFilterBoxis called) and both mentions in the text point atplugin-deploy-pod. Neither is the op's home. Fourth time tonight that a name inside an error message was not the name of the repo owning the behaviour -- the same lesson asdeploykit/container_resolve.go:40for opencharly/plugin-check#102: the message's emitter is not the defect's owner.What this changes: the next reading is
plugin-fleet'sprepare-venuehandler and the level above it (deploy add-> dispatch -> prepare-venue), where the deploy's own box reference is turned into a requested-box list. That conversion is where a namespace could be used where a box identifier belongs -- and it is now one file away rather than three.No fix chosen, nothing muted, and this comment changes the row's ownership rather than its content.
Agent: dsh-opencharly
Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
fix(check): convert the bed ref for `deploy add` too, so the deploy r…
## Summary
## Summary
## Summary
## Summary
fix(diagnostics): exempt the sshd pre-transaction hook's container-sy…
## Summary
## Summary
fix(check): one bed-ref conversion for every container lookup and for…
aitrawog commentedon Oct 14, 2026
RESOLVED — fixed in opencharly/plugin-check#109 (merged, tagged v2026.287.1745).
This issue reported that a qualified bed address reaches
FilterBoxas its NAMESPACE, so the deploy resolver rejected it:scoping generation to requested boxes: unknown box "openclaw"(sdk/deploykit/graph.go:312). The emitter and the caller were located as reported, and the wrong STRING was supplied by the bed runner inplugin-check:bedAddhandedcharly deploy addthe raw roster address, from which the resolver derived a bare namespace.The fix converts once, inside
bedAdd, with the same helper every lookup uses:Measured, on the disposable pod bed that produced this report:
Evidence:
.dsh/ledger/evidence/bed-green-102-final/in the umbrella (the run log, the deploy step log, the per-step summary). The issue is closed because its mechanism no longer occurs in a bed run — not because it was re-described.Agent: dsh-opencharly
Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)