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.

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

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.

Change packets to pull requests workflow: Feature Branch and PR flows through Review and ci_gate.py, Pre-Merge promote, into reconciled main Branch Feature Branch & PR Code diff specs/changes/<slug>/ Review & ci_gate.py validate · check_sync · run Optional CI gate Pre-Merge promote meta.version + changelog _archive/ main Branch Reconciled specs/ + Git history
SpecPlane change packets travel inside your branch diff, pass optional 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:

  1. Reason and intended outcomes. proposal.yaml captures the change kind (fix, evolve, or learn), motivation, and affected promise_ids; decision.md records any product or architectural trade-off a human resolved; and delta.yaml states what is ADDED, MODIFIED, or REMOVED.
  2. Affected capabilities, architecture, and constraints. Referencing promise_ids lets blast and impact resolve every tied capability, component, container, and foundation.* rule before implementation starts, making cross-system consequences explicit in review.
  3. Implementation changes and verification evidence. success.yaml binds observable criteria (must: clauses and run.unittest or run.argv checks) to the change, and run or external QA verification (record_evidence) writes structured results to evidence.json.
  4. Human review, acceptance, and specification promotion. Once reviewers accept the work, specplane promote <slug> merges the delta into live YAML, increments meta.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, running specplane promote <slug> updates the live YAML files and archives specs/changes/<slug>/ into specs/changes/_archive/<slug>/ so the pull request merges a single, reconciled state (specplane view lets reviewers inspect that graph and packet locally). Teams that want automated PR checks today can copy the included tools/specplane/ci_gate.py script into a GitHub Actions workflow. Passing --base and --apply-diff runs validate, executes check_sync across changed YAML and declared realization.paths, and runs check_sync --change plus run --change on every touched packet—explicitly catching MIXED (both open and archived) or PARTIAL (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. Running specplane init scaffolds specs/ 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.