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

Aperta
#21,142 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, shell

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
3h 20m
PR unite (30g)
956

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.