The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(kanban): cover -es/-ing/British spellings in the auth blocker pattern
chelsealong857709d63b25
diff --git a/hermes_cli/kanban_db_dispatch.py b/hermes_cli/kanban_db_dispatch.pyindex 34045d896d1..328e89c9d33 100644--- a/hermes_cli/kanban_db_dispatch.py+++ b/hermes_cli/kanban_db_dispatch.py@@ -62,7 +62,8 @@ TERMINAL_WORKER_REAP_GRACE_SECONDS = 120# (#117009)._RESPAWN_BLOCKER_RE = re.compile(r"\b(quota|rate[\s_\-]?limit|429|403|"- r"auth|authenticat(?:e|ed|ion)|authoriz(?:e|ed|ation)|authz|"+ r"auth|authenticat(?:e|es|ed|ing|ion)|authoriz(?:e|es|ed|ing|ation)|"+ r"authoris(?:e|ed|ation)|authz|"r"unauthorized|forbidden|billing|subscription|"r"access[\s_]denied|permission[\s_]denied|"r"invalid[\s_]api[\s_]key)\b",diff --git a/tests/hermes_cli/test_kanban_db.py b/tests/hermes_cli/test_kanban_db.pyindex f6268c317bc..f8edd2e39f3 100644--- a/tests/hermes_cli/test_kanban_db.py+++ b/tests/hermes_cli/test_kanban_db.py@@ -491,6 +491,13 @@ def test_respawn_guard_defers_rate_limited_within_cooldown(("authorization header missing", "blocker_auth"),("authz denied", "blocker_auth"),("unauthorized: bad credentials", "blocker_auth"),+ ("still authenticating with the provider", "blocker_auth"),+ ("provider authenticates every call", "blocker_auth"),+ ("still authorizing the request", "blocker_auth"),+ ("provider authorizes every call", "blocker_auth"),+ ("authorise the app first", "blocker_auth"),+ ("authorised client rejected", "blocker_auth"),+ ("authorisation header missing", "blocker_auth"),],)def test_respawn_guard_blocker_auth_curated_not_open_stem(