pub fn repair_citations(
out_dir: &Path,
symbols: &[Symbol],
) -> Result<CitationRepairSummary>Expand description
Public entry: re-anchors every generated page’s citations against the
current symbols, using the index snapshot persisted in the vault meta to
identify which symbol each stale citation named. No regeneration, no LLM —
this is the routine the codewiki --repair-citations flag (Leaf 5 / #876)
drives. A vault with no persisted snapshot (unwrap_or_default) cannot
identify moved symbols, so its stale citations all count as unresolved.