From f605c9ee74f8d08dcbabe340ae513f7b8fd294eb Mon Sep 17 00:00:00 2001 From: slhx agent Date: Fri, 26 Jun 2026 00:10:55 +0200 Subject: [PATCH] docs(work): mark completed lsp slices Update workledger status for completed diagnostics, completion, hover, and protocol LSP slices. --- work/slices/SLICE-0005-lsp-diagnostics-parity.md | 4 ++-- work/slices/SLICE-0006-lsp-completion-surface.md | 4 ++-- work/slices/SLICE-0007-lsp-hover-surface.md | 4 ++-- work/slices/SLICE-0009-lsp-protocol-contract.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/work/slices/SLICE-0005-lsp-diagnostics-parity.md b/work/slices/SLICE-0005-lsp-diagnostics-parity.md index 52c9ba9..a89c2ed 100644 --- a/work/slices/SLICE-0005-lsp-diagnostics-parity.md +++ b/work/slices/SLICE-0005-lsp-diagnostics-parity.md @@ -1,7 +1,7 @@ --- id: SLICE-0005 type: slice -status: ready +status: done parent: NS-0002 title: Prove LSP diagnostics parity with hemx-build refs: @@ -40,4 +40,4 @@ Make LSP diagnostics a faithful editor transport for `hemx-build` diagnostics ac ## Evidence -`hemx-lsp/src/main.rs` already has diagnostics CLI and LSP publish paths that can be covered with protocol tests. +Done at commits `6cf800c` and verified again at `38794cf` with `cargo test -p hemx-lsp`: protocol tests cover build-equivalent diagnostics publishing on `didOpen`/`didSave`, clearing on `didChange`/`didClose`, and file-backed `didSave` without in-memory text. diff --git a/work/slices/SLICE-0006-lsp-completion-surface.md b/work/slices/SLICE-0006-lsp-completion-surface.md index 86795cf..9fc54a7 100644 --- a/work/slices/SLICE-0006-lsp-completion-surface.md +++ b/work/slices/SLICE-0006-lsp-completion-surface.md @@ -1,7 +1,7 @@ --- id: SLICE-0006 type: slice -status: ready +status: done parent: NS-0002 title: Complete context-aware hemplate completions refs: @@ -37,4 +37,4 @@ Make completion useful for the real hemplate surface: directives, dynamic attrib ## Evidence -`hemx-lsp/src/main.rs` already exposes `completionProvider` and `hemplate_completion_items` anchors. +Done at commit `baf4b15` and verified again at `38794cf` with `cargo test -p hemx-lsp`: completion tests cover documented hemplate directives, dynamic attributes, expression snippets, `data-hemx-root`, `data-hemx-slot`, `data-hemx-form`, and `data-hemx-handle` through helper and protocol paths. diff --git a/work/slices/SLICE-0007-lsp-hover-surface.md b/work/slices/SLICE-0007-lsp-hover-surface.md index ad061b0..be762e0 100644 --- a/work/slices/SLICE-0007-lsp-hover-surface.md +++ b/work/slices/SLICE-0007-lsp-hover-surface.md @@ -1,7 +1,7 @@ --- id: SLICE-0007 type: slice -status: ready +status: done parent: NS-0002 title: Complete hover help for documented hemplate facts refs: @@ -36,4 +36,4 @@ Make hover explain the real `.heml` facts that contributors see in templates wit ## Evidence -`hemx-lsp/src/main.rs` already exposes `hoverProvider` and `hemplate_hover` anchors. +Done at commit `258524f` and verified again at `38794cf` with `cargo test -p hemx-lsp`: hover is token-position aware and tests cover documented hemplate facts while ordinary HTML remains left to normal editor tooling. diff --git a/work/slices/SLICE-0009-lsp-protocol-contract.md b/work/slices/SLICE-0009-lsp-protocol-contract.md index bde2375..9e6209d 100644 --- a/work/slices/SLICE-0009-lsp-protocol-contract.md +++ b/work/slices/SLICE-0009-lsp-protocol-contract.md @@ -1,7 +1,7 @@ --- id: SLICE-0009 type: slice -status: ready +status: done parent: NS-0002 title: Harden LSP protocol behavior refs: @@ -36,4 +36,4 @@ Make `hemx-lsp` predictable as an LSP server: initialize capabilities, document ## Evidence -The current LSP loop is small and testable through in-memory readers/writers. +Done at commit `e77ddd4` and verified again at `38794cf` with `cargo test -p hemx-lsp`: protocol tests cover initialize capabilities, shutdown, unknown request errors, diagnostics lifecycle, completion, and hover framing.