* feat(mcp): coverage_gaps tool (LPR-483)
Answers "what are we blind to?": ATT&CK parent techniques no current
hunt covers, optionally for an actor, tactic and platform. A hunt on any
sub-technique covers its parent. Gaps are ranked by how many ATT&CK
groups use them; Reconnaissance and Resource Development are left out
unless asked for. With data_sources it also lists covered techniques
whose hunts all need sources the team lacks.
The gap rule lives in src/lib/coverage-gaps.ts and hunts_for_actor now
uses it too, so both tools report the same gaps for an actor. The
site's Actors page keeps computeGap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs(mcp): document coverage_gaps; release 0.2.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(mcp): coverage_gaps review fixes
- Retired hunts never count as coverage, including in hunts_for_actor
with include_retired, so both tools agree.
- Read revoked technique ids in actor profiles as their replacement
(37 actors still list T1562.001 / T1562.004).
- Say when an actor has no techniques to measure instead of returning
an empty gap list that reads as full coverage.
- A hunt with no known data sources keeps its technique out of cant_run.
- Clearer output descriptions; tests pin the tactic and platform enums
to the ATT&CK data; golden test no longer assumes <= 100 gaps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>