Skip to main content

nusy_arrow_core/
lib.rs

1//! nusy-arrow-core — Arrow-native graph store for NuSy.
2//!
3//! Foundation crate providing:
4//! - Arrow schemas for triples, embeddings, and metadata
5//! - 5-namespace partitioning (world/work/code/research/self)
6//! - Y-layer partitioning (Y0-Y6)
7//! - Zero-copy CRUD operations on Arrow RecordBatches
8//! - Cognitive parameter store for V15 self-evolution
9
10pub mod cognitive_params;
11pub mod graph_factory;
12pub mod kg_store;
13pub mod namespace;
14pub mod schema;
15pub mod store;
16pub mod triple_store;
17pub mod y_layer;
18
19pub use cognitive_params::{
20    AutonomyTier, CognitiveParameter, CognitiveParameterStore, ParamStoreError,
21    cognitive_params_schema, default_cognitive_params, default_signal_weights,
22    load_params_from_parquet, param_col, save_params_to_parquet,
23};
24pub use graph_factory::{
25    CreatedStore, GraphBackend, GraphStoreConfig, HardwareCapabilities, available_backends,
26    create_default_store, create_graph_store, detect_hardware, recommended_backend,
27};
28pub use namespace::Namespace;
29pub use schema::chunk_col;
30pub use schema::col;
31pub use schema::{
32    CHUNKS_SCHEMA_VERSION, TRIPLES_SCHEMA_VERSION, chunks_schema, embeddings_schema_with_dim,
33    normalize_to_current,
34};
35pub use store::{ArrowGraphStore, CausalNode, QuerySpec, StoreError, Triple};
36pub use y_layer::YLayer;