From 1a30c5a71606dcde2f038ef83d2c2fdab49d3b8c Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 31 Oct 2026 12:45:43 +0100 Subject: [PATCH] machines.coaxmetal.hermes: cap the restart's after-turn wait at 5 minutes --- machines/coaxmetal/hermes.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/machines/coaxmetal/hermes.nix b/machines/coaxmetal/hermes.nix index 1f4e56d2..6d552e4d 100644 --- a/machines/coaxmetal/hermes.nix +++ b/machines/coaxmetal/hermes.nix @@ -290,6 +290,13 @@ in # In rooms Hermes requires an @mention by default; DMs always respond. settings.matrix.session_scope = "room"; + # A restart waits for running turns before it stops the gateway, and + # refuses every new chat message during that wait. The default (1800 s) + # let one turn waiting on an unanswered clarify block all chats for + # 13 minutes. After 5 minutes the remaining turns are interrupted and + # resume on the next message. + settings.agent.restart_after_turn_timeout = 300; + # Matrix is a Tier-2 platform whose default tool-progress preview caps # commands at 40 chars (so a `terminal` call shows only `curl -X POST -H # "Content-Type: applic...`). "verbose" makes the gateway render the FULL