2026-03-05 10:24:05 -05:00
|
|
|
// Neuroscience-inspired memory algorithms, split by concern:
|
|
|
|
|
//
|
|
|
|
|
// scoring — pure analysis: priority, replay queues, interference, plans
|
|
|
|
|
// prompts — agent prompt generation and formatting
|
|
|
|
|
// rewrite — graph topology mutations: differentiation, closure, linking
|
|
|
|
|
|
|
|
|
|
mod scoring;
|
|
|
|
|
mod rewrite;
|
|
|
|
|
|
|
|
|
|
pub use scoring::{
|
move LLM-dependent modules into agents/ subdir
Separate the agent layer (everything that calls external LLMs or
orchestrates sequences of such calls) from core graph infrastructure.
agents/: llm, prompts, audit, consolidate, knowledge, enrich,
fact_mine, digest, daemon
Root: store/, graph, spectral, search, similarity, lookups, query,
config, util, migrate, neuro/ (scoring + rewrite)
Re-exports at crate root preserve backwards compatibility so
`crate::llm`, `crate::digest` etc. continue to work.
2026-03-08 21:27:41 -04:00
|
|
|
ReplayItem,
|
|
|
|
|
consolidation_priority,
|
|
|
|
|
replay_queue, replay_queue_with_graph,
|
|
|
|
|
detect_interference,
|
2026-03-05 10:24:05 -05:00
|
|
|
consolidation_plan, format_plan,
|
|
|
|
|
daily_check,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pub use rewrite::{
|
|
|
|
|
refine_target, LinkMove,
|
|
|
|
|
differentiate_hub,
|
|
|
|
|
apply_differentiation, find_differentiable_hubs,
|
|
|
|
|
triangle_close, link_orphans,
|
|
|
|
|
};
|