Fix Issue (Pipeline Consumer)
Read ./review-issues.json and apply fixes for each reported issue.
Workflow
- Read
./review-issues.json— if missing, tell user to run code-review first - Sort issues by severity: error first, then warning
- For each issue: a. Open the file at the specified line b. Apply the minimal fix c. Add a comment explaining the change if non-obvious
- After all fixes, delete
./review-issues.json
Constraints
- Only fix issues listed in the file — do not add new findings
- If a fix would change public API, skip it and note in output
- Preserve existing code style (indentation, quotes, semicolons)
Output
Summarize what was fixed:
Fixed 3/5 issues:
✓ src/auth.ts:42 — parameterized SQL query
✓ src/api.ts:15 — added error handling
✓ src/utils.ts:8 — removed unused import
✗ src/types.ts:20 — skipped (public API change)
✗ src/config.ts:3 — skipped (needs manual review)