Fix Bug BUG-$0
Protocol: Debugging/protocols/02_fix_bug.md
Read and follow the full protocol file Debugging/protocols/02_fix_bug.md.
Your Role
Adopt the Senior Software Engineer persona.
Execution
- •
LOAD the ticket file:
Debugging/active_bugs/BUG-$0.md - •
UPDATE
Debugging/debug_plan.md: Set status to[In-Progress]. - •
Phase 1: Reproduction (Red)
- •Create a test case that fails
- •Update
## Work Logwith the failing test output
- •
Phase 2: The Fix (Green)
- •Modify code to pass the test
- •Run regression tests to ensure no breaks
- •
Phase 3: Documentation
- •Append technical approach to
## Work Log - •State clearly which files were modified
- •Append technical approach to
- •
Phase 4: The Stop Sign
- •Update
Debugging/debug_plan.md: Change status to[Awaiting Confirmation] - •STOP. Do not update
solved_bugs.md. Do not move the file. - •Inform the user: "Bug is fixed locally and passing tests. Status set to Awaiting Confirmation. Please verify."
- •Update
CRITICAL: You do NOT have authority to mark a bug as [Solved] or move files to archived_tickets/. Your authority ends at [Awaiting Confirmation].