daemonic_error 0.1.0

Errors that compose, predict, and leave receipts - Compose: algebraic combination (in active development) - Predict: Glass/Severity - Receipts: audit trail, position, checksum - Reflection: Runtime Reflection through TopologySegment (in active development)
use crate::daemonic::Anchor;

/// Fixes an interpretive perspective — a frame through which
/// observations are calibrated.
/// DB mapping: D15 (FrameId) + D16 (Confidence)
///
/// DaemonicObserver implements this. Reality anchors implement this.
/// CalibrationAnchor (the recalibration protocol) implements this.
pub trait PerceptualAnchor: Anchor {
	/// What domain does this perspective calibrate?
	fn calibration_domain(&self) -> &str;

	/// Observer confidence in this perspective's accuracy.
	/// DB: maps directly to D16.
	fn perspective_confidence(&self) -> f64 { 0.5 }

	/// How much does this perspective bias observations?
	/// 0.0 = perfectly neutral (impossible in practice).
	/// 1.0 = completely biased (only sees what it expects).
	fn bias_estimate(&self) -> f64 { 0.5 }
}