docs: plan full heuristic LSP diagnostics
Rust CI JohnSlop failed CI.
Gitea/john_slop/pipeline/head There was a failure building this commit Details

This commit is contained in:
Dandaedre 2026-09-29 23:36:21 +02:00
parent 3281bd5a44
commit 344889c78f
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
1 changed files with 19 additions and 0 deletions

View File

@ -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.