pub enum ActionKind {
Restore,
Remove,
Revert,
Review,
Verify,
RootCause,
}Expand description
The action category. Informs rendering (icon/color) and tells the reviewer what KIND of move is being suggested.
Variants§
Restore
Bring back something the candidate dropped (tool call, required field, turn).
Remove
Remove something the candidate added without justification (duplicate tool call, extra unneeded turn).
Revert
Change a value back to the baseline (arg value, temperature).
Review
Human judgment needed — the candidate change may be intentional or context-dependent (prompt wording, refusal behaviour).
Verify
Low-signal event that might be noise; verify before acting.
RootCause
A higher-level root-cause recommendation inferred from a cross-axis correlation pattern (e.g. “looks like a model swap because cost + latency + semantic all moved together”). Subsumes the individual per-axis recommendations the same signature would have produced; the renderer should prefer the RootCause over the individual ones when both are present.
Implementations§
Trait Implementations§
Source§impl Clone for ActionKind
impl Clone for ActionKind
Source§fn clone(&self) -> ActionKind
fn clone(&self) -> ActionKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ActionKind
impl Debug for ActionKind
Source§impl<'de> Deserialize<'de> for ActionKind
impl<'de> Deserialize<'de> for ActionKind
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 ActionKind
impl Hash for ActionKind
Source§impl PartialEq for ActionKind
impl PartialEq for ActionKind
Source§impl Serialize for ActionKind
impl Serialize for ActionKind
impl Copy for ActionKind
impl Eq for ActionKind
impl StructuralPartialEq for ActionKind
Auto Trait Implementations§
impl Freeze for ActionKind
impl RefUnwindSafe for ActionKind
impl Send for ActionKind
impl Sync for ActionKind
impl Unpin for ActionKind
impl UnsafeUnpin for ActionKind
impl UnwindSafe for ActionKind
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.