Repository navigation
Description
The compiler-backed documentation audit is now merged via #579.
The old baseline in this issue (221 unverified blocks) is obsolete. The final zero-debt audit on the merged content reported:
- 591 verified Flow blocks
- 9 verified
expect-errornegative tests - 25 unverified Flow blocks
- 18 explicitly ignored Flow blocks
- 0 Flow-looking snippets hidden in
textor untyped fences
Normal PR CI now uses the documentation ledger as a ratchet: new or edited examples may not introduce new unverified Flow, while existing debt remains visible without bricking unrelated pull requests. scripts/check_doc_examples_strict.py remains the explicit zero-debt target and fails until both unverified and ignored ordinary flow fences are eliminated.
Major audit infrastructure already landed:
- page-scoped
id=/uses=context for progressive examples preamble=andfrom=support- imports and C-import resolution in the verifier
- parse -> strict type check -> C generation -> clang verification
- runtime execution of complete documentation programs
- explicit
flow-pseudocode/flow-futureclassification - hidden-Flow fence detection
- meaningful-failure reporting rather than first-wrapper noise
Remaining debt should be resolved through narrow compiler/stdlib/doc issues rather than another mega-rewrite. Known implementation blockers include #590 (pthread / imported C declarations), #586 (numeric decorator arguments), and other failures surfaced by the strict report. Existing intentional future notation should be moved out of ordinary flow fences rather than hidden or ignored indefinitely.
Acceptance criterion remains: python3 scripts/check_doc_examples_strict.py passes with every ordinary flow block either positively compiler-checked or a verified expect-error negative test; no ignore= debt and no hidden Flow-looking fences remain.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]Docs compile audit: drive the 221 unverified Flow code blocks to zero[/-][+]Docs compile audit: drive the remaining explicit Flow debt to zero[/+]