Repository navigation
Description
What happens
charly check records a failing step's stderr only at its tail, so a bed cannot show the evidence that decides its own assertion — and when the decisive line is printed early, it is gone. A passing step's output is not recorded at all.
Measured
Night of 2026-11-13, on opencharly/plugin-deploy-firecracker's check-plugin-tree-vm bed. The bed's check step prints the delivered tree, the artefact's size and sha256, then runs five assertions. One run failed:
FAIL check the delivered tree is present inside the guest, under the leaf name the loader searches
[venue-delivery-in-guest] exit=1, want 0
(stderr: tree after the deliver step: plugin-firecracker delivered size: 32108517 bytes
delivered sha256: b96f8c6f… the delivere…
The message is cut at the delivere…. Every assertion after that point begins with those same
bytes — "the delivered tree has no …providers manifest", "the delivered plugin is not an ELF
binary", "the delivered plugin is … bytes" — so the summary cannot say WHICH one fired. The full
stream is not kept in .check/<bed>/<calver>/ either (check-live.log carries the same truncated
line; runner.stderr.log does not have it).
Cost: the failure could not be root-caused from its own evidence. It recurred as neither
reproducible nor explained across five subsequent green runs on an identical assertion set, and two
review rounds were spent on the ambiguity before the assertion was re-ordered so the deciding
evidence prints FIRST.
Why it matters beyond this bed
R7 requires a gate to prove behaviour, and R1 requires every failure to be root-caused. Both depend
on the failing run's output being recoverable. A gate whose failure report is a 120-character tail
can only be diagnosed by re-running it — which is the rerun-and-see dodge the rulebook forbids,
made unavoidable by the tool.
What would fix it
- Keep the failing step's FULL stderr (and stdout) in
.check/<bed>/<calver>/— the runner already
writes per-step logs, so this is a matter of what it captures, not a new mechanism. - Record a PASSING step's output too, behind the existing run directory, so a witness can be
inspected after the fact. A witness only visible on failure is half a witness. - Keep the summary's
reasontail as-is (it is a convenience), but make it explicitly a REFERENCE
to the full log rather than the only copy.
Notes
Separable from any plugin work: this is the check runner's observation layer, not a
plugin-tree concern. Filed from the plugin-deploy-firecracker cutover that hit it
(#1131's consumer side).
Agent: charly-plugins
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Activity