pub struct CrossLink {
pub from_project: String,
pub from_key: String,
pub from_name: String,
pub kind: String,
pub confidence: Option<f64>,
pub to_qualified: String,
pub resolves: bool,
}Expand description
One cross-repo edge the workspace vault can actually follow: a spoke’s node linking to a hub’s, through the external-ref placeholder ADR-0009 persists.
Collected by the caller, which has every member’s store open; the renderer
only lays them out. Nothing here is a new edge — these are the inferred
links roteiro links already reports, rendered for the first time.
Fields§
§from_project: StringThe member the edge starts in.
from_key: StringThe source node’s key, within from_project.
from_name: StringThe source node’s display name.
kind: StringThe edge kind (links, …).
confidence: Option<f64>Confidence, for an inferred edge.
to_qualified: StringThe project-qualified target, <project>::<key> (ADR-0009).
resolves: boolWhether to_qualified’s project is a member of this workspace — and so
whether the link resolves to a note in this vault, or dangles because the
target repository is outside it.