ledger_upsert_task
Create or update a shared cross-agent task entry to track status, who has the ball, worktree ownership, branch, commit SHA, and next step in the session-bridge ledger.
Instructions
Create or update a task on the shared cross-agent ledger (~/.local/share/session-bridge/bridge.db & LEDGER.md). Tracks status, who has the ball ('claude', 'antigravity', 'codex', 'gemini', 'user', 'none'), worktree ownership, branch, commit SHA, and next step.
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": {
"slug": "<slug>"
},
"name": "ledger_upsert_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Short unique task identifier (e.g. 'auth-refactor'). | |
| title | No | Human-readable task title. | |
| branch | No | Git branch name. | |
| pr_url | No | Optional pull request URL. | |
| status | No | Task lifecycle state. | |
| summary | No | Concise summary of current state / what was done. | |
| worktree | No | Absolute path to the git worktree (warns on active collision). | |
| ball_with | No | Who owns the next action ('claude', 'antigravity', 'codex', 'gemini', 'user', 'none'). | |
| next_step | No | Concrete next step for whoever has the ball. | |
| commit_sha | No | Latest commit SHA. | |
| updated_by | No | Agent + session ID making this update. | |
| owner_session | No | Session/conversation ID currently holding the worktree. |