Make debugging debug draft tracker issues instead of filing them unasked

Offen Anfängerfreundlich
#20,502 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
76/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
markdown, shell

Rechercherichtung

Beginne mit plugins/debugging/skills/debug/SKILL.md und finde die drei im Issue zitierten Anweisungen zum Einreichen von Tracker-Einträgen. Aktualisiere sie so, dass sie beschreiben, dass der Issue im Post-mortem-Review entworfen und nur mit dem Go des Nutzers oder einer zulässigen Haltung des Aufrufers eingereicht wird; halte fest, dass unbeaufsichtigte Läufe Entwürfe melden, ohne sie einzureichen. Prüfe dann den genannten Grader und füge einen Changelog-Eintrag zum Debugging hinzu; fertig ist die Arbeit, wenn die Akzeptanzkriterien erfüllt sind und das Codify- und Retro-Routing unverändert bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Shell
Sterne
22
Forks
2
Ø Merge
1 Std. 54 Min.
Gemergte PRs (30 T.)
938

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus melodic-software/claude-code-plugins

Alle Issues in melodic-software/claude-code-plugins

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.