The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(update): the old updater's POSIX takeover run carries the same unbounded-child waiver as Windows
Teknium64be53f9b56e
diff --git a/hermes_cli/_old_updater.py b/hermes_cli/_old_updater.pyindex df0c93ce099..4ec20966490 100644--- a/hermes_cli/_old_updater.py+++ b/hermes_cli/_old_updater.py@@ -149,6 +149,10 @@ def _run_in_custody(argv: list, root: Path, **kwargs) -> int:lock = sys.modules.get("hermes_cli.update_lock")bind, resume = (getattr(lock, name, None) for name in ("bind_child_to_update_tree", "resume_suspended_child"))if os.name != "nt" or bind is None or resume is None or getattr(lock, "_HELD", None) is None:+ # Unbounded for the same reason as the Windows wait below (review L7): the takeover is+ # the rest of a committed update (sync + build), and it holds the checkout lock fd, so the+ # checkout stays locked for as long as it runs, even past this updater's death.+ # health: allow HX006 -- unbounded by design: the update's own supervised childreturn subprocess.run(argv, **kwargs, **_checkout_custody(root)).returncodeproc = subprocess.Popen(argv, creationflags=lock.CREATE_SUSPENDED, **kwargs)try: