Skip to content

[Copilot Dreaming] Save clarification answers before advancing - #75

Merged
mnriem merged 4 commits into
mainfrom
copilot/dream-curate-memories-20261201221700
Dec 2, 2026
Merged

mnriem merged 4 commits into
mainfrom
copilot/dream-curate-memories-20261201221700

Conversation

@Copilot

Copilot AI commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

🧠 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-memories Dream, analyzing main at 37fb940.

copilot-dreamer[bot] 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
@Copilot
Copilot AI requested a review from mnriem as a code owner December 1, 2026 22:15
Copilot AI adaptive review requested due to automatic review settings December 1, 2026 22:15

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.

🟢 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)

@mnriem
mnriem merged commit 4bafc0a into main Dec 2, 2026
9 checks passed
@mnriem
mnriem deleted the copilot/dream-curate-memories-20261201221700 branch December 2, 2026 11:40
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.

3 participants