Bug Fix
Resolve bugs from report to verified fix. The AI drives through Intake, Reproduce, Analyze, Fix, and Verify.
Free to start · runs with your own AI
Workflow steps
Runs inside your AI conversation · the orchestrator drives
you — in any AI chat
- 1
Intake
Verify the bug report is actionable before investigation begins.
Required elements:
- A specific, unambiguous title
- A one-line summary describing the incorrect behavior
- Observed context (when, where, or under what conditions)
If any element is missing, identify the gap and ask the operator
to clarify. Do not advance with an under-specified report. - 2
Reproduce
Produce a minimal, deterministic reproduction of the reported
behavior.Capture:
- Exact steps required to trigger the bug
- Expected versus observed behavior
- Relevant environment details (version, OS, configuration)
If the bug cannot be reproduced, stop and report that finding
explicitly. Do not proceed on speculation — an irreproducible
report requires clarification, not guesswork.Request operator confirmation that this reproduction matches the
reported issue before advancing.The AI pauses here and waits for a human to approve before the conversation continues. - 3
Analyze
Identify the root cause and scope the smallest corrective change.
Document:
- Location of the defect (files, functions, or subsystem)
- Mechanism — why the observed behavior occurs
- Proposed fix — the minimal change that resolves the root cause
- Collateral impact — callers affected, tests that will shift,
migrations or contracts potentially touched
Keep the analysis focused and concise — depth of reasoning matters
more than length. - 4
Fix
Apply the corrective change defined in the analyze step. Keep the
edit surgical — do not refactor adjacent code, rename unrelated
symbols, or expand scope beyond the root cause.Add or update a regression test that would have caught this bug
before the fix. The test must fail on the unfixed code and pass
on the fixed code. - 5
Verify
Verify the fix resolves the reported behavior without introducing
regressions.Execute:
- The reproduction recipe from the reproduce step
- The regression test added in the fix step
- The project's existing test suite at the relevant level
Report what was executed, what passed, and what failed. If any
check fails, reject this step — the workflow returns to fix so
the gap can be addressed before another verification pass.Request operator approval before advancing.
The AI pauses here and waits for a human to approve before the conversation continues.If rejected → returns to fix - 6
Complete
The bug has been reproduced, analyzed, fixed, and verified. Mark
the task completed and close it out. Workflow complete — outcome delivered, every step on record.
Related workflows
Ready to automate?
Stop re-explaining your process. Pick a template, start a task, and let the AI drive the work through your workflow.