complete_task
Complete a project task and close the session loop. Returns the next pending task to maintain workflow continuity.
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 |
|---|---|---|---|
| project_name | Yes | The project name (e.g. "purmemo") | |
| task_id | Yes | The task UUID from get_next_task | |
| verification_summary | Yes | What was done and verified — used as completion_summary on the task |