planning interview: accept a plugin-install offer only from the person in the session

Ouverte
#21,142 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
45/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
github, shell

Piste de recherche

Start with plugins/planning/skills/interview/SKILL.md and trace offer resolution in surfaces/registry.mjs, then read interview-defenses.test.sh for the terminal round-1 read-set cap. Check how the resolver detects an interactive session and whether lane permissions cover claude plugin install. Done means tests show installs require an in-session yes and offers are withheld or installs denied for unattended runs.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Problem

plugins/planning/skills/interview/SKILL.md "Print line exactly as given" says: on a yes to an offer, run its offers[].install command (a claude plugin install ... --scope user). The registry suppresses offers only when the model passes --unattended (surfaces/registry.mjs findOffers), and the model decides that flag; no code enforces it. An unattended run that leaves the flag off could take text in an issue or PR body as the yes and install a third-party plugin at user scope.

#21131 makes the offer reachable again for users with surface unset (the default substitution had silently disabled it), so the path now runs for most users. Security review of #21131 rated it P4, medium confidence; offerable.json fixes which plugins can be offered, and lane permission modes still gate the Bash call (not confirmed for claude plugin install).

Done when

  • An install runs only on a yes typed by the person in the session, never on text from an issue, PR, comment or fetched page, stated in the skill and kept inside the terminal round-1 read-set cap (interview-defenses.test.sh).
  • Unattended detection does not rest on the model alone: the resolver withholds offers when no interactive session is present, or the lanes deny claude plugin install, with a test.

Related

  • #21131, #21128.
Langage dominant
Shell
Étoiles
22
Forks
2
Merge moyen
3 h 20 min
PR mergées (30 j)
956

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de melodic-software/claude-code-plugins

Toutes les issues de melodic-software/claude-code-plugins

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.