delimit_task_complete
Complete the current loop task and advance to the next one by recording completion, updating session metrics, and retrieving the following task. Use this at the end of each iteration to continue the loop until a stop signal.
Instructions
Mark current loop task done and get the next one (Pro).
When to use: at the end of each loop iteration — records completion, updates session metrics, returns the next task. When NOT to use: to close a regular ledger item (use delimit_ledger_done) or fetch next task without closing (delimit_next_task).
Sibling contrast: delimit_ledger_done is per-item; delimit_next_task only fetches; this completes + advances.
Side effects: writes status to the ledger, updates session metrics (cost, errors), returns next task. Loop continues until a STOP signal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Ledger item id completed (e.g. "LED-042"). | |
| result | No | Summary of what was done. | |
| cost_incurred | No | Estimated cost (USD). | |
| error | No | If task failed, describe error. | |
| session_id | No | Loop session to update. | |
| venture | No | Project name or path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||