The tmux model
tmux gives every agent a real terminal, keeps processes alive through disconnects, and preserves exit evidence.
A dedicated server
Every clishake command targets its own socket. Your normal tmux sessions are never enumerated or touched.
naming
socket clishake
session clishake-<project-name>
window <agent-name>
pane %N # stable pane ID on the agent recordLifecycle mechanics
- LaunchA detached window starts in the agent’s assigned work directory.
- Capture
pipe-paneappends output to a per-agent log. - Preserve exits
remain-on-exitretains the process exit code for reconciliation. - Restart
respawn-panereuses the window with a fresh output pipe.
Attach and detach
terminal
$ clishake attach
$ clishake agent focus claudeInside an agent pane, press F12 to return to the dashboard. Quitting the dashboard or detaching tmux stops nothing.
Process health
PaneDeadPIDConclusion
missing——disconnected
existsyes—exited, code retained
existsnomissingzombie, treated as exited
existsnoaliverunning