Skip to content

Avoid duplicate Full SDD convergence tasks - #66

Merged
mnriem merged 2 commits into
github:mainfrom
mnriem:mnriem-prevent-duplicate-convergence-tasks
Nov 20, 2026
Merged

mnriem merged 2 commits into
github:mainfrom
mnriem:mnriem-prevent-duplicate-convergence-tasks

Conversation

@mnriem

@mnriem mnriem commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Full SDD converge now reports findings already covered by unchecked tasks and appends only uncovered work. When all remaining work is already tracked, it leaves tasks.md unchanged without declaring convergence. Findings covered only by checked tasks can still get a new task if the work remains unmet.

The extension-hooks preset retains its completion checkpoint for assessments that report already-tracked work. This change also updates the preset documentation and regression coverage.

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

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.

🟡 Changes recommended

The mixed-case test does not require T006 in the hook’s task snapshot, allowing assertions to pass even if after_converge runs before the new Convergence phase is appended.

1 open issue
What changed in this PR

This PR updates the Full SDD preset so repeated convergence assessments avoid duplicating work already covered by unchecked tasks, while preserving extension-hook completion behavior.

Changes:

  • Report already-tracked work and append only uncovered remediation, without falsely declaring convergence.
  • Preserve after_converge for completed Full assessments that leave existing tasks unchanged.
  • Update documentation and regression coverage for mixed findings, repeat assessments, and blocked assessments.
File Description
spec-kit-presets/​tests/​test_full_sdd.py Update command digests and convergence instruction checks.
spec-kit-presets/​tests/​test_extension_hooks.py Extend hook coverage to Full assessments and repeat runs.
spec-kit-presets/​copilot-full-sdd/​README.md Document task deduplication and revised baseline checks.
spec-kit-presets/​copilot-full-sdd/​commands/​speckit.converge.md Append only uncovered work and report existing task coverage.
spec-kit-presets/​copilot-extension-hooks/​README.md Document Full convergence checkpoints and test coverage.
spec-kit-presets/​copilot-extension-hooks/​commands/​lifecycle.md Preserve completion hooks for already-tracked Full findings.

Review effort: Balanced (adaptive)

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

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

Changes to semantic finding-to-task matching, repeat-assessment prerequisites, and completion-hook eligibility interact to alter workflow convergence, requiring human review.

No open issues 🎉

1 resolved since last review

Review effort: Balanced (adaptive)

@mnriem
mnriem merged commit f0e6a42 into github:main Nov 20, 2026
7 checks passed
@mnriem
mnriem deleted the mnriem-prevent-duplicate-convergence-tasks branch November 20, 2026 17:26
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