One authority.
Verification and traceability
Platform spec article
Verification and traceability
Spec standingStandard
-
Hub authority
Context
Decision
Hub owns snapshot/refresh MUST/SHOULD.
Consequences
IDE parity.
Verification anchors
beskid_lsp tests.
-
Invalidation
Context
Stale snapshots.
Decision
Invalidate on focus, manifest, lock; debounce watchers.
Consequences
Config notification.
Verification anchors
session store.
- Contracts and edge cases Strict guarantees for LSP snapshot lifecycle and refresh behavior.
- Design model Conceptual model for `Snapshot and refresh contract` and its subsystem boundaries.
- Examples Observable LSP refresh scenarios for snapshots and diagnostics.
- FAQ and troubleshooting Common LSP snapshot and refresh issues.
- Flow and algorithm End-to-end refresh flow for LSP workspace snapshots and diagnostics.
- Verification and traceability Tests and traceability for the LSP snapshot and refresh contract.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
| Section id | Required | Found |
|---|---|---|
what-this-feature-specifies | yes | yes |
implementation-anchors | yes | yes |
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Test anchors
Section titled “Test anchors”| Concern | Location |
|---|---|
| Resolver + graph | compiler/crates/beskid_tests/src/analysis/resolve.rs |
| Analysis services | compiler/crates/beskid_tests/src/analysis/pipeline/core.rs |
| Document analysis build | beskid_analysis::services unit/integration tests |
Traceability
Section titled “Traceability”| Requirement | Evidence |
|---|---|
ANALYSIS_CACHE_VERSION bump forces rebuild | Lifecycle tests or manual protocol check when version changes |
| Skip directories during scan | should_skip_dir_for_scan unit coverage in workspace_scan.rs |
| Invalidation on manifest change | backend.rs configuration handler paths |
| Diagnostic debounce | Revision counter logic in schedule_publish_diagnostics |
Manual verification
Section titled “Manual verification”- Open multi-file project; edit one file; confirm diagnostics update after pause.
- Change
Project.proj; confirm all open files refresh. - Compare
beskid analyzeoutput to LSP Problems for same snapshot generation.
Spec updates
Section titled “Spec updates”Changes to cache keys, skip lists, or debounce intervals must update this article and the VS Code extension status contract when user-visible phases change.