Skip to content

chore: advance box/omarchy to the pacstrap VM - #496

Merged
github-actions[bot] merged 2 commits into
mainfrom
chore/bump-box-omarchy-pacstrap
Aug 30, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
chore/bump-box-omarchy-pacstrap

Conversation

@atrawog

@atrawog atrawog commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

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 #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 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-omarchy-pacstrap-vm   PASS (steps=9)

[vm-build]           PASS after 2m44.315s [allowlisted=4]
[vm-create]          PASS after 2.037s [allowlisted=1]
[deploy-add]         PASS
[check-live]         PASS after 3.884s [allowlisted=1]
[update]             PASS                       ← disposable destroy + rebuild
[check-live-rebuild] PASS after 3.405s          ← 6 passed, 0 failed
[cleanup]            PASS after 3.057s [allowlisted=1]

[check-live-rebuild] ran against the guest the rebuild pacstrapped from nothing:

PASS  the guest's packages came from Omarchy's frozen mirror, not upstream Arch
PASS  root is the @ subvolume of a btrfs filesystem
PASS  the ESP is vfat at /boot, the layout limine assumes
PASS  the kernel was booted with the command line limine's config specifies
PASS  limine's loader is on the ESP where the firmware finds it

With the submodule at this commit, charly's manifest still validates:

$ task build:binary && ./bin/charly -C box/omarchy box validate
(no findings)

Policy B

Preserved by construction. This repo's box/omarchy is the pin the umbrella mirrors, so
the umbrella syncs to this commit rather than being hand-pinned — task sync in
opencharly/opencharly, as its own PR. Hand-pinning the umbrella instead is the R4 violation
the umbrella rulebook names explicitly.

Rulebook compliance

  • R1 — RCA every anomaly. No anomaly; this is the recorded consequence of a submodule
    merge, and its recurrence is explained rather than treated as new.
  • R2 — Finish the whole cutover. The wiring half of a cutover whose content half landed in
    distro-omarchy#7. Leaving it unbumped is what would make that cutover partial.
  • R3 — No duplication. N/A — a gitlink move.
  • R4 — No workarounds. The alternative, pinning the umbrella directly at the new commit,
    is the hand-pin the umbrella rulebook forbids.
  • R5 — Delete legacy completely. N/A.
  • R6 — Git safety. git status inspected; only the submodule gitlink staged — the local
    go.mod/go.sum replaces used for the dev build were reverted, not committed; branched
    from origin/main and merged forward rather than force-pushed.
  • R7 — Prove behavior, not compilation. The proof is a passing disposable bed on the
    pinned commit, not that the pin parses.
  • R8 — Preserve emitted artifacts. N/A.
  • R9 — Binary equals source. The validate ran against a task build:binary stamped charly
    with this submodule checked out.
  • R10 — Fresh disposable proof. check-omarchy-pacstrap-vm is disposable: true and
    includes its own destroy-and-rebuild; result quoted above.

Change classification

Change class submodule gitlink advance (box/omarchy), one line
Verification gate charly box validate clean with the submodule at this commit, and check-omarchy-pacstrap-vm at PASS (steps=9) with 6/6 after its rebuild
Attribution tier fully tested and validated — the pinned commit is the one the bed was run against, and the bed rebuilt its guest from nothing

Assisted-by: Claude Code claude-opus-4-6-20260401 (fully tested and validated)

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
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: a13090642ea6 (branch: chore/bump-box-omarchy-pacstrap)

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.

  • A1/A2/A3: Body complete with summary, pasted bed output, rulebook compliance, and *Assisted-by: Claude Code claude-opus-4-6-20260401 (fully tested and validated)* footer. Tier justified — the pinned commit is the one the bed ran against, and the rebuild executed the new submodule content live.
  • R1–R10: No anomaly; R2 wiring rationale sound; R4 alternative (hand-pinning umbrella) correctly rejected; R6 git status stated; R9 binary-stamped validate; R10 disposable bed check-omarchy-pacstrap-vm named with internally consistent output (steps=9, 6/6 after rebuild).
  • B13/B16/B17/B18: N/A (no candy/schema/Go changes); placement correct (pin advance); disposable-only honored.
  • No comments on thread; no forbidden framing.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 30, 2026 19:28
@github-actions
github-actions Bot merged commit fe2201d into main Aug 30, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 30, 2026
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]>
@aitrawog
aitrawog deleted the chore/bump-box-omarchy-pacstrap branch September 25, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant