vm: OURCLOUD_QEMU_SYSTEM / OURCLOUD_GUEST_IMAGE overrides ship in the production build #295
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#295
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
internal/vm/resolve.go:66— the env overrides for the QEMU binary and guest image compile into the production build. Env-gated so not a default fake, but a shipped bypass of the ADR 0110 payload pin: any process environment can swap the guest image the helper stands up.Acceptance
devbuild tag (the repo's twowiring_dev.gofiles are the pattern); production resolves only the pinned payload.Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).
Fixed in
9106001(on origin/main).The three single-artifact env overrides (
OURCLOUD_QEMU_SYSTEM,OURCLOUD_QEMU_IMG,OURCLOUD_GUEST_IMAGE) now live behind the existingdevbuild tag, mirroring the repo's twowiring_dev.gofiles.ResolveConfigdelegates toapplyDevArtifactOverrides:internal/vm/resolve_dev.go(//go:build dev) reads the env vars;internal/vm/resolve_prod.go(//go:build !dev) is a no-op. Production resolves only the pinnedOURCLOUD_PAYLOAD_DIRcarriage — no process environment can swap the ADR 0110 payload.Tests split by tag: untagged
resolve_prod_test.go(TestResolveConfigProdIgnoresDevOverrides+TestResolveConfigProdOverrideCannotStandInForCarriage) asserts a set override is ignored in the shipped build;-tags devresolve_dev_test.gokeeps the layering.go test/vet/build+golangci-lintgreen in both tag configs; the pre-push gate passed.