Systematic bug-fixing workflow. Reproduces the bug, instruments the code with targeted logging, reads and interprets logs to pinpoint root cause, makes a surgical fix, verifies the fix, and cleans up instrumentation. Use when asked to fix a bug, investigate unexpected behavior, or diagnose a crash/error.
2026-05-28