Platform
CLI reference

ccp task

View as Markdown

Delegate and retrieve coding tasks

Usage: ccp task [OPTIONS] <COMMAND>
ArgumentType or valuesDefaultParser environment variableDescription
--help, -hflag——Print help

ccp task delegate

Start one detached coding task

Usage: ccp task delegate [OPTIONS] <TASK>
ArgumentType or valuesDefaultParser environment variableDescription
tasktext——Task and acceptance criteria for the remote worker
--task-contexttext——Pass relevant decisions or reproduction steps
--sourcepath——Git checkout to share after reviewing its snapshot
--repotext——HTTPS GitHub repository to clone at an exact commit
--committext——Full lowercase commit SHA for the remote checkout
--includetext——Include a nonignored untracked file, relative to the checkout root (repeatable)
--workercodexcodex—Select a qualified worker runtime
--org-idtext——Select the organization paying for the sandbox
--vault-idtext——ID of your private Cluster vault holding the worker credential
--jsonflagfalse—Emit the task receipt as JSON
--help, -hflag——Print help

ccp task integrate

Merge successful tasks from one pinned commit into a new local worktree

Usage: ccp task integrate [OPTIONS] --source <SOURCE> --base <BASE> --branch <BRANCH> --worktree <WORKTREE> <TASK_IDS>...
ArgumentType or valuesDefaultParser environment variableDescription
task_idstext——Successful task IDs to merge, in order
--sourcepath——Local repository holding the common commit
--basetext——Exact shared base commit
--branchtext——New local integration branch
--worktreepath——New worktree for the merged result
--jsonflagfalse—
--help, -hflag——Print help

ccp task result

Read the durable status and download a finished patch

Usage: ccp task result [OPTIONS] <TASK_ID>
ArgumentType or valuesDefaultParser environment variableDescription
task_idtext——
--patchpath——Write the patch to a new file
--jsonflagfalse—
--help, -hflag——Print help

Example

ccp task result "$TASK_ID" --json

Global options

Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.

ArgumentType or valuesDefaultParser environment variableDescription
--contexttext——Select a developer context from ~/.ccp/config.toml

On this page