Fix Bug
Apply focused fixes with regression protection.
Procedure
- •Reproduce the issue from error report, test output, or repro steps.
- •Add a failing test first when practical (handler/service/frontend as appropriate).
- •Implement minimal fix (no bundled refactors).
- •If fix touches contract or schema, follow
$api-contract/$db-migrationworkflows. - •Run targeted tests first, then checks by risk:
- •normal code fix:
make lint && make test - •contract/schema/generated impact: add
make validate
- •normal code fix:
- •Update
progress.mdwith root cause and fix summary.
Rules
- •One bug, one fix scope.
- •Keep changes surgical.
- •Ship with regression coverage.