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

未關閉
#17,831 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
15/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
bash, json, shell
領域
security, tooling

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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
主要語言
Shell
星號
22
分支
2
平均合併
2 小時
30 天內合併 PR
960

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。