Auto-Sync Coverage
1. Detect Drift
- Compare the current scenario list against the approved coverage plan.
- Compare the current documentation files against the approved coverage plan.
- Identify added, removed, renamed, and unmatched scenarios.
2. Repair Traceability
- Update requirement and contract mappings.
- Preserve stable identifiers where possible.
- Mark orphaned cases explicitly instead of deleting them silently.
3. Recalculate Coverage
- Recount covered and uncovered requirements.
- Recount covered and uncovered operations or faults.
- Surface residual risk after the sync.
4. Troubleshooting
- Problem: Scenario names changed but IDs did not. Fix: Prefer stable IDs and update display titles only.