The previous single-pattern approach used a greedy `[^.\x60]*` segment that mis-captured H3 headers without a namespace prefix (e.g. test-lib entrypoints documented as `### \`run_tests(ctx)\``). Replace with a two-pass match: pattern 1 captures `### \`ns.func(...)\`` (namespaced) and pattern 2 captures `### \`func(...)\`` (no namespace). A seen-set prevents the namespace-less pass from re-matching names already collected by the namespaced pass. Enables test-libs to declare a public surface in their READMEs and satisfy --lint's missing-docs check. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6.7 KiB
6.7 KiB