The existing PPID=1 detection misses orphaned Claude processes that get reparented to something other than init/launchd. The new --aggressive flag cross-references Claude processes against active tmux sessions to find ALL orphans not in any gt-* or hq-* session. Testing shows this catches ~3x more orphans (117 vs 39 in one sample). Usage: gt orphans procs --aggressive # List ALL orphans gt orphans procs kill --aggressive # Kill ALL orphans Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 KiB
23 KiB