From 59cfa7e1c81c6fd81af3db65a6f6d1a39a1c2c5e Mon Sep 17 00:00:00 2001 From: Paul Robertson Date: Sat, 18 Jul 2026 11:55:54 +1200 Subject: [PATCH] feat: increase default approvals.timeout from 60s to 300s Raises the default approval timeout for all surfaces (CLI, gateway, email) from 60 seconds to 5 minutes, so email-based approval round-trips have enough time to complete. This addresses review feedback on PR #47503 by replacing the separate approvals.gateway_timeout config key with a simple default increase on the single canonical approvals.timeout setting. --- hermes_cli/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermes_cli/config.py b/hermes_cli/config.py index ac3b0aaf82fc..91d2853c5096 100644 --- a/hermes_cli/config.py +++ b/hermes_cli/config.py @@ -2604,7 +2604,7 @@ def _ensure_hermes_home_managed(home: Path): # approve — auto-approve all dangerous commands in cron jobs "approvals": { "mode": "smart", - "timeout": 60, + "timeout": 300, "cron_mode": "deny", # User-defined deny rules: fnmatch globs matched against terminal # commands. A match blocks the command unconditionally — BEFORE the