Validation
Use the smallest command that matches the surface you changed.
Core Checks
bash
npm ci
make check
npm run docs:buildmake check validates index.json, confirms core repository files exist, and type-checks the MCP server.
Management Contract Checks
bash
npm run validate:index
npm run test:indexRun these after changing index.json, schemas/index.schema.json, content boundaries, registries, lifecycle rules, or interface policy.
MCP And Slack Checks
bash
npm run mcp:check
npm run mcp:test
npm run mcp:smoke
npm run slack:policy:checkRun these after changing mcp/, Slack access policy, repository loading, resource names, search behavior, or runtime startup.
Workspace Metadata Checks
bash
npm run validate:workspaces
npm run test:workspacesRun these after changing workspace records, schemas, validation rules, enums, dates, references, or suspicious secret-like key checks.
Docs Checks
bash
npm run docs:check
npm run docs:build
npm run docs:previewThe docs build should emit the VitePress site and LLM-friendly output. Preview the built site when changing navigation, sidebar structure, theme styles, or site copy.