runner.git-work-recovery-entrypoint ​
Request exact same-runner recovery for retained retryable Git work, or continue to the Staff coding actor when no recovery is required.
Recover retained coding work before Staff launches another LLM session.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-runners |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization; injected by the workflow API. |
ticket_git_work_uuid | uuid | Yes | — | — |
idempotency_key | uuid | Yes | — | — |
reason | string | No | — | — |
actor_uuid | uuid | No | — | — |
delivery_ref | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
schema | string | No | — | — |
decision | string | No | — | — |
reason | string | No | — | — |
continuation | dict | No | — | — |
evidence | dict | No | — | — |
retry_after_seconds | integer | No | — | — |
failure_reason | string | No | — | — |
failed_at | string | No | — | — |
organization_uuid | uuid | No | — | — |
ticket_git_work_uuid | uuid | No | — | — |
idempotency_key | string | No | — | — |
actor_uuid | uuid | No | — | — |
delivery_ref | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.git-work-recovery-entrypoint",
"initial_data": {
"organization_uuid": "value",
"ticket_git_work_uuid": "value",
"idempotency_key": "value"
}
}