Troubleshoot
Objective
- •Reproduce and isolate the issue.
- •Identify the most probable root cause and next actions.
When to use
- •A bug or failure is reported or observed.
- •Symptoms are unclear and need narrowing down.
Inputs
- •User-reported symptoms, logs, or reproduction steps.
- •AGENTS.md, rules, relevant code/tests.
- •Environment details if available.
Process
- •Confirm and restate the symptom; note missing repro info.
- •Form quick hypotheses; prioritize simplest checks.
- •Collect minimal evidence (logs/tests/inputs) to confirm/deny hypotheses.
- •Identify the likely root cause or narrow to top candidates.
- •Propose next actions (fix path or deeper check) and validation steps.
Outputs
- •Likely root cause (or narrowed hypotheses).
- •Evidence collected and what’s still unknown.
- •Proposed fix direction and validation plan.
Edge cases
- •If repro is missing, request exact steps or data.
- •Avoid broad changes; focus on evidence-driven narrowing.