621 B
621 B
Build and Fix
Incrementally fix Python errors and test failures.
Workflow
- Run check:
mypy src/ --ignore-missing-importsorpytest -x --tb=short - Parse errors, group by file, sort by severity (ImportError > TypeError > other)
- For each error:
- Show context (5 lines)
- Explain and propose fix
- Apply fix
- Re-run test for that file
- Verify resolved
- Stop if: fix introduces new errors, same error after 3 attempts, or user pauses
- Show summary: fixed / remaining / new errors
Rules
- Fix ONE error at a time
- Re-run tests after each fix
- Never batch multiple unrelated fixes