pub struct InboxItem {
pub kind: String,
pub group: String,
pub risk: Vec<RiskReason>,
pub tool: Option<String>,
pub feature: String,
pub task: Option<String>,
pub title: String,
pub detail: String,
pub since: Option<u64>,
pub actions: Vec<Action>,
pub unverified: Option<Unverified>,
}Expand description
One decision waiting for a person.
Fields§
§kind: StringWhat kind, in the order of urgency: unknown (the calls waiting in
the feature’s journal could not be read — some may wait for you),
approval (a run waits on it),
ruling (a verified attempt is held: its tests reject an
alternative the spec allows), gaming (the monitor suspects a
shortcut), stale (proven against an earlier wording), question
(the spec leaves questions open), review
(requirements not approved on their current wording), revise
(changes requested on the spec), stuck (the
last attempt did not pass), aside (changes a run set aside),
commit (planning files a run cannot
read yet), handoff (every task done: review and hand it off) —
and a bug’s bug_confirm, bug_cannot_reproduce,
bug_unchanged_not_holding, bug_repro_weak,
bug_already_satisfied (the registry: speccoder_core::inbox::Kind).
group: StringIts group: blocked_on_you or ready_to_review.
risk: Vec<RiskReason>Ready to review: what the evidence leaves to the person, the riskiest first; none for strong verified work.
tool: Option<String>An approval: the tool its call is for (approvals of one tool can be decided together, each on its own object).
feature: StringThe feature.
task: Option<String>The task, when it is about one.
title: StringWhat to decide, in a line.
detail: StringWhat it rests on: the call, the reason, the changed requirement.
since: Option<u64>Waiting since (Unix seconds), when known.
actions: Vec<Action>The decisions, the one that moves the work forward first; each runs in the item’s feature.
unverified: Option<Unverified>unverified: the feature’s ticks and why each regression-only one is.
Trait Implementations§
impl Eq for InboxItem
Source§impl JsonSchema for InboxItem
impl JsonSchema for InboxItem
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