✨ feat: pariksha's generic checks run in pnpm check from its pinned release
Merged
AT
18d ago+38+38+01234567890123456789-1-1-0123456789
Slice: #297
niyam now runs veda's released repository checks, never a copy being changed (0114 spec, rule T-9; Work item #295).
What changes
package.jsonpins@veda-hq/pariksha0.5.20 exactly, as a devDependency. It resolves from the registry with an integrity hash, and the lockfile gains only pariksha itself.pnpm pariksha, whichpnpm checkand so CI run, callsnode_modules/.bin/parikshafor five checks. All five pass on niyam today:absolute-pathsaggregate-gate-needsmasked-exit-codespnpm-settingsshell-gates --all, which judges the working tree, since the default judges only what is staged
Narrower than the slice
authority-citationsis left out. Its default mode judges only staged text, so in CI it would check nothing. Over the whole tree it raises 12 findings. Ten are niyam's own product wording, such asneeds-owner: the owner decided on #7insrc/asks.tsand its tests. The other two cite approvals in a form the check doesn't count (on #50,in chat). The staged mode suits the pre-commit hook #296 adds, so it can join there once #296 merges.duplicate-testsis left out, as the slice says: it needs the TypeScript 5 compiler API.- A warning on every install: pnpm prints one unmet-peer warning, because pariksha's optional
typescript >=5.4 <6peer meets niyam's TypeScript 7.0.2. The five checks here don't use it.
Checked locally: pnpm check passes.
The pin check that covers this pin comes with #296 (veda-hq/niyam#301). Whichever of the two merges second rebases its lockfile.
🤖 Generated with Claude Code
Summary by cubic
Runs veda's released repository checks from the pinned @veda-hq/pariksha 0.5.20 release as part of pnpm check, so CI never runs a copy being changed.
- Pins
@veda-hq/parikshaexactly and runs five checks:absolute-paths,aggregate-gate-needs,masked-exit-codes,pnpm-settings,shell-gates --all; all pass today. - Leaves out
authority-citations(its staged mode checks nothing in CI, and whole-tree mode flags 12 of niyam's own product wording) andduplicate-tests(needs the TypeScript 5 compiler API). - pnpm prints one unmet-peer warning because
pariksha's optionaltypescript >=5.4 <6peer doesn't match niyam's 7.0.2; the five checks don't use it.