gsxdsm
0056d75314
FN-8569: surface unrecoverable report health
Classify parked direct reports as operator-actionable even when their stored state appears live.
- Add a reusable Reports Health classifier that prioritizes pause markers.
- Clear stale pause markers during live-state resumes without removing diagnostic errors.
- Cover desynchronized report states and document the health invariant.
Files changed:
.../fn-8569-reports-health-error-unrecoverable.md | 7 +++
docs/architecture.md | 1 +
.../agent-store-pause-marker-clear.test.ts | 65 +++++++++++++++++++
packages/core/src/agent-store.ts | 12 ++++
.../src/__tests__/heartbeat-executor.test.ts | 27 ++++++--
.../engine/src/__tests__/reports-health.test.ts | 73 ++++++++++++++++++++++
packages/engine/src/agent-heartbeat.ts | 36 ++++++-----
packages/engine/src/index.ts | 6 ++
packages/engine/src/reports-health.ts | 70 +++++++++++++++++++++
9 files changed, 278 insertions(+), 19 deletions(-)
Fusion-Task-Id: FN-8569
Fusion-Task-Lineage: 37c798a0-1f2b-4221-a0c6-ccbff8d72696
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-24 23:57:49 -07:00
..
2026-07-24 23:57:49 -07:00
2026-07-24 23:12:53 -07:00
2026-07-24 23:12:53 -07:00
2026-06-08 15:19:27 -07:00
2026-07-21 23:09:30 -07:00