Skip to content

chore: advance box/cachyos to the GPU-bed snapshot - #507

Merged
atrawog merged 1 commit into
mainfrom
chore/advance-box-cachyos
Aug 31, 2026
Merged

atrawog merged 1 commit into
mainfrom
chore/advance-box-cachyos

Conversation

@atrawog

@atrawog atrawog commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Advances box/cachyos to distro-cachyos HEAD, adopting the snapshot that landed in
distro-cachyos#54:

  • check-cstream-gpu-vm — the GPU venue for cstream, and the measurement its encoder contract
    rests on. The plan asserts "a passed-through 4080 has no VA EncSlice" and builds three later
    claims on it; that premise had never been measured, and is now asserted by the bed rather than
    assumed.
  • btrfs-progs on cachyos-vm and cachyos-gpu-vm — both have a btrfs rootfs and no fsck
    helper, so mkinitcpio warns "No fsck helpers found", its warnings escalate to "errors were
    encountered during the build"
    → error: command failed to execute correctly, and charly's
    log-diagnostic gate fails the step even though deploy-add itself exits 0.

Why this needs a PR at all

Policy B pins the umbrella's distro-* to exactly the commits charly's own gitlinks pin — the
umbrella means "the org as charly sees it". So distro-cachyos does not reach the umbrella on
its own merge: charly has to adopt the snapshot first. And unlike the umbrella, charly has no sync
workflow (ci, pr-validator, release-binary, tag-on-merge only), so the adoption is a
deliberate, manual step. Without it the GPU bed sits merged and unreachable.

How tested

charly's own gate, on the final committed tree:

$ go test ./charly/ -count=1
ok  	github.com/opencharly/charly/charly	103.123s
GO_TEST_EXIT=0

Zero failures.

The gitlink resolves, and points where I claim. It was taken from the remote programmatically
rather than typed:

$ git ls-remote https://github.com/opencharly/distro-cachyos.git HEAD
a5db826642fe88b5bc73b7f6189ed139775fc713

$ git ls-files -s box/cachyos
160000 a5db826642fe88b5bc73b7f6189ed139775fc713 0	box/cachyos      # MATCH

and the commit exists upstream — docs: add CHANGELOG 2026.243.0505 for PR #54.

That check is not ceremonial. A first attempt at this bump staged
a5db82664c1e…, a SHA whose tail I had reconstructed from the 8-character prefix a5db8266.
It is not a commit — gh api answered "No commit found for SHA" — and it would have been a
dangling pin that verify-pins.sh treats as a failure. Resolving the SHA from the remote instead of
retyping it is what caught it.

The content behind the pin was gated in its own repo, which is where that evidence belongs:
distro-cachyos#54 ran check-cstream-gpu-vm and check-cachyos-vm as full disposable cycles
including their destroy-and-rebuild legs, errors: 0, skew 0, box validate exit 0.

Rulebook compliance

  • R1 — RCA every anomaly. The bad first SHA was root-caused to reconstructing a value instead of
    resolving it, and the fix is the resolution method, not a retype.
  • R3 — no duplication. A gitlink bump; no content copied into charly.
  • R4 — no workarounds. A merged commit on the owning repo's default branch — not a branch ref,
    not a hand-picked intermediate commit.
  • R6 — git safety. Working tree checked before staging and clean after commit; chore/ branch
    off a fresh clone of main; no force-push, no direct push to main, no hook bypass.
  • R7 — prove the gate, not the plan. go test ./charly/ output pasted, from the final committed
    tree.
  • R10 — fresh disposable proof. Supplied by distro-cachyos#54 for the content; this PR's own
    change is a pointer, whose gate is charly's suite.

Change classification

  • Change class: submodule gitlink — one pointer, box/cachyos. No Go, no schema, no workflow, no
    file content.
  • Verification gate: go test ./charly/ on the final committed tree, plus resolution of the pin
    against the remote.
  • Breaking change + rollback: none — a revert restores the previous snapshot.
  • Producer → consumer order: distro-cachyos#54 merged and tagged → this repo adopts it →
    the umbrella's policy-B sync follows.

Attribution tier: fully tested and validated


Assisted-by: Claude Code claude-opus-5[1m] (fully tested and validated)

distro-cachyos#54 landed check-cstream-gpu-vm — the GPU venue for cstream, with
the VA-EncSlice measurement its encoder contract rests on now asserted rather
than assumed — plus btrfs-progs for cachyos-vm and cachyos-gpu-vm, which removes
a mkinitcpio fsck-helper error that failed deploy-add's log-diagnostic gate.

This is also the hop that gets it to the umbrella. Policy B pins the umbrella's
distro-* to exactly the commits charly's own gitlinks pin, so distro-cachyos does
not reach the umbrella on its own merge — charly has to adopt the snapshot first,
and charly has no sync workflow, so the adoption is deliberate and manual.

Gitlink resolved programmatically from the remote rather than typed: an earlier
attempt in this session staged a SHA whose tail I had reconstructed from an
8-character prefix, producing a pin to a commit that does not exist. Verified:

    distro-cachyos HEAD  a5db826642fe88b5bc73b7f6189ed139775fc713
    staged in box/cachyos a5db826642fe88b5bc73b7f6189ed139775fc713

and the commit resolves on the remote ("docs: add CHANGELOG 2026.243.0505 for
PR #54").

Claude-Session: https://claude.ai/code/session_01Gf42A3bau77JigFYLALrnq
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 292e9ee45597 (branch: chore/advance-box-cachyos-gpu-bed)

Security screen: PASS — single submodule gitlink bump; no scope mismatch, no secrets/exfiltration, no weakened guardrails, no self-modifying security changes. The pin advances to a merged commit on the owning repo's default branch, verified against the remote (git ls-remote → a5db826642fe88b5bc73b7f6189ed139775fc713), matching the diff's new submodule SHA exactly.

Checklist: All applicable rules PASS or NA.

  • A1/A2/A3: Body fully accounts for the single box/cachyos pointer change; gate (go test ./charly/ on final committed tree + remote pin resolution) matches the submodule-bump change class; pasted output internally consistent (ok … 103.123s, GO_TEST_EXIT=0); Assisted-by: footer present in exact form; "fully tested and validated" tier justified for a pointer change whose content was gated in the producer repo (distro-cachyos#54).
  • R1/R3/R4/R6/R7/R10: Bad-first-SHA root-caused to reconstruction-vs-resolution; no duplication (pointer only); merged default-branch commit, no workaround; git-safety stated; gate output pasted; disposable proof supplied by producer repo.
  • B16 placement: CORRECT — box/cachyos is a box; no core/sdk/candy movement.
  • B13/B14/B15/B17/B18: NA (no candy/schema/Go/workflow changes); single atomic commit.

Verdict: PASS


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

View action run

@atrawog
atrawog merged commit dc088cd into main Aug 31, 2026
3 checks passed
@atrawog
atrawog deleted the chore/advance-box-cachyos branch August 31, 2026 06:29
charly-auto-merge Bot added a commit that referenced this pull request Aug 31, 2026
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