Repository navigation
fix: load the umbrella's R0 dispatcher skills (enabled but never installed for this project) - #30
Conversation
The umbrella declared charly-internals, charly-automation and claude-md-management in .claude/settings.json enabledPlugins, but NONE of their skills loaded. Enablement is only half the contract: skills load only when installed_plugins.json also holds an install record whose projectPath is this repo. Every record was bound to a different project with installPaths (.../charly-internals/1.1.0) that no longer exist -- the cache is keyed by marketplace commit (cb1c031b3eed), not by those version numbers. `claude plugin list` masked it, printing "Status: enabled" regardless of whether the install record resolves. Installed all 26 charly-plugins plus gopls-lsp and claude-md-management at --scope project, which writes both halves. 305 skills now load, including every skill the CLAUDE.md R0 dispatcher points at. Claude-Session: https://claude.ai/code/session_01MJWYgjRyvYkQsApe3Nvccq
Review — PASSHead SHA: Security screen: PASS — config-only change to Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
The previous commit enabled all 26 charly plugins. That was over-broad: the umbrella is a *view* of the org — it never builds images, runs pods, or probes live containers, so the image/pod plugins have no role here. CLAUDE.md's Skill Dispatcher names exactly two: charly-internals (git-workflow, strict-policy, root-cause-analyzer, agents) and charly-automation (agent, alias). Narrowed enabledPlugins to those two plus claude-md-management (already present) and gopls-lsp (0 skills, 1 LSP server, ~0 always-on tokens). This also retires four MCP servers from this project as a direct consequence rather than as a separate edit: charly-coder:charly, charly-jupyter:jupyter, charly-selkies:chrome-devtools and charly-versa:marimo are pod-provided HTTP endpoints that belong to image plugins the umbrella does not use. They were never broken -- ConnectionRefused is correct when no box is running -- they simply do not belong in this repo's config. 305 -> 29 skills; 5 -> 1 failing MCP server. Claude-Session: https://claude.ai/code/session_01MJWYgjRyvYkQsApe3Nvccq
Review — BLOCKHead SHA: Change class: harness config — plugin enablement in Security screen: PASS — config-only; Blocks
The prior Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — config-only change to Checklist: All applicable rules PASS or NA. Comment intake:
Change class: harness config — plugin enablement in Placement: CORRECT — umbrella's own config; no core/sdk/candy code, no alias files, no new imports. Tool-limited disposition: The fresh-session skill/MCP probes and install-record output are user-local state I cannot re-run; the pasted evidence is internally consistent (4 plugins enabled ↔ 4 install records ↔ 3 skill-providing plugins ↔ 29 skills ↔ 6 R0 skills) and aligns with the diff. No contradictions. A1/A3: Body accounts for the single diff file; ends with the exact R1/R2/R4/R5: RCA present (stale project-scoped install records + Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — config-only change to Checklist: All applicable rules PASS or NA. Comment intake:
Change class: harness config — plugin enablement in Placement: CORRECT — umbrella's own config; no core/sdk/candy code, no alias files, no new imports. Tool-limited disposition: The fresh-session skill/MCP probes and install-record output are user-local state I cannot re-run; the pasted evidence is internally consistent (4 plugins enabled ↔ 4 install records ↔ 3 skill-providing plugins ↔ 29 skills ↔ 6 R0 skills) and aligns with the diff. No contradictions. A1/A3: Body accounts for the single diff file; ends with the exact R1/R2/R4/R5: RCA present (stale project-scoped install records + Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Summary
The umbrella declared
charly-internals,charly-automationandclaude-md-managementin.claude/settings.json— and loaded none of theirskills. Every skill the
CLAUDE.mdR0 dispatcher points at was unreachable, soR0 "load every skill the dispatcher selects" could not be satisfied in this repo
at all.
Root cause (R1).
enabledPluginsis only the enablement half of thecontract. Skills load only when
~/.claude/plugins/installed_plugins.jsonalsoholds an install record whose
projectPathis this repo. Every record was boundto a different project, with
installPaths (…/charly-internals/1.1.0) that nolonger exist — the plugin cache is commit-keyed (
…/7072e53a9d92), not keyed bythose version numbers. The umbrella had a valid marketplace, a valid manifest,
valid skill frontmatter, and zero loaded skills.
Why it went unnoticed.
claude plugin listreads enablement fromsettings.jsonand printsStatus: ✔ enabledregardless of whether the installrecord resolves, so the CLI actively masked the breakage. The only reliable probe
is asking a fresh session what it can actually see.
Fix. Reinstalled at
--scope project(which writes both halves) exactly theplugins the umbrella needs, and no more:
charly-internalsgit-workflow,strict-policy,root-cause-analyzer,agentscharly-automationagent,aliasclaude-md-managementgopls-lspcharly/.claude/settings.jsonThe umbrella is a view of the org — it never builds images, runs pods, or probes
live containers — so the 22 image/pod plugins are deliberately not enabled.
Consequence, not a separate edit: four MCP servers leave this project along
with the image plugins that own them —
charly-coder:charly(:18765),charly-jupyter:jupyter(:8888),charly-selkies:chrome-devtools(:9224),charly-versa:marimo(:22718). These were never broken: they are pod-providedHTTP endpoints, and
ConnectionRefusedis the correct state when no box isrunning. They simply have no role in the umbrella.
Known remaining defect, not fixable in this repo.
charly-internalsstilldeclares a
githubstdio MCP server (command: github-mcp-server) — athird-party binary that is not installed, and that duplicates the
ghCLI thegit-workflowskill already mandates. Unlike the four above it is notpod-provided, so it has no legitimate consumer. Its authoritative source is
charly.ymlin thecharly-hookscandy (opencharly/pod-charly-hooks,under the
internalsplugin'smcp_servers:block), vendored intoopencharly/marketplaceasinternals/.mcp.json. Both are submodules of thisumbrella, so rulebook rule 1 ("never edit inside a submodule") forbids fixing it
here; it needs a PR to
pod-charly-hooks, acharly marketplace generate, and atask sync. Filed as follow-up work in the owning repo rather than patchedaround here (R4).
.claude/settings.jsonis not inscripts/check-harness-parity.sh'sSHAREDtable, so it is an umbrella-specific fork by design (rule 8); this change creates
no parity drift. Hooks and
permissions.alloware byte-identical throughout.How tested
Before — a fresh session saw nothing, while
claude plugin listsimultaneouslyclaimed
enabled:After — 29 skills from exactly the three skill-providing plugins:
Five failing MCP servers before, one after — and the one that remains is the
submodule-owned defect described above.
All six R0 dispatcher skills resolve:
A skill actually loads and its content is correct (quoted back verbatim from
git-workflow's first invariant, matching the on-disk source):Plugin-provided agents resolve too:
Install records bind to this repo and every path resolves:
Hooks still fire — the gate self-test is unchanged and green:
R10 — full gate on the final committed tree (
git status --shortempty):Committed-tree content proof (not the working tree):
The pre-commit gate ran green on both commits (
pre-commit: OK).Rulebook compliance
records before touching config. The five failing MCP servers were then
diagnosed individually rather than lumped together: four are correct
pod-provided endpoints, one is a genuine defect — no "pre-existing" or
"out of scope" classification for the latter, it is filed against its owning repo.
claude plugin install/uninstallremains the singlewriter of both halves; no hand-edited JSON.
installed_plugins.json, no symlinkfrom the missing version path to the commit-keyed cache dir, and the
github-mcp-servergap is not papered over locally.installPaths replaced,not shadowed; the over-broad 26-plugin set removed in this PR, not left behind.
git status+git stash list+gh pr list+git worktree listpreflight before branching;feat/branch, fast-forwardpushes only, no force-push, no
--no-verify, no direct push tomain. The PRwas updated with a follow-up commit, never closed and recreated.
task verify,check-harness-parity.shandgate_test.pypasted above, run after the finalcommit on a clean tree; the 29-skill count measured from a fresh session.
untouched. The
githubMCP defect is explicitly not fixed here because itssource lives in two submodules.
.claude/settings.jsonsits outside theSHAREDparity table by design; the shared hook scripts are unchanged.Change classification
.claude/settings.json); no gitlinks, submodules, or scripts touchedtask verify+check-harness-parity.sh+gate_test.py+ fresh-session skill/MCP probes, all on the committed treefully tested and validated— full gate passed on the final tree and the changed runtime path (plugin skill loading) exercised live with retained outputAssisted-by: Claude Code anthropic/claude-opus-5[1m] (fully tested and validated)