From 6c9a665de2b3a040ccd5471ba79b03e98f5e12d3 Mon Sep 17 00:00:00 2001 From: KoNit-K <124019182+KoNit-K@users.noreply.github.com> Date: Tue, 15 Sep 2026 15:10:40 +0800 Subject: [PATCH] docs(cron): clarify inactivity watchdog --- cron/AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/AGENTS.md b/cron/AGENTS.md index 2032bc57df..b4030ee1de 100644 --- a/cron/AGENTS.md +++ b/cron/AGENTS.md @@ -15,7 +15,7 @@ A's last output into job B's prompt), `workdir` (run with that directory's `AGEN loaded), multi-platform delivery. Hardening invariants — each guards a real failure; don't weaken without answering for it: -- **3-minute hard interrupt** on cron sessions: runaway loops cannot monopolise the scheduler. +- **600-second inactivity watchdog** on cron sessions: `HERMES_CRON_TIMEOUT` controls the idle limit (`0` disables it), so runaway inactive loops cannot monopolise the scheduler. - Catch-up window = half the period, clamped to 120s–2h; 120s grace for missed one-shots. - Every recurring occurrence is accounted for: `tick()` advances `next_run_at` BEFORE dispatch (at-most-once across a mid-run crash) and stamps `pending_slot` in the same save; a scan that