Complete Task
cph_task_completeMark a task as completed and log actual time spent to improve future estimation accuracy.
Instructions
Mark a task as completed.
State machine: in_progress → completed (rejects if not in_progress)
Args:
task_id: The task to complete
actual_minutes: Actual time spent. CRITICAL for estimation training. This is the ground truth that improves future predictions. Provide even if the task was blocked for part of the time.
completion_notes: What was done, any gotchas, what to know next time (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| actual_minutes | No | Actual minutes spent. Critical — used for estimation accuracy. | |
| completion_notes | No |