forked from kent/consciousness
30 lines
737 B
Rust
30 lines
737 B
Rust
|
|
// 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 prompts;
|
||
|
|
mod rewrite;
|
||
|
|
|
||
|
|
// Re-export public API so `neuro::` paths continue to work.
|
||
|
|
|
||
|
|
pub use scoring::{
|
||
|
|
replay_queue, detect_interference,
|
||
|
|
consolidation_plan, format_plan,
|
||
|
|
daily_check,
|
||
|
|
};
|
||
|
|
|
||
|
|
pub use prompts::{
|
||
|
|
load_prompt,
|
||
|
|
consolidation_batch, agent_prompt,
|
||
|
|
};
|
||
|
|
|
||
|
|
pub use rewrite::{
|
||
|
|
refine_target, LinkMove,
|
||
|
|
differentiate_hub,
|
||
|
|
apply_differentiation, find_differentiable_hubs,
|
||
|
|
triangle_close, link_orphans,
|
||
|
|
};
|