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.

3 min read (606 words) Applies to SpecPlane 0.1.0a6 · Schema v9.2.1 Published 2026-12-05

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, semantic kind, status, promise_ids it touches, why, and whether an evidence_contract is required.
  • delta.yaml — structured ADDED, MODIFIED, REMOVED, or REPLACED entries 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 declared must: 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.

SpecPlane local viewer inspecting the staged open change add_dunning in specs/changes/ while live capability.authentication stays 60 minutes

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:

ClassMeaningSpecPlane Ceremony
trivialTypo, few-pixel tweak, symbol rename, behavior-preserving refactorSkips retrieve; no change packet needed
fixLive spec already promises this behavior, and the code is broken or incompleteOpen change packet on the existing ID; verify against the promise
evolveThe promise itself changes—including CLI contracts or TTLs (60m -> 15m)retrieve -> blast -> staged packet -> check_sync + run -> promote
learnExperiment where we do not yet know if the behavior becomes lawStaged 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 in specs/ (status: active | launched | planned | in_progress | draft).
  • inferred — brownfield inventory tagged inferred; returned by retrieve as declared (inferred_as_live: false) until promoted via specplane accept --ids.
  • in-flight — open packets in specs/changes/<slug>/, surfaced separately under in_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 (Schema v9.2.1), retrieve, blast, check_sync, run, promote (with --dry-run and --record for evidence.json), and history are implemented deterministically in the CLI (validate, reconcile, promote, and accept remain CLI-only; the rest are also exposed via specplane 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.