Approve Task
approve_taskFinalize a task under review by moving it to the done state and logging an approval event. For admins to complete the workflow after inspection.
Instructions
Approve a task under review: review → done (v3 lifecycle).
Moves the task file from _lifecycle/review/ to
_lifecycle/done/ and appends an approve_task event.
Typically called by ADMIN after inspecting the work.
On v2 projects this is a no-op.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional approval note appended to the transition event. | |
| actor | No | Role code of the approver (default ``"ADMIN"``). | ADMIN |
| task_id | Yes | Task ID or full filename. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |