Session Safety & Reliability
v1.5Dispatch v1.5 is about not losing work. There were three places the board could quietly cost you something: dragging a finished card to Done tore its workspace down without checking whether you had committed, Resume could reconnect to the wrong Claude conversation, and the single file that holds all board state had no recovery if it ever got corrupted. This release closes all three.
See it

Higher-quality video: dispatch-v1.5-cleanup-preflight.webm
When Done can't quietly delete your work
Dropping a card in Done reclaims its workspace: it kills the session and its ttyd terminal, then removes the git worktrees. Until now that teardown ran without asking whether anything in those worktrees was uncommitted, so a stray drag could delete work you never saved.
Now, before anything is killed, Dispatch runs git status --porcelain --untracked-files=all across every worktree in the card's workspace. If any repo has uncommitted or untracked changes, cleanup refuses. The card and the confirm dialog name the dirty repos and how many files each one has, and the session stays fully alive so you can jump back in and commit. The check happens first, so a refusal leaves the terminal exactly where it was rather than half torn down.
If you genuinely want to throw the work away, the dialog keeps an explicit "Discard uncommitted changes and clean up" button that forces the teardown. A worktree git cannot read, one that is orphaned or already gone, never blocks Done. And when everything is clean the path is byte-for-byte what it was before, so a tidy card still cleans up instantly.
Resuming the exact conversation
Dispatch can bring a dead In Review session back to life with claude. It used to do that with --continue, which reattaches to the most recent conversation in the worktree. That is the wrong conversation the moment you have run claude in that directory yourself.
v1.5 records the real one. The first hook event after a session starts stamps its Claude session id onto the card, and that id survives backend restarts and reboots. Resume now launches claude --resume <id> against that exact conversation, and only falls back to --continue when no id was ever captured. Once an id is recorded it is never overwritten; a hook that later reports a different id is logged rather than believed; and cleaning up a card clears the field. This rides on the hooks channel that shipped in v1.4.
The board file heals itself
All board state lives in one board.json. v1.5 keeps rolling backups of it. About once an hour, before a write, Dispatch rotates a short chain of copies next to the file (board.json.bak.1 through .bak.4) and drops the current file into the first slot. The rotation is best-effort: if it fails for any reason, the real write still goes through, so backups can never block your board from saving.
On startup, if the primary file is missing or will not parse, load() walks that backup chain and restores from the newest good copy, logging loudly which file it fell back to. Only if every backup is also unreadable does it start from empty. The rotation writes to a temp file and renames it into place, so a crash in the middle of a rotation cannot leave a half-written backup behind.
The parts you'd only notice if they were wrong
A recovered board keeps its session ids and its cleanup-blocked flags intact, because a backup is a plain byte copy of the whole file, not a partial snapshot. The board state that goes out over SSE and REST still carries claudeSessionId and the cleanup-blocked flag so the UI can explain why a card refused, while the hook token stays redacted at the same single chokepoint as before. And the confirm dialog no longer auto-closes when a cleanup is blocked and guards against a double submit, so a refused Done does not leave you clicking into a dialog that already vanished or firing two teardown attempts at once.
Full changelog: https://github.com/theyashgupta/dispatch/compare/v1.4...v1.5
Requires Node ≥ 22.22, tmux, ttyd, git, and the Claude Code CLI. Setup is in the README.