gsxdsm
ced0e84f5d
FN-8184: unify heartbeat multiplier timing
Keep scheduler repair and reports health aligned with the effective heartbeat cadence.
- Apply heartbeatMultiplier once through shared interval calculations.
- Align scheduler repair and reports-health stale thresholds with scaled cadence.
- Add multiplier regression coverage and document the effective timing rules.
Files changed:
.../fn-8184-heartbeat-multiplier-consistency.md | 7 ++
docs/agents.md | 8 +-
.../src/__tests__/heartbeat-executor.test.ts | 43 +++++++++
.../src/__tests__/heartbeat-scheduler.test.ts | 46 ++++++++++
packages/engine/src/agent-heartbeat.ts | 101 ++++++++++++++++-----
5 files changed, 176 insertions(+), 29 deletions(-)
Fusion-Task-Id: FN-8184
Fusion-Task-Lineage: 05b79c5e-444a-42c3-9073-9c8c05df5def
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-16 20:16:36 -07:00
..
2026-07-16 20:16:36 -07:00
2026-07-13 10:32:12 -07:00
2026-07-16 19:01:03 -07:00
2026-06-08 15:19:27 -07:00
2026-07-16 12:42:17 -07:00