Repository navigation
docs(skills): a refreshed marketplace is not an updated plugin (the cache is commit-keyed) - #427
Merged
github-actions[bot] merged 1 commit intoAug 28, 2026
Conversation
Follow-up to the delivery-audit section added in #425, from verifying that chain end to end. After opencharly/marketplace#234 merged and the local marketplace was refreshed, a fresh session STILL failed to start plugin:charly-internals:github -- the very server the chain had removed. The marketplace clone was correct and carried no internals/.mcp.json; the installed plugin was still resolving an older commit-keyed cache entry that did. The corpus is cached per marketplace COMMIT under ~/.claude/plugins/cache/<marketplace>/<plugin>/<sha>/, and `claude plugin marketplace update` refreshes only the clone. The plugin itself has to be moved with `claude plugin update <plugin>@<marketplace> --scope project`, which reports the commit pair it moved between -- that line, not a refreshed clone, is the evidence a session will see the change. The flag matters: --scope defaults to user and fails outright on a project-scoped plugin. This is the same class of defect the section already documents -- a valid corpus that never reaches the agent -- reached by a different route, so it belongs beside it rather than in a new skill. Claude-Session: https://claude.ai/code/session_01MJWYgjRyvYkQsApe3Nvccq
Contributor
Review — PASSHead SHA: Security screen: PASS — docs-only skill content; no code, secrets, network, guardrail, or supply-chain surface. No embedded directives. Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
github-actions Bot
pushed a commit
to opencharly/marketplace
that referenced
this pull request
Aug 29, 2026
…l now reaches the corpus) (#236) * chore(refs): bump charly to v2026.240.2301 + regenerate Bumps the CI-time charly tag from v2026.240.2158 to v2026.240.2301 and carries the regenerated corpus, as deploy.yml requires. Brings in opencharly/charly#427, which extends the skills skill delivery-audit section: the plugin corpus is cached per marketplace COMMIT, so refreshing the marketplace clone does not move an installed plugin off its old commit. That was observed live -- after the internals stdio github MCP server was removed and the marketplace refreshed, a fresh session still failed to start it, because the plugin resolved a stale commit-keyed cache entry. Claude-Session: https://claude.ai/code/session_01MJWYgjRyvYkQsApe3Nvccq * fix: bump the AUTHORITATIVE refs list, not just the CI tag deploy.yml copies THIS repo's candy/charly-marketplace/charly.yml over the cloned charly's before generating -- it is the authoritative refs list, and the charly checkout supplies only in-repo candy dirs. Bumping the CI-time tag in deploy.yml therefore does NOT change which candy versions the corpus is built from; those come from this file. That is why this PR's build failed with a 22-file drift across the whole internals plugin: the refs list still pinned charly:v2026.240.0831 (predates #425/#426/#427) pod-charly-hooks:v2026.239.1634 (the version WITH the stdio github MCP server) so CI regenerated internals from stale sources and recreated internals/.mcp.json -- the very artifact the chain removed. Reproduced locally by generating with this file instead of charly's: 23 changed paths including ?? internals/.mcp.json. Bumps both to the versions that carry the merged work: charly v2026.240.0831 -> v2026.240.2301 pod-charly-hooks v2026.239.1634 -> v2026.240.2141 The other six pins in this file were already newer than charly's copy and are left alone. Regenerating with the corrected list changes NO corpus file -- the committed corpus already matches, so the drift gate now passes on this tree. Claude-Session: https://claude.ai/code/session_01MJWYgjRyvYkQsApe3Nvccq * fix: re-pin to charly v2026.240.2345 so the corpus and the refs agree Merges main and moves both pins to the newest charly tag. main's corpus already carries #429's git-workflow reality fix (regenerated by #235), but main's authoritative refs list still pinned charly v2026.240.0831 and pod-charly-hooks v2026.239.1634. A corpus generated from content newer than the refs that are supposed to produce it is drift by definition, which is why the build job has been failing across recent PRs -- it is not a required check, so they merged red and the divergence kept growing. Both pins now point at v2026.240.2345, which contains #425, #426, #427 and #429, and pod-charly-hooks stays at v2026.240.2141 (the version without the stdio github MCP server). Regenerating at this pin changes NO corpus file: the committed corpus already matches what CI will produce, so the drift gate passes. Claude-Session: https://claude.ai/code/session_01MJWYgjRyvYkQsApe3Nvccq * fix: pin pod-selkies-core to v2026.240.2344 and regenerate its skill The drift gate was left with one stale artifact, selkies/skills/selkies-core/SKILL.md. The top-level pin said v2026.239.1558, whose charly.yml still describes chrome-wrapper polling for the wayland-0 socket. CI regenerated the newer wording, where the service's wait_for: blocks before Chrome execs -- text that exists only in v2026.240.2104 and later. So the version CI actually resolved was newer than the top-level pin, reached transitively through another candy, while a local run resolved the pinned one and reproduced the stale committed file. Pinning the top level to v2026.240.2344 makes both resolve the same content. Regenerating then updates the one skill, and the corpus matches what CI produces. Claude-Session: https://claude.ai/code/session_01MJWYgjRyvYkQsApe3Nvccq --------- Co-authored-by: atrawog <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to the delivery-audit section added in #425, written from verifying
that chain end to end.
After opencharly/marketplace#234 merged and the local marketplace was refreshed,
a fresh session still failed to start
plugin:charly-internals:github— thevery server the chain had just removed. The marketplace clone was correct and
carried no
internals/.mcp.json; the installed plugin was still resolving anolder commit-keyed cache entry that did.
The corpus is cached per marketplace commit under
~/.claude/plugins/cache/<marketplace>/<plugin>/<sha>/, andclaude plugin marketplace updaterefreshes only the clone. The plugin itselfmust be moved with
claude plugin update <plugin>@<marketplace> --scope project,which reports the commit pair it moved between — that line, not a refreshed
clone, is the evidence a session will see the change. The flag matters:
--scopedefaults to
userand fails outright on a project-scoped plugin.This is the same class of defect the section already documents — a valid corpus
that never reaches the agent — reached by a different route, so it lands beside
it rather than in a new skill (R3).
How tested
The failure this documents was observed live, after the full removal chain
had merged and the marketplace had been refreshed:
Root cause confirmed in the cache — two stale commit-keyed copies, both
carrying the removed file:
The documented fix works, and names the commits it moves between:
The
--scopecaveat is real, not inferred — the default fails:Verified fixed in a fresh session — zero plugin MCP failures, skills intact:
The drift gate is live for this change — negative control first. Run against
the edited source before regenerating, it fails; after
task skills:sync, itpasses on the committed tree:
Single-file source change; harness surface untouched:
Rulebook compliance
root-caused to the commit-keyed cache rather than dismissed as staleness or
retried blindly; the finding is fed back into the owning skill.
skillsskill, not a second skill covering the same class.plugin updatepath; no cachedirectory was hand-deleted to force the result.
gh pr listpreflight;docs/branch; no force-push, nohook bypass, no direct push to
main. The pre-commit gate refused a compoundcommand it could not tokenize and the commit was reformulated as
git commit -F <file>, as the gate instructs — never bypassed.task skills:drifton the finalcommitted tree, preceded by a negative control showing it actually fails when
the corpus is stale.
skill:entity; the generatedSKILL.mdis a projection and was never hand-edited.Change classification
candy/charly-internalsskill:entitytask skills:drift(regeneration is a no-op) on the final tree, with a negative controlfully tested and validated— the gate passed on the committed tree, and every command documented in the new text was executed live with its real output pasted aboveFollow-up (sequenced, not deferred)
opencharly/marketplaceregenerates from its own pinned charly, so the corpusartifact for this text lands there once this merges and charly tags — the same
ordering used by #425 → #426 → marketplace#234.
Assisted-by: Claude Code anthropic/claude-opus-5[1m] (fully tested and validated)