Checkpoint
checkpointCreate a reviewable checkpoint draft from the current conversation, structuring observation bounds, source spans, changes, and unresolved items for later approval.
Instructions
Use when: Create a reviewable V1 checkpoint draft from the currently visible conversation. Structure observation bounds, safe source spans, candidate changes, per-change content approval, and unresolved items. Do not claim host metadata you cannot see; record unavailableFields. Do not include the full conversation, credentials, private local paths, or raw identity fields. The server computes the draft digest. 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: draft. 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 at the later commit/apply boundary. 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 |
|---|---|---|---|
| title | Yes | Checkpoint title. | |
| changes | Yes | One or more item-level changes to stage in a draft checkpoint. | |
| summary | Yes | Human-readable checkpoint summary. | |
| metadata | No | ||
| sessionId | No | Optional session id. Defaults to the selected project session. | |
| evidenceIds | No | ||
| sourceSpans | Yes | ||
| schemaVersion | Yes | ||
| idempotencyKey | Yes | ||
| unresolvedItems | Yes | ||
| conversationProvenance | Yes |
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 |