df0fabd4fb
Add repo-local northstars and ready slices for testing strategy, LSP/editor completion, and hemplate highlighting boundaries.
1.4 KiB
1.4 KiB
id, type, status, parent, title, refs
| id | type | status | parent | title | refs | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| SLICE-0008 | slice | ready | NS-0002 | Surface cross-file facts without replacing build validation |
|
Objective
Define and prove the handoff between editor-visible template facts and cargo check/hemx-build completeness checks for template/handler references.
Authority
REQUIREMENTS.md check/001, check/003, diagnostics/004, and diagnostics/005 require cross-file references visible to build validation to fail at cargo check with useful spans, while editor overlays remain optional glue.
Close when
- A test fixture demonstrates a template/handler reference that editor diagnostics can surface and
cargo check/build validation also rejects. - The LSP path reports useful spans without becoming the global source of truth.
- Global completeness boundaries remain component-scoped unless mount/tests are needed.
Verification
cargo test -p hemx-lspcargo check --workspaceor a focused compile-fail/build fixture when build validation changes.
Non-goals
- Do not make the LSP own Rust type checking.
- Do not create a persistent project index unless a later slice proves it is required.
Evidence
docs/diagnostics.md and hemx-build diagnostics define the authority boundary that editor support must reflect.