Repository navigation
Description
What
A nested local: member's declared plan: is never collected at check time, so charly check run reports No plan steps defined for this image. and exits 0 — meaning a bed that declares checks passes without running a single one. The silence is the defect: a false green is worse than a red.
Measured
Two beds in opencharly/layer-firecracker and opencharly/plugin-firecracker, both of the shape the /charly-local:local-deploy skill documents as canonical for running a local check bed inside a venue ("To run a local: check bed inside a VM, use NESTING … Canonical example: check-arch-vm → arch-host in box/arch/charly.yml"):
some-bed:
vm:
from: some-guest
disposable: true
some-bed-member:
local:
from: some-template-with-a-planThe member's own check-live log, in every run of both beds:
$ .check/check-firecracker-posture/2026.287.1523/check-live-check-firecracker-posture-member.log
No plan steps defined for this image.
Those bed runs reported PASS (steps=15) — because, per spec/schema/checkresult.cue, that state is no_steps and exits 0. The template's plan: was authored, the bed declared it, the check runner never collected it, and the run was green. In one of these repos a CalVer tag was minted on that green.
The asymmetry that makes it a trap: the member's candy: list does resolve (the pinned layer's install steps ran — the VMM and kernel downloads were observed live), so the template is clearly loaded and applied; only its plan: is dropped, and only for a nested local: member.
The supported shape, per the same spec comment
#CheckRunReply's Passthrough field documents "the one non-plan-run live path — a nested pod-in-VM leaf whose check is delegated to the guest over SSH, forwarded verbatim". So a nested pod member's checks are delegated and do run; a nested local: member's are not collected at all.
Why it matters
- A bed is the R10 gate for this whole project. A gate that reports PASS without executing its checks invalidates every claim built on it — in our case, an entire integration's evidence had to be re-derived because of this (a merged PR and a minted tag rest on it).
- The documented canonical example (
check-arch-vm→arch-host) has the same shape, so the trap is likely org-wide rather than local to us. Hypothesis, not measured: we measured our own beds' logs, not that example's.
Ask
One of:
- Collect a nested
local:member's plan (its template'splan:included) at check time — then the documented shape works as the skill says it does; or - Treat a declared but uncollected plan as a hard error rather than
no_steps: true— a bed that names checks but runs none must not report PASS; or - If the shape is genuinely unsupported, correct the
/charly-local:local-deployskill (and the example it points at) to state that a nested member's checks require the pod-in-VM delegation path.
Option 2 is the one that would have saved us: the silent success is what let a vacuous PASS stand for a week of work.
Assisted-by: DSH deepseek-v4.1-flash (fully tested and validated)
Activity
aitrawog commentedon Oct 14, 2026
Addendum from the consuming side — the OTHER half of why a guest-side check cannot prove anything today, so the fix's scope is visible in one place.
There are two independent obstacles to proving a substrate plugin live inside a bed, and #901 is only the first:
local:member's declaredplan:is never collected, so itscheck:steps never run and the bed reportsno_steps→ exit 0.exec.Command) therefore reaches the machine charly runs on — never the guest avm:/nested step points at. So even with the plan collected, a check like "the VMM binary answers, and accepts a whole lease over its API socket" cannot be satisfied inside a disposable guest by a verb written that way; the VMM must be started and spoken to through the step's executor (or the check must be delegated to the guest's own charly, which needs the plugin present there —bake_pluginbakes it at/usr/local/lib/charly/plugins/, and the spec'sPassthroughfield documents exactly that pod-in-VM delegation path).What that implies for consumers, and why I am recording it here rather than as a local workaround: the two documented routes both need work in this repo —
bake_plugintakes a candy ref, and a repo bootstrapped throughbootstrap-repo-mainhas no CalVer tag until a PR merges — a chicken-and-egg we hit directly: the bed that would prove the plugin is the PR that would tag it).Neither is filed here as a request to change the design — only as the measured constraint, so the three options in the issue body can be weighed with the second obstacle in view. The immediate consumer consequence, already stated on our PR: no bed in our integration can prove a guest-side check today, so that evidence is unit-level (a fake VMM speaking the real protocol over a real unix socket) plus a live manual run from the host, and the PR says so instead of pasting a green.
Assisted-by: DSH deepseek-v4.1-flash (fully tested and validated)
fix(vmm): the mmds read-back invariant is EQUALITY, not a hard-coded …
fix(firecracker)!: the check verb is served, dispatched by class, and…
feat: the Firecracker substrate slice — the check verb served, dispat…