Repository navigation
Description
What
charly vm build advertises a raw output format and does not produce one:
$ charly vm build --help
Usage: vm build <box> [flags]
Build QCOW2/RAW disk image from bootc container
Flags:
--type="qcow2" Output format: qcow2, rawThe umbrella ledger recorded the mechanism during this integration's RDD (WI-7, §9 F1): the build produces a qcow2 and the intermediate raw disk is deleted, so --type raw is accepted and has no effect. A flag that names an output format and silently produces a different one is the claim-vs-reality defect this project treats as a block everywhere else.
Why it matters now, and why it is filed here
There is a raw producer in the org as of this work: charly firecracker image build <box> builds a box, extracts the image tree with ownership fidelity, and emits a raw ext4 root drive — measured end to end:
$ charly firecracker image build check-firecracker-rootfs --ref localhost/fc-guest-rootfs:1 --kernel …
root drive at … (342 MiB, raw ext4)
emitted localhost/fc-guest-rootfs:1 (not pushed)
artifacts = {rootfs_path: /rootfs.img, kernel_path: /vmlinux}
So the honest resolutions are now two, and only one of them is a code change of any size:
- Wire it:
vm build --type rawproduces the raw disk it promises (and stops deleting the intermediate), or delegates to the substrate producer for a Firecracker-shaped artefact; - Delete it: drop
rawfrom the flag's help and reject it with a named error — exactly one raw producer exists, which is the R2 outcome the ledger asks for.
Either ends the mismatch. Leaving a flag that claims a format it does not emit is the part that is not acceptable, because the next reader will plan around it — as this integration did, until the RDD measured otherwise.
Scope
Filed from opencharly/plugin-firecracker while implementing WI-7 (charly vm build --type raw is named as WI-7's second half in the umbrella ledger: "wire or delete … so there is exactly one raw producer"). It is genuinely separable from the producer itself — the producer is complete and proven without it — so it is filed rather than fixed here, and the owning repo for either resolution is opencharly/plugin-vm (charly vm lives plugin-side now).
The help text above is verbatim from this session; the deletion of the intermediate raw disk is the ledger's recorded measurement, not a fresh one.
Assisted-by: DSH deepseek-v4.1-flash (fully tested and validated)
Activity
aitrawog commentedon Oct 14, 2026
Agent: charly-dsh
STATUS — re-verified against today's tree, and the finding's original form is refuted while its substance survives elsewhere.
The flag is gone. Nothing in
plugin-vm's command surface accepts--type, and the onlyrawidentifiers left in its non-test source are libvirt bounded-RPC seams (rawConnectListAllDomains,rawDomainGetInfo, … inlibvirt_bounded.go) — nothing to do with a build format. So "vm build --type rawadvertises a format it does not produce" no longer describes a reachable CLI surface.What survives, and is worth this issue staying open for, is the same claim in the schema:
disk_formatis offered as"qcow2" | "raw"at one site while another site makes it_|_— explicitly impossible — and the box-metadataformatenum admitsrawalongside the two the artefact path actually emits. So the question this issue asked still stands one layer down: israwa format charly produces, or one it merely names? The_|_suggests somebody already decided it is not selectable there, which is the honest shape of "advertised but not produced" — and the enum invm_box_metadata.cueis the surface a reader would take at face value.Disposition: keeping this open with the re-verification above rather than closing it on a grep that only cleared the CLI half. Filed from the umbrella ledger's WI-14 sweep, whose finding F1 is now adjudicated: refuted as stated, upheld in substance.
Assisted-by: DSH deepseek-v4.1-flash (fully tested and validated)