wtclaude
2e964cfeee
PR Checks / bot-tests (pull_request) Successful in 32s
PR Checks / client-build (pull_request) Successful in 33s
PR Checks / server-tests (pull_request) Successful in 5m29s
feat(events): the runner (Phase 2)
...
`utils/eventRunner.js`, the eighth poller, wired into server.js beside
engagementWorker. Its tick reclaims stale leases, sweeps occurrences past their
grace window into `missed`, advances each due run through its phases, and drains
that phase's steps in `seq` order. The three core actions from Phase 1 get real
bodies, so a published event started from the existing run route now announces,
waits and completes on its own.
No routes are added: a runner has no surface, and the live controls stay Phase
3's.
Four things the org lead settled (2026-09-02): a parked step is `running` with a
NULL lease; `await: 'human'` and `holdFor` are ordinary success-envelope members
rather than special cases keyed on an action id; a run whose concurrency key is
held stays `scheduled` and lets its grace window decide; and `n` in §L's
`retry(n)` is a runner constant.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-09-02 06:32:24 -05:00
..
2026-08-10 21:27:47 -05:00
2026-08-10 21:27:47 -05:00
2026-08-12 09:05:21 -05:00
2026-07-21 23:38:48 -05:00
2026-08-10 17:47:59 -05:00
2026-08-11 12:08:26 -05:00
2026-08-10 17:47:59 -05:00
2026-07-18 22:01:06 -05:00
2026-07-18 22:01:06 -05:00
2026-07-20 18:37:17 -05:00
2026-07-21 00:33:01 -05:00
2026-08-29 01:53:50 -05:00
2026-07-21 23:38:48 -05:00
2026-08-12 07:57:08 -05:00
2026-07-04 17:35:07 -05:00
2026-07-03 02:31:25 -05:00
2026-08-07 20:09:56 -05:00
2026-08-11 21:41:18 -05:00
2026-08-29 13:07:39 -05:00
2026-08-18 12:58:15 -05:00
2026-07-27 15:19:26 -05:00
2026-08-29 01:53:50 -05:00
2026-08-28 20:52:55 -05:00
2026-09-01 01:22:00 -05:00
2026-08-29 01:53:50 -05:00
2026-08-29 01:53:50 -05:00
2026-08-31 10:47:34 -05:00
2026-08-31 20:33:02 -05:00
2026-08-31 10:47:34 -05:00
2026-09-01 14:29:21 -05:00
2026-09-01 14:29:21 -05:00
2026-08-29 08:07:27 -05:00
2026-08-31 02:07:10 -05:00
2026-08-29 06:40:28 -05:00
2026-09-01 15:40:53 -05:00
2026-09-01 15:40:53 -05:00
2026-08-29 18:13:57 -05:00
2026-08-31 20:33:02 -05:00
2026-09-02 06:32:24 -05:00
2026-09-02 06:32:24 -05:00
2026-09-02 06:32:24 -05:00
2026-09-01 23:29:07 -05:00
2026-09-01 23:29:07 -05:00
2026-08-10 22:54:16 -05:00
2026-07-21 00:33:01 -05:00
2026-07-17 15:50:49 -05:00
2026-08-12 08:16:59 -05:00
2026-08-29 20:11:54 -05:00
2026-08-28 20:52:55 -05:00
2026-07-20 16:55:06 -05:00
2026-08-29 00:49:25 -05:00
2026-07-03 10:31:29 -05:00
2026-07-20 16:55:06 -05:00
2026-07-21 00:26:01 -05:00
2026-07-22 13:14:02 -05:00
2026-08-12 03:09:45 -05:00
2026-08-10 22:54:16 -05:00
2026-08-12 07:57:08 -05:00
2026-08-11 22:57:37 -05:00
2026-09-01 14:29:21 -05:00
2026-08-12 03:09:45 -05:00
2026-08-12 03:09:45 -05:00
2026-08-29 06:40:28 -05:00
2026-08-18 14:35:23 -05:00
2026-08-12 03:48:27 -05:00
2026-08-12 03:09:45 -05:00
2026-08-08 00:42:19 -05:00
2026-08-31 20:33:02 -05:00
2026-08-31 20:33:02 -05:00
2026-08-18 14:35:23 -05:00
2026-07-21 00:26:01 -05:00
2026-07-21 23:38:48 -05:00
2026-07-19 03:57:13 -05:00
2026-08-29 00:49:25 -05:00
2026-08-11 12:08:26 -05:00
2026-08-29 01:53:50 -05:00
2026-08-07 19:16:23 -05:00
2026-07-21 00:33:01 -05:00
2026-08-10 22:03:22 -05:00
2026-07-27 20:52:14 -05:00
2026-08-18 14:35:23 -05:00
2026-07-21 23:38:48 -05:00
2026-07-03 10:31:29 -05:00
2026-07-04 17:35:07 -05:00
2026-08-17 15:08:58 -05:00
2026-08-11 12:08:26 -05:00
2026-07-03 10:31:29 -05:00
2026-08-29 00:49:25 -05:00
2026-07-04 21:54:58 -05:00
2026-08-11 18:39:55 -05:00
2026-08-08 00:02:33 -05:00
2026-08-18 18:53:34 -05:00
2026-07-06 01:36:51 -05:00
2026-08-29 01:53:50 -05:00
2026-07-04 22:17:35 -05:00
2026-07-28 01:01:12 -05:00
2026-08-17 14:57:23 -05:00
2026-08-17 20:15:18 -05:00
2026-08-29 20:11:54 -05:00
2026-08-18 12:58:15 -05:00
2026-08-18 20:25:30 -05:00
2026-08-17 15:08:58 -05:00
2026-08-29 20:11:54 -05:00
2026-08-29 20:11:54 -05:00
2026-08-18 14:35:23 -05:00
2026-08-17 20:15:36 -05:00
2026-08-18 13:25:21 -05:00
2026-08-18 14:35:23 -05:00
2026-08-19 00:07:27 -05:00
2026-08-19 00:07:27 -05:00
2026-08-07 19:16:23 -05:00
2026-07-21 23:38:48 -05:00
2026-07-06 01:36:51 -05:00
2026-08-31 02:07:10 -05:00