DevVerse Validation Workflow
Inspect the current diff first. Use
git status --shortandgit diff --name-only.Read the validation matrix before running commands. @references/validation-matrix.md
Choose the smallest useful set of validations that matches the touched files.
Never use
npm run lintas a read-only validation step. It runs Prettier write mode in this repository.Prefer the constrained-environment Jest commands when needed. Use
env JEST_USE_WATCHMAN=0 npm test -- --runInBand --watchman=false.Run
python3 scripts/check_content_contract.pyfor article changes.Run
npx tsc --noEmit --pretty falsefor TypeScript, route, component, or library changes.Run
npm run buildfor page, layout, config, or global styling changes when it is worth the extra cost. If it fails because of Google font fetching, report that as an environment limitation unless there is evidence of a code regression.Report exactly what ran, what passed, what failed, and what was skipped.