Skip to content

How-To: Verify Limits, Math, and Hygiene Gates

Run this checklist before every commit to confirm Compose syntax, math rules, security, and strict EN/FR MkDocs builds.

Prerequisites

  • Install Python 3 with PyYAML, mkdocs, and mkdocs-material.
  • Ensure Node.js and docker are available for full checks.

Danger

Clean generated site/ and _site/ artifacts before staging commits, or repository limits and hygiene rules reject stale output files.

Procedure

  1. Lint every shell script and Compose topology:
make lint
  1. Verify Markdown LaTeX math, security, and governance checks:
make test
make check-math
make check-security
  1. Build and check the offline GitHub Pages bundle:
make pages-build
make pages-check
  1. Build and verify both English and French MkDocs Material sites:
make docs-build
make docs-check
  1. Check that your branch diff stays below the 15,000-character limit:
git diff main...HEAD | wc -c

Validation

Confirm all unit tests, Pages bundle checks, and dual MkDocs --strict builds exit with code 0.

Rollback

Remove generated build outputs and caches immediately:

make clean

Inspect technical failure codes and governance records in Reference Index.