<!-- caduceus:design-template-version 0.6.3 -->

# Clean change fixture — design.md

## §1 Helper signature

`dedupeFindings(findings: ReadonlyArray<LensFinding>): LensFinding[]`.

The key is `${severity}|${summary}|${location}|${line ?? ""}`.

## §2 Wire-in

In `risk.run`, call `dedupeFindings` before the 20-finding cap.

## §3 Test fixtures

`tests/lens/risk.test.ts` adds a unit test for the helper.
