Specs and plans
The spec
Section titled “The spec”A spec is one markdown file describing what you want built, in plain language. Writing a spec covers the format. The planner reads the spec and a listing of the repo’s files, and it is deterministic: the same spec and the same tree give the same plan.
The plan
Section titled “The plan”A plan is a set of work packages. Each one has:
- A title and a spec excerpt: the part of your spec it delivers.
- A scope: the paths, symbols, contracts and migrations it is expected to touch, named from the real repo. This is the planner’s estimate. Agents declare what they actually touch.
- Acceptance criteria: each written so a verifier can decide met or not met, with how it’s checked.
- Dependencies: the packages that must land first.
The planner also runs the same overlap rules the coordinator uses across the packages. Overlaps a plan should settle, such as chained migrations, are pre-sequenced in the plan. The rest are left for the agents to negotiate while they work.
Questions
Section titled “Questions”Where a spec has gaps, the planner doesn’t guess. It lists them as questions: an unspecified limit, a criterion nobody could check (“intuitive”, “fast”), or two features that touch the same behaviour. Questions marked blocking must be answered before you can approve. Criteria the planner couldn’t make checkable are kept out of the plan and asked about instead.
Approving
Section titled “Approving”Approval is one action by you, in the app, recorded against your account. When you approve:
- The plan moves from draft to approved.
- The planner creates one fork of the repo per package.
- It writes each agent’s session brief: the package, its scope and criteria, and the protocol.
No credential goes into a brief. Agents get their access through the connection they were set up with, and Git credentials sit in a helper file outside the work tree.
Package states
Section titled “Package states”| State | Means |
|---|---|
draft |
In a plan you haven’t approved |
approved |
The plan is approved |
dispatched |
An agent has the package |
in_progress |
The agent is working |
verifying |
The agent asked to land, and a verdict or a landing gate is pending |
landed |
Merged into main |
failed |
The last verification failed. The agent fixes it and asks to land again |