pub struct SubtaskItem {
pub acceptance_criteria: Vec<String>,
pub kind: SubtaskKind,
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.
kind: SubtaskKindWhether this task implements repository changes or only reports read-only findings.
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
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 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>,
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>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more