The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(git): any git-probe failure keeps the locks, not only OS errors
Tekniumb02a96df756d
diff --git a/hermes_cli/gitlock.py b/hermes_cli/gitlock.pyindex 39ce0d592f7..ceb3ed0cd6f 100644--- a/hermes_cli/gitlock.py+++ b/hermes_cli/gitlock.py@@ -79,7 +79,7 @@ def _git_proc_running() -> bool:argv = ["tasklist", "/FO", "CSV", "/NH"] if os.name == "nt" else ["pgrep", _PGREP_GIT]proc = subprocess.run(argv, capture_output=True, text=True, encoding="utf-8", errors="replace",timeout=10, creationflags=windows_hide_flags(), check=False)- except (OSError, subprocess.SubprocessError):+ except Exception: # health: allow BLE001 -- whatever stops the probe, the locks staylogger.debug("git process probe failed; assuming git may be running", exc_info=True)return Trueif os.name == "nt":