pub enum ResidualClass {
Show 29 variants
Syntax,
Type,
Build,
TestFailure,
Lint,
Format,
Runtime,
Dependency,
Manifest,
ImportGraph,
SymbolMismatch,
InterfaceMismatch,
OwnershipViolation,
ContextDrift,
Regression,
Policy,
SensorUnavailable,
ToolFailure,
SheafInconsistency,
CapabilityDenied,
BudgetExhausted,
ToolArgumentInvalid,
WitnessStale,
ToolThrash,
ToolBatchConflict,
UnreadEdit,
BudgetPressure,
AdjudicatorObjection,
ProviderUnavailable,
}Expand description
Residual taxonomy (PSP-8 System 6). Every verifier residual is one class.
Variants§
Syntax
Type
Build
TestFailure
Lint
Format
Runtime
Dependency
Manifest
ImportGraph
SymbolMismatch
InterfaceMismatch
OwnershipViolation
ContextDrift
Regression
Policy
ToolFailure
SheafInconsistency
CapabilityDenied
Admissibility outcome, not a verifier consistency residual.
BudgetExhausted
Admissibility outcome, not a verifier consistency residual.
ToolArgumentInvalid
Tool-call arguments violated the tool schema.
WitnessStale
A precondition hash no longer matches; the model edited a stale view.
ToolThrash
The same proposal (identical idempotency key) repeated without an intervening evidence change — the tool-loop analogue of livelock.
ToolBatchConflict
One provider turn requested non-commuting calls without an explicit dependency order; no conflicting mutation was executed.
UnreadEdit
A file was mutated in a turn that never read it.
BudgetPressure
Turn/token/capability budget consumed past a declared fraction.
AdjudicatorObjection
An advisory model validator objected (its fixed domain weight is declared before the run; a conjunctive adjudicator is a gate verdict, never a dynamic energy weight).
A configured route failed and failover was taken; sensor-availability
class matching SensorUnavailable’s treatment.
Implementations§
Source§impl ResidualClass
impl ResidualClass
Sourcepub fn default_component(self) -> EnergyComponent
pub fn default_component(self) -> EnergyComponent
Default SRBN energy component for this class (PSP-8 System 6 mapping).
Sourcepub fn is_admissibility_outcome(self) -> bool
pub fn is_admissibility_outcome(self) -> bool
CapabilityDenied and BudgetExhausted are admissibility outcomes that
SHALL be recorded on a separate blocked channel and SHALL NOT be summed
into the Lyapunov energy V (PSP-8 System 6).
Trait Implementations§
Source§impl Clone for ResidualClass
impl Clone for ResidualClass
Source§fn clone(&self) -> ResidualClass
fn clone(&self) -> ResidualClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ResidualClass
impl Debug for ResidualClass
Source§impl<'de> Deserialize<'de> for ResidualClass
impl<'de> Deserialize<'de> for ResidualClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Hash for ResidualClass
impl Hash for ResidualClass
Source§impl Ord for ResidualClass
impl Ord for ResidualClass
Source§fn cmp(&self, other: &ResidualClass) -> Ordering
fn cmp(&self, other: &ResidualClass) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ResidualClass
impl PartialEq for ResidualClass
Source§fn eq(&self, other: &ResidualClass) -> bool
fn eq(&self, other: &ResidualClass) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ResidualClass
impl PartialOrd for ResidualClass
Source§impl Serialize for ResidualClass
impl Serialize for ResidualClass
impl Copy for ResidualClass
impl Eq for ResidualClass
impl StructuralPartialEq for ResidualClass
Auto Trait Implementations§
impl Freeze for ResidualClass
impl RefUnwindSafe for ResidualClass
impl Send for ResidualClass
impl Sync for ResidualClass
impl Unpin for ResidualClass
impl UnsafeUnpin for ResidualClass
impl UnwindSafe for ResidualClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.