tmux/claude: restore Claude sessions on tmux-resurrect (claude --resume) #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
@continuum-restore on+ tmux-resurrect restore window/pane layout after areboot, but not the Claude processes — restored panes come back as a bare shell.
Proposal
Persist each window's Claude session id and, on resurrect restore, relaunch
claude --resume <id>in the matching pane so a reboot brings the whole workingset back.
Implementation sketch
the pane/window (e.g.
@claude_session_id) — resurrect can persist useroptions via its save hooks.
restorehook /resurrect-processesstrategy that, forpanes tagged with
@claude_session_id, runsclaude --resume <id>.Effort
Medium–large; needs verifying resurrect's user-option persistence and process
restore hooks. Lower priority than the attention-routing bundle.