selfware 0.2.2

Your personal AI workshop — software you own, software that lasts
Documentation
//! Cognitive and AI capabilities module
//!
//! This module contains AI/ML and reasoning functionality including:
//! - Cognitive state and PDVR cycle
//! - RAG (Retrieval-Augmented Generation)
//! - Learning and knowledge systems
//! - Episodic memory
//! - Knowledge graphs

pub mod episodic;
pub mod intelligence;
pub mod knowledge_graph;
pub mod learning;
pub mod load;
#[cfg(feature = "self-improvement")]
pub mod meta_learning;
#[cfg(feature = "self-improvement")]
pub mod metrics;
pub mod rag;
#[cfg(feature = "self-improvement")]
pub mod self_edit;
pub mod self_improvement;
pub mod state;

// New modules for 1M context support
pub mod cognitive_system;
pub mod compilation_manager;
pub mod memory_hierarchy;
#[cfg(feature = "self-improvement")]
pub mod rsi_orchestrator;
pub mod self_reference;
pub mod token_budget;

// Re-exports for backward compatibility (cognitive.rs used to export these directly)
pub use state::{
    CognitiveState, CognitiveStateBuilder, CyclePhase, EpisodicMemory, Lesson, LessonCategory,
    PlanStep, StepStatus, WorkingMemory,
};

// Re-export key types for new memory architecture
pub use cognitive_system::CognitiveSystem;
pub use memory_hierarchy::HierarchicalMemory;
pub use self_reference::SelfReferenceSystem;
pub use token_budget::TokenBudgetAllocator;