Skip to content

Commit 9d1c134

Browse files
enoreyesfactory-droid[bot]theoi
authored
docs: add Missions page with orchestration guide (#653)
* docs: add Missions page with orchestration guide and Mission Control screenshot Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> * milestones and features * . * . --------- Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> Co-authored-by: theo <theoluan@gmail.com>
1 parent e12a1b1 commit 9d1c134

File tree

3 files changed

+158
-0
lines changed

3 files changed

+158
-0
lines changed

docs/cli/features/missions.mdx

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
---
2+
title: Missions
3+
description: Plan and execute large, multi-feature projects with structured orchestration. Describe your goal, collaborate on the plan, and let Droid manage the work.
4+
keywords: ['missions', 'mission', 'enter-mission', 'orchestration', 'multi-feature', 'milestones', 'skills', 'large projects', 'planning', 'mission control']
5+
---
6+
7+
<Note>
8+
Missions are a **research preview**. We are actively exploring open questions: Is parallelization necessary or even value-add? How do you maximize correctness across long-running plans? How do you make the right tradeoffs between cost and quality? Your feedback shapes where this goes.
9+
</Note>
10+
11+
<Frame>
12+
<img src="/images/mission-control.png" alt="Mission Control orchestration view" />
13+
</Frame>
14+
15+
## What are Missions?
16+
17+
Missions are a structured way to take on large, multi-feature work with Droid. Instead of tackling everything in a single session, you collaborate with Droid upfront to build a plan -- features, milestones, and the skills needed to accomplish each part -- then hand off execution to an orchestration layer that manages the work.
18+
19+
Access Missions with the `/missions` command (also available via `/mission` and `/enter-mission`).
20+
21+
<CardGroup cols={2}>
22+
<Card title="Collaborative Planning" icon="comments">
23+
Work with Droid to define features, milestones, and success criteria before any code is written.
24+
</Card>
25+
<Card title="Skill-Aware Execution" icon="toolbox">
26+
Existing skills are leveraged and new specialized skills are developed for each part of the work.
27+
</Card>
28+
<Card title="Structured Orchestration" icon="diagram-project">
29+
Mission Control manages execution across agents, tracking progress through your plan.
30+
</Card>
31+
<Card title="Your Config Carries Over" icon="gear">
32+
MCP integrations, skills, hooks, and custom droids all work inside missions.
33+
</Card>
34+
</CardGroup>
35+
36+
## How it works
37+
38+
<Steps>
39+
<Step title="Enter a Mission">
40+
Start by running `/enter-mission` in any Droid session.
41+
</Step>
42+
<Step title="Collaborate on the plan">
43+
Droid interacts with you back and forth to understand your goal. It asks clarifying questions, probes for constraints, and works with you to define what you actually want built. This is a conversation, not a one-shot prompt.
44+
</Step>
45+
<Step title="Build features and milestones">
46+
Based on the conversation, Droid constructs a structured plan: a set of features organized into milestones. Each milestone represents a meaningful checkpoint in the work.
47+
</Step>
48+
<Step title="Skills are leveraged or developed">
49+
Droid pulls in your existing skills where they apply, and develops specialized skills for parts of the work that need them. This means the execution is tailored to your project and workflow, not generic.
50+
</Step>
51+
<Step title="Enter Mission Control">
52+
Once the plan is approved, Droid enters the Mission -- an orchestration view that manages execution of the plan. You can monitor progress, see which features are being worked on, and intervene when needed.
53+
</Step>
54+
</Steps>
55+
56+
## The planning phase matters most
57+
58+
The biggest value we have found in Missions is in the planning phase. Getting the upfront plan right -- the features, the ordering, the milestones, the skills involved -- is what determines whether the execution succeeds. Droid will push back, ask questions, and iterate with you until the plan is solid.
59+
60+
This is intentional. A well-scoped plan with clear milestones produces dramatically better results than jumping straight into execution on a vague goal.
61+
62+
### Validation
63+
64+
- *Milestones** define validation frequency. Validation workers run at the end of each milestone, verifying its work. For simple projects, one milestone is often enough; for longer or complex projects, more frequent milestone validation helps keep the foundation stable as work scales.
65+
66+
For smaller, straightforward projects, a single milestone is often enough. For larger or longer-running projects, more granular milestones can prevent drift and reduce expensive rework later.
67+
68+
### Estimating cost and duration
69+
70+
As a rough planning heuristic, mission duration and cost scale with the number of worker runs:
71+
72+
- **Feature workers:** roughly one run per feature
73+
- **Validator workers:** roughly one run per milestone
74+
75+
So an initial estimate is approximately:
76+
77+
`total runs ≈ #features + 2 * #milestones`
78+
79+
In practice, this is a floor rather than a ceiling. Validation may surface issues that require follow-up work, and the orchestrator can create additional fix features during execution.
80+
81+
## What Missions are good for
82+
83+
We have built and tested Missions across a range of work:
84+
85+
- **Full-stack development** -- Building complete applications with frontend, backend, database, and deployment.
86+
- **Research** -- Deep investigation tasks that require exploring multiple approaches, synthesizing findings, and producing structured output.
87+
- **Brownfield migrations** -- Modernizing existing codebases, swapping frameworks, or restructuring large projects while preserving existing behavior.
88+
- **Ambitious prototypes** -- Product experiments that need to be functional, not just sketched out.
89+
90+
The common thread: work that benefits from upfront planning and structured decomposition rather than ad-hoc prompting.
91+
92+
## Working with Mission Control
93+
94+
Once the plan is approved, Droid enters Mission Control -- the orchestration view that manages execution. From here you can track progress across features and milestones, see which agents are working on what, and intervene when things need adjustment.
95+
96+
### Intervening and redirecting
97+
98+
Missions are not fire-and-forget. The orchestrator is an agent, and you can talk to it. The most effective way to use Missions is to treat yourself as the project manager -- monitoring progress, unblocking workers, and redirecting when the plan needs to change.
99+
100+
<AccordionGroup>
101+
<Accordion title="The mission freezes or stops making progress">
102+
If the mission appears stuck and nothing is happening, pause the orchestrator and tell it what you are seeing. Be direct: explain that the mission appears frozen or broken, describe what the last visible activity was, and ask it to recover. The orchestrator can re-assess the state and pick back up.
103+
104+
**Example:** *"The mission seems frozen -- the last worker finished 10 minutes ago and nothing new has started. Re-assess and continue."*
105+
</Accordion>
106+
107+
<Accordion title="A worker is taking too long on a single item">
108+
If one worker is spinning on a task for too long without making meaningful progress, you do not need to wait for it to finish. Pause the orchestrator and tell it to mark the current item as complete and move on. You can always come back to that item later, or handle it manually.
109+
110+
**Example:** *"The worker on the auth integration has been stuck for 20 minutes. Mark it as complete and move to the next feature."*
111+
</Accordion>
112+
113+
<Accordion title="The mission is stuck on a milestone">
114+
Sometimes the orchestrator hits a milestone that has become blocked -- maybe an earlier assumption was wrong, or a dependency is missing. When this happens, ask the orchestrator to re-assess the remaining work and figure out why it has become blocked. It can re-plan around the obstacle, reorder features, or adjust the milestone scope.
115+
116+
**Example:** *"We are stuck on Milestone 3. Re-assess the remaining work and tell me what is blocking progress."*
117+
</Accordion>
118+
119+
<Accordion title="You want to change direction mid-mission">
120+
If you realize the plan needs to change -- a feature should be dropped, a new requirement has come in, or the approach is wrong -- pause and tell the orchestrator. It can update the plan, re-scope milestones, and continue from the new direction.
121+
122+
**Example:** *"Drop the email notification feature and add Slack integration instead. Re-plan the remaining milestones."*
123+
</Accordion>
124+
</AccordionGroup>
125+
126+
### A new kind of debugging
127+
128+
The skillset for working with Missions looks less like traditional debugging and more like **project management of agents**. You are not stepping through code line by line -- you are monitoring a team of workers, unblocking them when they get stuck, redirecting them when priorities change, and making judgment calls about when to push through versus when to re-plan.
129+
130+
This is a meaningfully different way of working with AI. The core skill is knowing when and how to intervene, not writing the code yourself.
131+
132+
## Configuration inheritance
133+
134+
Missions inherit your existing Droid configuration:
135+
136+
- **MCP integrations** -- Workers can use your connected tools (Linear, Sentry, Notion, etc.)
137+
- **Custom skills** -- Your existing skills are available and new ones can be developed during planning.
138+
- **Hooks** -- Lifecycle hooks fire during mission execution.
139+
- **Custom droids** -- Subagents configured in your project are available to workers.
140+
- **AGENTS.md** -- Workers follow your project conventions and coding standards.
141+
142+
## Open questions
143+
144+
Missions are early. We are shipping this as a research preview because there are fundamental questions we are still working through:
145+
146+
- **Is parallelization necessary?** Running multiple agents in parallel sounds good in theory, but does it actually produce better results than sequential execution? We are testing this.
147+
- **How do you maximize correctness?** Long-running plans accumulate errors. What validation and correction strategies work best at each stage?
148+
- **Cost vs. quality tradeoffs** -- How aggressive should the orchestrator be? More planning and validation means higher cost but potentially better output. Where is the right balance?
149+
150+
We want your feedback on these. Use Missions, push them hard, and tell us what works and what does not.
151+
152+
## See also
153+
154+
- [Specification Mode](/cli/user-guides/specification-mode) -- For well-scoped tasks that benefit from planning before implementation
155+
- [Implementing Large Features](/cli/user-guides/implementing-large-features) -- Manual workflow for multi-phase projects
156+
- [Custom Droids](/cli/configuration/custom-droids) -- Build specialized subagents that missions can use
157+
- [Skills](/cli/configuration/skills) -- Create and manage skills that missions can leverage

docs/docs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"reference/readiness-reports-api"
125125
]
126126
},
127+
"cli/features/missions",
127128
"cli/features/code-review",
128129
"cli/configuration/plugins",
129130
"cli/configuration/custom-slash-commands",

docs/images/mission-control.png

1.11 MB
Loading

0 commit comments

Comments
 (0)