pub fn code_nodes_schema() -> SchemaExpand description
Schema for the CodeNodes table.
Columns 0–12 (original):
id: fully-qualified identifier (e.g.func:brain/perception/signal_fusion.py::fuse)kind: object type (dictionary-encoded string,Dictionary<Int8, Utf8>)parent_id: containment pointer (function→class→module→file)name: object namesignature: function/method signaturedocstring: documentation textbody_hash: SHA-256 of the object body for equality checksbody: full source text of the nodeembedding: semantic vector (FixedSizeList<f32, 768>)loc: lines of codecyclomatic_complexity: complexity metriccoverage_pct: test coverage percentagelast_modified: timestamp from git history
Columns 13–18 (EX-3168 / V12a-1 — position metadata, all nullable):
start_line: 1-indexed source line where the node beginsend_line: 1-indexed source line where the node endsstart_col: 0-indexed column withinstart_lineend_col: 0-indexed column withinend_linefile_path: relative path from crate root (e.g."src/lib.rs")byte_offset: byte position from file start (for fast editor seek)
Position columns are nullable for backward compatibility with existing Parquet files. The tree-sitter Rust parser (EX-3120) populates them for new nodes.