Skip to main content

khive_brain_core/
lib.rs

1//! Brain primitives — Beta posteriors, section types, profile state, weight derivation.
2
3pub mod brain_signal;
4pub mod brain_state;
5pub mod posterior;
6pub mod profile;
7pub mod section_state;
8pub mod section_type;
9pub mod signal;
10pub mod tunable;
11
12pub use brain_signal::{entity_signal, is_recall_positive, BrainSignal};
13pub use brain_state::{
14    validate_brain_state_snapshot, validate_brain_state_snapshot_with_capacity, BrainState,
15    BrainStateSnapshot,
16};
17pub use posterior::{BetaPosterior, EntityPosteriors};
18pub use profile::{
19    resolve_consumer_profile, BalancedRecallSnapshot, BalancedRecallState, ConsumerKind,
20    ProfileBinding, ProfileLifecycle, ProfileRecord,
21};
22pub use section_state::{
23    derive_deterministic_weights, derive_weights, SectionPosteriorSnapshot, SectionPosteriorState,
24    DEFAULT_ESS_CAP, DEFAULT_EXPLORATION_EPOCH, DEFAULT_SECTION_WEIGHT_FLOOR, DEFAULT_TAU_0,
25    DEFAULT_TAU_EXPLOIT,
26};
27pub use section_type::SectionType;
28pub use signal::{FeedbackEventKind, FeedbackSignal};
29pub use tunable::{PackTunable, ParameterDef, ParameterSpace};