Skip to content

B-OVZP-df-docs-wikilink-corruption-and-leaks

transformWikilinks (apps/sdlc/lib/util/site_table.ts:199) is a raw-text regex with no code-span awareness: on the generated obsidian-embeds reference page it rewrote the inline-code example file into a broken file span, destroying the documentation of the syntax it processes. Coverage is opt-in per call site and most sites never opted in, leaving 198 raw wikilink markers across 47 generated files: roster summary cells (EntityView.summary is never transformed), all 88 skill reference pages, child-page frontmatter descriptions, and fragment-only [[#^id]] links the regex cannot match. transformWikilinks has no dedicated unit test, and the integration fixtures were too narrow to catch any of this. A correct fix requires an AST — see the convergence entry (staged obsidian-md Option B).


← Back to Backlog