Skip to main content

crewship mission

Manage missions — structured multi-step work plans executed by agent crews.

Subcommands


crewship mission list

List all missions, optionally filtered by crew.
Output columns: ID, TITLE, STATUS, LEAD, TASKS, CREATED
The TASKS column shows completion as completed/total (e.g., 3/5).

crewship mission get

Show mission details including all tasks.
Accepts full mission IDs or prefix matches (minimum 8 characters). Output fields: Title, ID, Status, Lead, Description, Created, Completed. In table format, tasks are displayed below the detail view with columns: #, TASK ID, TITLE, STATUS, AGENT.

crewship mission create

Create a new mission.
If --lead is not specified, the CLI automatically finds the LEAD-role agent in the specified crew. An error is returned if no LEAD agent exists.

crewship mission update

Update a mission. Only changed flags are sent.

crewship mission delete

Delete a mission.
Removes the mission and its tasks. Prompts for confirmation unless --yes.

crewship mission start

Start a PLANNING mission, kicking off the MissionEngine DAG loop.
The DAG engine evaluates task dependencies and dispatches ready tasks to agents. If the mission was created under an autonomy hold (see Autonomy gate on agent-driven creation) and its autonomy_gate approval is still pending, denied, cancelled, or timed out, start answers 403 regardless of who is calling — an OWNER/ADMIN must decide the hold with crewship approvals approve <id> first.

crewship mission resume

Resume a FAILED mission from the point of failure. Only failed tasks and their dependents are reset.
Reports the number of tasks that were reset.

crewship mission restart

Restart a mission from the beginning, resetting all tasks to PENDING.
Resets all tasks to PENDING — completed work is discarded. Prompts for confirmation unless --yes. Use resume to restart only failed tasks.

crewship mission add-task

Add a task to a mission.

crewship mission task-update

Update a specific task within a mission.

crewship mission clone

Clone a mission with all its tasks.