{"repo":"NousResearch/hermes-agent","public_id":"17558","display_label":"persistent_shell fails when working directory is deleted","summary":"A bug where the persistent shell carries a deleted current working directory, causing subsequent process spawning to fail. Includes a proposed fix to recover from this state without requiring a gateway restart.","subsystem":null,"counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":19928,"merged_at":"2026-05-04T22:31:48+00:00"},"resolution":{"state":"resolved","by":"pr-19928"},"freshness":{"state":"verified","last_verified_at":"2026-05-04T22:31:48+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":17558,"pr_number":19928,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-05-04T22:31:48+00:00"}],"members":[{"kind":"issue","number":17558,"title":"[Bug]: persistent_shell carries cwd into deleted directory; subsequent Popen calls fail with ENOENT until gateway restart","url":null,"state":"closed"},{"kind":"pr","number":17569,"title":"fix(local): recover when persistent_shell cwd is deleted (#17558)","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#19928","number":19928}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":19928,"title":"fix(local): recover when persistent_shell cwd is deleted (#17558)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["tests/tools/test_local_env_cwd_recovery.py","tools/environments/local.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}