Filed by the director seat under the #7974 ruling (decision batch #70, 2026-09-07). Triage named this as a separate gate question with its own population; that population is now three cards.
The blind spot
check-doc-snippet-types.mjs compiles fenced blocks in Markdown documents. It does not read:
Scope
- Extend the gate (or add a sibling) to extract
@example blocks from exported symbols' JSDoc under packages/*/src/** and compile them against the built types, with the same ledger / exemption discipline the Markdown gate uses (UNGATED_DOCS-style burn-down if the first run is large).
- Template-literal code: decide per case whether to extract (a fenced marker inside the literal) or to exempt with a reason; do not attempt to parse arbitrary strings.
- First run: report the count of failing examples on this card before enforcing; enforce with a ledger that only shrinks.
Acceptance
Refs #7974, #7976, #7977, #5174.
Filed by the director seat under the #7974 ruling (decision batch #70, 2026-09-07). Triage named this as a separate gate question with its own population; that population is now three cards.
The blind spot
check-doc-snippet-types.mjscompiles fenced blocks in Markdown documents. It does not read:@exampleblocks in.ts/.tsxsources — finding(mobile):useSpecGesture's own@examplepasses a scalarswipe.direction, which its declaredSpecSwipeDirection[]rejects — and the implementation carries the lenient cast that hides it #7974:packages/mobile/src/useSpecGesture.ts:72shipped an example that fails TS2322 and was never compiled by anything;Export to Reactpage documents a clipboard the command never writes, and an example missing the side-effect import #7977 (mdx "Output Example"):tscsees a string, not code.Scope
@exampleblocks from exported symbols' JSDoc underpackages/*/src/**and compile them against the built types, with the same ledger / exemption discipline the Markdown gate uses (UNGATED_DOCS-style burn-down if the first run is large).Acceptance
useSpecGesture's own@examplepasses a scalarswipe.direction, which its declaredSpecSwipeDirection[]rejects — and the implementation carries the lenient cast that hides it #7974's example (post-fix) is compiled by the gate and a planted scalardirectionfails itRefs #7974, #7976, #7977, #5174.