mission is for work that is too long or broad for one agent loop. It creates a milestone plan, optionally pauses for human approval, then executes one milestone at a time. Within the active milestone it can run multiple feature workers in parallel, integrate their work, validate the checkpoint, and repair failed validation before moving on.
Inputs
| Input | Type | Default |
|---|---|---|
prompt | string | "Describe the mission goal." |
requirePlanApproval | boolean | true |
maxMilestones | number | 6 |
maxFeaturesPerMilestone | number | 6 |
maxConcurrency | number | 3 |
useWorktrees | boolean | false |
baseBranch | string | "main" |
How It Runs
- The orchestrator scopes the request and creates serial milestones.
- If approval is enabled, the run waits at
mission:approve-plan. - The active milestone dispatches feature workers with fresh focused prompts.
- The integration task merges or reconciles the feature outputs.
- Validation runs tests, builds, and smoke checks. UI walkthroughs run if the repo has a configured browser test command.
- Failed validation triggers one targeted repair task and a revalidation.
- After all milestones complete, the final task writes a mission report.
Approval
WhenrequirePlanApproval is true, the run pauses after planning and emits a mission:approve-plan event. Review the proposed milestones in Smithers, then resume the run:
Output Shape
mission commits changes incrementally as each milestone completes. The final task writes a mission report to the run log summarizing milestones, validation outcomes, and any unresolved failures.
Use it when
- The work is too long or broad for a single agent loop.
- You want milestone-by-milestone progress with an approval gate and per-milestone validation.
Use something else when
- The change is a single focused unit: use
implement. - You want independent tickets in isolated worktrees: use
tickets-create, thenkanban.
Resume & retry
Runs are durable:mission commits incrementally as each milestone completes, so resuming with up --resume continues from the last finished milestone. Failed milestone validation triggers one targeted repair task and a revalidation before the run moves on. With requirePlanApproval, the run waits at mission:approve-plan until you approve.