Skip to content

fix: load the umbrella's R0 dispatcher skills (enabled but never installed for this project) - #30

Merged
github-actions[bot] merged 3 commits into
mainfrom
feat/enable-all-charly-plugins-project-scope
Aug 28, 2026
Merged

github-actions[bot] merged 3 commits into
mainfrom
feat/enable-all-charly-plugins-project-scope

Conversation

@atrawog

@atrawog atrawog commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The umbrella declared charly-internals, charly-automation and
claude-md-management in .claude/settings.json — and loaded none of their
skills
. Every skill the CLAUDE.md R0 dispatcher points at was unreachable, so
R0 "load every skill the dispatcher selects" could not be satisfied in this repo
at all.

Root cause (R1). enabledPlugins is only the enablement half of the
contract. Skills load only when ~/.claude/plugins/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 plugin cache is commit-keyed (…/7072e53a9d92), not keyed by
those version numbers. The umbrella had a valid marketplace, a valid manifest,
valid skill frontmatter, and zero loaded skills.

Why it went unnoticed. claude plugin list reads enablement from
settings.json and prints Status: ✔ enabled regardless of whether the install
record 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 the
plugins the umbrella needs, and no more:

Plugin Why it belongs here
charly-internals R0 dispatcher: git-workflow, strict-policy, root-cause-analyzer, agents
charly-automation R0 dispatcher: agent, alias
claude-md-management already enabled; maintains this rulebook
gopls-lsp 0 skills, 1 LSP server, ~0 always-on tokens; matches charly/.claude/settings.json

The 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-provided
HTTP endpoints, and ConnectionRefused is the correct state when no box is
running. They simply have no role in the umbrella.

Known remaining defect, not fixable in this repo. charly-internals still
declares a github stdio MCP server (command: github-mcp-server) — a
third-party binary that is not installed, and that duplicates the gh CLI the
git-workflow skill already mandates. Unlike the four above it is not
pod-provided, so it has no legitimate consumer. Its authoritative source is
charly.yml in the charly-hooks candy (opencharly/pod-charly-hooks,
under the internals plugin's mcp_servers: block), vendored into
opencharly/marketplace as internals/.mcp.json. Both are submodules of this
umbrella, so rulebook rule 1 ("never edit inside a submodule") forbids fixing it
here; it needs a PR to pod-charly-hooks, a charly marketplace generate, and a
task sync. Filed as follow-up work in the owning repo rather than patched
around here (R4).

.claude/settings.json is not in scripts/check-harness-parity.sh's SHARED
table, so it is an umbrella-specific fork by design (rule 8); this change creates
no parity drift. Hooks and permissions.allow are byte-identical throughout.

How tested

Before — a fresh session saw nothing, while claude plugin list simultaneously
claimed enabled:

$ claude -p "List ONLY the exact names of skills available to you whose name starts
  with 'charly-internals' or 'charly-automation'. If none, reply exactly: NONE."
NONE

After — 29 skills from exactly the three skill-providing plugins:

$ claude -p "(1) total COUNT of skills whose name contains ':', then the distinct
  plugin prefixes. (2) every MCP server that failed to connect or was skipped."
(1) 29
charly-internals
charly-automation
claude-md-management

(2) plugin:charly-internals:github

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:

OK charly-internals:git-workflow
OK charly-internals:strict-policy
OK charly-internals:root-cause-analyzer
OK charly-internals:agents
OK charly-automation:agent
OK charly-automation:alias

A skill actually loads and its content is correct (quoted back verbatim from
git-workflow's first invariant, matching the on-disk source):

$ claude -p "Use the Skill tool to load 'charly-internals:git-workflow' …"
LOADED:
> **No direct push to `main`** (the project rulebook's PR-only landing mandate — see

Plugin-provided agents resolve too:

charly-automation:agent-control-operator   charly-internals:check-bed-runner
charly-internals:deploy-verifier           charly-internals:layer-validator
charly-internals:pr-validator              charly-internals:root-cause-analyzer
charly-internals:testing-validator

Install records bind to this repo and every path resolves:

count: 4
   charly-automation@charly-plugins        (path ok)
   charly-internals@charly-plugins         (path ok)
   claude-md-management@claude-plugins-official (path ok)
   gopls-lsp@claude-plugins-official       (path ok)

Hooks still fire — the gate self-test is unchanged and green:

$ python3 .claude/hooks/gate_test.py
37 case(s), 0 failure(s)

R10 — full gate on the final committed tree (git status --short empty):

$ task verify
check-policy-b: OK — 5 distro pins equal charly's gitlinks
verify-pins: OK — 344 submodules, policy B holds
OK: .pi/extensions/umbrella-gates.ts parses (node type-strip pass)
exit=0

$ bash scripts/check-harness-parity.sh
check-harness-parity: OK — 5 shared harness files identical to charly/

Committed-tree content proof (not the working tree):

$ git show HEAD:.claude/settings.json | python3 -c "…"
enabledPlugins: ['charly-internals@charly-plugins', 'charly-automation@charly-plugins',
                 'claude-md-management@claude-plugins-official', 'gopls-lsp@claude-plugins-official']
hooks: True | perms: 5

The pre-commit gate ran green on both commits (pre-commit: OK).

Rulebook compliance

  • R1 — RCA before remediation. Root-caused to stale project-scoped install
    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.
  • R3 — No duplication. claude plugin install/uninstall remains the single
    writer of both halves; no hand-edited JSON.
  • R4 — No workarounds. No hand-patched installed_plugins.json, no symlink
    from the missing version path to the commit-keyed cache dir, and the
    github-mcp-server gap is not papered over locally.
  • R5 — Delete legacy completely. Stale version-keyed installPaths replaced,
    not shadowed; the over-broad 26-plugin set removed in this PR, not left behind.
  • R6 — Git safety. git status + git stash list + gh pr list +
    git worktree list preflight before branching; feat/ branch, fast-forward
    pushes only, no force-push, no --no-verify, no direct push to main. The PR
    was updated with a follow-up commit, never closed and recreated.
  • R7 / R10 — Prove the gate on the final tree. task verify,
    check-harness-parity.sh and gate_test.py pasted above, run after the final
    commit on a clean tree; the 29-skill count measured from a fresh session.
  • Rule 1 — Never edit inside a submodule. Umbrella-only change; 344 gitlinks
    untouched. The github MCP defect is explicitly not fixed here because its
    source lives in two submodules.
  • Rule 8 — Harness config parity. .claude/settings.json sits outside the
    SHARED parity table by design; the shared hook scripts are unchanged.

Change classification

Field Value
Change class harness config — plugin enablement + project-scoped install records
Blast radius umbrella only; one tracked file (.claude/settings.json); no gitlinks, submodules, or scripts touched
Verification gate task verify + check-harness-parity.sh + gate_test.py + fresh-session skill/MCP probes, all on the committed tree
Attribution tier fully tested and validated — full gate passed on the final tree and the changed runtime path (plugin skill loading) exercised live with retained output

Assisted-by: Claude Code anthropic/claude-opus-5[1m] (fully tested and validated)

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
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: b10a0f897b3dd4f8df0d96bcad5f95649bfeb27f (branch: feat)

Security screen: PASS — config-only change to .claude/settings.json; permissions.allow (5 entries) and hooks are byte-identical (only reordered), no new secrets/egress, plugins from trusted sources (opencharly marketplace + claude-plugins-official). No T1–T4 findings.

Checklist: All applicable rules PASS or NA.

  • Change class: harness config (plugin enablement). Single file, one atomic commit.
  • A1/A3: Body accounts for the single diff file; ends with the exact *Assisted-by: Claude Code anthropic/claude-opus-5[1m] (fully tested and validated)* footer. Tier justified — the changed path (plugin skill loading) executed live (305 skills from a fresh session, retained output).
  • Internal consistency cross-checked: 28 enabledPlugins entries (26 charly + 2 official) match the diff; 303 charly + 2 claude-md-management = 305 skills; all 26 charly plugins listed; permissions intact (5). All consistent.
  • R1 RCA present (stale project-scoped install records + claude plugin list masking), no forbidden framing; R2/R3/R4/R5/R6/R8 addressed with explicit evidence; R10 gate (task verify, check-harness-parity.sh) run on committed tree with pasted output.
  • Placement: CORRECT — umbrella's own config, no core/sdk/candy code, no alias files, no new imports.
  • No comments on thread to adjudicate.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 28, 2026 20:49
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
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: d7722bc9829a (branch: feat)

Change class: harness config — plugin enablement in .claude/settings.json (single tracked file).

Security screen: PASS — config-only; permissions.allow (5 entries) and hooks byte-identical (only reordered); gopls-lsp@claude-plugins-official from a trusted marketplace; no secrets/egress/weakened guardrails. No T1–T4 findings.

Blocks

  1. A1/A3 + rule 4 — body evidence contradicts the CURRENT diff. The body claims the committed tree has 28 enabledPlugins entries (26 charly + 2 official) and that 305 plugin skills load, listing all 26 charly plugins and a "Committed-tree content proof" asserting enabledPlugins in COMMITTED tree: 28. But the CURRENT diff (head d7722bc) shows enabledPlugins with only 4 entries: charly-internals, charly-automation, claude-md-management, gopls-lsp. The commit history confirms the discrepancy: b10a0f8 ("enable all 26 charly plugins + gopls-lsp") was superseded by d7722bc ("fix: scope the umbrella to the plugins its R0 dispatcher actually needs"), which scoped the enablement down to 4. The body's "How tested" evidence (305 skills, 26 charly plugins, 28 entries) describes the first commit's state, not the current head. The pasted output contradicts the diff — this is a body-truthfulness defect. The author must reconcile the body/evidence with the actual 4-plugin committed tree (and re-derive the skill count and attribution tier from that state).

  2. A3 — attribution tier inflated. fully tested and validated is claimed on evidence (305 skills / 26 charly plugins) that does not match the current tree. The tier must be re-derived from the actual 4-plugin state actually exercised.

The prior github-actions[bot] PASS reviewed head b10a0f8 and repeated the same 28-entry/305-skill claims — stale-superseded against the current head; its claims are not re-imported.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@atrawog atrawog changed the title feat: enable all 26 charly plugins + gopls-lsp at project scope (the umbrella loaded zero plugin skills) fix: load the umbrella's R0 dispatcher skills (enabled but never installed for this project) Aug 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: d7722bc9829a5d7965a048743b8b838ae8e0ac6a (branch: feat)

Security screen: PASS — config-only change to .claude/settings.json; permissions.allow (5 entries) and hooks byte-identical (only reordered); gopls-lsp@claude-plugins-official from a trusted marketplace; no secrets/egress/weakened guardrails. No T1–T4 findings.

Checklist: All applicable rules PASS or NA.

Comment intake:

  • 5457609185 (PASS on b10a0f8) — stale-superseded: reviewed the intermediate 26-plugin state, not the current head.
  • 5457699858 (BLOCK on d7722bc) — stale-superseded: claimed the body contradicted the diff (28 entries / 305 skills vs 4). The CURRENT body (authoritative) has been updated to the 4-plugin state and now matches the diff exactly — the committed-tree proof lists the same 4 enabledPlugins, "29 skills from exactly the three skill-providing plugins", "count: 4" install records, and 6 R0 skills. The prior finding does not reproduce against the current state.

Change class: harness config — plugin enablement in .claude/settings.json (single tracked file; net functional change is adding gopls-lsp to enabledPlugins, 3→4, plus reordering).

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 *Assisted-by: Claude Code anthropic/claude-opus-5[1m] (fully tested and validated)* footer. Tier justified — the changed runtime path (plugin skill loading) executed live with retained output (before/after skill counts, six R0 skills resolving, a skill's content quoted back verbatim, agents resolving).

R1/R2/R4/R5: RCA present (stale project-scoped install records + claude plugin list masking); no forbidden framing; the github-mcp-server defect is routed to its named owning repo (pod-charly-hooks) with a concrete fix path, and is a submodule (rule 1 forbids editing here) — legitimate routing, not a vague deferral.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 44ea12dc1caa (branch: feat)

Security screen: PASS — config-only change to .claude/settings.json; permissions.allow (5 entries) and hooks byte-identical (only reordered); gopls-lsp@claude-plugins-official from a trusted marketplace; no secrets/egress/weakened guardrails. No T1–T4 findings.

Checklist: All applicable rules PASS or NA.

Comment intake:

  • 5457609185 (PASS on b10a0f8) — stale-superseded: reviewed the intermediate 26-plugin state, not the current head.
  • 5457699858 (BLOCK on d7722bc) — stale-superseded: claimed the body contradicted the diff (28 entries / 305 skills vs 4). The CURRENT authoritative body has been updated to the 4-plugin state and now matches the diff exactly — committed-tree proof lists the same 4 enabledPlugins, "29 skills from exactly the three skill-providing plugins", "count: 4" install records, 6 R0 skills. The finding does not reproduce against the current state.
  • 5458025405 (PASS on d7722bc) — verified-non-blocking: reasoning holds against the current head (the merge commit 44ea12d did not alter the settings.json diff; still 1 file, 22+/21-).

Change class: harness config — plugin enablement in .claude/settings.json (single tracked file; net functional change is adding gopls-lsp to enabledPlugins, 3→4, plus key reordering).

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 *Assisted-by: Claude Code anthropic/claude-opus-5[1m] (fully tested and validated)* footer. Tier justified — the changed runtime path (plugin skill loading) executed live with retained output (before/after skill counts, six R0 skills resolving, a skill's content quoted back verbatim, agents resolving).

R1/R2/R4/R5: RCA present (stale project-scoped install records + claude plugin list masking); no forbidden framing; the github-mcp-server defect is routed to its named owning repo (pod-charly-hooks) with a concrete fix path and is a submodule (rule 1 forbids editing here) — legitimate routing, not a vague deferral.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant