ck_task
Manage governed task lifecycle within a session: check status, claim, complete with validation, send heartbeat, record quality checks, and submit reports.
Instructions
Manage governed tasks within a session. Six modes: status (return task details for a given task_id); claim (claim an available task for execution); complete (mark a task as done, blocked if unresolved findings exist); heartbeat (signal the agent is alive and working on a task); checks (record task quality check results); report (submit a task report with output and metadata).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | Array of check result objects for checks mode. | |
| execution_mode | No | Execution mode for claim (e.g., local, external). | |
| metadata | No | Arbitrary key-value metadata for report mode. | |
| mode | No | Operation mode that determines the tool behavior and return shape. | |
| note | No | Freeform note for heartbeat mode. | |
| output | No | Structured output payload for report mode. | |
| progress | No | Progress indicator for heartbeat mode. | |
| project_root | No | Absolute path to project root. | |
| session_id | Yes | Unique session identifier for correlating findings, proofs, budget, and audit trail. | |
| status | No | Target status for report mode (e.g., done, failed, blocked). | |
| task_id | No | Task identifier within the session for scoped operations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claimed | No | ||
| completed | No | ||
| count | No | ||
| recorded | No | ||
| reported | No | ||
| results | No | ||
| risk_tier | No | ||
| run_id | No | ||
| session_id | No | ||
| status | No | ||
| task_id | No | ||
| title | No |