Expand description
Core domain types shared across the entire Vibe-Graph workspace.
Structs§
- Cell
State - Captures the state of an individual cell in the LLM cellular automaton.
- Change
Indicator State - State for animating change indicators.
- Constitution
- Canonical definition of governing rules in effect for a graph.
- Degree
Sampler - A sampler that counts each node’s direct neighbors (degree centrality). Demonstrates the pattern and is useful as a lightweight structural signal.
- EdgeId
- Identifier for edges within the
SourceCodeGraph. - GitChange
Snapshot - Snapshot of git changes for an entire repository.
- GitFile
Change - Represents a single file change detected in git.
- Graph
Edge - Represents connections between graph nodes.
- Graph
Node - Captures metadata for a node in the graph.
- Metadata
Sampler - A sampler that extracts metadata from nodes as-is, useful for exposing node properties (language, extension, has_tests) into the annotation pipeline without transformation.
- Neighbor
Ref - A neighbor node together with the edge that connects it.
- NoOp
Sampler - A sampler that produces no artifacts — useful as a pipeline placeholder and for testing.
- NodeId
- Identifier for nodes within the
SourceCodeGraph. - Sample
Artifact - Typed output produced by a sampler for one node.
- Sample
Context - Local context provided to a
Samplerduring computation. - Sample
Result - Collected output of a full sampling pass.
- Sampler
Error - Errors that can occur during sampling.
- Sampler
Pipeline - Chains multiple samplers so each one’s output enriches the annotations available to the next.
- Snapshot
- Represents a snapshot of the entire system ready to be fossilized in Git.
- Source
Code Graph - Aggregate graph describing the full software project topology.
- Source
Code Graph Builder - Builder for constructing a
SourceCodeGraphfrom project data. - Source
Reference - A detected reference from one source to another.
- Vibe
- Represents an explicitly declared vibe (intent/spec/decision) attached to graph regions.
Enums§
- GitChange
Kind - Type of change detected for a file in git.
- Graph
Node Kind - Enumerates the kinds of nodes that can populate the
SourceCodeGraph. - Layout
Strategy - Strategies for mapping a logical graph to a filesystem hierarchy.
- Node
Selector - Determines which nodes a sampler should operate on.
- Reference
Kind - Types of references detected between source files.
Traits§
- Sampler
- The core sampling primitive.
Functions§
- detect_
lean_ references - Detect references in Lean 4 source code.
- detect_
python_ references - Detect references in Python source code.
- detect_
references - Detect references based on file extension.
- detect_
rust_ references - Detect references in Rust source code.
- detect_
ts_ references - Detect references in TypeScript/JavaScript source code.
Type Aliases§
- Annotation
Map - Per-node annotation map produced and consumed by
Samplerstages. - State
Payload - Generic payload that cells in the automaton can store.