Convert pre-computed raw issues (from db::semantic::semantic_issues) into
LSP diagnostics, applying the user’s DiagnosticsConfig filter. Keeping
filter + conversion outside the salsa query preserves memoization across
config toggles (the user flipping a category must not rerun the analyzer).
Run semantic checks on doc against the supplied AnalysisSession.
Ingests the current file, runs Pass 2 via FileAnalyzer, and returns LSP
diagnostics filtered by DiagnosticsConfig.