Prerequisites
- The source session is in Handshake.
- The receiving agent is connected to Handshake.
- The project files are available when you want Handshake to compare Git state.
Restore in an agent
1
List the sessions
2
Request the restore
Enter the exact ID or an unambiguous title:
3
Review the restore packet
Compare the checkpoint commit and branch with the current Git state. Review
the staged, modified, added, and deleted files.
4
Confirm the restore
Tell the agent to continue. The agent calls
restore_session again with
confirmed: true.5
Check the resumed context
The receiving agent states its understanding of the current state and its
next action before it changes files.
Restore in a terminal
Run:The command name in the current CLI is
handoff. The MCP tool name is
restore_session.Session matching
Handshake checks candidates in this order:- Exact session ID.
- Exact title.
- Title substring.
- Title that contains all query words.