Skip to content

Docs compile audit: drive the remaining explicit Flow debt to zero #583

Closed

Description

@godofecht

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-error negative tests
  • 25 unverified Flow blocks
  • 18 explicitly ignored Flow blocks
  • 0 Flow-looking snippets hidden in text or 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= and from= 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-future classification
  • 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.

Activity

  1. changed the title [-]Docs compile audit: drive the 221 unverified Flow code blocks to zero[/-] [+]Docs compile audit: drive the remaining explicit Flow debt to zero[/+] on Aug 20, 2026
  2. added
    documentation
    on Aug 21, 2026
  3. added
    1.0-stabilisation
    rc1-blocker
    P1-high
    on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.0-stabilisationP1-highdocumentationrc1-blockertesting

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions