Commit reviewed updates
commit_reviewed_updatesSave only the explicitly approved review selection: unchanged receipt, approved proposal ids, confirm:true and UUID idempotency_key (normally review_id). First confirmation freezes selection; only the identical receipt/key/selection replays stored outcomes without execution. Expiry blocks first commits, not exact replays; no retained match requires CRM inspection before a fresh review. Current policy/role/scope/schema/revision/audit/automation guards apply. Select every prerequisite; dependency order applies, and failed/queued/unknown creates block dependents. Report saved/unsaved rows truthfully. For execution_in_progress poll unchanged; execution_state_unknown requires CRM inspection, never automatic write retries or fresh reviews. Success needs only a brief acknowledgement, no repeat review or save question.
When to use: After explicit app or chat approval; reuse the exact request to read stored results.
Example: Approve proposal IDs from that review and commit them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute; omitted or false commits nothing and returns a prompt to get the user's explicit approval first. | |
| receipt | Yes | The receipt string returned by review_proposed_updates, passed back unchanged (it is bound to that review, this workspace and user, and expires). | |
| idempotency_key | Yes | A UUID minted once per review (normally the returned review_id); reuse the same key to replay stored outcomes instead of executing again. | |
| selected_proposal_ids | Yes | The review's proposal ids (its proposals[].id) the user explicitly approved — unique, each present in the receipt; the first confirmed call freezes this set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| summary | No | ||
| outcomes | No | ||
| replayed | No | ||
| confirmed | No | ||
| review_id | No | ||
| review_commit | No | ||
| request_status | No | ||
| selection_mismatch | No | ||
| frozen_selected_proposal_ids | No |