pub struct ObserverFiber {
pub observer_did: String,
pub semantic_cohort: Option<String>,
pub affective_state: AffectiveStatus,
pub epistemic_beliefs: Vec<DoxasticBelief>,
pub cognitive_lens: CognitiveLens,
pub perceived_frame_usi: String,
pub shared_anchor_id: Option<u64>,
pub shared_anchor_var: f64,
pub local_chart_var: f64,
}Expand description
Observer fiber — the inward inversion modeling how an observer perceives, filters, and constructs their experienced reality (OCS §8.2, §6.2.5.1).
Includes split correlated uncertainty (shared_anchor_var vs local_chart_var) so
relative displacements between two observers sharing a coarse anchor cancel the
coarse anchor variance rather than inflating local relative error.
Fields§
§observer_did: String§semantic_cohort: Option<String>§affective_state: AffectiveStatus§epistemic_beliefs: Vec<DoxasticBelief>§cognitive_lens: CognitiveLens§perceived_frame_usi: StringOptional shared coarse anchor identifier (e.g. sector / spacecraft / habitat USRI hash).
Positional variance ($\text{m}^2$) of the coarse anchor relative to a cosmic root frame.
local_chart_var: f64Positional variance ($\text{m}^2$) within the local chart relative to shared_anchor_id.
Implementations§
Source§impl ObserverFiber
impl ObserverFiber
Configure correlated anchor variance vs local chart variance (§6.2.5.1).
Sourcepub fn is_hyper_vigilant(&self) -> bool
pub fn is_hyper_vigilant(&self) -> bool
Whether this observer fiber is in a hyper-vigilant state (Packet OCS-13).
Sourcepub fn total_positional_variance(&self) -> f64
pub fn total_positional_variance(&self) -> f64
Total absolute positional variance ($\text{m}^2$) relative to the cosmic root frame.
Sourcepub fn relative_displacement_variance(&self, other: &Self) -> f64
pub fn relative_displacement_variance(&self, other: &Self) -> f64
Relative displacement variance ($\text{m}^2$) between self and other (§6.2.5.1).
When both observers share the same shared_anchor_id, the common-mode coarse anchor
variance cancels in $\Delta\mathbf{x} = \mathbf{x}_A - \mathbf{x}_B$, leaving only
self.local_chart_var + other.local_chart_var.
Sourcepub fn relative_displacement_std(&self, other: &Self) -> f64
pub fn relative_displacement_std(&self, other: &Self) -> f64
Standard deviation ($\text{m}$) of the relative displacement between self and other.
Sourcepub fn check_presheaf_overlap(
&self,
other: &Self,
max_belief_divergence: f32,
) -> Result<(), String>
pub fn check_presheaf_overlap( &self, other: &Self, max_belief_divergence: f32, ) -> Result<(), String>
Check presheaf overlap compatibility on $U_i \cap U_j$ before gluing/merging two observer fibers (§6.2.5.1).
Two fibers are compatible on their overlap if:
- For every shared
proposition_iri, $|\mu_A - \mu_B| \le \text{max_belief_divergence}$ and $|\lambda_A - \lambda_B| \le \text{max_belief_divergence}$. - If both fibers reference the same
shared_anchor_id, theirshared_anchor_varestimates agree within relative tolerance.
Sourcepub fn merge_presheaf_compatible(
&self,
other: &Self,
max_belief_divergence: f32,
) -> Result<ObserverFiber, String>
pub fn merge_presheaf_compatible( &self, other: &Self, max_belief_divergence: f32, ) -> Result<ObserverFiber, String>
Glue two compatible observer fibers over their overlap $U_i \cap U_j$ (§6.2.5.1).
Fails closed if check_presheaf_overlap detects a contradiction on shared propositions
or anchor metadata.
Sourcepub fn epistemic_divergence(
&self,
empirical_frame_coords: &[f64],
perceived_coords: &[f64],
) -> f64
pub fn epistemic_divergence( &self, empirical_frame_coords: &[f64], perceived_coords: &[f64], ) -> f64
Clinical epistemic divergence tensor Δ_epistemic (OCS §8.3).
Simple scalar version: the L2 norm of the difference between the perceived frame and the empirical frame, weighted by dissociation and trauma reactivity.
Sourcepub fn needs_grounding(&self) -> bool
pub fn needs_grounding(&self) -> bool
Whether this observer needs grounding intervention (OCS-T11).
Sourcepub fn to_epistemic_claim_record(&self) -> Value
pub fn to_epistemic_claim_record(&self) -> Value
Project the observer’s phenomenological and doxastic state onto an explicit
Claim/Opinion record (plane = "ClaimOpinion") without mutating physical
coordinates or NaturalAgent identity (Packet OCS-13).