docassert
Unit testing for business documents. Charters, requirements, risk registers — validated like code, on every pull request. Deterministic checks gate the merge; AI checks advise. Status is derived, never typed.
pipx install docassert # or: pip install docassert docassert new project --code AUR --name "Aurora" docassert new charter --project PRJ-001-AUR docassert validate documents/**/*.md ✓ All structural checks passed — clear to merge.
Commands
| new | scaffold a document from its template, identity filled in |
| validate | unit-test documents against their kind's criteria |
| consistency | cross-document traceability, coverage, profile completeness |
| rtm | generate the requirements traceability matrix |
| status | derive per-project RAG from the documents |
| pages | build a portfolio dashboard + a page per project |
| extract | pull plain text from .docx / .pdf for conversion |
| init | scaffold the default criteria / schemas / profiles into a repo |