Note 05 · Engineering practices
From Change Packets to Pull Requests
Connecting engineering intent, architectural blast radius, and verification evidence with the Git pull-request workflow developers already use.
Most software changes begin with an intention and end with a code review. Between those two points, product decisions, architectural constraints, and acceptance criteria routinely fragment across chat threads, ticket comments, and hastily written pull-request descriptions. By the time a reviewer opens the diff, the code is visible, while the reasoning that shaped it has scattered.
SpecPlane closes that gap with a structured change packet stored in specs/changes/<slug>/. Rather than inventing a parallel review system, the change packet keeps intent, impact, and proof next to the application diff inside the same repository.
ci_gate.py verification, and promote into live YAML before merge.What one change packet connects
Every in-flight change packet links four artifacts that usually live in separate tools:
- Reason and intended outcomes.
proposal.yamlcaptures the change kind (fix,evolve, orlearn), motivation, and affectedpromise_ids;decision.mdrecords any product or architectural trade-off a human resolved; anddelta.yamlstates what isADDED,MODIFIED, orREMOVED. - Affected capabilities, architecture, and constraints. Referencing
promise_idsletsblastandimpactresolve every tied capability, component, container, andfoundation.*rule before implementation starts, making cross-system consequences explicit in review. - Implementation changes and verification evidence.
success.yamlbinds observable criteria (must:clauses andrun.unittestorrun.argvchecks) to the change, andrunor external QA verification (record_evidence) writes structured results toevidence.json. - Human review, acceptance, and specification promotion. Once reviewers accept the work,
specplane promote <slug>merges the delta into live YAML, incrementsmeta.version, writes the changelog entry, and archives the packet.
Complementing Git, not replacing it
Because every specification file and change packet is plain YAML, Markdown, and JSON under specs/, SpecPlane travels inside the Git branch and pull request you already open. Commits carry both the source changes and the evolving specification state, git diff remains legible to humans and coding agents alike, and history stays tied to the repository rather than locked inside an external SaaS database.
In practice, teams work through a change in specs/changes/<slug>/ on a feature branch while code is moving, keeping live specifications untouched until the behavior is ready. Reviewers never have to reconstruct intent from raw code hunks alone: the packet sits in the same branch diff.
Implemented today vs. planned
It is important to separate what ships in pre-release 0.1.0a6 from GitHub integrations on the roadmap:
- Implemented today (
0.1.0a6): Before merging a completed change, runningspecplane promote <slug>updates the live YAML files and archivesspecs/changes/<slug>/intospecs/changes/_archive/<slug>/so the pull request merges a single, reconciled state (specplane viewlets reviewers inspect that graph and packet locally). Teams that want automated PR checks today can copy the includedtools/specplane/ci_gate.pyscript into a GitHub Actions workflow. Passing--baseand--apply-diffrunsvalidate, executescheck_syncacross changed YAML and declaredrealization.paths, and runscheck_sync --changeplusrun --changeon every touched packet—explicitly catchingMIXED(both open and archived) orPARTIAL(promoted live specs out of sync with the archive) packets. - Planned (not shipped in
0.1.0a6): Turnkey GitHub App installation, hosted viewer share links posted automatically on pull requests, required cloud-hosted status checks, and an interactive PR spec coach. Runningspecplane initscaffoldsspecs/and agent skills locally; it does not install a CI workflow automatically.
Treat the change packet as part of the pull request, and code review becomes a check on both what the software does and what the team meant to promise.
See SpecPlane on a real workspace: inspect live capabilities, blast graphs, and staged changes without installing anything.