pub enum FloorLevel {
Allow,
Auto,
Ask,
Deny,
}Expand description
Enforcement floor for actions whose blast radius exceeds the project:
write-shaped MCP tools (external_writes) and machine-scoped package
operations (system_installs). Safety mode alone never authorizes them:
the mode’s decision is strengthened to at least this level (severity
order Allow < Auto < Ask < Deny). Default Auto: the intent
classifier vets the call against the user’s request — aligned runs
silently, off-task escalates — even in full_access. allow restores
the old unconditional-allow behavior per knob.
Variants§
Trait Implementations§
Source§impl Clone for FloorLevel
impl Clone for FloorLevel
Source§fn clone(&self) -> FloorLevel
fn clone(&self) -> FloorLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FloorLevel
Source§impl Debug for FloorLevel
impl Debug for FloorLevel
Source§impl Default for FloorLevel
impl Default for FloorLevel
Source§fn default() -> FloorLevel
fn default() -> FloorLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FloorLevel
impl<'de> Deserialize<'de> for FloorLevel
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 FloorLevel
Source§impl PartialEq for FloorLevel
impl PartialEq for FloorLevel
Source§impl Serialize for FloorLevel
impl Serialize for FloorLevel
impl StructuralPartialEq for FloorLevel
Auto Trait Implementations§
impl Freeze for FloorLevel
impl RefUnwindSafe for FloorLevel
impl Send for FloorLevel
impl Sync for FloorLevel
impl Unpin for FloorLevel
impl UnsafeUnpin for FloorLevel
impl UnwindSafe for FloorLevel
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