Repository navigation
chore: advance box/omarchy to the pacstrap VM - #496
Merged
Merged
Conversation
distro-omarchy#7 landed omarchy-pacstrap-builder, omarchy-pacstrap-vm and check-omarchy-pacstrap-vm. Without this bump none of them is reachable from charly: `charly -C box/omarchy vm build omarchy-pacstrap-vm` resolves the pinned commit, which predates them. This is the same wiring gap that #495 closed for the ISO entities, recurring for the same reason — a submodule PR merging does not move the superproject's gitlink, and the stale pin is perfectly valid, just older, so nothing flags it. The bed passes on the submodule commit this pins: check-omarchy-pacstrap-vm PASS (steps=9), 6/6 after the disposable rebuild Policy B is preserved by construction: this repo's box/omarchy IS the pin the umbrella mirrors, so the umbrella syncs to this rather than being hand-pinned. Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3
Contributor
Review — PASSHead SHA: Security screen: PASS — single gitlink advance, no scope mismatch, no secrets/exfiltration, no guardrail changes, no supply-chain edits beyond the intended pin. Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
atrawog
added a commit
that referenced
this pull request
Aug 30, 2026
…uild it (#497) `charly vm build omarchy-vm` fails on main: charly: error: command "vm": vm "omarchy-vm": unsupported source.kind "iso" (want one of cloud_image, bootc, bootstrap) and `charly check run check-omarchy-iso-vm` therefore dies at its first step, [vm-build], after 637ms. The bed cannot assert anything. ## Root cause `source.kind: iso` is implemented in plugin-vm and landed in opencharly/plugin-vm#8, first tagged `v0.2026242.1242`: v0.2026242.812 var knownVmSourceKinds = []string{"cloud_image", "bootc", "bootstrap"} v0.2026242.1242 var knownVmSourceKinds = []string{"cloud_image", "bootc", "bootstrap", "iso"} charly/go.mod required `v0.2026242.812` — the version immediately BEFORE it. charly#495 and #496 advanced the `box/omarchy` gitlink to a distro-omarchy that ships `omarchy-vm` (`source.kind: iso`) and `check-omarchy-iso-vm`, but neither bumped the plugin-vm require. So charly gained the ENTITIES that need the capability without gaining the capability. Nothing caught it: the entity is data, `charly box validate` checks it against the schema (which has the iso arm, from spec#71), and the rejection only happens at `vm build` time inside the plugin — a path no unit test and no CI job exercises. This is the "partial repin" class: a gitlink advanced while its consumer's own dependency pin stayed put, and the two only disagree at runtime. ## The fix Bump to the newest published plugin-vm, `v0.2026242.1912`, which also carries the per-domain serial log (#15) that makes a headless guest's console readable. `go get` also resolved sdk from a pseudo-version onto a released tag — `v0.2026242.914-0.20260830150119-f476722d55eb` → `v0.2026242.1217` — which is a strict improvement: an untagged commit pin becomes a released one. ## How tested Before, on a `task build:binary` of main: $ charly vm build omarchy-vm charly: error: ... unsupported source.kind "iso" ... [exit 1] After, same command, same tree, rebuilt: $ charly vm build omarchy-vm Building VM "omarchy-vm" (source.kind=iso) ... Disk .../omarchy-vm/disk.qcow2 is content-fresh (installer sha256=69cbb4e10d98ad831c3c9f245b5757a9d1fedfd0c9592780e977d6f950dea8c3) Wrote .../omarchy-vm/disk.qcow2 (blank — the installer partitions it) Wrote .../omarchy-vm/seed.iso (answers: authorized_keys, user_configuration.json, user_credentials.json, user_email_address.txt, user_full_name.txt) [exit 0] Full unit suite from the module dir, uncached, complete output: $ go test -count=1 ./... ok github.com/opencharly/charly/charly 91.423s ok github.com/opencharly/charly/charly/internal/pluginsgen 27.047s [exit 0] $ task build:binary [exit 0] (go.work.sum unchanged — the tracked-checksum guard did not trip) Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3 Co-authored-by: atrawog <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
distro-omarchy#7landedomarchy-pacstrap-builder,omarchy-pacstrap-vmandcheck-omarchy-pacstrap-vm. Without this bump none of them is reachable from charly:charly -C box/omarchy vm build omarchy-pacstrap-vmresolves the pinned commit, whichpredates them.
This is the same wiring gap
#495closed for the ISO entities, recurring for the samereason. A submodule PR merging does not move the superproject's gitlink, and the stale pin
is perfectly valid — just older — so nothing flags it. The work is merged and simply not
wired in, which is invisible until someone tries to use it.
How tested
The bed passes on the exact submodule commit this pins (
2f5e5c1b):[check-live-rebuild]ran against the guest the rebuild pacstrapped from nothing:With the submodule at this commit, charly's manifest still validates:
Policy B
Preserved by construction. This repo's
box/omarchyis the pin the umbrella mirrors, sothe umbrella syncs to this commit rather than being hand-pinned —
task syncinopencharly/opencharly, as its own PR. Hand-pinning the umbrella instead is the R4 violationthe umbrella rulebook names explicitly.
Rulebook compliance
merge, and its recurrence is explained rather than treated as new.
distro-omarchy#7. Leaving it unbumped is what would make that cutover partial.is the hand-pin the umbrella rulebook forbids.
git statusinspected; only the submodule gitlink staged — the localgo.mod/go.sumreplaces used for the dev build were reverted, not committed; branchedfrom
origin/mainand merged forward rather than force-pushed.pinned commit, not that the pin parses.
task build:binarystamped charlywith this submodule checked out.
check-omarchy-pacstrap-vmisdisposable: trueandincludes its own destroy-and-rebuild; result quoted above.
Change classification
box/omarchy), one linecharly box validateclean with the submodule at this commit, andcheck-omarchy-pacstrap-vmatPASS (steps=9)with 6/6 after its rebuildfully tested and validated— the pinned commit is the one the bed was run against, and the bed rebuilt its guest from nothingAssisted-by: Claude Code claude-opus-4-6-20260401 (fully tested and validated)