pub struct GitPushConfig {
pub enabled: bool,
pub agents: Vec<String>,
}Expand description
Gate for the git push broker (git_push: in ~/.mur/config.yaml).
Deny-by-default on BOTH axes, like FleetRunConfig: enabled is the
broker-wide switch (off: the daemon sweeper does not run and no agent gets
anything), and agents names the only agents that see git_push_request /
git_push_status / git_push_cancel and get the Landlock read grant on the
registry. An agent not named here — a deep-research worker, say — never sees
the tools, so it neither learns the registry exists nor adds requests to the
human approval queue. Global config, not the agent profile, for the same
reason as FleetRunConfig: a prompt-injected agent must not widen it.
Fields§
§enabled: bool§agents: Vec<String>Canonical agent names allowed the push tools. Empty = deny all.
Trait Implementations§
Source§impl Clone for GitPushConfig
impl Clone for GitPushConfig
Source§impl Debug for GitPushConfig
impl Debug for GitPushConfig
Source§impl Default for GitPushConfig
impl Default for GitPushConfig
Source§impl<'de> Deserialize<'de> for GitPushConfig
impl<'de> Deserialize<'de> for GitPushConfig
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
Source§impl PartialEq for GitPushConfig
impl PartialEq for GitPushConfig
Source§impl Serialize for GitPushConfig
impl Serialize for GitPushConfig
impl StructuralPartialEq for GitPushConfig
Auto Trait Implementations§
impl Freeze for GitPushConfig
impl RefUnwindSafe for GitPushConfig
impl Send for GitPushConfig
impl Sync for GitPushConfig
impl Unpin for GitPushConfig
impl UnsafeUnpin for GitPushConfig
impl UnwindSafe for GitPushConfig
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