Triage a bug report. Reproduces the bug, diagnoses the root cause, verifies whether the behavior is intentional, and attempts a fix. Use when asked to "triage issue
Triage a bug report end-to-end: reproduce the bug, diagnose the root cause, verify whether the behavior is intentional, and attempt a fix.
You need either:
issueTitle and issueBody provided in args (preferred — use these directly as the bug report), ORgh issue view to fetch details)If a triageDir is provided in args, use that as the working directory for the triage. Otherwise, default to triage/gh-<issue_number> (if you have an issue number) or triage/current.
Read and follow reproduce.md. Use a subagent for this step to isolate context.
After completing reproduction, check the result:
Read and follow diagnose.md. Use a subagent for this step to isolate context.
After completing diagnosis, check your confidence:
Read and follow verify.md. Use a subagent for this step to isolate context.
After completing verification, check the verdict:
Read and follow fix.md. Use a subagent for this step to isolate context.
Whether the fix succeeds or fails, continue to Output.
After completing the triage (or exiting early), you may suggest generating a GitHub comment using comment.md if the user would find it useful.