Repository navigation
Preserve existing specs in Full SDD specify - #65
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🔵 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Full SDD
specifynow 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.jsononly after saving the spec, without changing the existing quality workflow.