Chapter 18 · build contribute

Validation, testing, and review quality

Require schema, graph, safety, language, runtime, and user-experience quality together.

1 min read·Updated 2026-07-24·2 role paths
01

Required command set

bash
npm run validate:docs
npm run validate:playbooks
npm run typecheck
npm run test
npm run dev

The documentation validator checks frontmatter, categories, role aliases, duplicate slugs, required content, and publication links. The playbook validator checks JSON structure, graph targets, domain isolation, question counts, and protected contracts.

02

Reviewer responsibilities

Record 01
Reviewer
Domain reviewer
Primary focus
Technical accuracy, evidence logic, expected signals
Record 02
Reviewer
Safety reviewer
Primary focus
Access, controlled change, stop conditions, preservation
Record 03
Reviewer
Documentation reviewer
Primary focus
Clarity, consistency, vendor-neutral language
Record 04
Reviewer
QA reviewer
Primary focus
Schema, graph, tests, routes, responsive behavior
Record 05
Reviewer
Maintainer
Primary focus
Project fit, release quality, attribution, merge decision
03

Knowledge-base test

A qualified operator who did not write the guide should be able to explain the current evidence state, next owner, safety gate, and validation without contacting the author.

04

Regression policy

Tests should protect behaviors and contracts, not obsolete marketing copy. A wording update should not break the suite when the same intake, isolation, or safety behavior remains present. Exact strings are appropriate only for protected names, API fields, or safety statements that must not drift.