1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
//! # Jantu
//!
//! **Jantu** (जन्तु — Sanskrit for "creature, living being") — ethology and creature
//! behavior engine for the AGNOS ecosystem.
//!
//! Provides instinct modeling, survival drives, territorial behavior, social hierarchy,
//! swarm intelligence, pack dynamics, and creature lifecycle. The biological foundation
//! layer that bhava's human personality builds upon — the medulla oblongata of the
//! personality stack.
//!
//! ## Relationship to Bhava
//!
//! Bhava models the human mind (personality, emotion, reasoning). Jantu models the
//! animal brain underneath — the instincts that evolution preserved. Human emotions
//! *are* refined animal instincts:
//!
//! - `bhava::stress` → jantu fight-or-flight (reptilian)
//! - `bhava::relationship` → jantu pair bonding (mammalian)
//! - `bhava::contagion` → jantu emotional contagion (pack behavior)
//! - `bhava::flow` → jantu predatory focus (hunting state)
//! - `bhava::energy` → jantu foraging/resting cycles
extern crate alloc;
/// Cross-crate bridges — primitive-value conversions from other AGNOS science crates.
/// Circadian rhythm drive modifiers.
/// Predator-prey co-evolution hooks.
/// Emotional contagion — affective state spreading through groups.
/// Error types and result alias.
/// Optimal foraging theory — prey selection, patch departure, and vigilance.
/// Evolutionary game theory — contest strategies and stable equilibria.
/// Genetic trait inheritance — heritable behavior parameters.
/// Learning through habituation and sensitization (dual-process theory).
/// Core instinct system — drives, priorities, and dominant instinct selection.
/// Integration APIs for downstream consumers (soorat rendering).
/// Kin selection and inclusive fitness (Hamilton 1964).
/// Landscape of fear — spatial risk perception and fear-mediated behavior.
/// Allometric lifecycle scaling (Kleiber's law).
/// Mate selection and courtship behaviors.
/// Spatial and social memory — recognition of locations, individuals, and threats.
/// Seasonal migration patterns and movement behaviors.
/// Pack hunting coordination and food sharing.
/// Communication signals — alarm calls, mating calls, territorial displays.
/// Social hierarchy, roles, and group cohesion.
/// Stress accumulation and its effects on drive baselines.
/// Survival states and threat response classification.
/// Swarm intelligence — pheromone trails, quorum sensing, collective behavior.
/// Territory marking and territorial aggression.
/// Optional tracing subscriber initialization. Requires the `logging` feature.
pub use ;
pub use ;
pub use ;
pub use ;
pub use SwarmBehavior;