Diff-time append-only detectors. Exactly two guards:
append/requirement_deleted— a requirement id present at base is absent on HEADappend/must_downgraded— a requirement'sprioritymoves frommusttoshould
Either finding is suppressed only by an ADR with status: accepted
whose affects: names the requirement id or its subject id. There is
no weakening-class enum and no change_type requirement.
analyze/2 is a total function over (prior_index, current_index).
Both arguments are index-shaped maps ("subjects", "decisions").
The module has no Git I/O.
Summary
Functions
Diffs prior against current and returns the two append-only
findings that are not authorized by a HEAD-side accepted ADR.
Functions
@spec analyze(map(), map()) :: [Ancora.Finding.t()]
Diffs prior against current and returns the two append-only
findings that are not authorized by a HEAD-side accepted ADR.