mark_human_approved
Records a human approval or rejection decision on a review that requires human intervention, closing the escalation loop and finalizing the review.
Instructions
Record a human approval decision on a needs_human REVIEW file.
Closes the escalation loop opened by write_review(decision='needs_human').
Writes human_approval sub-structure into the REVIEW frontmatter
and returns the updated review summary (per ADR-0026).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| review_id | Yes | The stable review ID — filename stem without ``.md`` (e.g. ``REVIEW-20260510-001-ADMIN-on-some-task``). | |
| approver | Yes | Role code of the human approver. MUST be an agent with ``layer: admin`` (e.g. ``ADMIN``). | |
| decision | Yes | Human's binary decision: ``approve`` or ``reject``. | |
| channel | No | Channel through which the approval was submitted. One of ``mobile`` / ``cli`` / ``web`` / ``manual_file_edit``. Default: ``cli``. | cli |
| comment | No | Optional free-text comment from the approver. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |