feat(ACTIVITY-WP-0014): missed-fire detection & alert sink (T03)

Add activity_core/schedule_health: a pure evaluate_schedule_health() verdict
(built on Temporal's num_actions_missed_catchup_window plus a staleness check),
an async check_schedule_health() reader, and post_missed_fire_alert() that emits
a schedule_miss State Hub progress event. Makes a missed fire visible even under
misfire_policy=skip, where Temporal drops it by design. Unit tests for the
verdict logic.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 14:25:33 +02:00
parent 77af65afb2
commit 053d18b24a
3 changed files with 269 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ map). Unit tests for each mode's `(catchup_window, overlap)` mapping.
```task
id: ACTIVITY-WP-0014-T03
status: todo
status: done
priority: medium
state_hub_task_id: "dbedd96a-59ca-4b83-bce6-35755b076807"
```
@@ -112,7 +112,7 @@ be invisible.
```task
id: ACTIVITY-WP-0014-T04
status: wait
status: progress
priority: medium
state_hub_task_id: "04e9d1d2-1192-4402-9402-b12c5d7d44e5"
```