From 344889c78f29fdfc5d8285703797d70de5d6f322 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Tue, 29 Sep 2026 23:36:21 +0200 Subject: [PATCH] docs: plan full heuristic LSP diagnostics --- tasks.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tasks.md b/tasks.md index a3d6d3e..4eb3fde 100644 --- a/tasks.md +++ b/tasks.md @@ -465,6 +465,25 @@ checked-in output byte for byte. Formatting, Clippy, rustdoc, both feature matrices, and Tarpaulin passed; production coverage remains 92.23% (1,342/1,455 lines). +## Milestone 19 — Full heuristic LSP diagnostics + +- [ ] Extend the LSP publication pipeline from replacement-only warnings to all + enabled detector findings applicable to the open document, including style, + prompt-leakage, and source-code rules. Compile the detector once per resolved + configuration, infer applicability from file URIs and editor language IDs, + map configured severities and stable heuristic IDs into LSP diagnostics, and + preserve versioned ASCII quick fixes only for findings with replacement edits. + Amend the original replacement-only protocol decision and update editor, + usage, architecture, limitation, help, and contributor documentation. + +Acceptance: `repeated-transition` and the other configured heuristics appear on +open, accepted changes, and successful configuration reloads with exact UTF-16 +ranges, configured severity, remediation text, stable `john-slop` codes, and +version metadata; replacement findings are not duplicated and retain formatter- +equivalent quick fixes; prose/source applicability is tested for file and +untitled documents; stale-action, close, concurrency, and failed-reload behavior +remain intact; both feature matrices and the coverage floor pass. + ## Deferred by design - Statistical or model-based authorship classification.