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

Aperta
#17,831 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, json, shell
Ambito
security, tooling

Direzione di ricerca

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.

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

Descrizione

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

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.