✨ feat(pariksha): regression-controls, the targeted-control check (W-59)

Merged
AT
14d ago
+1177-10

Slice: #180

W-59: two pariksha changes a consumer needs before its own regression-controls check and its shared settings can move here.

  • pariksha regression-controls keeps a registry of targeted controls whole. Each control has a bad, fixed, near-miss and guard-flip case, and each title must be a live it/test call read from the syntax tree. The file may not skip a case, and the guarded file must exist. gates and requiredFindings live in the registry and are required; null opts either one out. TypeScript is the optional peer.
  • Selection widening for untracked settings: when git does not track a check's settings file (for example one a package holds under node_modules/), the top-level package.json now stands in for it. A pin bump then re-judges every file.

After merging main (which added repo-rules and released 0.7.0), pnpm --dir packages/pariksha run check passes 3741 of 3741 tests. Coverage is 100% for regression-controls.ts and selection.ts, and 99.95% of lines and 98.74% of branches overall. pariksha boundary, repo-rules and required-settings pass.

The version is main's 0.7.0. The release takes the next free slot after this merges.

🤖 Generated with Claude Code