pub enum GateKind {
Deterministic,
ModelJudged,
}Expand description
Whether a gate’s verdict comes from a reproducible check or from model judgement. The kind selects the gate’s pipeline section — deterministic gates always evaluate first (see the module docs).
Serde kebab-case (the Role/GrantKind idiom): the persisted gate.result
event (KRZ-312) carries the kind as its ladder-SECTION discriminator —
kind and section are one-to-one by pipeline construction, so the event
needs no separate section field.
Variants§
Deterministic
Exit codes, lints, scans: cheap, reproducible, no model spend.
ModelJudged
A model session’s judgement (scrutiny, review): spends tokens and may carry a confidence score.
Trait Implementations§
impl Copy for GateKind
Source§impl<'de> Deserialize<'de> for GateKind
impl<'de> Deserialize<'de> for GateKind
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GateKind
impl StructuralPartialEq for GateKind
Auto Trait Implementations§
impl Freeze for GateKind
impl RefUnwindSafe for GateKind
impl Send for GateKind
impl Sync for GateKind
impl Unpin for GateKind
impl UnsafeUnpin for GateKind
impl UnwindSafe for GateKind
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
Mutably borrows from an owned value. Read more