update_task
Update a task's status atomically, with optional log entry, claim release, knowledge episode, and session-blocking decision.
Instructions
Atomic task state transition. Updates status, optionally appends a log entry, optionally releases the claim. Idempotent on identical inputs. Replaces quick_status + add_log + release_task fan-out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| plan_id | No | Plan that owns the task (auto-resolved from task if omitted) | |
| status | No | ||
| log_message | No | Optional progress note | |
| log_type | No | Defaults from status: blocked→challenge, others→progress. | |
| release_claim | No | Default: auto (true if status is completed/blocked). Set explicitly to override. | |
| add_learning | No | Optional: also write a knowledge episode (recommended on completion) | |
| session_id | No | Optional work-session id returned by claim_next_task. Uses the agent-loop completion/block endpoint when status is completed or blocked. | |
| decision | No | Optional decision to queue when blocking a session through the agent-loop endpoint. |