feat(orphans): add list and kill subcommands for Claude process orphans

Add commands to find and terminate orphan Claude processes (those with
PPID=1 that survived session termination):

- gt orphans list: Show orphan Claude processes
- gt orphans kill: Kill with confirmation
- gt orphans kill -f: Force kill without confirmation

Detection excludes:
- tmux processes (may contain "claude" in args)
- Claude.app desktop application processes
- Claude Helper processes

The original `gt orphans` functionality for finding orphan git commits
is preserved.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rictus
2026-01-13 12:02:20 -08:00
committed by beads/crew/emma
parent 87fde4b4fd
commit ea12679a5a
2 changed files with 234 additions and 2671 deletions

File diff suppressed because it is too large Load Diff