pub struct TaskContext {
pub task_context: String,
pub parent_context: String,
pub project_instructions: String,
pub skills_docs: String,
pub repo_tree: String,
pub git_diff: String,
pub issue_comments: String,
pub pr_review_context: String,
pub memory: Vec<MemoryEntry>,
}Expand description
All assembled context for a task execution.
Fields§
§task_context: StringTask-specific context from previous runs
parent_context: StringParent issue summary + sibling summaries
project_instructions: StringProject instructions (CLAUDE.md + AGENTS.md + README.md)
skills_docs: StringSkills documentation for selected skills
repo_tree: StringRepository file tree (git ls-files, capped at 200 lines)
git_diff: StringGit diff from base branch (only for retries)
issue_comments: StringRecent issue comments
pr_review_context: StringPR review context (for re-dispatching after review changes requested)
memory: Vec<MemoryEntry>Memory from previous attempts (capped at last 3)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskContext
impl RefUnwindSafe for TaskContext
impl Send for TaskContext
impl Sync for TaskContext
impl Unpin for TaskContext
impl UnsafeUnpin for TaskContext
impl UnwindSafe for TaskContext
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> 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> ⓘ
Converts
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> ⓘ
Converts
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