pub struct Node {Show 29 fields
pub id: String,
pub title: String,
pub status: NodeStatus,
pub description: Option<String>,
pub assigned_to: Option<String>,
pub tags: Vec<String>,
pub priority: Option<u8>,
pub node_type: Option<String>,
pub knowledge: KnowledgeNode,
pub metadata: HashMap<String, Value>,
pub file_path: Option<String>,
pub lang: Option<String>,
pub start_line: Option<usize>,
pub end_line: Option<usize>,
pub signature: Option<String>,
pub visibility: Option<String>,
pub doc_comment: Option<String>,
pub body_hash: Option<String>,
pub node_kind: Option<String>,
pub owner: Option<String>,
pub source: Option<String>,
pub repo: Option<String>,
pub parent_id: Option<String>,
pub depth: Option<u32>,
pub complexity: Option<f64>,
pub is_public: Option<bool>,
pub body: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
A node in the graph (task, code file, component, etc.)
Fields§
§id: String§title: String§status: NodeStatus§description: Option<String>§assigned_to: Option<String>§priority: Option<u8>Priority 0–255. SQLite stores as INTEGER; values outside 0–255 are clamped on read.
node_type: Option<String>Node type: task, file, component, feature, layer, etc.
knowledge: KnowledgeNodeKnowledge storage: findings, file cache, and tool history.
metadata: HashMap<String, Value>Additional metadata.
file_path: Option<String>File path relative to the project root.
lang: Option<String>Programming language.
start_line: Option<usize>Start line number in the source file. Note: stored as INTEGER in SQLite; clamped to usize range on read.
end_line: Option<usize>End line number in the source file. Note: stored as INTEGER in SQLite; clamped to usize range on read.
signature: Option<String>Function/method signature.
visibility: Option<String>Visibility: public, private, crate, etc.
doc_comment: Option<String>Documentation comment extracted from source.
body_hash: Option<String>Hash of the body content (for change detection).
node_kind: Option<String>Code-level kind: Function, Struct, Impl, Trait, Enum, etc.
owner: Option<String>Owner of this node (person or team).
source: Option<String>Source of this node (e.g., “extract”, “manual”, “import”).
repo: Option<String>Repository this node belongs to.
parent_id: Option<String>Parent node ID (for hierarchical relationships).
depth: Option<u32>Depth in the node hierarchy (0 = root).
complexity: Option<f64>Complexity score (e.g., cyclomatic complexity).
is_public: Option<bool>Whether this node represents a public API surface.
body: Option<String>Full body/content of the node (source code, description text, etc.).
created_at: Option<String>ISO-8601 creation timestamp.
updated_at: Option<String>ISO-8601 last-updated timestamp.