You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
An untagged build emits an empty ai.opencharly.vm.box Version, which R7 treats as a failure #10
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
The ai.opencharly.vm.box label's Version is now read from the build's own module version (debug.ReadBuildInfo()), so a tagged build carries its real version and the label cannot claim one the binary does not have. An untagged build (go build in a worktree, which is what every bed and every dev run produces) still yields "", and the field is currently emitted empty rather than omitted.
Why that is a residual defect and not a nicety
R7 treats an empty label as a failure — an emitted field that carries no value is a claim of the wrong shape, and a consumer cannot tell "no version" from "version unknown". The honest renderings are omit the field or state that it is unknown; emitting Version: "" does neither.
boxVersion() returns bi.Main.Version when the build carries one and "" otherwise. In the worktree the build info reads (devel), so the label ships empty on every bed run and every local build — i.e. on every artefact this repo has produced so far.
Options
Omit Version when empty — the field is part of a typed label contract, so this likely needs omitempty (or a pointer) on the emitted structure; the consumer then sees an absent field, which is the truthful statement.
Emit an explicit unknown marker with a documented meaning.
Option 1 is preferred: an absent field cannot be mistaken for a value, and a marker adds vocabulary every consumer must learn.
Where this came from
opencharly/plugin-firecracker#9's verdict (R7 / CONC(b)): the previous justification was "Wiring a real one … is filed rather than faked" — a parking phrase that named no issue. This is that issue, with the number the rulebook requires. The debug.ReadBuildInfo() half is implemented in that PR; this tracks the untagged remainder.
Assisted-by: DSH deepseek-v4.1-flash (analysed on a live system)
STATUS — sequenced behind #11, same file; do not land this separately
Agent: charly-dsh
Unclaimed row, and I am not taking it — because the fix it needs lands in a file that already has a live PR open on it.
The defect is real and the fix is stated.boxVersion() returns bi.Main.Version when the build carries one and "" otherwise, and R7 treats an empty emitted label as a failure rather than a skip:
Option 1 from this issue — omit the field when empty (omitempty or a pointer on the emitting struct) — is right, and its own reasoning is the reasoning I would give: an absent field cannot be mistaken for a value, and a marker adds vocabulary every consumer must learn.
Why it is not a separate PR: #11 is open on this exact file.
$ gh pr view 11 --repo opencharly/plugin-firecracker
#11 OPEN draft=false BLOCKED author: aitrawog head: feat/producer-carry
change class: runtime — candy/plugin-firecracker/image.go (+456 Go), cli.go, image_test.go,
two new beds in charly.yml, a box/candy su…
So a second branch touching image.go would conflict with the operator's own work for no gain, and Part II #11's "never start or push over a live claim" is exactly this case. The right place for this fix is inside #11, or immediately after it lands.
What would make it verifiable, so it is worth folding in rather than filing away: the acceptance this issue already implies — a build with no module version must emit a label set with noai.opencharly.vm.box.Version key at all, asserted against the emitted OCI labels rather than against the Go value. That is a check that fails today (the key is present and empty) and passes with omitempty, which is the shape R7 wants. If whoever carries #11 wants it, the assertion is one line in the emitted-label test and this issue closes with the same change.
Nothing changed and nothing pushed by me.
Assisted-by: DSH DeepSeek deepseek-v4.1-flash (fully tested and validated)
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Activity
aitrawog commentedon Oct 16, 2026
STATUS — sequenced behind #11, same file; do not land this separately
Agent: charly-dsh
Unclaimed row, and I am not taking it — because the fix it needs lands in a file that already has a live PR open on it.
The defect is real and the fix is stated.
boxVersion()returnsbi.Main.Versionwhen the build carries one and""otherwise, and R7 treats an empty emitted label as a failure rather than a skip:Option 1 from this issue — omit the field when empty (
omitemptyor a pointer on the emitting struct) — is right, and its own reasoning is the reasoning I would give: an absent field cannot be mistaken for a value, and a marker adds vocabulary every consumer must learn.Why it is not a separate PR:
#11is open on this exact file.So a second branch touching
image.gowould conflict with the operator's own work for no gain, and Part II #11's "never start or push over a live claim" is exactly this case. The right place for this fix is inside#11, or immediately after it lands.What would make it verifiable, so it is worth folding in rather than filing away: the acceptance this issue already implies — a build with no module version must emit a label set with no
ai.opencharly.vm.box.Versionkey at all, asserted against the emitted OCI labels rather than against the Go value. That is a check that fails today (the key is present and empty) and passes withomitempty, which is the shape R7 wants. If whoever carries#11wants it, the assertion is one line in the emitted-label test and this issue closes with the same change.Nothing changed and nothing pushed by me.
Assisted-by: DSH DeepSeek deepseek-v4.1-flash (fully tested and validated)
feat(producer): the artefact producer, its guest bed, and the CLI mis…
fix(image): match the built image by the box's leaf name, so a remote…