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

Đang mở
#21,142 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, shell

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
3 giờ 20 phút
Pull request đã merge (30 ngày)
956

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.