{"repo":"NousResearch/hermes-agent","public_id":"130115","display_label":"Watchdog timer thread must not close attempt stream","summary":"These issues and fixes address a bug where the auxiliary timeout watchdog closes the attempt stream from a timer thread, causing TLS file descriptor reuse that corrupts SQLite files. The proposed fix defers stream closure away from the stranger thread.","subsystem":"agent","counts":{"members":5,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":3},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":130544},"resolution":{"state":"resolved","by":"pr-130544"},"freshness":{"state":"verified","last_verified_at":"2026-10-03T11:05:33+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.4},"fix_edges":[{"issue_number":130115,"pr_number":130544,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true}],"members":[{"kind":"issue","number":130115,"title":"Codex auxiliary timeout watchdog still closes the attempt stream from the timer thread: TLS FD reuse corrupts SQLite files (follow-up to #70773)","url":null,"state":"closed"},{"kind":"pr","number":130120,"title":"fix(auxiliary): defer stranger-thread stream close","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"53dacc4e51","number":0},{"kind":"pr","value":"#130544","number":130544}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":130176,"title":"fix(auxiliary): watchdog Timer must not close the attempt stream — TLS FD reuse corrupts SQLite files","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"53dacc4e51","number":0},{"kind":"pr","value":"#130544","number":130544}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":130481,"title":"agent: prevent auxiliary client from closing stream in timer thread to avoid tls fd reuse","url":null,"state":"closed","close_reason":{"category":"uncategorized","implication":"needs_llm"},"merged":false},{"kind":"pr","number":130544,"title":"Codex auxiliary timeouts no longer release the attempt stream's TLS socket from the watchdog thread (#130115, salvage #130176)","url":null,"state":"merged","close_reason":{"category":"merged","implication":"superseded"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/auxiliary_client.py","contributors/emails/[redacted:email]","tests/agent/test_codex_aux_timeout_fd_ownership.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}