How a mission works
The loop#
- Interview — Medley asks what the outcome is, what it may spend, and what needs your approval.
- Contract — the target, the budget, the deadline, and the sign-off gates get fixed.
- Decompose — the goal becomes a task graph, stopping at the information frontier rather than guessing past it.
- Plan submit — you see the proposed graph with each task's routed runtime and model.
- You approve — the contract and its opening plan.
- Start — workers launch in your repo, in parallel.
- Supervise — you steer, resolve attention items, and read digests.
- Engine review — each finished batch is checked against the contract; unmet contracts generate the next batch.
- Finalize — you get the receipt.
Who does what#
The mission agent — your chat session — plans, routes, launches, supervises, steers, and relays. It does not execute the mission's tasks itself.
The workers execute. Each is a fresh agent session on the runtime its task routed to.
The engine reviews. It holds the mission open until the contract is met, verifies the result, and proposes the remaining work. That review loop is why a mission survives a plan that turned out to be incomplete.
Why the contract matters#
Without a contract, an agent stops when it runs out of plan. With one, the engine has something to check the work against — so "done" means the outcome you named, not the last task in a list.
Next steps#
- Missions vs sessions — the conceptual shift.
- The attention queue — how your input gets requested without constant babysitting.
