chore(tooling): explicitly typecheck coverage verdicts

Merged
TH
13h ago
+67-59

Summary

Typecheck coverage verdict tooling through explicit root includes while retaining full layering checks for scripts. Fix the compiler errors exposed by the new roots.

Six files changed. Review follow-up replaces duplicate exact-list pins with one root-region contract: existing application/declaration roots stay fixed; additional roots beneath scripts/ need only a tsconfig edit. Normalized paths cannot escape the scripts region.

Validation

Tested head: deac2ba071c67e29cd43e15c87f48df6eb91fd68; rebased onto 22ae872676, including the shared Coverage repair (#3653).

  • pnpm check:affected --base 22ae872676 --head deac2ba071 --run: passed.
  • Project-reference/layering tests: 21 passed.
  • Planted configurations: a new scripts family passed; unsupported roots, root exclusions, and scripts-prefixed traversal were rejected. All planted changes were removed.
  • Original compiler-error mutations were rejected by typecheck; explicit roots covered all 13 matched coverage-tooling files (11 newly compiled).

Full scripts R11 enforcement remains enabled. This is tooling-only; device validation does not apply. CI must pass on this head before merge.