Skip to content

check: a nested local: member plan is never collected, so a bed that declares checks passes with no_steps (exit 0) #901

Open

Description

@aitrawog

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-plan

The 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:

  1. Collect a nested local: member's plan (its template's plan: included) at check time — then the documented shape works as the skill says it does; or
  2. 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
  3. If the shape is genuinely unsupported, correct the /charly-local:local-deploy skill (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

  1. aitrawog commented on Oct 14, 2026

    @aitrawog
    ContributorAuthor

    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:

    1. (this issue) a nested local: member's declared plan: is never collected, so its check: steps never run and the bed reports no_steps → exit 0.
    2. A check verb's probe runs on CHARLY'S HOST, not in the step's venue. The verb is dispatched in-process, and a probe that shells out (exec.Command) therefore reaches the machine charly runs on — never the guest a vm:/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_plugin bakes it at /usr/local/lib/charly/plugins/, and the spec's Passthrough field 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 —

    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)

  2. added
    category:verification
    type:fix
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:verificationtype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions