do_memory_core/learning/mod.rs
1//! # Learning Coordination
2//!
3//! This module is intentionally scoped to **queue coordination only**.
4//! It manages the async pattern extraction pipeline that fires after
5//! episode completion.
6//!
7//! The broader learning cycle (reward signals, reflection, consolidation)
8//! is handled by the following sibling modules:
9//! - [`crate::reward`] — reward signal computation
10//! - [`crate::reflection`] — memory consolidation and reflection
11//! - [`crate::episode`] — episodic memory storage
12//!
13//! A future `LearningOrchestrator` may be introduced here to coordinate
14//! the full cycle. See: `plans/adr/ADR-028-Feature-Enhancement-Roadmap.md`
15//!
16//! This module provides non-blocking pattern extraction through a queue-based
17//! worker pool system, allowing episode completion to return quickly while
18//! pattern extraction happens in the background.
19
20pub mod queue;
21
22mod config;
23mod stats;
24
25pub use config::QueueConfig;
26pub use queue::PatternExtractionQueue;
27pub use stats::QueueStats;