post_handoff
Atomically record a session handoff on the shared git-common-dir board using optimistic revision locking, then regenerate HANDOFF.live.md for the next agent.
Instructions
Atomically record a session handoff on the shared git-common-dir board with optimistic rev locking and regenerate HANDOFF.live.md.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent": "<agent>",
"worktree_branch": "<worktree_branch>",
"rev": "<rev>",
"changed_files": "<changed_files>",
"contracts_changed": "<contracts_changed>",
"next_tasks": "<next_tasks>"
},
"name": "post_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | Yes | Expected current board revision for optimistic concurrency check. | |
| agent | Yes | Identifier of the agent posting the handoff (e.g. claude-code, antigravity). | |
| blockers | No | Optional list of open blockers or risks. | |
| repo_path | No | Optional path to the git repository or worktree (defaults to server working directory). | |
| next_tasks | Yes | Actionable next tasks for the receiving agent. | |
| changed_files | Yes | List of files created or modified in this session. | |
| worktree_branch | Yes | Active git branch or worktree name. | |
| contracts_changed | Yes | Shared APIs, types, or schemas changed that other worktrees must rebase on. |