Team T1’s practice: after a reboot or a crash, every terminal still knows which agent session it held, and the agents come back. The canonical text is the session-continuity skill in claude/miadi-session-observability. The packages are in packages/miadi/deb.
sudo apt install miadi miadi-terminal. miadi brings miadi-tmux, miadi-tide and miadi-chronicle-server.miadi-terminal enable for clickable references and miadi-terminal enable restore for tmux restore.sudo loginctl enable-linger <user>, so tmux starts at boot.miadi-session-observability and miadi-chronicle-episode-kit from the kit’s marketplace. In the same step, remove the hooks block from ~/.claude/settings.json, or every event is captured twice. Restart running sessions, since plugin hooks load at session start.packages/miadi/deb/test-install.sh runs this cycle in a clean Ubuntu 22.04.
tmux-server.service starts tmux at boot, and tmux-continuum restores the last save: panes in their folders, with their screens.post-restore-all hook starts tide agents restore.--resume <id>, 10 seconds apart and oldest first, within the memory it allows. The rest get their command typed without Enter. An agent that had exited stays a note in its pane until tide agents resume [pane].Dry run, touching nothing: tide agents restore --dry-run --force. State: tide agents list.
journalctl --list-boots.~/.miadi/navigator/context/snapshots.sqlite3, and copy it out before the daemon restarts. latest.json is overwritten every minute.tide agents restore --force brings back the agents that snapshot names.If tmux did not come back by itself, check ~/.local/share/tmux/resurrect/last, then start tmux with systemctl --user start tmux-server.service, never from an agent’s shell. The skill’s section “After a crash” has every command.
The binding line names the episode each session works in, so an episode can list its terminals.