Delimit Task Complete
delimit_task_completeMark the active loop task complete, update session metrics, and retrieve the next task in the loop. Use this action at the end of each iteration to keep automation moving until a stop signal.
Instructions
Mark current loop task done and get the next one.
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 |
|---|---|---|---|
| error | No | If task failed, describe error. | |
| result | No | Summary of what was done. | |
| task_id | Yes | Ledger item id completed (e.g. "LED-042"). | |
| venture | No | Project name or path. | |
| session_id | No | Loop session to update. | |
| cost_incurred | No | Estimated cost (USD). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||