gsxdsm
1a3230ff93
FN-9186: Bound no-progress self-healing requeues
Bound no-progress self-healing retries so persistent failures stop consuming agent sessions.
- Persist a three-attempt retry budget with exponential backoff and an idempotent terminal sentinel.
- Prevent restart and wedge recovery paths from reopening exhausted failures.
- Emit bounded retry and exhaustion audit events with regression coverage and operator documentation.
Files changed:
.changeset/fn-9186-no-progress-requeue-budget.md | 7 ++
AGENTS.md | 1 +
docs/architecture.md | 2 +
docs/run-audit.md | 2 +
docs/self-healing-backward-move-audit.md | 2 +-
.../src/__tests__/default-workflow-hooks.test.ts | 18 +++
.../non-executor-run-audit-sink-health.test.ts | 43 +++++++
.../__tests__/restart-recovery-coordinator.test.ts | 14 +++
...self-healing-no-progress-requeue-budget.test.ts | 131 +++++++++++++++++++++
packages/engine/src/__tests__/self-healing.test.ts | 59 ++++++----
.../src/healing/no-progress-requeue-budget.ts | 7 ++
.../src/healing/restart-recovery-coordinator.ts | 10 +-
.../__tests__/task-wedge-notification.test.ts | 10 +-
.../src/notification/task-wedge-notification.ts | 9 ++
packages/engine/src/self-healing.ts | 95 +++++++++++++--
packages/engine/src/util/run-audit.ts | 3 +
16 files changed, 378 insertions(+), 35 deletions(-)
Fusion-Task-Id: FN-9186
Fusion-Task-Lineage: 06d29a60-b6ad-4506-a3c1-f3c52411946a
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-21 09:21:52 -07:00
..
2026-07-31 18:03:13 -07:00
2026-08-21 09:21:52 -07:00
2026-08-21 07:44:32 -07:00
2026-08-21 07:44:32 -07:00
2026-08-17 05:25:17 -07:00