Skip to main content

Module epistemic_boundaries

Module epistemic_boundaries 

Source

Structs§

ReferralTrigger
An overriding referral that must be surfaced verbatim, ahead of any analytical output. Zero-heap (&'static str).
SocraticDegradation
A zero-heap representation of a degraded claim. Ensures the engine outputs probabilistic analyses, dialectical maps, and Socratic questions instead of unauthorized legal/medical directives.

Enums§

DegradationVector
ReferralDomain
The domain of an overriding referral.

Constants§

BIO_DISCLAIMER
Immutable UI-rendering disclaimer for any biological / physiological / thermodynamic analysis. Hardcoded verbatim from the audit spec (Systemic Biological Framework).
EMERGENCY_PROMPT
Overriding prompt for acute physical-harm / medical-crisis signals.
LEGAL_DISCLAIMER
Immutable UI-rendering disclaimer for any jural / deontic / rights analysis. Hardcoded verbatim from the audit spec (Systemic Jural & Legal Framework).
LEGAL_JEOPARDY_PROMPT
Overriding prompt for imminent-legal-jeopardy signals.
REFERRAL_SEVERITY_FLOOR
The minimum metadata severity byte (0-255, low byte) at which an otherwise-analytical degradation vector is escalated to an overriding referral. See detect_referral_by_severity.

Functions§

degrade_claim_to_socratic
The Linguistic Degradation Matrix. Hardcoded zero-heap degradation from definitive claims to Socratic/Probabilistic maps.
detect_referral_by_severity
Severity-driven escalation: an analytical degradation vector whose claim Quin carries a metadata low-byte severity at or above REFERRAL_SEVERITY_FLOOR is escalated from a Socratic softening to an overriding referral (medical for bio/thermo/genomic vectors; legal for contractual/proportionality/governance/fiduciary). Below the floor → None (the caller uses the Linguistic Degradation Matrix as normal).
detect_referral_trigger
Detect whether a claim Quin crosses an overriding referral threshold via an explicit high-liability predicate (acute harm / imminent jeopardy). Predicate-driven, like identify_degradation_vector. Returns None for ordinary analytical claims (those go through the Linguistic Degradation Matrix instead).
forbids_definitive_classification
Structural refusal: predicates that assert a definitive state-classification — a medical diagnosis or a legal verdict — must never be instantiated as-is. The engine emits the mechanistic / dialectical degradation (degrade_claim_to_socratic) instead of a directive. Returns true iff predicate is a forbidden definitive classification.
identify_degradation_vector
Identifies if a Quin encodes a definitive claim that crosses Epistemic Boundaries.
requires_physiological_quarantine
Nquin isolation guard: personal physiological / genomic data must be quarantined from public ontologies — processed as an abstract simulation, never aggregated or routed externally. Returns true iff the Quin carries content that must stay in a private subgraph (composes identify_degradation_vector plus explicit physiological predicates).