Note 04 · Methodology
The SpecPlane Engineering Loop
Retrieve, assess blast radius, implement, verify, review, and promote—a continuous lifecycle where humans speak product language and agents operate the graph.
AI coding agents have made writing application code fast, yet the loop around a change often breaks as soon as an edit lands. Without a shared record of what the system promises, agents grep for constants, guess which constraints still matter, and leave documentation or architectural assumptions behind once a diff compiles.
The SpecPlane Engineering Loop replaces ad-hoc prompting with a continuous, six-stage lifecycle. Humans stay in plain product language and make the consequential decisions; the coding agent operates the local specification graph before, during, and after implementation.
The six stages at a glance
Ceremony scales with semantic consequence rather than diff size. A typo or behavior-free refactor skips the loop with no spec impact, while any change that could move a product promise passes through six explicit stages:
| Stage | Primary purpose |
|---|---|
Retrieve | Load the live promise, constraints, realization links, and any open changes for the target node before editing code. |
Blast radius | Traverse the specification graph via blast and impact to surface downstream capabilities, components, and shared foundations. |
Implement | Stage the proposed delta in specs/changes/<slug>/, ask any unresolved product question, and apply a bounded code diff. |
Verify | Check declared coverage with check_sync and execute already-bound checks via run to capture structured evidence. |
Review | Inspect the change packet, blast subgraph, and verification results locally—using specplane view or the PR diff—before acceptance. |
Promote | Atomically apply the change to live YAML, bump meta.version, append the changelog, and archive the packet via specplane promote. |
Walking the loop on a real change
Consider a realistic one-line product request inside the examples/tiny-saas sandbox:
"Reset links should expire in 15 minutes instead of 60."
The developer does not type retrieve, edit YAML, or remember which modules touch password resets. Instead, the coding agent drives the graph:
- Retrieve. Because changing an expiry window alters a security rule, the agent calls
retrieveoncapability.authentication. The kernel returns the live constraint—Password reset links expire in 60 minutes—and shows thatcomponent.password_resetrealizes it insrc/auth.pywhile an unrelated billing change (add_dunning) is already open. - Blast radius. Before modifying code, the agent runs
blastoncapability.authenticationandcomponent.password_reset. The graph immediately surfacescapability.billing,capability.notifications,component.notifier, andfoundation.security_baseline. What looked like a single-number tweak is framed as anevolvechange with known neighbors. - Implement. The agent stages a new packet under
specs/changes/<slug>/(proposal.yaml,delta.yaml,success.yaml), keeping live specifications clean while work is in flight, and updatessrc/auth.pywithout touchingadd_dunning. - Verify. After editing, the agent runs
check_sync --change <slug> --changed-ids component.password_resetto confirm declared coverage and invokesrun --change <slug>to execute checks bound insuccess.yaml. Any unbound Englishmust:criterion reportsnot_runrather than fabricating a pass. - Review. The developer reviews the bounded diff alongside the staged delta, verification status, and the visual blast graph in
specplane view. - Promote. Once accepted,
specplane promote <slug>updates the live capability and component YAML, records the changelog, and moves the packet tospecs/changes/_archive/<slug>/.
Implemented today vs. planned: In
0.1.0a6, the entire loop runs deterministically on your local machine through thespecplaneCLI and nine stdio MCP tools (retrieve,blast,impact,check_sync,list_gaps,history,run,get_acceptance_criteria, andrecord_evidence).runexecutes only checks already bound withrun.unittestorrun.argv, whilevalidate,reconcile,accept, andpromoteremain explicit CLI commands. Optional workflow automation—such as turnkey GitHub App triggers and hosted review links—remains on the roadmap.
Implementation is not the end of a change. Reconciliation with product and engineering intent closes the loop.
See SpecPlane on a real workspace: inspect live capabilities, blast graphs, and staged changes without installing anything.