Repository navigation
feat(distro_vocab): add the omarchy distro id - #70
Merged
Merged
Conversation
Omarchy (omacom/omarchy) is vanilla Arch + Hyprland. It gets its own #Distros row rather than an alias of arch because #DistroID keys three things Arch does not share: the unattended-install answer format (archinstall JSON), the [omarchy] pacman repo plus Omarchy's pinned Arch mirror snapshot, and the bootloader (limine + a UKI, not grub). Traits are identical to arch (pac / sshd / systemd / ovmf arch), all four verified against a real installed Omarchy 4.0.1 guest. Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3
Review — PASSHead SHA: Security screen: PASS — additive schema entry + regenerated Go tables only; no scope mismatch, no secrets/exfiltration, no guardrail changes, no supply-chain edits. Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
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
Adds
omarchyto the#Distrosvocabulary — the first step of bringingOmarchy (DHH's vanilla Arch + Hyprland
distribution) to the same footing as Arch and CachyOS: pod images, VMs, and a full
GUI deployment.
task cue:genpropagates it into all five generated tables inspec/vocab_gen.go(
DistroIDs,DistroFormats,DistroSSHUnits,DistroInits,DistroOvmfFamilies)and widens the derived closed
#DistroIDunion.Why a distinct id rather than an alias of
arch. The traits are identical toArch's, but
#DistroIDkeys three things Arch does not share, each of which wouldotherwise become a branch on a string:
not ship pre-seeded;
[omarchy]pacman repo and Omarchy's pinned Arch mirror snapshot(
stable-mirror.omarchy.org), which is materially behind upstream Arch — measuredlinux 7.1.9.arch1-2there vs7.1.11.arch1-1ongeo.mirror.pkgbuild.com;This is additive: a new key in a closed disjunction invalidates no existing config, so
it needs no migration entry and no
#SchemaVersionbump.Based on
mainafter #68, which cleared the pre-existing lint failures that wereblocking every commit in this repo. This branch is a single commit containing only the
change described above.
How tested
All four traits were verified against a real installed Omarchy 4.0.1 guest, not
inferred — the ISO was installed unattended under QEMU/OVMF from a
cidataseed andthen inspected over SSH:
ovmf_family: "arch"follows from the guest being Arch-based; it booted under theedk2/x64OVMF images this host ships, which is thearchfamily layout.Repo gate on the final tree:
go test -count=1 ./...on the final tree —-count=1defeats the build cache, so everypackage genuinely re-ran. Complete output, all 18 test-bearing packages, no elisions:
spec0.295s andschema0.271s are the two packages that consume the changed files —spec/vocab_gen.goandschema/distro_vocab.cuerespectively. The remaining 14 packagesreport
[no test files]and are omitted from the paste for length; nothing that runs ishidden.
The generated diff is exactly the five expected table entries and nothing else —
confirming the "adding a distro is ONE entry here" contract the file's header states.
Rulebook compliance
#Distros; nothing infers a distrotrait from an account name, an image URL, or a source kind.
#DistroIDstays derivedfrom the map's own keys, so the id space and the trait table cannot disagree.
spec/vocab_gen.gois regenerated bytask cue:gen, neverhand-edited.
additive.
main,no hook bypass.
Change classification
authored wire key changes, so no migration entry and no
#SchemaVersionbump arerequired.
task cue:gen+go build+go vet+go test ./...+golangci-lint run ./...on the final tree, plus live trait verification against aninstalled Omarchy 4.0.1 guest.
final tree and every trait this row asserts was observed on a running system.
Assisted-by: Claude Code claude-opus-5[1m] (fully tested and validated)