What problem does it solve?
Diagnoses bugs from raw error logs, stack traces, or CI failure output — triages and clusters errors, localizes root cause (file → function → line), enters plan mode with a structured fix + test proposal for human approval, writes a typed pytest regression test using mocks first, then implements a targeted code fix and verifies the test turns green. Trigger when: user pastes logs and wants the underlying bug fixed with tests that prevent recurrence; user says "here are the logs, fix it"; CI output shows failures needing code changes and test coverage; stack traces are provided with a request to fix and test. Do NOT trigger for: general code review without logs, refactoring without a specific bug, performance work, test coverage requests with no associated failure.
Core Features & Use Cases
- Clusters related errors into actionable root-cause blocks.
- Localizes root cause to specific file, function, and line location.
- Produces a plan with a minimal, test-first fix and a regression test.
Quick Start
Provide a paste of failing logs to trigger the workflow and obtain a plan-ready fix with tests.