Repository navigation
fix(sdd): validate companion case and acceptance consistency - #654
Conversation
…nd-inconsistent-acceptance-mappings: validate companion case and acceptance consistency
…nd-inconsistent-acceptance-mappings: preserve appendix recovery size boundaries
There was a problem hiding this comment.
Current status: All findings originating in this review are resolved.
Last reconciled onb4e0cd3. See aggregate Bugbot status.
🤖 Bugbot review snapshot
Bugbot reported 1 potential problem when commit 3b933a5 was analyzed. This snapshot is historical; use the status block above for current state. 1 finding is linked to changed code.
Findings
- low: Require the proposed SDD path in the path inventory —
src/domain/sdd_draft_consistency.ts:158
Bugbot: review complete
|
Copilot approval · Human review neededStatus: A protected workflow, policy, or trust-boundary file changed. Technical evidenceRevision: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #654 +/- ##
===========================================
+ Coverage 90.94% 94.12% +3.18%
===========================================
Files 135 968 +833
Lines 6251 31370 +25119
Branches 1338 9203 +7865
===========================================
+ Hits 5685 29528 +23843
- Misses 172 715 +543
- Partials 394 1127 +733
🚀 New features to boost your workflow:
|
|
To preview the documentation for this pull request, visit the following URL:
|
|
/copilot sync-branch |
…olliding-case-ids-and-inconsistent-acceptance-mappings
Branch synchronized
6 verification checks passed. |
…nd-inconsistent-acceptance-mappings: require selected specification path declarations
|
/copilot recheck |
There was a problem hiding this comment.
Current status: All findings originating in this review are resolved.
Last reconciled onb4e0cd3. See aggregate Bugbot status.
🤖 Bugbot review snapshot
Bugbot reported 1 potential problem when commit a8f8dbb was analyzed. This snapshot is historical; use the status block above for current state. 1 finding is linked to changed code.
Findings
- low: Relative links with query strings are rejected —
src/domain/sdd_draft_consistency.ts:190
…nd-inconsistent-acceptance-mappings: resolve relative SDD link pathnames before checking evidence
Generated companion SDDs could publish with case IDs reused for different behavior, offsetting per-area budget errors, one-sided acceptance mappings and nonexistent documentation paths. This change validates explicit draft inventories against every owning SDD and the immutable base before publication, with one bounded repair and a specific localized non-ready result on repeated failure.
Closes #653.
What changed
Validation
Review notes
New generated candidates require visible requirement, case, path and traceability tables. Retained owner documents keep their bytes and existing formats. These checks establish structural consistency for draft publication; human review, live provider quality and consumer runtime acceptance remain separate.