SpecGraph
All posts
change-tracking24 June 20264 min read

Specs need history, just like code

Every editable phase of a SpecGraph spec now has git-style change tracking: a committed baseline, a visible diff, and a history of who changed what, and when.

ST

SpecGraph team

Nobody would accept a codebase without version control. You wouldn't merge a pull request without reading the diff, and you wouldn't ship a release without knowing who changed what since the last one. Yet most specs live in documents where the only history is a wall of autosaves, and the only diff is someone's memory of what the page said last week.

That gap gets worse when AI writes part of the spec. An interview turn can rewrite several fields at once. A teammate tightens a paragraph with the Improve menu. Someone fixes a typo in the data model. By Friday, the architecture section is different from the one engineering reviewed on Monday, and nobody can say exactly how.

Every editable phase of a SpecGraph spec now has git-style change tracking.

The working-tree model

We borrowed the model developers already know. Each section, from Vision through Features, Brief, Design, Architecture, Quality and Security, has two states.

  • The live section is the working copy. Manual edits and interview edits write there, exactly as before.
  • The last commit is the baseline. SpecGraph diffs the live section against it and highlights what changed.

From there, the verbs are familiar.

  • Commit snapshots the live section as the new baseline, with an optional message.
  • Discard restores the section to its last committed state.
  • Revert undoes a single changed row without touching the rest of your edits.
  • History lists the commits for the section, each with who made it and when.

Sections with uncommitted changes get a dot in the phase navigation, so anyone opening the project can see at a glance where work is in flight.

A spec that changes without a trace is a rumour with formatting. A spec with commits is a record.

Why specs need this more than code does

Code has tests. If a function changes behaviour, something usually goes red. Specs have no test suite. A requirement can quietly lose a clause, an acceptance criterion can soften from “must” to “should”, and nothing fails until an agent builds the weaker version.

Specs also have more authors than most code. A single section might be touched by a product manager, a security lead, an architect and the interview itself. Without attribution, review turns into archaeology. With it, a reviewer can open the history, see that the security lead changed the session timeout on Tuesday, and ask them directly instead of asking the room.

And specs are increasingly read by machines. A coding agent working from a SpecGraph pack does what the spec says. If the spec drifted between review and build, the agent builds the drift. Commits give the team a clean answer to the question “which version did we actually agree on?”

How teams use it

The pattern that works is simple. Edit freely, including with the interview. Read the diff. Commit with a message that says why, not what, because the diff already says what. When a section is ready for sign-off, the reviewer reads the commit history before reading the section.

Discard is underrated. An interview turn that went sideways no longer means hand-repairing five fields. Discard, and the section is back to the last state somebody committed to. Per-row revert covers the subtler case, where most of an edit was good and one change was not.

History also pays off after the fact. When a feature built from the spec misses the mark, the first question is whether the spec was wrong or the build was. The commit history answers that quickly: what the section said, who last changed it, and what has changed since.

What you can do this week

  • Pick the section your team argues about most. Commit it as it stands today, with the message “baseline before review”.
  • Ask every contributor to commit with a one-line reason. The habit matters more than the tooling.
  • Before your next sign-off meeting, open the section history instead of the section. Review the changes, not the whole document.

Code earned version control because too many people changed too much, too fast, to keep it all in their heads. Specs have reached the same point. They deserve the same tools.

  • change-tracking
  • collaboration
  • audit
  • workflow

Stop vibe-coding solo.Ship with the whole org aligned.

Coding agents are fast, and they are obedient: they build exactly what the spec says. SpecGraph makes the spec worth obeying. Every department on the record, conflicts settled before code, one sealed pack your agent works from.

Request access

0%