AI disclosure: I used an AI writing assistant to help structure and edit this article. The recovery workflow below is a recommendation, not a benchmark or a description of MoonSSH’s internal implementation.
An agent is running tests on my development host. I close my laptop and open my iPhone. Which process still owns the work? Which pane is it in? And if I already tapped Send once, did the agent receive my instruction?
I built MoonSSH for this workflow. The persistence underneath it comes from the remote host. You can use the commands below with any SSH client.
1. Put the agent behind a server, not just an SSH connection
On your remote development host, change to your checkout and run:
tmux new-session -s checkout -n agent
Start your coding agent inside that pane. For unattended work, give it a stopping point: “Run the checkout tests and summarize the failures. If a fix would change the public API, show me the proposed change before editing.” Detach with C
Discussion
Leave the first comment
Be the first to leave a mark on this discussion.