docs: document evolving specs in existing projects
Description
Closes #916.
Documents how existing projects can evolve specs over time using the persistence models introduced in the Spec Persistence Models guide. The update moves the brownfield workflow into a dedicated Evolving Specs guide and links to it from the README and SDD concepts page.
Scope:
- Adds
docs/guides/evolving-specs.mdwith guidance for flow-forward, living spec, and flow-back workflows. - Keeps Spec Kit project-file updates separate from feature artifact evolution.
- Updates README, SDD concepts, docs TOC, and DocFX content globs.
- Removes the brownfield workflow section from the upgrade guide.
Non-goals:
- No CLI behavior changes.
- No new
specify updatecommand. - No template, script, or extension changes.
Testing
- [x]
git diff --check - [x]
python -m json.tool docs/docfx.json - [x] Parsed
docs/toc.ymland checked updated local docs links/anchors
Thanks for tackling this — the gap you're addressing is real, and the step-by-step workflow is useful.
Since this PR was opened, #2856 landed on main introducing the spec persistence models page (flow-back, flow-forward, living). Your brownfield guidance should build on that vocabulary rather than existing independently.
Requested changes:
-
Rebase onto
mainto pick up #2856. -
Move the new content out of
upgrade.mdintodocs/guides/evolving-specs.md. The upgrade guide is about refreshing Spec Kit tooling — evolving your specs is a different workflow. -
Structure the guide around the three persistence models. One document, three sections — each with clear steps for that model:
- Flow-forward: create a new feature directory, run the standard specify → plan → tasks → implement flow.
- Living spec: edit
spec.mdfirst, then regenerateplan.mdandtasks.mdfrom it. - Flow-back: edit wherever the insight lands, then reconcile the artifact set.
-
Drop or consolidate the
sdd.mdaddition — that file already links to the persistence-models page. A single sentence there pointing to your new guide is enough. -
Keep the
README.mdaddition but update the link target to the new guide path. -
Add the new page to
docs/toc.ymlunder a Development or Guides section.
The scope stays docs-only and the core content you wrote (the step-by-step workflow) remains — it just gets framed per-model so readers with different conventions get tailored guidance.
Thanks for the detailed review. I've updated the PR to build on the spec persistence models and moved the brownfield guidance into docs/guides/evolving-specs.md. The guide is now organized around flow-forward, living spec, and flow-back, with the README, SDD concepts page, docs TOC, and DocFX content globs updated accordingly.
Thanks for the review. I've pushed an update addressing the Copilot feedback: the upgrade workflow now links to the upgrade guide, and the flow-forward / flow-back headings are aligned with the Spec Persistence Models terminology.
Thanks again. I've pushed a follow-up update addressing the latest Copilot feedback: the specify init --here --force example is now labeled as a terminal command, the SDD link text now matches the guide scope, and the README addition is wrapped for readability.
Please address Copilot feedback
Thanks for the follow-up. I updated the project-file refresh command to require an explicit integration:
specify init --here --force --integration <your-agent>
I also added a short note that <your-agent> should match the AI coding agent integration used by the target project.
Thank you!