pub enum ContextMode {
Inject,
Mcp,
Hybrid,
}Expand description
Context injection mode for CLAUDE.md (v0.14.3.2).
Controls how plan and community context are delivered to the agent:
inject(default): Inject plan + community context directly into CLAUDE.md.mcp: Zero-injection — skip plan + community from CLAUDE.md entirely. Registerta_plan_statusand community hub as MCP tools instead. Recommended for projects with large plans (>50 phases) or many community resources.hybrid: Skip plan + community from CLAUDE.md, still inject memory context and the original CLAUDE.md. Adds a one-line note pointing to the MCP tools. Recommended for projects with large plans where agents support tool calling.
[workflow]
context_mode = "inject" # "inject" | "mcp" | "hybrid"Variants§
Inject
Inject plan + community context into CLAUDE.md (default, current behavior).
Mcp
Zero-injection: skip plan + community from CLAUDE.md; register as MCP tools instead.
Hybrid
Inject memory + CLAUDE.md only; skip plan + community. Add a one-line tool hint.
Trait Implementations§
Source§impl Clone for ContextMode
impl Clone for ContextMode
Source§fn clone(&self) -> ContextMode
fn clone(&self) -> ContextMode
Returns a duplicate of the value. Read more
1.0.0 · 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 ContextMode
impl Debug for ContextMode
Source§impl Default for ContextMode
impl Default for ContextMode
Source§fn default() -> ContextMode
fn default() -> ContextMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextMode
impl<'de> Deserialize<'de> for ContextMode
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 ContextMode
impl PartialEq for ContextMode
Source§impl Serialize for ContextMode
impl Serialize for ContextMode
impl Eq for ContextMode
impl StructuralPartialEq for ContextMode
Auto Trait Implementations§
impl Freeze for ContextMode
impl RefUnwindSafe for ContextMode
impl Send for ContextMode
impl Sync for ContextMode
impl Unpin for ContextMode
impl UnsafeUnpin for ContextMode
impl UnwindSafe for ContextMode
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,
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.