pub struct SubtaskItem {
pub acceptance_criteria: Vec<String>,
pub prompt: String,
pub task_key: String,
pub title: String,
pub touched_areas: Vec<String>,
}Expand description
One proposed child session in an orchestrator decomposition plan.
Each subtask is executed unattended by its own child session in its own
worktree, branched from the same base branch as its siblings. Children never
coordinate with each other while running, so each prompt must be
self-contained. touched_areas provides best-effort planning context rather
than an exclusive ownership boundary.
Fields§
§acceptance_criteria: Vec<String>Observable conditions the worker must satisfy before the controller may verify this task as complete.
prompt: StringComplete standalone prompt handed to the child session.
task_key: StringStable identifier for this subtask within one orchestration.
title: StringShort human-readable subtask title.
touched_areas: Vec<String>Best-effort repository-relative paths or directories this subtask is expected to change.
Trait Implementations§
Source§impl Clone for SubtaskItem
impl Clone for SubtaskItem
Source§fn clone(&self) -> SubtaskItem
fn clone(&self) -> SubtaskItem
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 SubtaskItem
impl Debug for SubtaskItem
Source§impl<'de> Deserialize<'de> for SubtaskItem
impl<'de> Deserialize<'de> for SubtaskItem
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 SubtaskItem
Source§impl JsonSchema for SubtaskItem
impl JsonSchema for SubtaskItem
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SubtaskItem
impl PartialEq for SubtaskItem
Source§impl Serialize for SubtaskItem
impl Serialize for SubtaskItem
impl StructuralPartialEq for SubtaskItem
Auto Trait Implementations§
impl Freeze for SubtaskItem
impl RefUnwindSafe for SubtaskItem
impl Send for SubtaskItem
impl Sync for SubtaskItem
impl Unpin for SubtaskItem
impl UnsafeUnpin for SubtaskItem
impl UnwindSafe for SubtaskItem
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