feat(three-stage-scan): overlay complexity ledger without hiding sev-5

This commit is contained in:
Marius Ciepluch
2026-09-03 20:48:03 +02:00
parent 8d5599ae65
commit ad16e22c85
5 changed files with 458 additions and 1 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ This plan ships the three-stage scan without rebuilding CWE policy or the regex
## Phase 2 — Core: Map, hunter tools, sandbox (parallel after foundation)
- [ ] 2. Build the heuristic complexity map and test-tuning hints
- [x] 2. Build the heuristic complexity map and test-tuning hints
- [x] 2.1 (P) Compute per-file and per-function complexity signals
- Signals include size, nesting, surface tags, reachability, inventory-hit density as a feature not the score, and whether an adjacent test appears to exist.
- Function identity uses entry-point names when present and otherwise remains empty.