Skip to content

fix: make converge coverage auditable - #3754

Open
cadugevaerd wants to merge 1 commit into
github:mainfrom
cadugevaerd:fix/3752-converge-coverage-audit
Open

fix: make converge coverage auditable#3754
cadugevaerd wants to merge 1 commit into
github:mainfrom
cadugevaerd:fix/3752-converge-coverage-audit

Conversation

@cadugevaerd

Copy link
Copy Markdown

Summary

  • make /speckit.converge emit artifact-derived checked/total coverage per category and a stable-key ledger
  • fail closed with incomplete_assessment before appending tasks when any required key is unassessed
  • document the three outcomes and add a regression contract for the template

Validation

  • python -m pytest tests -q5438 passed, 7 skipped
  • targeted template/config tests — 32 passed
  • markdownlint-cli2 templates/commands/converge.md docs/reference/agentic-sdd.md0 issues
  • manual 16-scenario fixture exercised incomplete_assessment, tasks_appended, and converged paths; the final converged pass left tasks.md unchanged

Closes #3752

Require artifact-derived per-category coverage, expose stable inventory keys, and fail closed before appending tasks when assessment is incomplete.

Closes github#3752

Assisted-by: Hermes Agent (model: gpt-5.6-terra, autonomous)

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.

Pull request overview

Adds auditable convergence coverage and fail-closed handling for incomplete assessments.

Changes:

  • Adds per-category coverage metrics and stable-key ledgers.
  • Introduces incomplete_assessment.
  • Documents and tests all three outcomes.
Show a summary per file
File Description
templates/commands/converge.md Defines coverage, ledger, and outcome rules.
docs/reference/agentic-sdd.md Documents the new outcome contract.
tests/test_converge_template_contract.py Adds template regression tests.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Medium

- Buildable SCs checked: `<checked>/<total>`
- Acceptance scenarios checked: `<checked>/<total>`
- Plan decisions checked: `<checked>/<total>`
- Constitution MUST principles checked: `<checked>/<total>` (or `skipped — template`)
Comment on lines +32 to +35
"Constitution MUST principles checked: `<checked>/<total>`",
):
assert metric in content

@mnriem mnriem left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please address Copilot feedback

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.

[Bug]: /speckit.converge can declare convergence without auditable acceptance-scenario coverage

3 participants