Repository navigation
feat: add project-native Claude and Codex developer mode - #125
Conversation
Add a full standalone Codex rulebook, project-only full-developer configuration, repo-native canonical skill discovery, semantic dispatcher parity checks, and the companion plugin-loader, VM cleanup, and concurrent group lifecycle root fixes. Pin the independently merged plugins dependency; box documentation gitlinks remain deliberately sequenced after this superproject leg. Assisted-by: Codex OpenAI GPT-5.6 Sol (fully tested and validated)
pr-validator — CHANGES REQUESTED ❌PR: #125 Blocking findingThe PR's own canonical final-tree validator fails in a clean linked worktree initialized exactly at the committed gitlinks: Exact live references: This contradicts the PR body's pasted Root cause analysis (protected-main process)
Checklist
Decision: FAIL. Keep PR #125 open. Fix the three box signposts and gitlinks on this same PR, replace the irreproducible evidence, then start validation again in a new fresh no-fork validator thread. No merge, CalVer finalization, or tag is permitted. Assisted-by: Codex OpenAI GPT-5.6 Sol (syntax check only) |
Assisted-by: Codex OpenAI GPT-5.6 Sol (documentation reviewed)
pr-validator — APPROVED ✅Change class: cross-repo (harness config/scripts/docs/profiles + This is a fresh, independent validation (new context, not the author, not the rescue teammate that un-conflicted this branch). Adversarial checklist, every item re-derived from the diff + my own re-runs — none trusted from the PR's word alone:
Finding — description/gitlink divergence, now fixedThe PR body (as authored) claimed the
...but the PR description was never updated to match. I corrected it via RCA note — my own build hiccup (not a PR defect)My first Eval-bed evidence reconciliationFound Decision: PASS. Proceeding to finalize the merge-time CalVer, merge (squash), and tag. Assisted-by: Claude Sonnet 5 (analysed on a live system) |
Assisted-by: Claude Sonnet 5 (analysed on a live system)
…machine-venue fixes (charly#815, charly#814) Carry the three producer fixes to the charly core in ONE coherent re-pin: | producer | tag | carries | |---|---|---| | github.com/opencharly/sdk | v0.2026279.1734 | the explicit-`build:` plan step is a position marker, not an unrenderable OpStep (sdk#347), so the dsh-tui candy's `build: all` no longer fails every machine-venue deploy | | github.com/opencharly/spec | v0.2026279.2018 | charly#814: a candy's `env:` is now sourced for NON-interactive machine-venue commands (spec#201) — the `check-live` `plan:vm:cachyos-vm:14` symptom | | github.com/opencharly/plugin-check/candy/plugin-check | v0.2026279.2102 | the grub os-prober chroot warning (plugin-check#82) and the CachyOS openssh local-newer skew (plugin-check#84) — the two warnings that kept the #125 bed off zero | The core module and the three lockstep tools/* modules advance their spec pin together (charly task mods-tidy keeps go.mod/go.sum in step). Proven live by the disposable check-dsh-cachyos-vm bed (see the PR body): deploy-add PASS with the released package's /etc/charly/charly.yml present and no CHARLY_SYSTEM_CONFIG crutch, vm-build warnings=0, deploy-add/update warnings=0, check-live PASS. Assisted-by: OpenCode ollama-cloud deepseek-v4.1-flash (fully tested and validated)
…uild:`-step deploy fix and the xz allowance (#816) * chore(deps): bump the sdk pin to v0.2026279.1734 — carry the explicit-`build:`-step deploy fix opencharly/sdk#347 (tag v0.2026279.1734) makes an explicit `build:` plan step a position marker rather than an unrenderable OpStep, so a candy carrying one (the `dsh-tui` candy's `build: all`) no longer fails every `target: local` / `target: vm` deploy. This lands that producer→consumer: the core module + the three lockstep tools/* modules advance their `github.com/opencharly/sdk` pin together (mods-tidy keeps go.mod and go.sum in step). Closes #815 Assisted-by: OpenCode ollama-cloud deepseek-v4.1-flash (fully tested and validated) * chore(deps): bump the plugin-check pin to v0.2026279.1651 opencharly/plugin-check#80 (tag candy/plugin-check/v0.2026279.1651) adds the cachyos-xz-local-newer-than-repo diagnostic allowance, so a cachyos box's deploy-add step reaches ZERO warnings (the three xz upstream-skew lines the earlier pin left surviving). Adopting it alongside the sdk bump lets the consumer bed (distro-cachyos#125's check-dsh-cachyos-vm) pass at zero warnings end to end. Assisted-by: OpenCode ollama-cloud deepseek-v4.1-flash (fully tested and validated) * chore(deps): adopt the sdk + spec + plugin-check pins that carry the machine-venue fixes (charly#815, charly#814) Carry the three producer fixes to the charly core in ONE coherent re-pin: | producer | tag | carries | |---|---|---| | github.com/opencharly/sdk | v0.2026279.1734 | the explicit-`build:` plan step is a position marker, not an unrenderable OpStep (sdk#347), so the dsh-tui candy's `build: all` no longer fails every machine-venue deploy | | github.com/opencharly/spec | v0.2026279.2018 | charly#814: a candy's `env:` is now sourced for NON-interactive machine-venue commands (spec#201) — the `check-live` `plan:vm:cachyos-vm:14` symptom | | github.com/opencharly/plugin-check/candy/plugin-check | v0.2026279.2102 | the grub os-prober chroot warning (plugin-check#82) and the CachyOS openssh local-newer skew (plugin-check#84) — the two warnings that kept the #125 bed off zero | The core module and the three lockstep tools/* modules advance their spec pin together (charly task mods-tidy keeps go.mod/go.sum in step). Proven live by the disposable check-dsh-cachyos-vm bed (see the PR body): deploy-add PASS with the released package's /etc/charly/charly.yml present and no CHARLY_SYSTEM_CONFIG crutch, vm-build warnings=0, deploy-add/update warnings=0, check-live PASS. Assisted-by: OpenCode ollama-cloud deepseek-v4.1-flash (fully tested and validated)
Summary of changes
Make the repository itself the complete, default developer environment for both Claude Code and Codex, while preserving each harness's native configuration model and the same OpenCharly R0-R10 behavior. The implementation is project-scoped: it does not install into or rewrite user configuration, and it retains all Charly MCP features while excluding MCP as a configuration-parity dependency.
AGENTS.md, including the complete 40-row dispatcher, protected-main skill fallback, worktree isolation, normal shared-cache use, concurrency, disposable-bed, independent-validator, and attribution rules..agents/skillslinks; the repository default is the full 25-plugin developer profile.CLAUDE.mdindependently owned and add semantic parity validation instead of making either rulebook include or delegate to the other.scripts/validate-agent-config.pyand update setup/README guidance for the developer, user, and generated-container audiences.pluginsto independently validated and merged setup/profile support (superseded during review by a further-mergedpluginsmain advance — see the gitlink note below).Update (post-review): an earlier round of this PR deferred the
box/{arch,cachyos,debian,fedora,ubuntu}gitlink bumps to a later superproject PR, and a freshpr-validatorFAILed that state becausescripts/validate-agent-config.py— run against the exact committed gitlinks — found the retired/charly-vm:{cachyos,debian,ubuntu}skill references still live inbox/{cachyos,debian,ubuntu}/CLAUDE.md(those box repos' documentation-only fixes had since merged upstream, but this PR's gitlinks still predated them). Commit905202b("chore: advance validated documentation dependencies") fixes this in this same PR: it bumps all fivebox/*gitlinks (box/arch→fd5fa47,box/cachyos→c21e023,box/debian→2d23d599,box/fedora→0ab6505,box/ubuntu→fcf3f1f) plusplugins→c868f79, all independently-validated, already-merged commits on each submodule's ownmain(re-verified ancestor-of-origin/mainby the current validation round). This PR now carries the full superproject leg, gitlinks included — there is no deferred box/plugins-pointer follow-up.Change class
cross-repo— producer-to-consumer order:opencharly/plugins#67(merged) → thisopencharly/charlypolicy/runtime PR. This PR carries the superproject leg AND the fivebox/*gitlink bumps to their independently-merged documentation fixes (see the Summary update above) AND the further-mergedpluginspointer — there is no separate follow-on superproject PR for these pointers.How R10-tested — exact gate, commands, and pasted output
check-substrate+check-grouproster that exercises plugin loading/build locking, deploy lifecycle, update/rebuild, and cleanup.check-substrate | disposable VM substrate | ok | 10 steps | 215s;check-group | disposable mixed group | ok | 7 steps | 382s. Both used run CalVer2026.196.1501, binary2026.196.1454, and were launched concurrently in one batch. Independently reconciled by the freshpr-validator: these runs predate the905202bgitlink-bump commit and the finalmain-merge commit (15671b6, bringing in#67's P11c pod-overlay dissolution); the validator computed the file-level diff overlap between the P11c merge delta and this PR's own touched files and found it EMPTY (zero shared files), then independently re-rango build/go vet/go test ./.../golangci-lint run ./...for all four modules (charly,candy/plugin-check,candy/plugin-deploy-vm,candy/plugin-vm) against the exact final merged head15671b6in a fresh worktree — all green, 0 issues, matching this table — which is the compliant delta-re-gate for a zero-overlap post-evidence merge (/charly-internals:git-workflow"Concurrent landings").task build:binaryrebuilt/tmp/charly-dual-harness/bin/charlyfrom this worktree using the existing normal shared caches. The exact binary was first used for a full fresh-rebuild plugin PR gate and then used for this final concurrent merged-tree roster. No alternate Go/module cache was created.Attribution tier
fully tested and validated— project setup and semantic parity ran directly, all changed Go modules passed format/vet/test/lint, and the affected runtime lifecycle/build paths ran on the fresh worktree binary across two concurrent disposable beds; independently re-confirmed (build/vet/test/lint on the final merged head, plus the validator-config script and gitlink-ancestry re-checks) by the freshpr-validator.Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)AGENTS.mdindependently dispatches the same 40 areas and requires on-disk skill fallback.905202b) was likewise folded into this SAME PR once a prior validation round found it blocking — no dependency-ordered follow-up leg remains for those pointers.-buildvcs=false, or direct runtime-tool bypasses. Git contention uses Git's lock behavior; lifecycle failures propagate; all runtime actions usedcharlycommands.R5_GREP_PASS removed_thin_adapter_and_user_install_claims_absent; the final tree has one standalone rulebook per harness./tmp/charly-dual-harness; the user's dirty primary checkout was not cleaned, reset, switched, or overwritten. No destructive Git action was used.task build:binaryproduced the worktree-local binary; the plugins and SDK checkouts were refreshed to their recorded gitlinks before the final build/gate;charly versionreported2026.196.1454(author run) / re-verified on the final merged head by the freshpr-validator.disposable: true, ran without scope-shrinking flags, passed concurrently after rebuild, and regression tests cover build locking, cleanup, and error propagation.charlyworkspace mode and in each changed candy independently withGOWORK=off; all four lint runs reported0 issues.CHANGELOG/2026.196.2359.mdis the valid placeholder; the independent validator will replace it with the merge-time CalVer.Assisted-by: Codex OpenAI GPT-5.6 Sol (fully tested and validated)
pr-validator note (independent, appended on re-review): the box/
pluginsgitlink-bump description above was corrected by the freshpr-validatorto match the actual committed diff (see PR comment for the full checklist) — the prior wording, retained from before commit905202blanded, incorrectly stated those pointers were deferred to a later PR. No code was changed by this edit.