Repository navigation
[Copilot Dreaming] Save clarification answers before advancing - #75
Merged
Merged
Conversation
added 4 commits
December 1, 2026 22:15
Accepted answers risk remaining only in working memory when the questioning loop advances before integration. Naming the per-answer save and validation checkpoint in the package overview makes that safeguard visible to maintainers evaluating Full SDD. https://github.com/github/spec-kit-copilot/blob/37fb940ee89ca72985ab8c9d4058d5183aa49c45/spec-kit-presets/copilot-full-sdd/commands/speckit.clarify.md#L147-L171
…match claim Maintainers could expect the clarified question loop to remain byte-identical to the hook-stripped upstream command. Distinguishing its reviewed downstream body from the six exact-match commands keeps the source-comparison instructions accurate. The existing comparison mechanism supports checking the upstream baseline and reviewed body separately. https://github.com/github/spec-kit-copilot/blob/37fb940ee89ca72985ab8c9d4058d5183aa49c45/spec-kit-presets/tests/test_full_sdd.py#L139-L177
Copilot could advance to another question before saving an accepted answer because the loop contradicts its own integration steps. Completing those steps before advancing removes that ambiguity and reduces the risk of losing accepted clarifications. The removed deferred-write direction applies nowhere afterward; working-memory recording, per-answer saving and validation remain in the same command. https://github.com/github/spec-kit-copilot/blob/37fb940ee89ca72985ab8c9d4058d5183aa49c45/spec-kit-presets/copilot-full-sdd/commands/speckit.clarify.md#L147-L171
… safeguard The sequencing safeguard makes clarify a reviewed downstream variant, so requiring its body to equal the hook-stripped upstream command would reject the intended change. The existing exception map checks both upstream provenance and the reviewed body, allowing the two fingerprints to remain protected. Exact byte equality still applies to commands outside that map. https://github.com/github/spec-kit-copilot/blob/37fb940ee89ca72985ab8c9d4058d5183aa49c45/spec-kit-presets/tests/test_full_sdd.py#L139-L177
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the clarification safeguard requiring each accepted answer to be saved and validated before proceeding.
No open issues 🎉
What changed in this PR
This PR makes Full SDD’s clarification guidance explicitly require saving and validating each accepted answer before asking the next question, reducing the risk of losing answers.
Changes:
- Require answer integration, saving, and validation before advancing the clarification loop.
- Update documentation and fingerprint checks to recognize the clarification safeguard while retaining the original upstream baseline.
| File | Description |
|---|---|
spec-kit-presets/tests/test_full_sdd.py |
Updates the reviewed clarification hash and preserves its upstream baseline hash. |
spec-kit-presets/copilot-full-sdd/README.md |
Documents the safeguard and revises upstream-comparison expectations. |
spec-kit-presets/copilot-full-sdd/commands/speckit.clarify.md |
Requires completing integration, saving, and validation before the next question. |
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.
🧠 How this helps Copilot
Copilot can follow Full SDD's clarification loop into asking another question while an accepted answer is still unsaved. The proposed guidance makes the existing integrate, save, and validate checkpoint explicit before advancing, reducing the risk of losing accepted clarifications.
Maintainers also need to distinguish the reviewed clarification safeguard from commands that must still match upstream exactly. The package documentation and fingerprint checks account for that distinction without dropping the original upstream baseline.
Review commit by commit for each change's rationale and evidence.
Note
Copilot Dreaming curates this repository's Copilot instructions and skills in the background, proposing updates to help agents work here. Learn more about Copilot Dreaming.
Automated details
Source:
curate-memoriesDream, analyzingmainat37fb940.