Commit Checkpoint
commit_checkpointCommit an approved checkpoint draft after explicit user approval. Use after verifying the draft via checkpoint or review_pending.
Instructions
Use when: Human review tool: commit the exact reviewed draft after explicit user approval of the checkpoint commit. Tool-execution approval or content approval is not commit approval. Bind approvalEvidence to the server draft digest returned by checkpoint or review_pending. Do not use when: a narrower tool better matches the intent, the project scope is unresolved, or the user has declined the action. Requires: authenticated API authority. Effect: canonical mutation. For the same logical mutation retry, reuse the same idempotencyKey. If the payload or user intent changes, use a new key. Replay returns the first canonical result ID and version; the key never bypasses authorization or expected-version checks. Human approval: required before this action or its canonical follow-up. Then: follow typed result state; review pending proposals/drafts before any canonical apply. On failure: login_required → login; project_not_selected → list_projects/select_project; permission_denied → stop; stale_version or conflict → read current state; projection_pending → report canonical success separately and wait.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Short reason describing what the user approved. | |
| confirmed | No | Must be true after the user explicitly approves committing this checkpoint. | |
| checkpointId | Yes | Checkpoint draft id returned by checkpoint or review_pending. | |
| idempotencyKey | Yes | ||
| contractVersion | Yes | ||
| approvalEvidence | Yes | ||
| expectedCheckpointDigest | Yes | Server-issued draftDigest from checkpoint or review_pending. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| status | Yes | ||
| warnings | Yes | ||
| authority | Yes | ||
| projectId | Yes | ||
| reviewUrl | Yes | ||
| idempotency | Yes | ||
| nextActions | Yes | ||
| reviewRequired | Yes | ||
| canonicalVersion | Yes | ||
| projectionStatus | Yes |