bernstein_approve
Approve a task stuck in pending_approval to finish it with your note. Refuses non-pending tasks with a clear error.
Instructions
Sign off a finished result that is waiting on a decision.
The tool reads the task first and acts only on pending_approval:
the work has run, the result is held for a decision, and accepting it
completes the task with note as the result summary.
Every other status is refused with a structured error naming the current status, and no state-changing request is sent:
planned- the task is held by plan mode. That decision is recorded on the plan, not on the task, so approve the plan (bernstein plan approve <plan_id>). Releasing one task would start the work while the plan is still undecided.open,claimed,in_progress,blocked,failed, terminal states, ... - there is no approval to grant. Usebernstein_completeto report work you are executing,bernstein_updateto report a blocker on the task mailbox, or cancel the task to abandon it.
Args: task_id: ID of the task to approve. note: Approval note recorded as the result summary.
Returns: JSON with the task id, its new status, and which approval was granted - or a structured refusal naming the current status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |