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

オープン
#21,142 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, shell

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Shell
スター
22
フォーク
2
平均マージ
3時間 20分
マージ済み PR(30日)
956

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。