Skip to content

fix: derive SDD budgets and traceability from the case inventory - #696

Merged
efraespada merged 1 commit into
developfrom
bugfix/695-sdd-draft-generation-repeatedly-disagrees-with-its-own-case-budget-and-traceability
Oct 25, 2026
Merged

efraespada merged 1 commit into
developfrom
bugfix/695-sdd-draft-generation-repeatedly-disagrees-with-its-own-case-budget-and-traceability

Conversation

@efraespada

@efraespada efraespada commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Pre-branch SDD drafting now derives case budgets and reciprocal requirement links from one explicit inventory before the existing publication checks run. This addresses repeated consistency failures without reducing resolved scope or weakening validation.

What changed

  • Generate exact per-area counts, totals, and reciprocal requirement links from the case inventory while preserving its definitions.
  • Keep existing publication checks and the shared repair; enforce the character limit on both raw and assembled drafts.
  • Add regression coverage and update the SDD, catalog, and drafting documentation.

Validation

  • Normal commit hooks: build, lint, and all 715 Jest suites passed (12,107 passed; 35 skipped).
  • Focused suites: 166 passed; both changed runtime modules have 100% statement, branch, function, and line coverage.
  • Typecheck, specification/catalog validation, documentation validation, generated-bundle check, npm package validation, and package smoke passed.
  • A deterministic provider fixture assembled the prepared ✨🧑‍💻 - Specify a cross browser GitHub extension usability features MVP and Action integration #694 SDD and passed the real immutable Git workspace/catalog validator at b76ccec; all 96 cases were retained. This does not establish live model or extension-runtime acceptance.

Review notes

Closes #695

…e-budget-and-traceability: derive SDD budgets and traceability from one case inventory
@docs-page

docs-page Bot commented Oct 25, 2026

Copy link
Copy Markdown

To preview the documentation for this pull request, visit the following URL:

docs.page/vypdev/copilot~696

Documentation is deployed and generated using docs.page

@vypbot vypbot added the size: L Indicates a large-sized task or issue that requires significant effort and time. label Oct 25, 2026
@vypbot
vypbot self-requested a review October 25, 2026 09:18
@vypbot vypbot added this to vypdev Oct 25, 2026
@vypbot vypbot moved this to In Progress in vypdev Oct 25, 2026
@vypbot
vypbot changed the base branch from develop to master October 25, 2026 09:19
@vypbot vypbot added the 85% Progress: 85% label Oct 25, 2026
@vypbot
vypbot changed the base branch from master to develop October 25, 2026 09:19
@vypbot

vypbot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Bugbot: review complete

Current status: No active findings on 9e2c15d.

Pull request · Verified commit · Workflow run

@vypbot

vypbot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Copilot approval · Human review needed

Status: A protected workflow, policy, or trust-boundary file changed.
Completed: 1/1 observed checks succeeded; Bugbot complete.
Action required: Ask a human reviewer to decide.
Impact: No new approval is confirmed for this revision.
See checks

Technical evidence

Revision: 9e2c15d5183f; base: b76ccecbcf73; reason: protected-path.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.19%. Comparing base (274db40) to head (9e2c15d).
⚠️ Report is 1656 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #696      +/-   ##
===========================================
+ Coverage    90.94%   94.19%   +3.24%     
===========================================
  Files          135      976     +841     
  Lines         6251    31741   +25490     
  Branches      1338     9321    +7983     
===========================================
+ Hits          5685    29897   +24212     
- Misses         172      702     +530     
- Partials       394     1142     +748     
Files with missing lines Coverage Δ
...tion/usecases/sdd/pre_branch_sdd_draft_workflow.ts 100.00% <100.00%> (ø)
src/domain/sdd_draft_consistency.ts 100.00% <100.00%> (ø)

... and 1041 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@efraespada
efraespada merged commit c78f75c into develop Oct 25, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in vypdev Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

85% Progress: 85% size: L Indicates a large-sized task or issue that requires significant effort and time. state:verified

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

🐛🧑‍💻 - SDD draft generation repeatedly disagrees with its own case budget and traceability

3 participants