pub struct HarnessPosture {
pub kind: HarnessPostureKind,
pub max_subagents: usize,
pub prefer_codebase_search: bool,
pub compaction_strategy: HarnessCompactionStrategy,
pub tool_surface: HarnessToolSurface,
pub safety_posture: HarnessSafetyPosture,
}Expand description
A concrete harness posture with policy knobs.
Fields§
§kind: HarnessPostureKindNamed posture kind.
max_subagents: usizeMaximum number of concurrent sub-agents (0 = runtime default).
prefer_codebase_search: boolPrefer search-based/on-demand context over always-on documentation.
compaction_strategy: HarnessCompactionStrategyCompaction and prompt-cache strategy.
tool_surface: HarnessToolSurfacePreferred tool catalog shape.
safety_posture: HarnessSafetyPostureSafety posture for runtime consumers.
Implementations§
Source§impl HarnessPosture
impl HarnessPosture
Sourcepub fn cache_heavy() -> Self
pub fn cache_heavy() -> Self
A cache-heavy posture tuned for DeepSeek V4 / MiMo-style models.
Trait Implementations§
Source§impl Clone for HarnessPosture
impl Clone for HarnessPosture
Source§fn clone(&self) -> HarnessPosture
fn clone(&self) -> HarnessPosture
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 moreSource§impl Debug for HarnessPosture
impl Debug for HarnessPosture
Source§impl Default for HarnessPosture
impl Default for HarnessPosture
Source§impl<'de> Deserialize<'de> for HarnessPosture
impl<'de> Deserialize<'de> for HarnessPosture
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 HarnessPosture
Source§impl PartialEq for HarnessPosture
impl PartialEq for HarnessPosture
Source§fn eq(&self, other: &HarnessPosture) -> bool
fn eq(&self, other: &HarnessPosture) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HarnessPosture
impl Serialize for HarnessPosture
impl StructuralPartialEq for HarnessPosture
Auto Trait Implementations§
impl Freeze for HarnessPosture
impl RefUnwindSafe for HarnessPosture
impl Send for HarnessPosture
impl Sync for HarnessPosture
impl Unpin for HarnessPosture
impl UnsafeUnpin for HarnessPosture
impl UnwindSafe for HarnessPosture
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
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§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
Compare self to
key and return true if they are equal.