The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: reap the killed sqlite3 .recover children on timeout
teknium14b11968705a2
diff --git a/hermes_cli/session_lost_and_found.py b/hermes_cli/session_lost_and_found.pyindex 2a67bafe718..bdf4b18c73e 100644--- a/hermes_cli/session_lost_and_found.py+++ b/hermes_cli/session_lost_and_found.py@@ -241,6 +241,8 @@ def _cli_recover_attempts(source: Path, lf_path: Path, sqlite3_bin: str, *, timeexcept subprocess.TimeoutExpired:dump.kill()load.kill()+ dump.wait() # reap: kill() alone leaves returncode None and a zombie until GC+ load.wait()raise LostAndFoundError(f"sqlite3 .recover timed out after {timeout:.0f}s")attempts.append({"command": command, "dump_returncode": dump.returncode, "load_returncode": load.returncode,