Repository navigation
Description
Parent
Refs #16428: Ship the plugin-profiles plugin and remove the core bundle
Depends on
Outcome
In a running session, /plugin-profile shows a picker, a preview of what will change and a confirm, all without a model turn; the switch enables the new profile's plugins at once, reloads once at the end of the turn, and leaves disables for the next session start, saying so.
Demo: in an interactive session in a folder with build applied, /plugin-profile → review → confirm; the reload summary at the end of the turn shows the added plugins, and the next session start drops the ones review leaves out.
Decisions
- Q64: preview and confirm before writing;
--yesrequired with nobody to ask. - AC11 order: write the on entries, reload at
turn.complete, then write the off entries; anoff-pendingrecord completes on the next run (D8). - Refuse the switch when folder remembering is off or
PLUGIN_PROFILES_SESSIONis set, and say how to start a session in that profile. - Before enabling a plugin that ships an MCP or language server, name it and say the next message re-reads the conversation; never pass
--forceon its own. - Only the mod uses the mods API; it runs the CLI as a process and imports no engine code.
Key interfaces
The mod (register.tsx): a command with a picker, a turn.complete hook that runs /reload-plugins, the remember_folder_profile plugin option (boolean, default true). Conventions: ADR 0052 (one mod per plugin, version floor 2.1.287).
Review criterion (owner): "Make sure we're applying solid principles: Single Responsibility Principle, DRY, Single Source of Truth principle, so no duplication. Make sure we're adhering to general good practice, best practice, and software engineering principles: low coupling, high cohesion; things that change together live together; feature vertical slice architecture."
Done when
- AC6, AC10, AC13:
claude plugin testcases for the picker, confirm, MCP/LSP prompt and the remembering-off refusal pass, and the mod test runner prints no skip line. - AC9, AC11: the live demo above shows one reload at the end of the turn and no
/reload-skills. - AC7 (process criterion of this container): the container's PR also removes
core.
Out of scope
- The guided setup and the shipped profiles beyond
always-onandbuild.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 15, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
#16433 (comment)
This decision settles the open questions. The code and tests shipped in #16483. What remains is the live demo (AC9, AC11), which needs an interactive host session, so it stays
host-run. Nothing more is asked here.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 15, 2026
Not admitted to the issue lane: it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).feat(plugin-profiles): switch profiles in a running session with /plu…
feat(plugin-profiles): fold the switch changelog entry and use the ca…
github-actions commentedon Nov 16, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
kyle-sexton commentedon Nov 16, 2026
Decision recorded. Merged PR #16483 delivered this issue's code: the
/plugin-profilemod (picker, preview, confirm, one reload at turn.complete, refusal when remembering is off or a one-session profile is set, MCP/LSP prompt), itsclaude plugin testcases, and thecoreremoval (AC7);scripts/test-plugin-mods.shpasses with no skip line. Left: the live demo (AC9, AC11) — in an interactive session on the installed release, in a folder withbuildapplied, run/plugin-profile→review→ confirm and show one reload at the end of the turn, no/reload-skills, and the next session start dropping the pluginsreviewleaves out. That needs an interactive host session, so it stayshost-run; close this issue once the demo is recorded here.kyle-sexton commentedon Nov 17, 2026
Live demo run by the owner on 2026-11-17 (Claude Code 2.1.326, plugin-profiles 0.3.0), in a worktree folder with
buildapplied. Two interactive sessions, each started as bareclaude./reload-pluginsbuild; 57 plugins, 226 skills/plugin-profile, pickreview, Apply/reload-plugins0.5 s after the reply (57 plugins, 226 skills), then "profile review is in force"; the seven entries arefalsein.claude/settings.local.json; no/reload-skillsin the transcript/reload-pluginsreview; 50 plugins, 205 skills: the seven are gone/plugin-profile build, Apply, one promptAC9 and AC11 are shown: one reload at the end of the turn, no
/reload-skills, switch-offs left for the next session start.buildtoreviewadds no plugin in this folder, so the added plugins were shown on the way back tobuild.Display and wording defects seen during the run are in #16747.