Function: detectSpecOverlap()
detectSpecOverlap(
changes):OverlapReport
Defined in: packages/core/src/domain/services/detect-spec-overlap.ts:14
Detects specs targeted by multiple active changes.
Builds an index of spec ID to changes, filters to specs with more than one change, and returns a sorted overlap report. Pure function — no I/O.
Parameters
changes
readonly Change[]
Active changes to check for overlap
Returns
An overlap report with entries for each overlapping spec