Note 03 · Concepts
Change as a First-Class Engineering Concept
Why software changes need their own staged representation, semantic classification, and audit trail instead of turning live specs into a diary.
Live specifications rot in two predictable ways: either coding agents rewrite canonical docs mid-experiment while work is half-baked, or teams turn spec files into changelog novels where present behavior and proposed changes blur together.
SpecPlane separates what the system currently promises from what is currently in flight. Canonical specs under specs/capabilities/, specs/containers/, specs/components/, and specs/foundations/ remain the current contract while active work lives in its own staged packet.
Anatomy of an In-Flight Change Packet
Non-trivial changes live in specs/changes/<slug>/ alongside the code branch:
proposal.yaml— the change ID, semantickind,status,promise_idsit touches,why, and whether anevidence_contractis required.delta.yaml— structuredADDED,MODIFIED,REMOVED, orREPLACEDentries naming exact target spec IDs instead of editing live YAML prematurely.success.yaml— observable acceptance criteria and bound verification checks (run.argv,run.unittest, or declaredmust:statements).decision.md(optional) — created only when a real product or architectural fork requires human choice before implementation proceeds.
In examples/tiny-saas, for instance, specs/changes/add_dunning/ stages a MODIFIED delta on capability.billing ("Failed renewal charges send a dunning email") without mutating capability.billing.yaml until the work is accepted.
In-flight change add_dunning isolated in specs/changes/ inside specplane view while live specifications remain unpolluted until promote.
Ceremony Scales with Consequence, Not Diff Size
Every request is classified by semantic consequence rather than line count:
| Class | Meaning | SpecPlane Ceremony |
|---|---|---|
trivial | Typo, few-pixel tweak, symbol rename, behavior-preserving refactor | Skips retrieve; no change packet needed |
fix | Live spec already promises this behavior, and the code is broken or incomplete | Open change packet on the existing ID; verify against the promise |
evolve | The promise itself changes—including CLI contracts or TTLs (60m -> 15m) | retrieve -> blast -> staged packet -> check_sync + run -> promote |
learn | Experiment where we do not yet know if the behavior becomes law | Staged packet; stays out of live YAML unless promoted |
A 2,000-line behavior-preserving refactor is trivial. Changing password-reset expiry from 60m to 15m is a one-number diff, yet it changes a user-facing and security promise—so it is an evolve.
Epistemic bit States Keep Promises Honest
SpecPlane tracks four epistemic states across the graph—live, inferred, in-flight, and replaced—so neither humans nor agents mistake draft inventory or work-in-progress for production law:
live— accepted canonical truth inspecs/(status: active | launched | planned | in_progress | draft).inferred— brownfield inventory taggedinferred; returned byretrieveasdeclared(inferred_as_live: false) until promoted viaspecplane accept --ids.in-flight— open packets inspecs/changes/<slug>/, surfaced separately underin_flight:.replaced— deprecated or superseded specs (replaced_by), surfaced as leftovers so agents stop building against dead surfaces.
When an agent runs specplane retrieve capability.authentication, it sees the live promise ("Password reset links expire in 60 minutes"). When it inspects capability.billing, it sees both the live promise and the open add_dunning delta—with zero ambiguity about which is currently shipped.
Promotion, Archival, and specplane history
Before code merges, specplane check_sync --change <slug> verifies declared ID coverage and specplane run --change <slug> executes already-bound checks (leaving unbound must: items honestly marked not_run). Once the human accepts the result, specplane promote <slug> applies the delta into live YAML, bumps meta.version, updates last_updated, appends a changelog row, validates the graph, and moves the folder to specs/changes/_archive/<slug>/. That archived packet ledger powers specplane history, preserving why every promise changed without cluttering live specs.
Implemented today vs. planned: In
0.1.0a6(Schemav9.2.1),retrieve,blast,check_sync,run,promote(with--dry-runand--recordforevidence.json), andhistoryare implemented deterministically in the CLI (validate,reconcile,promote, andacceptremain CLI-only; the rest are also exposed viaspecplane mcp). Automated enforcement on hosted PRs remains optional via user-configured CI rather than a built-in cloud service.
See SpecPlane on a real workspace: inspect live capabilities, blast graphs, and staged changes without installing anything.