car-memgine 0.14.0

Memgine — graph-based memory engine for Common Agent Runtime
Documentation
//! Memgine — graph-based memory engine for Common Agent Runtime.
//!
//! Memory is a graph. Nodes are facts, skills, conclusions, conversations, identity, environment.
//! Edges: Supersedes, DependsOn, RelatedTo, Triggers, TemporalNext, CitesPremise.
//!
//! Skills are learned procedures — stored as graph nodes with trigger edges,
//! matched via spreading activation, tracked for success/failure.
//!
//! Conclusions are derived knowledge citing premise facts — automatically
//! invalidated when premises change (cascade invalidation).

pub mod compaction;
pub mod confidence;
pub mod config;
pub mod constraint_checker;
pub mod conversation_store;
pub mod distill;
pub mod engine;
pub mod graph;
pub mod project;
pub mod query_classifier;
pub mod reflection;
pub mod trajectory;

pub use compaction::{CompactionResult, ConversationCompactionReport};
pub use config::{ContextMode, MemgineConfig};
pub use conversation_store::{ConversationStore, StoredTurn};
pub use distill::{DistilledSkill, TraceEvent};
pub use engine::{ConsolidationReport, DomainStats, MemgineEngine};
pub use graph::{
    detect_content_type, stem, synonym_expand, tokenize_for_content, CodeLanguage, ContentType,
    EdgeKind, FactMetadata, MemEdge, MemKind, MemNode, MemoryGraph, Partition, Provenance,
    RetrievalHit, SkillMeta, SkillOutcome, SkillScope, SkillStats, SkillTrigger,
};
pub use petgraph::stable_graph::NodeIndex;
pub use project::{ConfigOverrides, DotCarProject, KnowledgeEntry, PolicyRule};
pub use reflection::{ReflectionInsight, ReflectionReport};
pub use trajectory::{Trajectory, TrajectoryOutcome, TrajectoryStats, TrajectoryStore};