pub struct PlanStep {Show 20 fields
pub index: usize,
pub description: String,
pub depends_on: Vec<usize>,
pub required_mutation_effects: ToolMutationEffects,
pub requires_observation: bool,
pub expected_targets: Vec<String>,
pub owner_units: Vec<usize>,
pub evidence_receipt_ids: Vec<String>,
pub background_jobs: Vec<String>,
pub waited_jobs: Vec<String>,
pub made_folders: Vec<String>,
pub not_done: Option<NotDoneReason>,
pub evidence: StepEvidence,
pub status: StepStatus,
pub tool_call_ids: Vec<String>,
pub result_summary: Option<String>,
pub error: Option<String>,
pub retry_count: u32,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
A single step in a task plan.
Fields§
§index: usizeStep index (0-based)
description: StringHuman-readable description
depends_on: Vec<usize>Indices of prerequisite steps. Missing on legacy rows means the steps are independent; newly generated plans persist explicit serial edges.
required_mutation_effects: ToolMutationEffectsTyped evidence contract for automatic completion. If empty/false, only an explicit checklist update may complete the step.
requires_observation: bool§expected_targets: Vec<String>Exact canonical targets (path, URL, or resource ID), never prose.
owner_units: Vec<usize>The owner’s units of work this step carries out (owner_units on
its checklist item): the typed identity a re-declaration and a
launch find the step by, wherever it sits in the list.
evidence_receipt_ids: Vec<String>Tool-call receipt IDs that proved this step.
background_jobs: Vec<String>Background jobs (their launch ids) that took this step on and still
work on it: a launch named it in its typed checklist_items. Each
job’s end settles the step (TaskPlan::settle_background_job), and
only these make a new helper for the step a duplicate.
waited_jobs: Vec<String>Background jobs this step only waits on: it was left open while the turn’s jobs ran, and no launch named it. It reads as running while they do and, while no job of its own took it on, settles from their typed ends: done once every one succeeded, not done (with the reason) once one failed or stopped. Waiting on a job is not being done by it: it never makes a launch for the step a duplicate.
made_folders: Vec<String>The folders the runs that took this step on made for it, from their claim evidence (what each found absent and then created), recorded as each run ended. The card names them, so a run that made another folder than the step’s words named shows the real one (live 2026-11-14: the card read claude-drupal-12, the site was made in claude-company-drupal-5879).
not_done: Option<NotDoneReason>Why a step that was not done was left undone, when the daemon knows it from typed state (never from the step’s text). Such a step was held back correctly, so the card does not show it as a failure.
evidence: StepEvidenceHow its state is known: settled by typed evidence, completed on the executing model’s word alone (its checklist update said done and no receipt or helper’s result proved it; evidence clears it), or handed to a helper that never started (a later launch takes it again).
status: StepStatusStep status
tool_call_ids: Vec<String>Tool calls made during this step (event IDs or tool:timestamp)
result_summary: Option<String>Summary of what was accomplished
error: Option<String>Error message if step failed
retry_count: u32Number of retry attempts
started_at: Option<DateTime<Utc>>§completed_at: Option<DateTime<Utc>>Implementations§
Source§impl PlanStep
impl PlanStep
Sourcepub fn described(&self) -> String
pub fn described(&self) -> String
Its words on the card, with the folders its runs made that its words do not already name: the real folder, from the claim evidence.
Sourcepub fn unverified(&self) -> bool
pub fn unverified(&self) -> bool
Completed on the model’s word alone, and a step that declared a side effect: the one kind of step the card flags. A step that changes nothing (a check, a read) needs no receipt: the reply says what it found.
Sourcepub fn has_background_jobs(&self) -> bool
pub fn has_background_jobs(&self) -> bool
Any background job is still listed on it: one that took it on, or one it waits on.
Sourcepub fn helper_not_started(&self) -> bool
pub fn helper_not_started(&self) -> bool
It was handed to a helper that never started.
Sourcepub fn duration_secs(&self) -> Option<u64>
pub fn duration_secs(&self) -> Option<u64>
Calculate step duration in seconds (if completed).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanStep
impl<'de> Deserialize<'de> for PlanStep
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>,
Auto Trait Implementations§
impl Forget for PlanStep
impl Freeze for PlanStep
impl Move for PlanStep
impl RefUnwindSafe for PlanStep
impl Send for PlanStep
impl Sync for PlanStep
impl Unpin for PlanStep
impl UnsafeUnpin for PlanStepwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
impl UnwindSafe for PlanStep
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
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<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> ⓘ
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> ⓘ
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