pub struct CommonDevAllowlistConfig {
pub enabled: bool,
pub extra: Vec<String>,
}Expand description
Configuration for the common dev-command allowlist preset.
The preset is a curated set of safe, repeatedly-prompted dev-loop
commands (cargo, git, just, mdbook, openspec, find, grep, sed -n)
that the supervisor seeds into Claude’s allowed_bash_prefixes so
agents do not hit a permission prompt for each variant of these
commands. See src/supervisor/dev_allowlist.rs for the preset
constant and the merge implementation.
Fields§
§enabled: boolWhether the dev-allowlist seeder runs on supervisor start.
Defaults to true — the v0.5.0 dogfood evidence makes the
feature most useful when on by default. Opt out with
[supervisor.common_dev_allowlist] enabled = false.
extra: Vec<String>Additional project-specific prefix patterns appended to the built-in preset.
Each entry is a raw string consumed by Claude’s prefix matcher; the seeder does not validate the strings. Duplicates of preset entries are silently de-duplicated.
Trait Implementations§
Source§impl Clone for CommonDevAllowlistConfig
impl Clone for CommonDevAllowlistConfig
Source§fn clone(&self) -> CommonDevAllowlistConfig
fn clone(&self) -> CommonDevAllowlistConfig
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 CommonDevAllowlistConfig
impl Debug for CommonDevAllowlistConfig
Source§impl Default for CommonDevAllowlistConfig
impl Default for CommonDevAllowlistConfig
Source§impl<'de> Deserialize<'de> for CommonDevAllowlistConfig
impl<'de> Deserialize<'de> for CommonDevAllowlistConfig
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>,
impl Eq for CommonDevAllowlistConfig
Source§impl PartialEq for CommonDevAllowlistConfig
impl PartialEq for CommonDevAllowlistConfig
Source§fn eq(&self, other: &CommonDevAllowlistConfig) -> bool
fn eq(&self, other: &CommonDevAllowlistConfig) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for CommonDevAllowlistConfig
impl Serialize for CommonDevAllowlistConfig
impl StructuralPartialEq for CommonDevAllowlistConfig
Auto Trait Implementations§
impl Freeze for CommonDevAllowlistConfig
impl RefUnwindSafe for CommonDevAllowlistConfig
impl Send for CommonDevAllowlistConfig
impl Sync for CommonDevAllowlistConfig
impl Unpin for CommonDevAllowlistConfig
impl UnsafeUnpin for CommonDevAllowlistConfig
impl UnwindSafe for CommonDevAllowlistConfig
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more