pub enum Outcome {
Show 22 variants
TaskPassed {
task: String,
ready: usize,
},
FeatureDone,
NeedsApproval {
task: String,
},
Blocked {
task: String,
},
BudgetExhausted {
task: String,
},
VerificationFailed {
task: String,
},
SuspectedGaming {
task: String,
},
TestsOverStrict {
task: String,
},
AcceptanceWeak {
task: String,
},
NotDemonstrated {
task: String,
},
RunFailed {
task: Option<String>,
},
Interrupted {
task: String,
},
Running,
NothingReady,
Planning {
skills: Vec<String>,
},
ReportShown {
ready: usize,
open_approvals: usize,
stale: usize,
},
ApprovalsListed {
first: Option<String>,
},
Decided,
ChecklistsOpen,
ConfigError,
GitPrecondition,
ArchiveAwaiting {
change: String,
},
}Expand description
How a command ended, as far as what comes next is concerned.
Variants§
TaskPassed
A task passed; ready tasks can run now.
FeatureDone
Every task of the feature is ticked.
NeedsApproval
A call waits for a person.
Blocked
The model stopped honestly: the task cannot be done as written.
BudgetExhausted
Out of turns or calls, or the model did not finish.
VerificationFailed
The checks or the acceptance tests failed after the retries.
SuspectedGaming
The gaming monitor suspects a shortcut.
TestsOverStrict
An acceptance test rejects an implementation the spec appears to allow; the attempt is held for a ruling.
AcceptanceWeak
The acceptance set stayed below min_strength.
NotDemonstrated
A convergence gap no failing test shows, or unfinished checklists.
RunFailed
The run itself failed (provider, store, …).
Interrupted
Killed while running; the next run resumes.
Running
A run is in progress.
NothingReady
No task can run.
Planning
The feature is being planned: it has no task list yet; these planning skills come next.
ReportShown
report shown.
Fields
ApprovalsListed
approvals listed.
Decided
A person’s decision recorded (approve, reject, accept, skip, nudge).
ChecklistsOpen
The feature’s checklists have unchecked items; nothing ran.
ConfigError
speccoder.toml or the environment is wrong.
GitPrecondition
git refused (dirty tree, uncommitted artifacts, …).
ArchiveAwaiting
An OpenSpec archive waits for a person’s yes.