Make debugging debug draft tracker issues instead of filing them unasked

Open Beginner friendly
#20,502 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
markdown, shell

Research direction

Start with plugins/debugging/skills/debug/SKILL.md and locate the three tracker filing directives cited in the issue. Update them to describe drafting the issue in the post-mortem and filing only with the user's go or an allowed caller posture; state that unattended runs report drafts without filing. Then review the named grader and add a debugging changelog fragment; done means the acceptance criteria pass and the codify and retro routing stays unchanged.

Written by the indexing model from the issue text.

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.

Dominant language
Shell
Stars
22
Forks
2
Avg merge
1h 54m
Merged PRs (30d)
938

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from melodic-software/claude-code-plugins

All issues in melodic-software/claude-code-plugins

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.