pub struct TaskStatus {Show 16 fields
pub id: String,
pub title: String,
pub phase: String,
pub state: String,
pub drift: Option<Drift>,
pub attestation: Option<String>,
pub blocked_by: Vec<String>,
pub commit: Option<String>,
pub run_id: Option<String>,
pub last_attempt: Option<LastAttempt>,
pub set_aside: Option<SetAside>,
pub note: Option<String>,
pub strength: Option<String>,
pub bug: Option<String>,
pub regression: Option<Regression>,
pub lane: Lane,
}Expand description
One task and its evidence.
Fields§
§id: StringTask ID.
title: StringTitle after markers.
phase: StringEnclosing phase heading.
state: Stringverified, regression_only (ticked by speccoder with that verdict),
attested (ticked by speccoder task accept), ticked_without_evidence
(ticked, no speccoder commit), evidence_without_tick (in place: a
verdict commit names the task, its local tick is missing),
skipped, ready or blocked.
drift: Option<Drift>What changed in the intent (spec, plan, constitution) since this
task’s evidence was committed: its tick was judged against an earlier
version. None: nothing changed, or the task has no commit.
attestation: Option<String>For a task speccoder committed: its attestation as the note says,
signatures unchecked — signed <kind> <keyid>, unsigned or
missing (attest verify checks them).
blocked_by: Vec<String>Open dependencies of a blocked task.
commit: Option<String>The speccoder commit that ticked it.
run_id: Option<String>The agentplane run of that attempt.
last_attempt: Option<LastAttempt>For an open task: its latest saved attempt.
set_aside: Option<SetAside>Changes found in the worktree when the task’s run started (a person’s edits, or an interrupted run’s leftovers), saved and set aside.
note: Option<String>The reason a person gave for accept or skip.
strength: Option<String>A verified tick’s acceptance strength as its trailer says
(0.83 mutants=9/11 near-miss=1/2, not measured (…)).
bug: Option<String>A bug task: the bug’s outcome (awaiting_confirmation,
cannot_reproduce, fixed, …).
regression: Option<Regression>A regression-only tick: why, with speccoder’s wording
(unrecorded for a tick made before reasons were recorded).
lane: LaneWho does it (crate::lane); left out for code.
Trait Implementations§
Source§impl Clone for TaskStatus
impl Clone for TaskStatus
Source§impl Debug for TaskStatus
impl Debug for TaskStatus
impl Eq for TaskStatus
Source§impl JsonSchema for TaskStatus
impl JsonSchema for TaskStatus
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