pub enum SocialPhase {
ShyObserver,
StartledRetreat,
QuietlyBeloved,
ProtectiveGuardian,
}Expand description
Behavioral phase from the 2D (coherence × tension) space.
The four quadrants of the phase plane:
│ Low tension │ High tension
─────────────┼────────────────────┼──────────────────────
Low coherence│ ShyObserver │ StartledRetreat
High coherence│ QuietlyBeloved │ ProtectiveGuardianTransitions use hysteresis (CCF-004) to prevent oscillation at boundaries.
Patent Claims 14–18.
Variants§
ShyObserver
Low coherence, low tension: minimal expression, cautious observation.
StartledRetreat
Low coherence, high tension: protective reflex with additional withdrawal.
QuietlyBeloved
High coherence, low tension: full expressive range — “small flourishes”.
ProtectiveGuardian
High coherence, high tension: protective but with relational context.
Implementations§
Source§impl SocialPhase
impl SocialPhase
Sourcepub fn classify(
effective_coherence: f32,
tension: f32,
prev: SocialPhase,
ps: &PhaseSpace,
) -> SocialPhase
pub fn classify( effective_coherence: f32, tension: f32, prev: SocialPhase, ps: &PhaseSpace, ) -> SocialPhase
Determine the current social phase using Schmitt trigger hysteresis (CCF-004).
effective_coherence: output ofCoherenceField::effective_coherence()in [0.0, 1.0].tension: current tension from homeostasis in [0.0, 1.0].prev: the phase from the previous tick (enables hysteresis).ps: configurable thresholds for quadrant transitions.
Sourcepub fn expression_scale(&self) -> f32
pub fn expression_scale(&self) -> f32
Scale factor for expressive output in this phase [0.0, 1.0].
Delegates to permeability with representative mid-range values
(coherence = 0.5, tension = 0.3) for backward-compatible ordering.
New code should call permeability directly for full control.
Trait Implementations§
Source§impl Clone for SocialPhase
impl Clone for SocialPhase
Source§fn clone(&self) -> SocialPhase
fn clone(&self) -> SocialPhase
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more