OptionalbaseDiff range for delta-aware checks; undefined → full-repo scan.
OptionalcachePer-run memoization cache for identical git invocations (many checks diff
the same range). Created once per runChecks; safe because git state is
stable within a run. Keyed by the git args.
OptionalcheckDisplay names of the checks in this run, for the one check that reasons about
the others (Config Validation, verifying severity keys).
Passed down rather than imported: a check importing the registry would close
the loop registry → check → registry, and it also lets custom checks supplied
through RunOptions.checks be validated like built-in ones.
Merged pr-checkmate.json + defaults.
Repository root the checks operate on.
OptionalheadLanguages detected (or supplied) for this repo — drives applies gating.
OptionalscopeWhat this run is looking at, and why. Optional so hand-built contexts stay terse.
OptionalusageThe same detection with its evidence — file counts per language. Read by the install layer, which must not confuse "this language is here" with "this language is worth a toolchain download". Absent on hand-built contexts.
When false, checks that would modify files (prettier, --fix) run read-only or skip the write.
Everything a check needs to run. Assembled once by
buildContextand shared across all checks — no check readsprocess.cwd()orprocess.envdirectly.