approve_task
Move a reviewed task from review to done directory and log an approval event. Used by ADMIN to finalize completed tasks.
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 |
|---|---|---|---|
| task_id | Yes | Task ID or full filename. | |
| actor | No | Role code of the approver (default ``"ADMIN"``). | ADMIN |
| note | No | Optional approval note appended to the transition event. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |