M4: Error report fixer attempts tracking #95

Closed
opened 2026-08-01 01:44:07 +00:00 by david · 1 comment
Owner

Error Report Enhancement

Add fixer attempt tracking to error.json when fixer is involved.

Modified Files

  • src/orchestrator/types/orchestrator.ts — add fixerAttempts?: number to ErrorReport
  • src/orchestrator/helpers/classifyError.ts — track fixer attempts when present
  • src/artifacts/helpers/validateErrorReport.ts — validate optional fixerAttempts field

Tests

  • validateErrorReport.test.ts — verify fixerAttempts is optional and numeric
  • classifyError.test.ts — verify fixer attempts are preserved in error report

Acceptance Criteria

  • ErrorReport has optional fixerAttempts field
  • classifyError preserves fixer attempt count
  • Schema validation passes with and without fixerAttempts
  • Tests pass
## Error Report Enhancement Add fixer attempt tracking to error.json when fixer is involved. ### Modified Files - `src/orchestrator/types/orchestrator.ts` — add `fixerAttempts?: number` to `ErrorReport` - `src/orchestrator/helpers/classifyError.ts` — track fixer attempts when present - `src/artifacts/helpers/validateErrorReport.ts` — validate optional fixerAttempts field ### Tests - `validateErrorReport.test.ts` — verify fixerAttempts is optional and numeric - `classifyError.test.ts` — verify fixer attempts are preserved in error report ### Acceptance Criteria - [ ] ErrorReport has optional `fixerAttempts` field - [ ] classifyError preserves fixer attempt count - [ ] Schema validation passes with and without fixerAttempts - [ ] Tests pass
david self-assigned this 2026-08-01 01:44:07 +00:00
Author
Owner

pi-loop opened a Draft pull request for this issue: #111

pi-loop opened a Draft pull request for this issue: https://git.excelera.net/david/pi-loop/pulls/111
david closed this issue 2026-08-01 02:44:15 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
david/pi-loop#95
No description provided.