Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Salsa stores generated graph Mermaid strings

Platform spec ADR

Salsa stores generated graph Mermaid strings

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

LSP getProjectGraph rebuilt domain graphs from disk on every call. CLI printed a flattened ASCII tree from CompilePlan, losing multi-hop structure.

  1. graph_fingerprint and graph_mermaid are #[salsa::tracked] queries in beskid_queries::graph.
  2. LSP and CLI must read graphs through compilation_db, not ad-hoc rebuilds.
  3. Invalidation follows ManifestGenerationId, FileText, and assembly/composition revision inputs per graph kind.
  • Extension and CLI share the same cached Mermaid revision.
  • Manifest or lock edits invalidate project/workspace graphs without full process restart.

Accepted — extends ADR D-COMP-BUILD-0021.