feat: retry failed agent validations
Some checks failed
CI / test (push) Has been cancelled
CI / test (pull_request) Has been cancelled

This commit is contained in:
Christian Meyer
2026-08-31 17:38:09 +02:00
parent 4b5ac5f9d7
commit b4ad2abc33
10 changed files with 154 additions and 35 deletions

View File

@@ -48,6 +48,11 @@ Set `LOG_LEVEL=DEBUG` to include redacted output from setup and test commands. A
log their model, configured limits, call count, cost, exit status, and trajectory path. `INFO` is
the default for normal operation.
`MAX_AGENT_ATTEMPTS` controls validation-driven self-repair. When an agent submission fails policy,
diff, or test validation, the worker preserves the workspace and gives the redacted failure output
to a fresh agent attempt. Only the final failed attempt marks the issue as `ai:failed` and removes
the workspace.
## Archived implementation
The previous database-polling Aider implementation is preserved unchanged in `old_2026-08-31/`.