[Bug] Session cleanup deletes concurrent session task output, causing Bash commands to fail with exit code 1

Status Open
Reported on v2.1.263
Maintainer reply None cached
Activity 0 comments · opened Sep 18, 2026

Bug Description
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ ✻ Bug report drafted: One session's startup cleanup deletes another live session's task output, surfacing as every Bash command returning exit 1 │
│ │ - What happened: In a long-running session with several other Claude Code sessions open on the same machine, every Bash invocation began returning `Exit cod… │
│ 1 to review · 2 to send · 0 to dismiss · +1 more queued │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Environment Info

  • Platform: linux
  • Terminal: ghostty
  • Version: 2.1.263
  • Feedback ID: b1a3a07d-ca22-4529-b2f3-b915c5051ca2

Errors

[]

View original on GitHub ↗