Project Description
An agent orchestrator that runs teams of agents autonomously through a pipeline of defined phases, where each phase produces concrete, inspectable artifacts.
The problem
Today, most of us use agents in what we'd call "assisted mode". We give them a rough idea, they start implementing, and we sit next to them correcting the course along the way. This works, but it's a workaround for two structural gaps, not a deliberate workflow.
The first is the lack of requirements. Without clear specs, the agent picks a direction and the human has to steer it in real time. But agents are already capable of implementing autonomously if the requirements are well-defined. Assisted mode is a workaround for missing requirements, not a limitation of the agents themselves.
The second is the lack of determinism. Agent output is non-deterministic. The same prompt, the same context, can produce a different result every time. So even when the human knows exactly what they want, they still assist because the agent might take a bad path this particular run.
Beyond that:
-
Assisted mode has no structure. There's no systematic process that guarantees the right assets get produced. Whether tests, documentation, or other artifacts get generated depends entirely on the human remembering to ask for them.
-
Assisted mode is inherently local. The context built up along the way, the decisions made, and the intermediate output only exist on the machine of the person doing the work. The final PR is the only thing the team gets to see, which makes it hard to coordinate or have multiple people work on the same task.
The proposal
An agent orchestrator that runs teams of agents autonomously through a pipeline of defined phases. Each phase produces a concrete artifact committed to the repository, and the pipeline runs to the phase you choose without human intervention.
The phases are:
- Phase 0. Intent. The owner's goal, binding constraints, and proposals to investigate, approved by the owner before it is written.
- Phase 1. Spec. Requirements, acceptance criteria, exclusions, and the cases considered and not required. Every requirement traces to the intent.
- Phase 2. Design doc. Component responsibilities, their contracts, and the decisions behind them, each serving named requirements.
- Phase 3. Implementation. The code, its tests, and its documentation, built by one implementer that holds the whole change.
- Phase 4. Review. The change judged as a whole against the intent, by reviewers who see only what a pull-request reviewer sees: the issue and the change.
The full model, and why it differs from the previous architecture, is in docs/model.md. Terms are defined in the glossary.
Roles
Each artifact has one owner, which answers for it:
- The orchestrator is the session that runs the skill. It talks with the owner, records phase 0, runs each step
rp plans — firing the plan's hooks and waking the roles it names — lands each turn with rp, and opens the pull request. It judges no content and relays no message.
spec-producer owns the spec, design-doc-producer the design doc, and implementer the code, its tests, its documentation, and notes.md, the file it resumes from. reviewer owns the review thread of its lane and talks only with the implementer, who carries a finding that questions a requirement or a design decision to that clause's owner.
Each role works from its assignment: the filled prompt rp writes into the role's worktree git directory before every turn, from the pipeline and the project's conventions, which the role rereads at each turn and after a compaction. Every role delegates bounded work to its tool's own subagents, on the model its tool finds by the subagent model name its assignment gives, and stays responsible for what they return.
Observe the present, assume the future
Every role runs with full execution: it reads, runs, builds, and drives the software, starts the environments the project lists under Resources, and reproduces failures. A claim about what the system does today is observed, and the artifact says how. A claim about what the solution will do is assumed, and the artifact says what will confirm it; the implementer verifies it. Only the implementer writes solution code.