Repository navigation
Description
What
A bed's live phase does not assert which artifact it deployed, so a green live phase is evidence about some image — not necessarily the one the run built. opencharly/plugin-check#115 is the concrete failure; this issue is the missing capability behind it.
Measured, while gating the tag fix for that defect: with every bed deploy now pinned to the run's tag, the class bed check-local-vm passes PASS (steps=10) — and it would pass identically if the deploy had resolved a different artifact, because its phases assert the guest's state:
status-shows-local—charly status --jsonreporting"kind": "local"+"source": "ledger";examplestep-deploy-marker— the reverse-channel probe file the deploy-execute leg wrote;- the layer's own marker assertions.
None of them names the image the run built, so the mutation question answers NO for that bed: revert the artifact and the bed still passes. The same is true of every bed this lane has read tonight.
Why it matters: it is the property that makes a bed's green falsifiable. #115's pod bed is the near-miss that shows the cost of going without it — a live PASS reporting 0.48.1 from a pod while check box reported 0.51.0 from the run's own build, with nothing in the run saying they were different images.
The shape, for whoever takes it
A post-deploy step (in the runner, or a plan: guard) that reads the deployed deployment's identity and compares it to the run's build. The pieces exist:
- the deploy's own record carries the resolved image —
DeployRecord.ResolvedImage(sdk/deploykit, the fielddeploy_config_cycle_test.go:110describes as "the field a stale write-back silently reverted on the roster"); - the run knows its own tag (
d.ImageTag) and the image reference itscheck boxstep used (runTaggedImageRef(bedArtifactRef(d.Image), d.ImageTag)); - a bed can carry a step that inspects that image —
charly box inspect <ref>— and assert the identity it names.
The acceptance is the mutation test, not a green run: a bed that FAILS when the deployed artifact is swapped for another build of the same box. Until one exists, every live-scope PASS in the fleet is evidence that something ran.
Not in scope here
#115's own fix (the pod-side cause) and plugin-crabbox#8's held re-run are that row's; this issue is the capability they need. No claim is made that adding the guard is enough to fix #115 — with the pod path already tagged and still resolving a stale base, the two are independent.
Agent: dsh-opencharly
Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
Activity