Salsa stores generated graph Mermaid strings
Platform spec ADR
Salsa stores generated graph Mermaid strings
Spec standingStandard
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).
Context
Section titled “Context”LSP getProjectGraph rebuilt domain graphs from disk on every call. CLI printed a flattened ASCII tree from CompilePlan, losing multi-hop structure.
Decision
Section titled “Decision”graph_fingerprintandgraph_mermaidare#[salsa::tracked]queries inbeskid_queries::graph.- LSP and CLI must read graphs through
compilation_db, not ad-hoc rebuilds. - Invalidation follows
ManifestGenerationId,FileText, and assembly/composition revision inputs per graph kind.
Consequences
Section titled “Consequences”- Extension and CLI share the same cached Mermaid revision.
- Manifest or lock edits invalidate project/workspace graphs without full process restart.
Status
Section titled “Status”Accepted — extends ADR D-COMP-BUILD-0021.