Audit Finding (API Design, Medium)
Location: crates/agnix-lsp/src/backend.rs:191
When files are closed or skipped, the server publishes empty diagnostics with version: None. Per LSP spec, publishing without a version can cause stale diagnostics to persist in clients that cache by version.
Fix: Track document versions in the document cache and pass them to publish_diagnostics.
Found by /audit-project
Audit Finding (API Design, Medium)
Location:
crates/agnix-lsp/src/backend.rs:191When files are closed or skipped, the server publishes empty diagnostics with
version: None. Per LSP spec, publishing without a version can cause stale diagnostics to persist in clients that cache by version.Fix: Track document versions in the document cache and pass them to
publish_diagnostics.Found by
/audit-project