Stage 00the input
One ticket, one command
Four sentences somebody wrote in thirty seconds, with an EARS block that quietly contradicts itself. No prompt engineering, no scaffolding, no orchestration script — 3pwr run --file and that is the whole invocation.
Stage 01discovery
Research before anyone writes code
Discovery analyses the current state: it reads the codebase, works out what the ticket actually touches, and collects what is still open. Here it flagged that the ticket's “added or removed” would tempt an agent into building a delete feature nobody asked for. Findings, open questions and candidate non-goals are handed to the spec stage.
Stage 02spec · human gate 1
The single source of truth — and where you invest your time
From your intent, this stage writes the specification and challenges every ambiguity it finds. “A large number.” “Next to.” “Read as part of the heading.” Each became something a test can check. This is the one place to spend real attention: approve, reject, or revise. Once you approve, the spec is sealed — if that text moves underneath the work, spec_integrity fails the run.
Stage 03oracle
Every requirement gets a test that fails today
The oracle writes at least one acceptance test per requirement of the sealed spec — 344 lines here — in its own session, before any implementation exists. All of them fail, because there is nothing to pass yet. After build, this suite is what decides whether the spec was implemented completely.
Stage 04plan
The how, then the phases
Planning turns the spec into a high-level technical plan and challenges it with its own clarification pass before anything depends on it. From that plan comes the implementation plan: the detailed phases and tasks the build agents will execute, each phase with a declared file scope.
Stage 05build
Fresh sessions, parallel where the plan allows
Build works through the implementation plan phase by phase — one fresh agent session and one commit per phase, phases distributed to subagents in parallel when their file scopes do not overlap. The coder writes its own tests too. What it may never do is write, edit or delete the oracle tests it is graded against.
Stage 06verify · the verdict
Red — on something the feature never touched
Verify runs everything: the oracle suite, the coder's tests, and the deterministic gates of the tier suite. Here it failed the run on a vulnerable transitive dependency, nowhere near the two files that changed. The auto-fix loop handed it back with one rule: fix the code, never the check. The agent upgraded the dependency.
Stage 07–08sign-off · ship
Green, signed, waiting for you
When verification is clean the run stops and waits. You read one normalized verdict file — do I accept this?, not can I reconstruct what happened? — and approve, reject, or revise. On approval, every change is already tracked in the signed ledger (entry 75 on this run), the tree is clean, and the branch is ready to push.