Skip to main content

Crate code_system_graph_model

Crate code_system_graph_model 

Source
Expand description

Stable domain contracts for Code System Graph’s federated boundary graph.

Structs§

ArtifactChange
Planned incremental action for one artifact identity.
ArtifactFingerprint
Fingerprint of one extractor-relevant artifact.
CheckoutId
Stable identifier for one repository checkout or linked worktree.
Community
One versioned and explainable graph community.
CommunityChange
Explainable community change between immutable snapshots.
CommunityConfig
Versioned reproducibility inputs for one community analysis.
CommunityDelta
Community delta between two snapshots.
CommunityEdgeWeight
Explicit weight assigned to one relationship kind during community detection.
CommunityId
Stable identifier for a detected graph community.
CommunityLabelEvidence
Evidence explaining a deterministic community label.
CommunityMetrics
Quantitative properties of one detected community.
CommunitySnapshot
Complete community analysis tied to one immutable graph snapshot.
Edge
Relationship in the federated graph.
EdgeId
Stable identifier for a federated graph edge.
Evidence
Auditable evidence supporting a node or edge.
EvidenceId
Stable identifier for an evidence record.
EvidenceRef
Stable reference to evidence used by a linker decision.
ExtractorRun
Persisted metrics for one extractor execution or skip decision.
FreshnessSummary
Aggregate freshness attached to a public result.
LinkDecision
Versioned and explainable record of a linker match or suppression.
NativePath
Lossless native path plus a diagnostic-only display form.
Node
Entity in the federated graph.
NodeId
Stable identifier for a federated graph node.
RejectedAlternative
Exact candidate considered but not selected by a linker matcher.
RepoFreshness
Snapshot freshness recorded for one repository checkout.
RepoId
Stable identifier for a registered repository.
RepositoryRecord
Deterministic identity and checkout metadata for one registered repository.
StoredExtractorBatch
Opaque, versioned output owned by one extractor input.
ToolEnvelope
Versioned result envelope shared by CLI and MCP.
TraceReport
Bounded and explainable federated trace.
TraceSegment
One ordered segment in a federated trace.
UnsafePathDisplayError
Path display string contains unsafe metadata characters.
WorkspaceId
Stable identifier for a Code System Graph workspace.
WorkspaceRecord
Fully validated registry input for one workspace.

Enums§

ArtifactChangeKind
Incremental difference from the previous published artifact set.
CommunityAlgorithm
Community-detection algorithm selected for one reproducible analysis.
CommunityChangeKind
Material relationship between communities in two snapshots.
CommunityScope
Scope over which communities are detected.
EdgeKind
Kind of relationship represented in the federated graph.
EpistemicStatus
Confidence state attached to an assertion.
ExtractorRunStatus
Outcome of one extractor execution.
LinkStatus
Outcome of one auditable linker decision.
NativePathEncoding
Lossless platform encoding used for a native filesystem path.
NodeKind
Kind of entity represented in the federated graph.
OverallFreshness
Overall freshness of data used by a result.
Provenance
Origin of a graph assertion.
RepoFreshnessState
Freshness state for one repository checkout.
ToolStatus
Status of a public tool result.

Functions§

contains_unsafe_metadata_characters
Reports whether untrusted metadata contains control or bidirectional formatting characters.
stable_id
Produces a deterministic namespaced identifier from a canonical key.
stable_id_bytes
Produces a deterministic namespaced identifier from arbitrary canonical bytes.
validate_safe_path_display
Rejects repository-relative path display strings that are unsafe for metadata or diagnostics.