Overview
Trace the complete traceability chain for an artifact: REQ → UC → WF → API → BDD → INV → ADR → TASK → COMMIT → CODE → TEST. Identifies breaks in the chain and reports completeness status. This tool validates that an artifact has proper end-to-end traceability from requirements through implementation to testing, following the expected SDD pipeline progression.Parameters
The artifact ID to trace (e.g.
REQ-AUTH-001, UC-003)Response
Overall traceability status:
COMPLETE- No breaks in the chainPARTIAL- 1-2 breaks in expected linksFRAGMENTED- 3 or more breaks
Number of levels present in the chain
Total number of artifacts connected to the root
Traceability chain organized by level
Chain level:
REQ, UC, WF, API, BDD, INV, ADR, TASK, COMMIT, CODE, TESTIdentified chain breaks (missing links)
Examples:
"Missing UC link upstream of REQ""Missing BDD link downstream of UC""Missing CODE link downstream of TASK"
List of artifact types present in the chain
List of artifact types missing from the chain
Chain order
The expected traceability progression:- REQ - Requirements
- UC - Use Cases
- WF - Workflows
- API - API Specifications
- BDD - BDD Scenarios
- INV - Invariants
- ADR - Architecture Decision Records
- TASK - Tasks
- COMMIT - Git Commits
- CODE - Code References
- TEST - Test References
Examples
Trace a requirement end-to-end
Trace a use case
Trace a task to verify completion
Understanding chain breaks
The tool identifies missing links in the expected chain:Critical breaks
These indicate serious traceability gaps:- Missing UC - Requirement has no implementing use case
- Missing BDD - No verification scenario exists
- Missing CODE - No implementation found
- Missing TEST - No test coverage
Optional levels
Some levels are optional depending on your artifact type:- WF (Workflow) - Not all use cases need explicit workflows
- API - Only needed for API-centric features
- INV (Invariants) - System-level constraints
- ADR - Only needed for significant architectural decisions
TypeScript types
How it works
- Bidirectional traversal: Starting from your artifact, the tool traverses both upstream (dependencies) and downstream (dependents) relationships
- Chain assembly: All connected artifacts are organized by their type level according to the expected progression
- Virtual levels: CODE, TEST, and COMMIT references are included as virtual chain levels, extracted from artifact metadata
- Break detection: The tool compares the found chain against the expected progression and identifies missing critical links
-
Status assessment:
COMPLETE- All expected links presentPARTIAL- 1-2 breaks (usually fixable)FRAGMENTED- 3+ breaks (needs significant work)
See also
- sdd_context - Get detailed context to fix breaks
- sdd_coverage - Analyze coverage across domains
- sdd_impact - Understand impact of adding missing links