harness-ops: adopt commandPrinted/commandFailed in reset-refresh.sh (held for the owner, waits on a probe)

Đang mở
#17,831 4 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
bash, json, shell
Lĩnh vực
security, tooling

Hướng nghiên cứu

Start by reading plugins/harness-ops/skills/plugins/scripts/reset-refresh.sh around install_user (312-333), then sync-run.sh 763-771 and scripts/fixtures/cli-json-results.jsonl for the CLI JSON fields. Run a probe on Claude Code 2.1.330+ to check whether claude plugin install --json reports commandPrinted and commandFailed, and whether the exit code already reflects a failed command. Done means the probe result is recorded on the issue and the owner decides whether the script adopts the fields; this is a decision item, not a newcomer edit.

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

Mô tả

needs-owner-decision needs-triage

Refs: #17713

Context

Item 5 of the 13 handoffs the v2.1.330 changelog apply run filed as #17713, split one issue per item under the owner's decision on that issue ("Go with recommendations.", 2026-11-21).

Route: a decision item, held for the owner (owner decision on #17713). It waits until a probe confirms the new fields. Security-relevant: the path gates running marketplace-declared commands.

Owner surface: plugins/harness-ops/skills/plugins/scripts/reset-refresh.sh
Lens: adopt
Items: 2.1.330-007
Range: 2.1.330..2.1.330

Required sentence: The script judges a marketplace-declared install command, accepted by sha256, only by the exit code and cannot see whether that command wrote to stderr, exited with an error, was killed or timed out; the new commandPrinted and commandFailed fields of claude plugin install --json supply that.

Why a handoff (adopt): Adopting is a decision; defer pending probe (no docs page or probe shows the fields or whether the exit code already reflects a failed command). Security-relevant: the path gates running marketplace-declared commands.

Repo evidence (unverified, verification: skipped (light)): reset-refresh.sh:312-333 (install_user); sync-run.sh:763-771 (cli_json fields); scripts/fixtures/cli-json-results.jsonl
Recheck trigger: plugins CLI reference, plugin install JSON result

Done when

  • A probe on Claude Code 2.1.330 or later shows whether claude plugin install --json reports commandPrinted and commandFailed, and whether the exit code already reflects a failed command; the result is recorded on this issue
  • The owner decides whether plugins/harness-ops/skills/plugins/scripts/reset-refresh.sh adopts the fields
Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
2 giờ
Pull request đã merge (30 ngày)
960

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.