Make debugging debug draft tracker issues instead of filing them unasked

Abierto Apto para principiantes
#20,502 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
76/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
markdown, shell

Línea de trabajo

Empieza con plugins/debugging/skills/debug/SKILL.md y localiza las tres directivas para crear entradas en el tracker citadas en el issue. Actualízalas para indicar que el issue se redacta en el post-mortem y solo se presenta con el visto bueno del usuario o una postura permitida del llamador; indica que las ejecuciones desatendidas informan de los borradores sin presentarlos. Después, revisa el grader mencionado y añade una entrada de changelog de debugging; el trabajo estará hecho cuando se cumplan los criterios de aceptación y el enrutamiento de codify y retro permanezca sin cambios.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Problem

plugins/debugging/skills/debug/SKILL.md tells the model to file tracker issues three times, with no posture gate and no ask (verified on origin/main at 6f9409abe9):

  • :341: "File it with your issue tracker instead when fixing it needs a module, owner or seam this change does not touch" (sibling defects found in Phase 6).
  • :389: "File it with your issue tracker as an architectural finding" (Prevention).
  • :392: "When neither route applies or its plugin is not enabled, file it with your issue tracker as its own prevention finding."

A tracker write is an external, shared-state action. Many consumers require their own explicit go for one, and the skill's own eval does not require filing: plugins/debugging/evals/check-shaped-prevention-without-owner-plugins/graders/check-filed-as-prevention.md:5 passes when the run "files that check with the issue tracker ... (drafting the issue counts, since nothing can be sent from this run)". So the skill text demands more than the eval checks, and the model follows the skill text.

Evidence

  • Verified this pass: the three lines above via git show origin/main:plugins/debugging/skills/debug/SKILL.md, and the grader text via git grep on plugins/debugging/evals.
  • The plugin has no filing-posture setting: git grep -i "posture\|tracker" origin/main -- plugins/debugging/README.md plugins/debugging/reference finds only the "optional adjacent capability" line (README.md:50, mirrored at SKILL.md:57).
  • Duplicate search (gh issue list --state all --search "debugging tracker file prevention finding"): none.

Proposed work

Recommended: change the three directives to draft-then-ask. Each says to write the finding as a ready-to-file issue draft in the post-mortem (title and body), and to file it only when the user says to, or when the caller passed a posture that allows filing. Under --unattended, the draft goes in the output and nothing is filed. One shared sentence in Phase 6 can carry the rule, with the three sites pointing to it.

Alternative: add a filing_posture setting like bugs (plugins/bugs/reference/config.md "Filing posture", default manual-only). That is heavier (a config key, resolver and docs) for a skill that files only as a by-product. Choose it only if a consumer needs debug to file unattended.

Files: plugins/debugging/skills/debug/SKILL.md; the grader above if its wording should now require a draft and forbid an unasked file; a debugging changelog fragment.

Acceptance criteria

  • git grep -n -i "file it with your issue tracker" -- plugins/debugging/skills returns nothing.
  • Each of the three sites tells the model to draft the issue in the post-mortem and file only on the user's go.
  • Under --unattended the skill states that drafts are reported and nothing is filed.
  • The check-shaped-prevention-without-owner-plugins case still passes; its grader accepts a drafted issue and fails a run that files without being asked.
  • A debugging changelog fragment exists (scripts/new-changelog-fragment.sh).

Constraints and gotchas

  • Keep the skill consumer-agnostic (.claude/rules/consumer-agnostic-plugins.md): a consumer who wants auto-filing must still be able to get it (by saying so, or through the alternative setting above), so do not remove filing outright.
  • Keep the routing to /corrections:codify and /session-flow:retro at :392 unchanged.
  • Eval cases follow .claude/rules/eval-case-transcripts.md.

Context

Source: local handoff item 20261201-165535-debugging-prompt-audit-findings.md (retired into this issue), from a report-only prompt audit (harness-config audit-instructions, Claude Opus 5.5, 2026-11-30 to 2026-12-01; finding P10-5, upheld by its verifier against installed debugging 3.2.7). Related: the bugs plugin's filing_posture gate as prior art.

Lenguaje dominante
Shell
Estrellas
22
Forks
2
Merge medio
1 h 54 min
PR fusionados (30 d)
938

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de melodic-software/claude-code-plugins

Todos los issues de melodic-software/claude-code-plugins

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.