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

Aberta
#17,831 4 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
15/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
bash, json, shell
Domínio
security, tooling

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
Shell
Estrelas
22
Forks
2
Merge médio
2h
PRs com merge (30d)
960

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de melodic-software/claude-code-plugins

Todas as issues de melodic-software/claude-code-plugins

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.