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, andmkdocs-material. - Ensure Node.js and
dockerare 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¶
- Lint every shell script and Compose topology:
- Verify Markdown LaTeX math, security, and governance checks:
- Build and check the offline GitHub Pages bundle:
- Build and verify both English and French MkDocs Material sites:
- Check that your branch diff stays below the 15,000-character limit:
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:
Related Reference¶
Inspect technical failure codes and governance records in Reference Index.