Skip to content

Guide a user to their plugin profiles and install only on yes #16434

Closed

Description

@kyle-sexton

Parent

Refs #16428: Ship the plugin-profiles plugin and remove the core bundle

Depends on

Outcome

/plugin-profiles:profile setup walks a user through their installed plugins and skills, reads local usage history, asks about their work and about each plugin that ships hooks, and proposes profiles they can save; it installs a missing plugin only on their yes at that moment, then switches it off at user level unless the initial profile includes it.

Demo: run setup on a machine with no usage history: it says so, proposes profiles from the interview and the catalog categories, and offers to turn on session recording for a later refinement.

Decisions

  • Q23/AC15: a guided action proposes profiles from an inventory and local usage history.
  • Q32/Q36/Q42: install only on the user's yes, only from known marketplaces, to user scope, then off at user level unless the initial profile includes it; never update or uninstall.
  • Q54/AC25: ask per hook-shipping plugin (event hooks or a mod), always on or per profile.
  • D3 (owner): session recording is not on by default; setup offers it.
  • Proof route (owner, 2026-11-15, "go w/ recommendations", relayed by the control-hub session): claude plugin eval cannot run the nested claude that inventory and install call (the run's config directory is write-denied in its sandbox), so the guided setup is proven outside it: a Node integration test runs the real install in a throwaway config directory, and three headless claude -p sessions in a throwaway HOME and config, graded by the eval cases' graders, cover the conversation. The eval cases stay in the repository for when the harness allows nesting.

Key interfaces

The skill /plugin-profiles:profile with actions apply, status, clear, check, setup; it runs the CLI for every write. Conventions: skill bodies state current rules and point at upstream sources; the seam-phrasing contract for any optional plugin it names.

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

  • AC15, AC25: headless setup sessions (cases validated with /evals:validate, graded by their graders; budget three sessions) show the inventory, the per-hook-plugin question and a proposed profile saved as a user file.
  • AC4, AC20: an install happens only after an explicit yes in a transcript, and an integration test with the real claude shows the installed plugin ends off at user level.
  • /skill-quality:check reports 0 FAIL for the skill.
  • AC7 (process criterion of this container): the container's PR also removes core.

Out of scope

  • Profile membership changes (the shipped lists are owned by their item).

Activity

  1. added
    agent-ready
    on Nov 15, 2026
  2. added
    needs-triage
    on Nov 15, 2026
  3. self-assigned this
    on Nov 15, 2026
  4. github-actions commented on Nov 15, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Triaged against the recorded decision:

    Decision recorded. Merged PR #16483 delivered the guided skill (/plugin-profiles:profile: apply, status, clear, check, setup), its eval cases and the real-claude install proof (AC4, AC20). Left, per that PR's Remaining section: (1) the per-hook case's prompt without the up-front answer, and graders/per-hook-question.md requiring the question to be asked live; (2) one headless session showing that question asked; (3) one session after the "Not installed does not stop an apply" line was added, showing the skill no longer refuses --yes for missing always-on members. A small follow-up PR closes this issue with those.

    #16434 (comment)

    That decision settles the open questions, so none are asked again. What is left is a small follow-up: edit the per-hook eval case and its grader, then run two headless sessions. The sessions need a host run, which intake routes separately and which needs no person's decision here. I found no other merged pull request that fixes this beyond #16483, which the decision already cites.

    Automated triage. A maintainer reviews it.

  5. removed
    needs-triage
    on Nov 15, 2026
  6. melodic-automation-lanes commented on Nov 15, 2026

    @melodic-automation-lanes
    Contributor

    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).

  7. added
    host-run
    on Nov 16, 2026
  8. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  9. kyle-sexton commented on Nov 16, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. Merged PR #16483 delivered the guided skill (/plugin-profiles:profile: apply, status, clear, check, setup), its eval cases and the real-claude install proof (AC4, AC20). Left, per that PR's Remaining section: (1) the per-hook case's prompt without the up-front answer, and graders/per-hook-question.md requiring the question to be asked live; (2) one headless session showing that question asked; (3) one session after the "Not installed does not stop an apply" line was added, showing the skill no longer refuses --yes for missing always-on members. A small follow-up PR closes this issue with those.

  10. kyle-sexton commented on Nov 16, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. Owner, 2026-11-16: "Go with recommendations." The recommendation was to close this issue on the live run's transcripts.

    The guided setup was proven in a live headless session and one resume turn on 2026-11-16, against plugin-profiles at 9746c9e13499f6fbbaa38e2b75e4f15d5fb356c1:

    • Turn 1 (session 0adefa1f-141f-426e-b6a5-96808f55cb97): the setup listed both installed plugins with their skills, named notes-hooks as the only one that ships hooks, asked whether it is always on or per profile, and saved nothing. Graders: inventory-ran, usage-ran, no-profile-saved-before-answer and no-hand-written-profile passed. per-hook-question-asked failed on wording only: it required "per profile" inside the question sentence, and the session asked "always on, or only on in the profiles that name it?" with the per-profile choices in the options below. test(plugin-profiles): accept the per-hook question however the per-profile choice is worded #16556 (merged as b518cad92563be7f7e76cf22a8d3f6b8d3502a47) fixed the grader; the saved transcript passes it. The LLM grader was not run; its criteria were checked by hand against the transcript.
    • Turn 2 (the same session, resumed with the answer): previewed save docs --level user with --dry-run, then saved it with --yes. Graders: save-previewed, save-written-at-user-level, save-previewed-before-written and no-hand-written-profile passed.

    The "proposed profile saved as a user file" part was also proven by #16483's three headless sessions. Transcripts are kept on the owner's machine (16434-live-turn1.jsonl, 16434-live-turn2.jsonl). The eval case and its graders shipped in #16507 and #16556.

  11. removed
    host-run
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-ready

Fields

Work status

confirmed

Priority

medium

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions