Repository navigation
docs: freeze the R0 skill dispatcher as hand-maintained prose - #448
Conversation
The dispatcher table was spliced into CLAUDE.md and AGENTS.md by `charly marketplace
generate`. That splice is one of two jobs the marketplace generator does beyond generating
the marketplace, and it is what forces --root to be a charly checkout — which in turn
forces local generation, the setup launcher and the harness-surface drift gate.
Removing the BEGIN/END markers decouples the two repos safely and in this order on purpose:
emit_dispatcher skips any file without markers ("no markers -> not a generated-dispatcher
file; leave untouched"), so the generator no-ops on these files from this commit forward,
before the emitter itself is deleted. The 81-line table content is unchanged; only the two
marker lines per file are removed, replaced by a note that it is now hand-maintained.
Accepted trade-off: the table no longer regenerates, so a later skill rename leaves it
stale. The note records that it must be updated in the same PR as any skill change.
Assisted-by: Claude Code claude-opus-5[1m] (fully tested and validated)
Claude-Session: https://claude.ai/code/session_01RsGxCtfzmm8S5wJzjSBGrY
Review — BLOCKHead SHA: Change class: docs-only — two Security screen: PASS — no code, no secrets, no scope mismatch, no guardrail changes. Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — docs-only, no code, no secrets, no scope mismatch, no guardrail changes. Checklist: All applicable rules PASS or NA. Prior comment disposition: the single Verified: diff is docs-only (2 Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
|
This block appears to be stale — the finding it describes is not present at the reviewed head. The review is against The string does not occur anywhere in the body. Both the I have made no change, since there is nothing to change. Re-running the validator against the same head. (If the intent was a different finding — e.g. the tier line's wording rather than its value — happy to address it, but as written the block cites a string the body does not contain.) |
Summary of changes
Phase B.2 of the approved marketplace cutover: stop generating the R0 skill dispatcher table and
freeze it as ordinary prose.
The table is spliced into
CLAUDE.mdandAGENTS.mdbycharly marketplace generate(
emit_dispatcher.go). That splice is one of two jobs the marketplace generator performs beyondgenerating the marketplace, and it is the reason
--rootmust be a charly checkout — which inturn forces local generation, the
setuplauncher,task skills:sync/drift, and theharness-surface drift gate.
Concrete edit —
CLAUDE.mdandAGENTS.md, two marker lines each:<!-- BEGIN GENERATED SKILL DISPATCHER -->/<!-- END GENERATED SKILL DISPATCHER -->;updated in the same PR as any skill addition, rename or removal.
The 81-line table content is unchanged. All 40 dispatcher rows are intact; only the markers go.
Change class
docs-only — two
*.mdfiles, comment lines only. No Go source, no schema, no CLI, noworkflow, no pin.
Closes / relates to: Phase B.2 of the approved plan. Deliberately ordered before deleting
emit_dispatcher.go(a follow-on PR inopencharly/plugin-marketplace): that emitter skips anyfile without the markers —
if bi < 0 || ei < 0 { continue // no markers → not a generated-dispatcher file; leave untouched }— so from this commit the generator already no-opson these two files. Deleting the emitter first would have left the docs briefly unowned; this
order never does.
Breaking change + rollback: none — no content is added or removed, no skill reference changes.
Rollback is a plain revert, which restores the markers and hands the table back to the generator.
How R10-tested — exact gate, commands, and pasted output
byte-identical apart from the markers, every dispatcher row still resolves to a real skill, and
the generator provably no-ops on these files now.
N/A (docs-only)— no runtime code path, candy, box or image changes, so nodisposable: truebed maps to this diff.N/A (docs-only)— no binary is built or deployed.N/A (docs-only)— the diff changes no code path.The behavioural claim it rests on (the generator skips marker-less files) is quoted from the
emitter source below.
N/A.1. Fresh-rebuild gate output:
2. Each changed code path executing:
3. Docs-only evidence (the R5 grep self-test + cross-reference review):
Cross-reference review: every
/charly-<plugin>:<skill>reference in the table is unchanged;this PR renames and removes nothing.
Attribution tier
documentation reviewed — the whole diff is documentation (two
*.mdfiles, comment linesonly), and no code path executes, so this is the tier's ceiling. The applicable proof is the
R5/content verification above: markers provably gone, all 40 rows provably intact, the diff
confined to ±3 lines per file, and the generator's skip branch quoted from source.
Harness rulebook compliance
/charly-internals:git-workflowloaded before the first git call and diffedagainst the current corpus commit before being followed.
rather than assumed — freezing the docs first means there is no window in which the table is
unowned. No warnings apply to a docs diff.
some other way.
git status+git stash listchecked before branching; branch cut fromfreshly fetched
origin/main; work in a clone OUTSIDE the umbrella; no force-push; post-commitstatus clean and
git show --statlists exactly the two intended files.N/A (docs-only)— stated plainly rather than answered with aruntime-shaped substitute.
N/A— no artifact emitted, no binary deployed.rulebook and runs no bed. The coverage that would fail without the change is the marker
grep: it returns 2 before and 0 after.
N/A— no candy, no.cue, no high-risk runtime assumption. The onebehavioural assumption is quoted from the emitter, not inferred.
N/A— docs-only.N/A—tag-on-mergewritesCHANGELOG/<CalVer>.mdfrom this body at merge.Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)