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

newscaffold a document from its template, identity filled in
validateunit-test documents against their kind's criteria
consistencycross-document traceability, coverage, profile completeness
rtmgenerate the requirements traceability matrix
statusderive per-project RAG from the documents
pagesbuild a portfolio dashboard + a page per project
extractpull plain text from .docx / .pdf for conversion
initscaffold the default criteria / schemas / profiles into a repo