Skip to content

Preserve existing specs in Full SDD specify - #65

Merged
mnriem merged 1 commit into
github:mainfrom
mnriem:mnriem-preserve-existing-specs
Nov 20, 2026
Merged

mnriem merged 1 commit into
github:mainfrom
mnriem:mnriem-preserve-existing-specs

Conversation

@mnriem

@mnriem mnriem commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Full SDD specify now rejects missing or whitespace-only descriptions before writing files. It uses the resolved template only for new specs and preserves unrelated authored content when updating an explicitly selected spec. It sets .specify/feature.json only after saving the spec, without changing the existing quality workflow.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI adaptive review requested due to automatic review settings November 20, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The interacting contracts for authored-content preservation, whole-spec revisions, and active-feature updates exceed limited-scope review criteria and require maintainer review.

No open issues 🎉

What changed in this PR

This PR updates the Full SDD preset’s specify instructions to protect existing specifications and defer active-feature selection until the spec is saved, while retaining the existing quality-validation workflow.

Changes:

  • Reject missing or whitespace-only descriptions before writing files.
  • Use templates only for new specs and preserve unrelated authored content when updating explicitly selected specs.
  • Update documentation and integrity checks to account for these safeguards while checking that the quality workflow remains unchanged.
File Description
spec-kit-presets/​tests/​test_full_sdd.py Updates reviewed digests and core comparisons for the modified specify instructions.
spec-kit-presets/​README.md Updates the Full SDD catalog description to mention spec-writing safeguards.
spec-kit-presets/​copilot-full-sdd/​README.md Documents creation and update behavior, pointer timing, and revised integrity checks.
spec-kit-presets/​copilot-full-sdd/​commands/​speckit.specify.md Adds input validation, targeted-update instructions, collision safeguards, and save-before-pointer ordering.

Review effort: Balanced (adaptive)

@mnriem
mnriem merged commit 5efd89e into github:main Nov 20, 2026
7 checks passed
@mnriem
mnriem deleted the mnriem-preserve-existing-specs branch November 20, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants