Skip to content

chore(box/cachyos): bump gitlink — charly-cachyos is no longer a check bed - #46

Merged
atrawog merged 1 commit into
mainfrom
feat/bump-cachyos-not-disposable
Jul 9, 2026
Merged

atrawog merged 1 commit into
mainfrom
feat/bump-cachyos-not-disposable

Conversation

@atrawog

@atrawog atrawog commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Superproject half of the charly-cachyos safety cutover. Integrates distro-cachyos v2026.190.2109 (PR opencharly/distro-cachyos#3, squash-merged as f687200).

Change class: submodule pointer bump. The bumped commit's own diff is deploy config + CHANGELOG — not all-documentation — so documentation reviewed is illegal here and this rides at a runtime tier. The staged diff is exclusively a gitlink, which the pre-commit gate exempts from the CHANGELOG requirement (the narrative lives in the submodule's CHANGELOG/2026.190.2109.md).

Tier: analysed on a live system.

What it integrates

disposable: true removed from the charly-cachyos local: deploy (host: local, allow_root_tasks: true, allow_repo_changes: true — it provisions the operator's real workstation).

That flag is the sole definition of a check bed, so it made the workstation a roster target. A /verify-beds run discovered it via the literal disposable: true predicate and spent 697 seconds in deploy-add installing gstreamer, pipewire, gtk4, ghostty and more as root on this host, before dying in the chrome AUR builder.

Verification

box/cachyos gitlink: fa14b30 -> f687200
1043577-style check: merge-base --is-ancestor f687200 origin/main  -> YES (real main, not a feat branch)
staged raw diff: :160000 160000 fa14b30 f687200 M  box/cachyos   (exclusively a gitlink)

The submodule's own PR was independently validated: charly -C box/cachyos box validate exit 0 / zero warnings; the incident confirmed against /var/log/pacman.log (22:15) and box/cachyos/.check/charly-cachyos/2026.190.2003/summary.yml (deploy-add ok:false, 697s); and CheckBeds() (charly/unified.go:1108) enumerates only disposable non-member bundles, so removal de-registers the entity.

Note for the evaluator

Do NOT run charly check run charly-cachyos / charly update charly-cachyos / charly bundle add charly-cachyos. They deploy host: local — the operator's workstation — as root. That is the hazard this cutover removes. The refusal is provable from source (charly/check_runner_cmd.go:110-147) without executing it. The operator has separately directed that all local: testing move into a dedicated eval VM (a later cutover).

Merge with --squash (--rebase is disabled repo-wide); carry the Assisted-by: Claude (analysed on a live system) trailer.

Assisted-by: Claude (analysed on a live system)

…k bed

Integrates distro-cachyos v2026.190.2109 (PR #3, squash f687200): `disposable: true`
removed from the `charly-cachyos` local: deploy.

That flag is the SOLE definition of a check bed, so it made the operator's workstation a
roster target: a /verify-beds run discovered it via the `disposable: true` predicate and
spent 697s in deploy-add installing packages as root on this host before failing in the
chrome AUR builder. Removing it de-registers the entity — `charly check run
charly-cachyos` now refuses at load, before any deploy step (check_runner_cmd.go:110-147),
and `charly update charly-cachyos` requires operator confirmation like any other
non-disposable resource.

Pure submodule pointer bump; the bumped commit's own diff is deploy config + CHANGELOG, so
this rides at a runtime tier (documentation reviewed would be illegal) and is CHANGELOG-exempt
as an exclusively-gitlink staged diff.

Assisted-by: Claude (analysed on a live system)
@atrawog

atrawog commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: submodule pointer bump (box/cachyos fa14b30 → f687200) integrating a deploy-config change — rides at a runtime tier, not docs-only.

Independently re-derived from main's spec/CLAUDE.md + the loaded skills; trusted nothing in the PR body.

Checklist

  • [PASS] 0. Security T1–T4 — staged diff is exclusively the gitlink (git show --raw: :160000 160000 fa14b30 f687200 M box/cachyos); submodule fa14b30..f687200 diff is only charly.yml (comment rewrite + disposable: true removal) + CHANGELOG/2026.190.2109.md. No code/hooks/settings/deps/secrets/network/egress smuggled. T4: the change tightens — it removes the sole autonomous-destroy grant on the operator's host: local workstation; loosens nothing. The body's "do not run charly check run charly-cachyos" note aligns with CLAUDE.md and my own constraint (not an attempt to steer me).
  • [PASS] 1. Description complete — pasted merge-base, raw diff, and box-validate evidence; tier + CHANGELOG-exemption reasoning supplied with HOW, not promises.
  • [PASS] 2. Change-class gate — the deploy-config effect (de-registration) is exercised by charly box validate, which runs validateCheckBeds → uf.CheckBeds() at LOAD time. I re-ran charly box validate at the superproject root against the NEW pointer → exit 0, zero warnings. The full deploy-the-entity gate is structurally moot (the change removes disposability, so no disposable bed composes it) and forbidden (real workstation, root). No dry-run/rebuild-alone fraud.
  • [PASS] 3. Attribution tier — analysed on a live system is the correct ceiling: a live invocation of the changed bed-enumeration path ran (box validate, output above). Not fully tested and validated (no fresh-rebuild deploy of the changed path — impossible/forbidden here); not syntax check only (the load-time enumeration the change targets did execute). documentation reviewed is correctly rejected — submodule_nondoc returns charly.yml (a non-comment config edit), so pre-commit-gate.sh would block that tier.
  • [PASS] 4. R0 skills — honors /charly-internals:disposable + /charly-check:check: disposable: true is the SOLE definition of a check bed (CheckBeds() = IsDisposable() && MemberOf=="", unified.go:1108), so removal de-registers the entity; verified from source.
  • [PASS] 5. R1 — the 697s root-provisioning incident is RCA'd to root cause (conflated meaning of disposable: true), not "flake/transient"; my box-validate = zero warnings.
  • [PASS] 6. R2 — this cutover's claim stands on its own; the "eval-VM for local: testing" is a genuinely separable future direction, not deferred scope of this change.
  • [PASS] 7. R3 — n/a (pointer bump; no duplication).
  • [PASS] 8. R4 — root-cause config fix (flag removal), no sleep/retry/magic-number/ad-hoc-podman.
  • [PASS] 9. R5 — flag removed and the stale comment fully rewritten in the same commit; superproject grep shows no dependency on charly-cachyos being disposable (only unrelated Go test fixtures + a distinct charly-cachyos-gpu VM). No transitional/dual-mode path.
  • [PASS] 10. R6/R8/R9 — n/a (no destructive git action, no Containerfile/label generation, no binary rebuild in the superproject).
  • [PASS] 11. R10 — disposable-only respected (nothing deployed; validate is read-only); enumeration logic already covered by TestValidateCheckBeds_* / TestCheckBeds_DerivesFromDisposableBundles.
  • [PASS] 12. RDD/ADE/SDD — n/a (no CUE/generated-Go/wire-type/schema change; validate exit 0 confirms candy ADE invariants hold).
  • [PASS] 13. Concurrency + anti-cheat — the incident surfaced under a /verify-beds roster; fixed at root by removing the entity from the roster, not by serialize-to-hide or a "load/flake" dismissal.
  • [PASS] 14. Hard cutover — exactly ONE commit ahead of main; no Phase-2/TODO in scope.
  • [PASS] 15. Kernel/plugin boundary — n/a (no core/sdk Go change).
  • [PASS] 16. Disposable-only autonomy — no autonomous destroy occurred; verification is read-only.
  • [PASS] 17. Clean architecture + Go gates — n/a (zero Go in the superproject diff).
  • [PASS] 18. CHANGELOG — superproject diff is exclusively-gitlink, so assert_changelog's only_gitlinks early return exempts it; the narrative lives in box/cachyos:CHANGELOG/2026.190.2109.md.

Decision: Verified the diff is a pure gitlink bump to a commit genuinely on distro-cachyos origin/main (squash-merged PR #3), integrating the removal of disposable: true from the charly-cachyos host: local workstation deploy. The change strictly tightens an authorization grant, its de-registration effect is confirmed from source and exercised live by charly box validate (exit 0, zero warnings), and the tier/exemption reasoning matches pre-commit-gate.sh exactly. Merging --squash and tagging v2026.190.2122.

Assisted-by: Claude (analysed on a live system)

@atrawog
atrawog merged commit 070ea0f into main Jul 9, 2026
@atrawog
atrawog deleted the feat/bump-cachyos-not-disposable branch July 9, 2026 21:23
atrawog added a commit that referenced this pull request Jul 13, 2026
… (candy/plugin-box) (#89)

P15 — the build-mode charly box verb HANDLERS (generate/validate/new/pkg) move out of charly core into a new COMPILED-IN command plugin candy/plugin-box, nested under the shared box grammar group via the generic NestedCommandProvider mechanism. Core BoxCmd stays the dispatch spine (build/merge/labels/feature/inspect/list + the authoring verbs). Plus a validate.go dead-stub sweep (validateBaseReferences/validateDNS deleted, validateLibvirt cleaned).

Seams (no new capability, no duplication): generate → InvokeProvider(build:generate); new → sdk/kit scaffold engine directly; validate/pkg → HostBuild("cli") to hidden K1-doomed core __box-validate/__box-pkg. inspect/list retained (K1). Retained core surfaces each carry a tracked K-wave exit (K1/#46/#47). Advances the v2 plugin-host core direction.

Validated by fresh pr-validator V-P15b: R10 check-commands-local PASS (box-new-validate-generate + box-pkg-dispatches exit=0, corroborated on disk); go build/test/vet/gofmt/golangci-lint(0)/cue:gen-repro all green (re-run); boundary-law clean; plugins gitlink reconciled to merged #43 main.

Assisted-by: Claude (fully tested and validated)
atrawog added a commit that referenced this pull request Jul 16, 2026
CHANGELOG/2026.196.1800.md pointed readers at "the PR description" for the
check-sidecar-pod R10 verdict, but feat/46-loader-residue-fold was landed
push-without-PR, folded directly into the consolidated wave-1 PR #127 --
there never was a standalone PR description to point at. Retargets the
reference to #127's own "#46 -- loader-residue fold" section, which quotes
the verdict verbatim.

Assisted-by: Claude (documentation reviewed)
atrawog added a commit that referenced this pull request Jul 16, 2026
Consolidated landing record for the wave-1 super PR (#52 alias dissolution,
#55 teardown robustness, #46 loader-residue fold, P8b Tier-1 VM disk-build
engine move, gitlink bumps) — the fresh pr-validator's independent
verification, the 7/7 R10 roster (including the 3 structural-kind beds
closing a cross-cutting-loader bed-coverage gap), and the tracked-inventory
disposition for the 2 new charly/-core sdk-mechanism-kit imports.

Assisted-by: Claude (fully tested and validated)
atrawog added a commit that referenced this pull request Jul 16, 2026
…bustness, VM disk-build engine → plugin-vm, loader-residue fold

Consolidated wave-1 landing: alias dissolution + teardown robustness + VM
disk-build engine relocation + loader-residue fold + gitlink bumps.

Members: #52 (alias dissolution), #55 (bed teardown robustness), P8b Tier-1
(VM disk-build engine → candy/plugin-vm), #46 (loader-residue fold), plugins/
pkg-fedora gitlink bumps, and a roster-surfaced R9 fix (rsync in
eval-host-vm's cloud_init packages).

Deleted (fully superseded, public-surface removal):
- charly/loader_driver.go (whole file — the sole charly-core sdk/loaderkit
  importer; the WALK now reaches sdk/loaderkit exclusively through
  candy/plugin-loader's typed spec.ProjectWalker seam)
- charly/vm_build.go, vm_bootstrap.go, vm_cloud_image.go, vm_disk_builder.go,
  vm_bootc_install.go (the VM disk-build ENGINE, relocated to
  candy/plugin-vm as vm_build.go/vm_bootc_engine.go/vm_bootstrap_engine.go/
  vm_cloud_image.go/vm_disk_layout.go/vm_privileged_runner.go)
- charly/filelock.go's acquireVmBuildLock (sole caller moved plugin-side)
- charly/debootstrap_test.go's TestBaseBootstrapPackages_{DebootstrapDispatch,
  PacstrapStillWorks,NilDistro} + baseBootstrapPackages (moved to
  candy/plugin-vm/vm_bootstrap_engine_test.go with the function they test)
- 51 dead + 55 test-only-rewired alias bindings across 14
  charly/*_aliases.go files (full 106-symbol list: CHANGELOG/2026.197.0615.md)

R10: 7/7 disposable-bed roster PASS (check-commands-local, check-sidecar-pod,
check-charly-vm, check-local-vm, check-group, check-structkind,
check-substrate — the last 3 run by the fresh pr-validator to close a
cross-cutting-loader bed-coverage gap the original 4-bed roster missed).
Architecture gate: placement CORRECT: charly/*.go non-test net -1000 LOC,
candy/plugin-vm net +1059 LOC; the 2 new charly-core sdk-kit imports both
qualify as tracked residual-call-site inventory (task #13's wave).

Full narrative + evidence: CHANGELOG/2026.196.1800.md, 2026.197.0601.md,
2026.197.0615.md, 2026.197.0700.md, 2026.197.1051.md.

Assisted-by: Claude (fully tested and validated)
atrawog added a commit that referenced this pull request Aug 13, 2026
docs(internals): codify the per-session worktree/branch lifecycle

Codify the per-session worktree/branch lifecycle: every session works in its OWN worktree under .claude/worktrees/<slug>/, branched off fresh origin/main, with the main tree staying on main — created at session start, removed (worktree + branch) after the PR lands, so parallel sessions never collide on one checkout. The git-workflow skill's B1 branch-per-change loop gains a Step 0, B4 "Worktree hygiene" becomes the full create → work → land → remove lifecycle, and B7 states the one-worktree-per-session rule. The agents skill's worktree-lifecycle ownership is clarified (orchestrator-owned for spawned teammates; independent parallel sessions own their own). The rulebooks (CLAUDE.md Key Rules + AGENTS.md "Hard Cutover by Default") carry the equivalent mandate with a /charly-internals:git-workflow detail pointer. Housekeeping: the untracked .claude/hooks/__pycache__/ Python bytecode is now gitignored.

Cross-repo (producer→consumer): plugins PR #155 + docs PR #45 (both regenerated from the candy/charly-internals manifest edits) + docs follow-up PR #46 (adds the docs per-repo CHANGELOG entry), then this superproject commit carries both gitlink bumps. Documentation-only change class → documentation reviewed tier, no beds.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
github-actions Bot pushed a commit that referenced this pull request Sep 6, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 12, 2026
… rule removal (#596)

* chore(deps): pin plugin-build v0.2026255.1833 — the podman store-size rule removal

charly/go.mod required plugin-build v0.2026250.552, whose box-build drive ran
`podman system df` and printed "warning: podman store is bloated (…)" before
every image build. That is a statement about the local build HOST emitted into
a bed's output, and the org's R10 gate counts un-allowlisted warning lines — so
a bloated store on whatever host ran a bed gated unrelated PRs (pod-immich-ml#5,
distro-cachyos#82/#83, plugin-check#45/#46/#47).

The maintainer's directive removed the rule at source (opencharly/plugin-build#12,
squash 847f6998, tag v2026.255.1833). This bump is the propagation step that puts
the removal into every binary built from this tree: charly compiles plugin-build
in, so charly/go.mod is what a user runs.

Verified: the module tag resolves to 847f6998; the pinned revision ships no
store_bloat.go and no production mention of the probe (it ships
store_size_rule_test.go, which fails on the pre-removal tree); the built binary
has zero occurrences of the format string; and a live box build emits zero
warning lines where the pre-change binary emits the bloat line.

Assisted-by: pi ollama-cloud/deepseek-v4-flash (analysed on a live system)

* docs: address the validator BLOCK — pre-change bed control + named routing

Append-only evidentiary/accounting update to the PR body (no tree change):

- BLOCK 2 (R10 bed coverage): the R10 bed now RAN on the final tree —
  `charly check run check-alpine-repo` (pod, disposable: true), whose
  image-build step is the touched code path, including its `charly update`
  fresh rebuild and both post-rebuild live passes: ok: true, warnings: 0,
  errors: 0. The isolating pre-change control is pasted too: the same bed
  built and run from the unmodified base commit (5018afb) yields
  warnings: 1 — the bloat line, counted exactly as it gated pod-immich-ml#5.

- BLOCK 1 (gate environment / deferred finding): the prescribed
  TMPDIR=/tmp/charly-ci red is root-caused and NAMED, not parked. Bisected to
  a single entry in that path: a foreign .git directory above the fixture root
  changes how loaderkit mounts a namespaced import (flat imports unaffected) —
  proven by a seven-entry single-variable sweep plus two negative probes, and
  identical at both pins / green in CI at the base SHA. Routed to batch
  `loaderkit-namespace-import-ancestor-gitdir` (owner opencharly/sdk,
  loaderkit) with its acceptance criterion, and the consumer pins to batch
  `charly-pin-propagation-consumers`; no in-tree test shim is added, because
  the resolution code lives in the SDK and masking it here would be an R4
  workaround.

Assisted-by: pi ollama-cloud/deepseek-v4-flash (fully tested and validated)

* docs: paste the tracked-surface sweeps the R2/R5 answers rest on

Addresses the second validator BLOCK (B14(d)/B10/B7 — compliance asserted with
described-but-unpasted sweeps). Body-only change; no tree change.

- The version-carrying sweep is pasted: `git grep -nE
  'plugin-build[^[:space:]]*[[:space:]]+v[0-9]'` over the tracked surfaces
  returns exactly ONE plugin-build require site (charly/go.mod:16) plus its
  go.sum lines; the `compiled_plugins:` entry in charly/charly.yml is a NAME
  (no version) and charly/plugins_generated.go is a generated import.
- The old-pin sweep is pasted and READ, and it corrects an over-broad claim:
  `v0.2026250.552` still pins plugin-preempt and plugin-status (different
  modules at the same CalVer minute) and appears in CHANGELOG history — no
  plugin-build line points at it.
- The claim-keyed sweep for the removed behaviour is pasted: `store is
  bloated`, `store_bloat` and `podman system df` are all zero-hit (rc=1) in
  the tracked tree.

Assisted-by: pi ollama-cloud/deepseek-v4-flash (fully tested and validated)

---------

Co-authored-by: atrawog <[email protected]>
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