advance_qa_orchestration
Complete the current QA review step or record an early stop, returning the next action so an orchestrated review run can proceed.
Instructions
Complete the active review step or mark an early stop; return the next action.
Pass current_step as completed_step; stale or out-of-order steps are rejected. Malformed arguments, incompatible signals, and unknown or expired run_ids return errors without advancing the run. This call is non-idempotent: if a successful response is lost, inspect get_qa_orchestration before continuing; replaying the prior step is rejected.
Completed triage requires exactly one of selected_bundle or selected_profile; omit both when stopping early.
After each completed primary review, send current_profile as completed_profile. On the final profile, also send risk_signals ({} if none apply); omit both on an early stop.
An early stop records partial or blocked but still needs finish_qa_orchestration with the same outcome. After synthesis, use finish_qa_orchestration for the host's final outcome.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Session identifier returned by start_qa_orchestration: qar- followed by 32 lowercase hexadecimal characters. Reuse it for this session; do not invent or transform it. | |
| status | Yes | Use completed after the active step succeeds. Use partial or blocked to stop early; then finalize with the same outcome using finish_qa_orchestration. | |
| risk_signals | No | Required with the final completed primary-review profile. Send an empty object when no evidence-based fixed escalation signals apply; do not send on earlier profiles or on the synthesis transition. | |
| completed_step | Yes | Active step returned in current_step and completed by this call: triage, primary_review, deep_review, or synthesis. When current_step is awaiting_host_outcome, call finish_qa_orchestration instead. | |
| selected_bundle | No | For completed triage, choose one allowed fixed bundle for a broad or cross-concern review. It is mutually exclusive with selected_profile; recommended_bundles is only a shortlist. | |
| selected_profile | No | For completed triage, choose one allowed profile for a narrow, low-risk review. It is mutually exclusive with selected_bundle. | |
| completed_profile | No | After each successful primary-review step, submit exactly the current_profile returned by the previous advance_qa_orchestration call. Omit for other steps or an early stop. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| status | Yes | ||
| read_only | No | ||
| task_type | Yes | ||
| expires_at | Yes | ||
| next_action | Yes | ||
| current_step | Yes | ||
| model_policy | No | ||
| allowed_bundles | No | ||
| current_profile | No | ||
| deep_assessment | No | ||
| review_profiles | No | ||
| selected_bundle | No | ||
| allowed_profiles | No | ||
| deep_reason_code | No | ||
| selected_profile | No | ||
| completed_profiles | No | ||
| host_owns_decisions | No | ||
| recommended_bundles | No |