pub struct ConflictConfig {
pub window_seconds: u64,
pub warn_on_intent_overlap: bool,
pub escalate_on_violation: bool,
}Expand description
Configuration for the broker-internal conflict detector.
The detector observes agent.intent and agent.status events as they
pass through the publish pipeline and emits agent.feedback /
agent.question when one of three failure shapes triggers (forward,
in-flight, ownership). All fields have defaults; an entirely absent
[supervisor.conflict] section loads ConflictConfig::default.
Fields§
§window_seconds: u64Window after which an unresolved in-flight conflict escalates to
the supervisor inbox via agent.question. Default: 120.
warn_on_intent_overlap: boolMaster switch for forward-conflict warnings. When false, no
agent.feedback is emitted for overlapping agent.intent
declarations, but the tracker SHALL still record intents (so
in-flight and ownership detection remain functional). Default:
true.
escalate_on_violation: boolWhether ownership violations escalate to the supervisor inbox via
agent.question. The violator-bound agent.feedback always fires
regardless of this flag — only the supervisor follow-up is gated.
Default: true.
Trait Implementations§
Source§impl Clone for ConflictConfig
impl Clone for ConflictConfig
Source§fn clone(&self) -> ConflictConfig
fn clone(&self) -> ConflictConfig
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 ConflictConfig
impl Debug for ConflictConfig
Source§impl Default for ConflictConfig
impl Default for ConflictConfig
Source§impl<'de> Deserialize<'de> for ConflictConfig
impl<'de> Deserialize<'de> for ConflictConfig
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 ConflictConfig
Source§impl PartialEq for ConflictConfig
impl PartialEq for ConflictConfig
Source§fn eq(&self, other: &ConflictConfig) -> bool
fn eq(&self, other: &ConflictConfig) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ConflictConfig
impl Serialize for ConflictConfig
impl StructuralPartialEq for ConflictConfig
Auto Trait Implementations§
impl Freeze for ConflictConfig
impl RefUnwindSafe for ConflictConfig
impl Send for ConflictConfig
impl Sync for ConflictConfig
impl Unpin for ConflictConfig
impl UnsafeUnpin for ConflictConfig
impl UnwindSafe for ConflictConfig
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