Deleted words fail; sentence reordering needs review
The verifier handles a declared Markdown subset. It compares prose token counts, original code block bodies and counts, link destinations, and technical literals. Number or unit changes fail or warn by scope; metadata follows the same scope policy. Unsupported structures return unknown (CLI exit code 4). pass means the declared checks passed, not that meaning is equivalent.
Too long? Collapse it or move it to an appendix. Unsupported syntax or word-order changes return unknown.
$ adhd_md.py verify before.md after.md --scope=format
scope=format → unknown (exit code 4)
[unknown] token_order_changed new:3
The order change does not map to unchanged whole blocks; it may alter a condition, object, or negation.
$ adhd_md.py verify before.md missing-a-sentence.md --scope=format
scope=format → failed
[hard-fail] prose_tokens_missing count=9
items: [production, do, not, set, 0, …]
hint: these words vanished from the prose. format mode forbids deletions.
The script handles checks with clear limits
Audit, format fixes, and selected invariant checks live in one pure-stdlib Python file. The same input runs the same checks; anything outside their scope still needs human review.
Scores don't inflate themselves
At the default standard + both settings, 75 rules apply: 23 need model judgment and 7 are advisory-only. audit scores all applicable axes in the document; unjudged rules are not passes, and hints carry no points.