resolve_flow_gate
Choose proceed, retry, or stop for a workflow review gate that ran out of rounds or rejected the approach, after confirming whether a human or PM must decide.
Instructions
PM decides a workflow review gate that ran out of rounds or rejected the approach (get_task_status.brief.waiting_on == PM_FLOW_DECISION; brief.workflow.pending_decision has the gate, the reason and the findings). decision is "proceed" (accept the work and continue to the next step), "retry" (send it back once more) or "stop" (cancel the task). Check brief.workflow.pending_decision.escalation first: "ask_user" means the real human user must decide — put the findings to them in chat and wait for their actual reply before calling this; "auto_pm" means you may decide immediately, then tell the user what you chose and why. The next step dispatches automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional reason for the decision, recorded with the task. | |
| task_id | Yes | Task id, as shown in get_task_status or list results. | |
| decision | Yes | 'proceed' accepts the work and continues to the next step, 'retry' sends it back once more, 'stop' cancels the task. | |
| project_id | Yes | Registered project id, as returned by list_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||