Repository navigation
feat(setup): install the picked plugins, name the three scopes, and recommend a baseline - #1209
Merged
Merged
Conversation
Step M4 of the marketplace install printed a block of `/plugin …` lines and asked the user to type them, on the premise that "no tool can invoke it". That is true of the slash command and false of the CLI beside it: `claude plugin`, `codex plugin` and `gemini extensions` are ordinary binaries, and every skill's adoption-floor pre-flight already calls them to bring a machine up to a project's floor. The install step now calls them too. Four conditions gate running rather than printing, each reported with its reason rather than silently swallowed: - the source is not `apache/magpie` — the same boundary the lock's `url` draws, and the reason the third-party companion packages further down the skill stay printed; - the harness has no install CLI; - the plugin store is not writable — a sandboxed agent is the common case, and Claude Code's own default sandbox denies `~/.claude/plugins/`, so this degrades to printing rather than reporting a broken install; - an install stops for a marketplace-declared command. `--yes` is never passed: the flag exists to accept such a command sight unseen, and Magpie's catalogue declares none, so an install that demands it is not the catalogue the step assumed. Installs go in at `--scope user`, because a marketplace install is a per-machine act; `--scope project` writes a file every contributor gets, which is adoption and a maintainer's decision. Adds a `step-m4-install-gates` eval suite covering the happy path and all four gates, and records the decision in the merged design. Generated-by: Claude Opus 5 Claude-Session: https://claude.ai/code/session_017suKVbpWX8XT46uRbDxk8y
…s adoption Step M4 quietly passed `--scope user` with a one-paragraph aside. It now names all three scopes and what each one means for who gets the plugins: - `user` (default) — `~/.claude/`, you, every repository on this machine, nothing written to the repo; - `local` — `.claude/settings.local.json`, gitignored, you, this repository only; - `project` — `.claude/settings.json`, committed, everyone who clones. `--scope project` is adoption in everything but name: it is the same committed file `/magpie-setup adopt` writes. So the install step never passes it, and a user asking for the whole project to get Magpie is handed off to `adopt` — which runs those commands at `--scope project` itself, and writes the version floor beside the plugin list that the flag alone would leave missing. adopt.md Step 3 now says so from the other side: on Claude Code the derived wiring is what `claude plugin … --scope project` produces, so let the client write its own file and read the result against the merge rules before staging, rather than hand-editing the JSON. Two more eval cases: "only this repo" (`--scope local`) and "the whole project" (hand off, do not set the flag). Generated-by: Claude Opus 5 Claude-Session: https://claude.ai/code/session_017suKVbpWX8XT46uRbDxk8y
…to invoke Two changes to the installation guides. **A recommended baseline, not one required plugin.** Every install page said "take `magpie-setup`, then pick families." It now recommends three: - `magpie-setup` — install it first; nothing else installs, upgrades, configures or adopts without it, and it carries the isolation skills; - `magpie-agent-guard` — the deterministic pre-execution guard; - `magpie-utilities` — `list-skills` and the small tools. That is exactly the floor a project commits when it adopts, which is the argument for it: a set worth recommending to every contributor is a set worth having yourself, and one recommendation is easier to hold than two. Step M3 pre-ticks all three and says why each is ticked; `magpie-setup` is unremovable (it is the skill doing the installing), the other two can be un-ticked with what is given up said once. An explicit `skill-families:` list stays verbatim and gains only `magpie-setup`. Agent isolation joins the baseline as a run rather than a plugin: quick start Step 3 is now "part of the default setup, not a later hardening pass", and Step M5 says the install is not finished until it has been offered. **Both invocation forms, everywhere.** Skills are model-invoked, so the slash command is a shortcut and the plain-language sentence is the general case — and the harnesses without slash commands have only the sentence. Every step now shows both. The one exception, stated as such: the first install must be a client command, because nothing is installed yet to hear the request. The three install animations are regenerated: the wizard now shows four plugins going in at user scope rather than a "Run these:" block, which is what the step actually does since it started running the CLI. Adds a `step-m3-baseline-pick` eval suite (pre-tick, un-tick, explicit list) and records both decisions in the merged design. Generated-by: Claude Opus 5 Claude-Session: https://claude.ai/code/session_017suKVbpWX8XT46uRbDxk8y
This was referenced Sep 13, 2026
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.
Three related changes to how Magpie gets installed, each one removing work the
user was previously asked to do by hand.
1. The agent installs; it does not dictate commands to type
Step M4 of
/magpie-setup installprinted a block of/plugin …lines andasked the user to type them, on the premise that "no tool can invoke it". That
is true of the slash command and false of the CLI beside it:
claude plugin,codex pluginandgemini extensionsare ordinary binaries, andevery skill's adoption-floor pre-flight has been calling them all along. The
install step now calls them too.
Four conditions gate running rather than printing, each reported with its
reason rather than silently swallowed:
apache/magpieurldraws. Also why the third-party companion packages stay printed.~/.claude/plugins/, where evenclaude plugin marketplace listfailsEPERM. Degrades to printing, not to "install broken".--yesis never passed. The flag exists to accept a catalogue-supplied command sight unseen; Magpie's manifest declares none (verified), so an install demanding it is not the catalogue the step assumed.2. Claude Code's three scopes, named rather than defaulted past
--scopedecides who gets the plugins, and the install step now says so:--scopeuser(default)~/.claude/local.claude/settings.local.json, gitignoredproject.claude/settings.json, committed--scope projectis adoption, so the install step never passes it. Notceremony: the flag alone gives a project the plugin list with no
.apache-magpie.lockbeside it — no version floor, no record of what the listwas derived from. A user asking for the whole project to get Magpie is handed
off to
/magpie-setup adopt.adopt.mdStep 3 now says the same thing from the other side: on Claude Codethe "derived wiring" it used to hand-write as JSON is the
--scope projectstore, so it runs the CLI and lets the client write its own file — then reads
the result against the existing merge rules before showing the diff and
staging. Those rules stay the contract either way; hand-writing remains the
fallback.
3. A recommended baseline, and both ways to invoke everything
Every install page said "take
magpie-setup, then pick families". It nowrecommends three —
magpie-setup,magpie-agent-guard,magpie-utilities—which is exactly the floor a project commits when it adopts. That is the
argument for it: a set worth recommending to every contributor is a set worth
having yourself, and one recommendation is easier to hold than two.
magpie-setupis unremovable (it is the skill doing the installing); theother two are strongly recommended and can be un-ticked, with what is given up
said once. Agent isolation joins the baseline as a run rather than a plugin
— quick start Step 3 is now "part of the default setup, not a later hardening
pass", and the install is not described as finished until it has been offered.
Both invocation forms, everywhere. Skills are model-invoked, so the slash
command is the shortcut and the plain-language sentence is the general case —
and harnesses without slash commands have only the sentence. One honest
exception, stated as such: the first install must be a client command,
because nothing is installed yet to hear the request.
Docs, animations, evals
docs/quick-start.md,docs/quick-start/families.md,docs/setup/marketplace-install.mdcarry the baseline and both forms.magpie-setup.svgstill showed aRun these:block handing commands to theuser; it now shows four plugins installed at user scope, which is what the
step does.
step-m3-baseline-pick(3 cases: pre-tick, un-tick,explicit
skill-families:list) andstep-m4-install-gates(7 cases: thehappy path, all four gates, and the two scope requests).
docs/designs/2026-09-13-install-adopt-upgrade.md.Testing
prekpasses in full, includingcheck-doc-sync,check-quickstart-recording(the SVGs are byte-stable regenerations) and
check-family-plugins.Not verified locally: the eval suites themselves could not be executed —
claude -pcannot authenticate from inside the sandbox this work was done in.The suites are written and load correctly; they have not been graded.
🤖 Generated with Claude Code
https://claude.ai/code/session_017suKVbpWX8XT46uRbDxk8y