Run these commands from the repository root. They are the maintainer-facing verification surface for Phase 1 and later staging checks.
npm run lint
npm run typecheck
npm test
npm run buildnpm run lintruns the Next.js ESLint configuration.npm run typecheckruns TypeScript withtsc --noEmit.npm testruns the Jest suite configured throughnext/jest.npm run buildruns the Next.js production build.
npm run verify:setup
npm run verify:services
npm run verify:services:strict
npm run verify:axinomnpm run verify:setupchecks Node >=20.9.0, npm availability, expected root setup files, Prisma schema presence,.env.example,docs/env-matrix.md, and required root package scripts.npm run verify:servicesderives service groups and required variable names fromdocs/env-matrix.md. In default local mode, missing external service credentials printSKIP <service>: missing VAR_NAMEmessages and the command exits 0.npm run verify:services:strictruns the same env-matrix-derived checks with strict failure semantics. It exits nonzero when required service groups are missing variables.CI=trueapplies the same strict-fail behavior.npm run verify:axinomvalidates Axinom-specific canonical env configuration and skips live API calls by default. Usenpm run verify:axinom -- --strictfor staging-style env validation andnpm run verify:axinom -- --strict --liveonly when real Axinom trial tenant values are intentionally configured.
Service verification reports missing variable names only. It must not print env values, tokens, connection strings, masks, or service-account material.
npm run secrets:inventory
npm run secrets:scannpm run secrets:inventoryinventories sensitive-looking paths and categories without reading or printing secret values.npm run secrets:scanruns the local secret scanning gate. Scanner output must be redacted and suitable for maintainer review without exposing matched values.
npm run verify:setup
npm run verify:services
npm run verify:axinom
npm run lint
npm run typecheck
npm test
npm run build
npm run secrets:inventory
npm run secrets:scanUse npm run verify:services:strict when validating staging readiness or CI completeness. Strict service verification may fail on a local placeholder-only checkout until real service credentials are configured.