Prepare Project Resume
prepare_project_resumeCreate a task-bounded ContextPackage with an included/excluded/warning manifest for project resume. Requires authenticated API and a selected project.
Instructions
Use when: Create a task-bounded ContextPackage with an included/excluded/warning manifest. Package creation never advances the sync cursor. 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 and an API-authorized selected Project. 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: not required for this read or staging action. 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 | ||
| taskId | Yes | ||
| scopeId | Yes | ||
| targetId | No | ||
| projectId | No | Optional project id. Defaults to the project chosen with select_project. If omitted and no project is selected, the call is rejected with instructions to select one. | |
| scopeType | Yes | ||
| toVersion | No | ||
| targetType | No | ||
| connectionId | Yes | ||
| idempotencyKey | Yes | ||
| selectedChangeIds | No | Optional subset from review_project_delta. Accepts changes[].id (change-set ids) and resolvedChanges[].changeId (individual resolved change ids). If safety requires a hydrated full resync, the current authorized snapshot can expand beyond the requested subset and the manifest reports selected_changes_expanded_for_full_resync. |
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 |