Make debugging debug draft tracker issues instead of filing them unasked

Ouverte Adaptée aux débutants
#20,502 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
76/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
markdown, shell

Piste de recherche

Commence par plugins/debugging/skills/debug/SKILL.md et repère les trois directives de création de tickets dans le tracker citées dans l’issue. Mets-les à jour pour préciser que l’issue est rédigée dans le post-mortem et n’est déposée qu’avec l’accord de l’utilisateur ou selon une posture autorisée de l’appelant ; indique que les exécutions sans supervision signalent les brouillons sans les déposer. Vérifie ensuite le grader nommé et ajoute une entrée au changelog de debugging ; le travail est terminé lorsque les critères d’acceptation sont satisfaits et que le routage codify et retro reste inchangé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Shell
Étoiles
22
Forks
2
Merge moyen
1 h 54 min
PR mergées (30 j)
938

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de melodic-software/claude-code-plugins

Toutes les issues de melodic-software/claude-code-plugins

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.