Repository navigation
chore(landing): commit the gh pr merge allow-rule as project policy - #22
Conversation
Makes the merge authorization part of the rules: .claude/settings.json permissions.allow gains Bash(gh pr merge:*). The real gate is already GitHub branch protection (main requires the charly/claude-validation status from a fresh pr-validator, enforce_admins, linear) — an unvalidated PR physically cannot merge. The allow-rule stops the auto-mode permission classifier from redundantly re-litigating each merge (which it did inconsistently, demanding per-PR authorization); enforcement lives in ONE place (GitHub), not duplicated in the client classifier. Status-POSTING is deliberately NOT allow-listed, so it stays classifier-judged and remains the fresh evaluator's job. Bumps plugins → the git-workflow B5 note documenting this. Verified live: charly#21 (P2/S1) merged autonomously through this rule this session. Assisted-by: Claude (analysed on a live system)
pr-validator — APPROVED ✅Change class: config/policy ( Independent re-validation (fresh context, not the author). Every applicable rule verified from the diff + my own re-runs, not the author's word:
Verified independently: branch protection Decision: APPROVED. This is the clean, single-place-enforcement fix — merge authority is asserted client-side by the allow-rule while the deterministic gate stays server-side in GitHub branch protection, and the independence-sensitive status post is deliberately left classifier-judged. Assisted-by: Claude (analysed on a live system) |
…ge allow-rule policy) Assisted-by: Claude (analysed on a live system)
…t thin wrappers K1 keystone (task #24) — 3-repo cutover, this is the charly consumer leg: 1. sdk (sdk#103, merged 3d5ab5c, tag v0.2026206.1046) — the loaderkit.LoadUnified/ApplyDiscover producer leg. 2. plugins (plugins#114, merged dc9dd974, tag v2026.206.1136) — docs-only R5 claim-sweep correcting the plugin skill + pr-validator.md's stale "materialize is a permanent in-core M-mechanism" claim. 3. charly (this leg) — LoadUnified/ApplyDiscover become thin wrappers delegating to loaderkit.LoadUnified/loaderkit.RunDiscover, threading every registry-coupled step through the new loaderkit.LoadSeams callback struct. Repoints the plugins gitlink to the merged dc9dd974 (was an unpushed local-only SHA). Net: -312 core LOC (66 files, +799/-1111). Disclosed structural changes: UnifiedFile.PluginKinds field consolidation (behavior-preserving, dual byte-equivalence proven); task #22 partial-only fix (stays open, named follow-on); charly/ -> sdk/loaderkit import-site inventory 6->42 (+36), tracked until-K<n> debt with a named exit (loader orchestration moves behind HostBuild("resolved-project")), tracked by charly#118's P16 floor gate. R10: check-pod PASS (steps=13), ok:true, 169s, fresh-rebuild incl. check-live-rebuild + feature-run-rebuild, zero warnings. Dual byte-equivalence proof (canonicalized-JSON harness + materialized-Containerfile diff), both byte-identical. pr-validator round 2: both round-1 findings (unpushed plugins gitlink; undisclosed kit-import inventory) independently re-verified fixed against live remote state. Assisted-by: Claude Code Anthropic Claude Sonnet 5 (fully tested and validated)
…cpio chroot autodetect error - box/cachyos → 1e52b4e (distro-cachyos main post-#22: the batch-1 moved candy refs advance to standalone repos) and box/fedora → 46f7cf7 (post-#36): unblocks TestCandySourceDirs_OverrideAnchorsRemoteApk, whose scan of box/cachyos resolved deleted charly/candy/* refs under CHARLY_REPO_OVERRIDE. - candy/plugin-check: allowlist mkinitcpio's 'failed to detect root filesystem' — the autodetect hook cannot find a root device inside the pacstrap chroot and falls back to a full initramfs (the correct initramfs for a booting VM); CONDITIONAL on 'Initcpio image generation successful' in the same log, scoped by TestMkinitcpioChrootAutodetectIsConditional (recovered / no-recovery-fatal / unrelated-error-not-exempted). This is the named-batch exit the distro-cachyos#23 vm checks need to reach zero warnings.
#385) * feat: the batch-1 candies move to their standalone kind-prefixed repos The candy cutover, batch 1 — the 15 most-required base candies leave the charly repo for their standalone repos (kind-prefixed naming): layer-supervisord, layer-nodejs, layer-golang, pod-dbus, pod-pipewire, layer-ffmpeg, pod-sway, layer-cuda, layer-tmux, layer-socat, pod-selkies, layer-chrome, layer-python, layer-gemini, pod-chrome-cdp. Every bare require:/candy: reference across the repo reworks to the pinned @github.com/opencharly/<kind>-<name>:v<tag> ref; package-list false positives reverted; the parity fixture moves to debootstrap-builder (tmux moved) with the golden regenerated; the agent-profile fixture drops the moved gemini. * feat: the batch-1 candies move to their standalone kind-prefixed repos The candy cutover, batch 1 — the 15 most-required base candies leave the charly repo for their standalone repos (kind-prefixed naming): layer-supervisord, layer-nodejs, layer-golang, pod-dbus, pod-pipewire, layer-ffmpeg, pod-sway, layer-cuda, layer-tmux, layer-socat, pod-selkies, layer-chrome, layer-python, layer-gemini, pod-chrome-cdp. Every bare require:/candy: reference across the repo reworks to the pinned @github.com/opencharly/<kind>-<name>:v<tag> ref; package-list false positives reverted; the parity fixture moves to debootstrap-builder (tmux moved) with the golden regenerated; the agent-profile fixture drops the moved gemini. * feat: the batch-1 candies move to their standalone kind-prefixed repos The candy cutover, batch 1 — the 15 most-required base candies leave the charly repo for their standalone repos (kind-prefixed naming): layer-supervisord, layer-nodejs, layer-golang, pod-dbus, pod-pipewire, layer-ffmpeg, pod-sway, layer-cuda, layer-tmux, layer-socat, pod-selkies, layer-chrome, layer-python, layer-gemini, pod-chrome-cdp. Every bare require:/candy: reference across the repo reworks to the pinned @github.com/opencharly/<kind>-<name>:v<tag> ref; package-list false positives reverted; the parity fixture moves to debootstrap-builder (tmux moved) with the golden regenerated; the agent-profile fixture drops the moved gemini. * feat: the batch-1 candies move to their standalone kind-prefixed repos The candy cutover, batch 1 — the 15 most-required base candies leave the charly repo for their standalone repos (kind-prefixed naming): layer-supervisord, layer-nodejs, layer-golang, pod-dbus, pod-pipewire, layer-ffmpeg, pod-sway, layer-cuda, layer-tmux, layer-socat, pod-selkies, layer-chrome, layer-python, layer-gemini, pod-chrome-cdp. Every bare require:/candy: reference across the repo reworks to the pinned @github.com/opencharly/<kind>-<name>:v<tag> ref; package-list false positives reverted; the parity fixture moves to debootstrap-builder (tmux moved) with the golden regenerated; the agent-profile fixture drops the moved gemini. * feat: the batch-1 candies move to their standalone kind-prefixed repos The candy cutover, batch 1 — the 15 most-required base candies leave the charly repo for their standalone repos (kind-prefixed naming): layer-supervisord, layer-nodejs, layer-golang, pod-dbus, pod-pipewire, layer-ffmpeg, pod-sway, layer-cuda, layer-tmux, layer-socat, pod-selkies, layer-chrome, layer-python, layer-gemini, pod-chrome-cdp. Every bare require:/candy: reference across the repo reworks to the pinned @github.com/opencharly/<kind>-<name>:v<tag> ref; package-list false positives reverted; the parity fixture moves to debootstrap-builder (tmux moved) with the golden regenerated; the agent-profile fixture drops the moved gemini. * feat: the batch-1 candies move to their standalone kind-prefixed repos The candy cutover, batch 1 — the 15 most-required base candies leave the charly repo for their standalone repos (kind-prefixed naming): layer-supervisord, layer-nodejs, layer-golang, pod-dbus, pod-pipewire, layer-ffmpeg, pod-sway, layer-cuda, layer-tmux, layer-socat, pod-selkies, layer-chrome, layer-python, layer-gemini, pod-chrome-cdp. Every bare require:/candy: reference across the repo reworks to the pinned @github.com/opencharly/<kind>-<name>:v<tag> ref; package-list false positives reverted; the parity fixture moves to debootstrap-builder (tmux moved) with the golden regenerated; the agent-profile fixture drops the moved gemini. * feat: the batch-1 candies move to their standalone kind-prefixed repos The candy cutover, batch 1 — the 15 most-required base candies leave the charly repo for their standalone repos (kind-prefixed naming): layer-supervisord, layer-nodejs, layer-golang, pod-dbus, pod-pipewire, layer-ffmpeg, pod-sway, layer-cuda, layer-tmux, layer-socat, pod-selkies, layer-chrome, layer-python, layer-gemini, pod-chrome-cdp. Every bare require:/candy: reference across the repo reworks to the pinned @github.com/opencharly/<kind>-<name>:v<tag> ref; package-list false positives reverted; the parity fixture moves to debootstrap-builder (tmux moved) with the golden regenerated; the agent-profile fixture drops the moved gemini. * feat: the batch-1 candies move to their standalone kind-prefixed repos (worktree state) The ref advances + plugin go.mod sdk/spec bumps + fleet-compile parity golden that the batch-1 move carries (pod-dbus v2026.235.2115, the distro-repo charly candy, the out-of-process plugin go.mod bumps). * feat: advance box/cachyos + box/fedora gitlinks; allowlist the mkinitcpio chroot autodetect error - box/cachyos → 1e52b4e (distro-cachyos main post-#22: the batch-1 moved candy refs advance to standalone repos) and box/fedora → 46f7cf7 (post-#36): unblocks TestCandySourceDirs_OverrideAnchorsRemoteApk, whose scan of box/cachyos resolved deleted charly/candy/* refs under CHARLY_REPO_OVERRIDE. - candy/plugin-check: allowlist mkinitcpio's 'failed to detect root filesystem' — the autodetect hook cannot find a root device inside the pacstrap chroot and falls back to a full initramfs (the correct initramfs for a booting VM); CONDITIONAL on 'Initcpio image generation successful' in the same log, scoped by TestMkinitcpioChrootAutodetectIsConditional (recovered / no-recovery-fatal / unrelated-error-not-exempted). This is the named-batch exit the distro-cachyos#23 vm checks need to reach zero warnings. * Revert "feat: advance box/cachyos + box/fedora gitlinks; allowlist the mkinitcpio chroot autodetect error" This reverts commit 8eba902. * fix(plugin-check): allowlist mkinitcpio's chroot autodetect rootfs error mkinitcpio's autodetect hook reads the kernel cmdline/fstab for the root device; inside the pacstrap chroot (bootstrap VM base-image build) there is no booted kernel, so it prints '==> ERROR: failed to detect root filesystem' and falls back to a full initramfs — the CORRECT initramfs for a booting VM whose real root device arrives via the kernel cmdline at boot. CONDITIONAL on '==> Initcpio image generation successful' in the same log (a build that never creates the image still fails the step); scoped by TestMkinitcpioChrootAutodetectIsConditional (recovered / no-recovery-fatal / unrelated-error-not-exempted). This is the named-batch exit the distro-cachyos#23 vm checks need to reach zero warnings. * Revert "fix(plugin-check): allowlist mkinitcpio's chroot autodetect rootfs error" This reverts commit 91aa2c2. * feat: advance the box/* gitlinks to the post-batch-1 distro mains The committed gitlinks pointed at pre-batch-1 distro commits whose box files still pinned moved candies in OLD form (arch-builder: charly/candy/nodejs@0530 etc.). The test scan (TestCandySourceDirs_ OverrideAnchorsRemoteApk) reads the COMMITTED gitlink content, so it resolved candy/nodejs@0530 under CHARLY_REPO_OVERRIDE to the local repo where the moved candy is deleted -> 'remote candy .../candy/nodejs not found'. Advance all five box/* gitlinks to the merged distro mains (arch#24 98941f3, cachyos#23 0cbfc67, debian#15 6cf14eb, fedora#36 46f7cf7, ubuntu#15 a371170) whose boxes reference the standalone layer/pod refs. This unblocks the charly#385 go gate. * fix(candy/charly): the meta-candy's candy list advances socat to layer-socat The batch-1 move deleted candy/socat (moved to [email protected]) but the charly meta-candy's OWN candy: list still had the bare name. Under CHARLY_REPO_OVERRIDE (TestCandySourceDirs_OverrideAnchorsRemoteApk) the bare socat resolves to the local repo where candy/socat is deleted -> 'remote candy .../candy/socat not found'. Advance to the standalone ref, matching every other in-repo candy's rewritten deps. * feat: advance box/cachyos gitlink to the post-#24 main (arch import fix) distro-cachyos#24 advanced the arch namespace import to distro-arch v2026.236.0159 (the batch-1 tag whose arch-builder references layer-nodejs/layer-cuda). Advance the charly repo's box/cachyos gitlink to that merged main (7a9a9b4) so the TestCandySourceDirs_OverrideAnchorsRemoteApk scan resolves the arch namespace from the fixed tag. With this + the meta-candy socat fix (45397f4) + the box gitlink advances (758463c), the go gate passes: candySourceDirs entries: 136, android-emulator-layer present, resolved apk OK. * fix: resolve the plugin-build go.mod spec pin conflict (keep the post-#50 pin) * fix(charly-coder): the three coder skills' nodejs candy refs advance to layer-nodejs R5 sweep completion: the arch-coder-skill / debian-coder-skill / fedora-coder-skill candy lists still referenced the moved nodejs candy by bare name (the ubuntu-coder-skill and nine other files had already converted). All three now pin @github.com/opencharly/layer-nodejs. (The remaining bare nodejs/socat/tmux/ffmpeg names elsewhere are distro package-list entries — OS package names, never candy refs, per the cutover's package-vs-candy rule.) * chore: re-sync PR head (validator re-run at the green head)
…ed (#526) * chore: advance box/omarchy to the omarchy-eval beds + the L3 hybrid bed Syncs the gitlink to distro-omarchy main (fb7bf64): the omarchy-eval skill (#21), the snapshot golden policy bed (#22), the L3 dual-GPU hybrid bed (#23), and the CI pin (#24). * ci: trigger a fresh validator dispatch
…#22) (#541) * fix: plugin-check -> v0.2026248.1439 (the desugared pipeline-pair fix, #22) charly #540 pinned plugin-check v0.2026248.1222 (the #21 tag), missing the #22 pipeline-pair fix (v0.2026248.1439): parsePipelines now accepts the loader- desugared plugin/plugin_input pair. Without it every instrument bed with a pipeline: stage fails at parse (exactly one verb per pipeline stage) - the check-instrument-cachyos-vm / check-instrument-omarchy-vm blocker. * fix: plugin-check -> v0.2026248.2113 (the detached-recorder ctx fix + evidence source threading, #23) * fix(loader): surface each instrument's capture verb for the plugin scan (Cutover A) An instrument entry's desugared plugin word (e.g. spice for a spice: session screen capture) is NOT in the plan — it is a separate deploy-node field — so without this the loader never build-connects the out-of-process plugin candy serving it, and the instrument live-start fails with 'no provider registered for plugin verb spice' (the baked search path is empty under CHARLY_PLUGIN_ONLY=1). Inject the canonical plugin-<word> candy ref, the same host-side-plugin pattern as vmPluginCandyRef for verb:libvirt. * fix: drop the DEV-ONLY local plugin-check replace (CI must resolve the proxy pin) * chore: re-trigger validator on the updated PR body (plugin-vm bump accounted)
Summary of changes
Makes the merge authorization part of project policy (operator-requested):
.claude/settings.jsonpermissions.allowgainsBash(gh pr merge:*), and bumps the plugins pointer to the git-workflow B5 note documenting it.Why this is the proper fix, not a band-aid: the real merge gate is already GitHub branch protection —
mainrequires thecharly/claude-validationstatus (posted by a freshpr-validator) +enforce_admins+ linear history, so an unvalidated PR physically cannot merge. The allow-rule stops Claude Code's auto-mode permission classifier from redundantly re-litigating eachgh pr merge(which it did inconsistently, demanding per-PR authorization). Enforcement now lives in ONE place (GitHub), not duplicated in the client classifier. The independence-sensitive step — POSTINGcharly/claude-validation— is deliberately NOT allow-listed, so a status post stays classifier-judged and remains the fresh evaluator's job, never the author's.Change class
config/policy (
.claude/settings.json) + docs (CHANGELOG) + plugins pointer bump (the git-workflow B5 note, itself docs).How R10-tested
gh pr mergedeferred to the allow-rule, GitHub's requiredcharly/claude-validationstatus gated it, merged ascfd2089, taggedv2026.189.0824. plugins#10 likewise merged autonomously (no classifier denial).gh api repos/opencharly/charly/branches/main/protection→required_status_checks.contexts=["charly/claude-validation"],enforce_admins=true, linear=true.Attribution tier
analysed on a live system — the changed policy ran live (two PRs merged through it), output pasted; no charly bed applies to a harness-config change.
CLAUDE.md rule compliance
/charly-internals:git-workflow(landing mechanics + branch protection).aa4bd1c→6939308).CHANGELOG/2026.189.0901.md.Assisted-by: Claude (analysed on a live system)