complete_task
Mark a project task as done, record its completion summary, and close the active session. Returns the next pending task so you know what to work on before ending the session.
Instructions
Mark a project task as done and close the Jered Loop for this session.
Sets status='done', records completion_summary, clears active_session_id. Returns the next pending task so you know what comes next before closing.
Call this BEFORE ending a session — Jered's rule: consciously close each task.
RETURNS:
completed — the task that was just finished
next_task — { id, sequence, title } of next pending task, or null if all done
message — "Task complete. N tasks remaining." or "Task complete. All tasks done!"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task UUID from get_next_task | |
| project_name | Yes | The project name (e.g. "purmemo") | |
| verification_summary | Yes | What was done and verified — used as completion_summary on the task |