Repository navigation
chore(agents): retire CLAUDE.md — AGENTS.md is the sole rulebook (#286) - #727
Conversation
Retire the CLAUDE.md surface across the charly repo: AGENTS.md is now the
single, harness-neutral rulebook.
- git rm the repo-root CLAUDE.md symlink.
- git mv charly/CLAUDE.md -> charly/AGENTS.md and repoint the nested signpost
at the repo-root AGENTS.md.
- Sweep every live CLAUDE.md reference to AGENTS.md: AGENTS.md (dispatcher rows
+ the documented-surfaces bullet), README.md, VISION.md (kept; reference
rename only), PROGRAM/nfpm-packaging-north-star.md, PROGRAM/pi-integration.md,
.pi/README.md, .claude/workflows/{audit-deploy-configs,triage-check-failure}.js,
charly/.golangci.yml, charly/import_purity_test.go, charly/main.go,
charly/no_kind_switch_in_kernel_test.go, charly/provider_bench_test.go.
- Rewrite scripts/validate-agent-config.py to validate ONLY the single
AGENTS.md rulebook: drop adapter_path/adapter and the adapter-vs-generic
dispatcher comparison; make rulebook_contract_errors single-document;
validate only AGENTS.md in the core Go gate.
- Complete the validator's de-submodule adaptation: the plugins subtree was
removed in #382, so drop the orphaned plugins gitlink/developer-profile
checks and the plugins markdown/attribution scans that could no longer
resolve. Narrow FORBIDDEN_GENERIC_RULEBOOK_MARKERS to harness-config
identifiers (CODEX_HOME/.codex/Kimi Code/~/.kimi-code) so the sole rulebook
may name its consumer harnesses in R0 prose, as it does.
Refs #286
Assisted-by: opencode deepseek-v4.1-flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: documentation sweep + comment-only Go/JS/YAML edits, plus a substantive non-comment rewrite of the non-runtime Comment thread: 0 comments — no comment dispositions apply. Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…lidator sweep Address the three blocks from the pr-validator verdict on head d2830c7: - A3/A2 change-class/tier: reclassify honestly. The diff is a documentation sweep + comment-only Go/JS/YAML edits + a substantive non-runtime rewrite of scripts/validate-agent-config.py, so the class is code+config+docs and the tier is `analysed on a live system` (the changed validator ran live with retained output and `go build` is clean; no fresh-rebuild runtime target exists). `documentation reviewed` is forbidden once code/config changed. - R5/R1 stale docstring: the parent commit deleted validate_developer_profiles and its call, so the module docstring no longer claims "the generated per-harness developer profiles". - R3/R4 + B14(d) marker narrowing: FORBIDDEN_GENERIC_RULEBOOK_MARKERS now holds only harness-specific CONFIG identifiers (CODEX_HOME, .codex, ~/.kimi-code). The harness *names* (Claude Code, Codex, Kimi Code) are not config leaks: AGENTS.md is the single harness-neutral rulebook and legitimately names its consumer harnesses in its R0 loading prose. `git grep -nE 'Codex|Claude Code|Kimi Code' -- AGENTS.md` proves the names present (lines 21-22); the config identifiers are absent. The class rule (names allowed, config identifiers forbidden) replaces the ad-hoc deletion. Refs #286 Assisted-by: opencode deepseek-v4.1-flash (analysed on a live system)
Review — BLOCKHead SHA: Change class: documentation/comment sweep plus a substantive rewrite of the non-runtime tooling script Security screen: PASS — no secrets/exfil, no new deps, no weakened landing/force-push/branch-protection gate; the Comment dispositions (1 comment):
Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…KILL_REF Address the pr-validator BLOCK on head 100f8a5: with the adapter/generic dispatcher comparison gone, the module-level SKILL_REF regex was named as an orphaned dead symbol in a file this PR rewrites. Scope the regex to dispatcher() — its only production consumer — and delete the module-level constant plus its now-invalid self_test assertions. Drop the unused `json` import and update the meta-test comment (R5 sweep; no sibling orphans remain). `--self-test` and the full validator both pass. Refs #286 Assisted-by: opencode deepseek-v4.1-flash (analysed on a live system)
Review — PASSHead SHA: Change class: docs/comment sweep + non-runtime Python tooling rewrite (code + config + docs) — no runtime bed applies. Security screen: PASS — no secrets/exfil, no new deps/pins, no weakened landing/force-push/branch-protection gate. The validator edits remove only checks that were dead against the Checklist: All applicable rules PASS or NA. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Retire the
CLAUDE.mdsurface in thecharlyrepo soAGENTS.mdis the sole,harness-neutral rulebook (umbrella campaign #286, charly leg), and repair the
non-runtime
scripts/validate-agent-config.pyso it validates that singlerulebook.
This head resolves the pr-validator BLOCK from the previous head
100f8a5f(which itself resolved the blocks on
d2830c7e).Content of the change:
git rm CLAUDE.md(the repo-root symlink toAGENTS.md).git mv charly/CLAUDE.md charly/AGENTS.mdand repointed the nested signpostat the repo-root
AGENTS.md.CLAUDE.mdtoken toAGENTS.md, except historicalCHANGELOG/**and theCLAUDE_CODE_*env-var identifiers (left verbatim):AGENTS.md(dispatcher rows + removed the "documented surfaces" symlinkbullet),
README.md,VISION.md(kept — reference rename only),PROGRAM/nfpm-packaging-north-star.md,PROGRAM/pi-integration.md,.pi/README.md,.claude/workflows/{audit-deploy-configs,triage-check-failure}.js,charly/.golangci.yml,charly/import_purity_test.go,charly/main.go,charly/no_kind_switch_in_kernel_test.go,charly/provider_bench_test.go.VISION/LIBERATION/GRIEVANCES meaning is unchanged beyond the reference rename.
scripts/validate-agent-config.pyto validate ONLY the singleAGENTS.mdrulebook: droppedadapter_path/adapterand theadapter-vs-generic dispatcher comparison; made
rulebook_contract_errorssingle-document; the core-Go-gate loop validates only
AGENTS.md; removed theorphaned
pluginsgitlink/developer-profile checks and theplugins/**markdown/attribution scans (the
pluginssubtree was removed in feat(marketplace): de-submodule plugins — standalone marketplace + native harness loading #382).Validator BLOCK resolutions
d2830c7everdict, block 1 (A3/A2 class/tier) — reclassified honestly:the diff is a documentation sweep + comment-only Go/JS/YAML edits + a
substantive non-runtime rewrite of
scripts/validate-agent-config.py, so theclass is code+config+docs and the tier is
analysed on a live system.documentation reviewedis forbidden once code/config changed.d2830c7everdict, block 2 (R5/R1 stale docstring) — the module docstringno longer claims "the generated per-harness developer profiles" (this PR
deletes
validate_developer_profilesand its call).d2830c7everdict, block 3 (R3/R4 marker narrowing) — the forbidden listnow holds only harness-specific CONFIG identifiers
(
CODEX_HOME,.codex,~/.kimi-code). Harness names (Claude Code,Codex,Kimi Code) are legitimate in the neutral rulebook's R0 prose,proven by the pasted grep. This is a class rule (names allowed, config
identifiers forbidden), not ad-hoc deletion.
100f8a5fverdict, block 1 (R5/B14(a) orphanedSKILL_REF) — themodule-level
SKILL_REFregex is deleted; the regex is now scoped insidedispatcher(), its only production consumer (the adapter/generic comparisonthat was its other caller is gone). The now-invalid
SKILL_REFself-testassertions are removed, the meta-test comment is updated, and the unused
jsonimport is dropped. An AST scan confirms no remaining orphanedmodule-level defs or imports.
How tested
Final tree = current
origin/main1b3edd06+ this branch, HEADd1a1b8d4.git fetch originshowedorigin/mainwas already the rebase base, so noupdate-branchwas needed. Every non-runtime standard on the final committedtree:
Rulebook compliance
Umbrella rules 1–11:
worktree of the
charlyrepo and land as a PR to the owning repo; theumbrella's tracked
charlysubmodule checkout is untouched.git -C <absolute-path>) — HOW: every git action ran viagit -C /…/.worktrees/org-readme-agents/charly; no unrooted git.go.work— N/A: nogo.workadded or changed.the existing
.worktrees/org-readme-agents/charlyworktree onfeat/org-readme-agents.charly/AGENTS.md(R0–R10) and/charly-internals:git-workflowwere read before any action.byte-identical gate script or settings fork touched; the
.claude/workflows/*.jsand.pi/README.mdedits are prose-referencerenames only.
touched; no other session's files, branch, or worktree.
PR chore(agents): retire CLAUDE.md — AGENTS.md is the sole rulebook (#286) #727 comments/reviews and issue chore(spec): pin spec at the empty-lock-file fix, carrying three cutovers #286 live state, then rewrote this body
for head
d1a1b8d4before the push.through; no in-flight item dropped on interruption (the fixes continue the
same branch/PR).
charly R1–R10:
mismatch; stale docstring from the deleted function; class-inconsistent marker
list; the
SKILL_REFsymbol's remaining consumer isdispatcher()) and fixedat the root — no flake/retry classification.
CLAUDE.mdreference wasswept in this change, and the validator's own orphaned
pluginsrefs (fromfeat(marketplace): de-submodule plugins — standalone marketplace + native harness loading #382), its stale docstring, and its orphaned
SKILL_REF/jsonwere swept inthe same change.
AGENTS.md); thevalidator's now-dead
plugins/developer-profile machinery is deleted, and theskill-ref regex lives in its single consumer
dispatcher().narrowed by a stated class rule (config identifiers forbidden, harness names
allowed) proven by
git grep, not by deleting the failing strings.code-vs-doc contradiction; the prose was updated to the new single-rulebook
reality, not to hide a defect.
git grep CLAUDEreturns only theallowed env-var identifiers;
CLAUDE.md, its nested twin, the stale validatordocstring/marker entries, and the orphaned
SKILL_REF/jsonare gone in thesame change; an AST scan confirms no orphans remain.
git statuschecked; noreset/force-push/hook-bypass; append-only commits; no direct push to
main.(the validator) was executed live with retained output (
--self-test+ thefull run), plus
gofmt/go build.live-service boundary; no mock/stub/fake was introduced — the script ran
against the real repository.
standards/emitted-artifact checker; its output shape is unchanged and no
emitted artifact was altered.
charlybinary was built, stamped, orinstalled for this docs/tooling change.
non-runtime tooling, so no runtime bed applies; every non-runtime standard
(validator self-test + full run,
git grepsweep, AST orphan scan,gofmt,go build) ran on the final committed tree (d1a1b8d4), zero warnings.Change classification
CLAUDE.mdacross prose/comment surfaces and rewrites the non-runtime
scripts/validate-agent-config.py.git grepsweep (CLAUDE + marker names), AST orphan scan,gofmt -lempty,go build ./...clean. No runtime bed applies.analysed on a live system— the changed validator pathran live with retained output and
go buildis clean;documentation reviewedis forbidden because the diff changes a script, and there is no fresh-rebuild
runtime target to earn
fully tested and validated.d2830c7ecarries the supersededdocumentation reviewedtrailer; it cannot be amended because the branch isalready pushed and force-push is forbidden. This branch's later commits carry
the corrected tier, and the validator composes the squash-merge trailer from
this body.
Refs #286
Agent:
org-readme-agents· sessionses_org-readme-agentsAssisted-by: opencode deepseek-v4.1-flash (analysed on a live system)