feat(engine): fixture-path dead links are SKIP, not WARN

A file living under test/, tests/, fixtures/, or a *golden* path is
presumed to break its own links on purpose. nav-golden-escape/bundle/
index.md's deliberate `../../../../etc/passwd` escape pops the whole
base path instead of resolving to null, so it read as a genuine WARN
against three repos in the org — the check was at fault, not them.

The finding still fires, as LINK-INTERNAL-FIXTURE at SKIP with file
and line, so it is never silently dropped. Measured before shipping:
16 LINK-INTERNAL-* findings before, 16 after, across all 20 local
clones — every one converted 1:1, none disappeared.

135 tests (was 129).
This commit is contained in:
Kjell Tore Guttormsen 2026-08-09 14:31:18 +02:00
commit 9eb210bb01
4 changed files with 105 additions and 8 deletions

View file

@ -167,7 +167,7 @@ without that, a raw scan turns three dead names into about twenty.
npm test
```
129 tests over the pure classifiers. The reference fixtures are measured false
135 tests over the pure classifiers. The reference fixtures are measured false
positives, each with its expected verdict — the six that produced the
three-outcome reference rule, plus the noise sources found by running the gate
against a real repository: regexes inside code spans that are markdown links to