Skip to main content

CommandData

Enum CommandData 

Source
pub enum CommandData {
Show 45 variants Inspect(Box<ProjectSnapshot>), Verify(Box<VerifyReport>), Worktree(WorktreeReport), Propose(Box<ProposeReport>), Replay(ReplayReport), Run(Box<RunReport>), Eval(Box<EvalReport>), Feature(Box<FeatureReport>), Converge(Box<ConvergeReport>), Report(Box<StatusReport>), Approvals(Box<ApprovalsReport>), Control(Box<ControlReport>), Cost(Box<CostReport>), Pr(Box<PrReport>), Bench(Box<BenchReport>), Init(Box<InitReport>), Skills(Box<SkillsReport>), Skill(Box<SkillRunReport>), Checklists(Vec<ChecklistStatus>), Archive(Box<ArchiveReport>), InPlace(Box<InPlaceReport>), Attest(Box<AttestReport>), Explain(Box<ExplainReport>), Schema(Box<SchemaReport>), Doctor(Box<DoctorReport>), Features(Box<FeaturesReport>), Ui(Box<UiReport>), Config(Box<ConfigReport>), Issues(Box<IssuesReport>), Inbox(Box<InboxReport>), Shape(Box<ShapeReport>), Review(Box<ReviewReport>), Auth(Box<AuthReport>), BranchVerify(Box<BranchReport>), EvidenceTour(Box<EvidenceTour>), Actions(Box<ActionsReport>), Bug(Box<BugReport>), PolicyCoverage(Box<PolicyCoverage>), Comments(Box<CommentsView>), Preset(Box<PresetReport>), NewProject(Box<NewProjectReport>), Sample(Box<SampleReport>), Similar(Box<SimilarReport>), RungSuggestion(Box<RungSuggestion>), PlanningChain(Box<PlanningChainReport>),
}
Expand description

Command-specific payload of a result.

Variants§

§

Inspect(Box<ProjectSnapshot>)

inspect: the project snapshot.

§

Verify(Box<VerifyReport>)

verify: the check results.

§

Worktree(WorktreeReport)

worktree: where speccoder works, or why it won’t.

§

Propose(Box<ProposeReport>)

propose: what the model proposes for one task (never executed).

§

Replay(ReplayReport)

replay: whether a recorded run reproduces.

§

Run(Box<RunReport>)

run: one attempt and its verdict.

§

Eval(Box<EvalReport>)

eval: a suite of judged attempts.

§

Feature(Box<FeatureReport>)

run without --task: a feature worked through.

§

Converge(Box<ConvergeReport>)

converge: a feature assessed against its artifacts.

§

Report(Box<StatusReport>)

report: a feature’s tasks and their evidence.

§

Approvals(Box<ApprovalsReport>)

approvals / approve / reject: calls awaiting a person.

§

Control(Box<ControlReport>)

accept / skip / nudge: a person’s control over one task.

§

Cost(Box<CostReport>)

cost: tokens (and money, if priced) per task.

§

Pr(Box<PrReport>)

speccoder pr.

§

Bench(Box<BenchReport>)

speccoder bench import.

§

Init(Box<InitReport>)

init: the configuration written.

§

Skills(Box<SkillsReport>)

skill without a name: the installed skills.

§

Skill(Box<SkillRunReport>)

skill <name>: a hosted skill’s run.

§

Checklists(Vec<ChecklistStatus>)

run stopped by unfinished checklists.

§

Archive(Box<ArchiveReport>)

spec archive: an OpenSpec change merged into the main specs.

§

InPlace(Box<InPlaceReport>)

An in-place run refused or stopped (DIRTY-CHECKOUT, INTENT-CHANGED, …).

§

Attest(Box<AttestReport>)

attest verify / attest sign: what each task’s attestation says.

§

Explain(Box<ExplainReport>)

explain: catalog entries.

§

Schema(Box<SchemaReport>)

schema: the published schemas, or one of them.

§

Doctor(Box<DoctorReport>)

doctor: every check of the machine and the project.

§

Features(Box<FeaturesReport>)

feature: the project’s features and which one is current.

§

Ui(Box<UiReport>)

ui: where the web interface is served.

§

Config(Box<ConfigReport>)

config: every key of speccoder.toml, its value and its default.

§

Issues(Box<IssuesReport>)

issue: the repository’s open issues.

§

Inbox(Box<InboxReport>)

inbox: what waits for a person’s decision, across features.

§

Shape(Box<ShapeReport>)

shape: a person’s words made into a requirement, and what changed.

§

Review(Box<ReviewReport>)

review: the feature’s requirements and the person’s review of each.

§

Auth(Box<AuthReport>)

auth: who speccoder is on a GitHub host.

§

BranchVerify(Box<BranchReport>)

attest verify --branch / attest badge: every tick of a branch and what its evidence comes to.

§

EvidenceTour(Box<EvidenceTour>)

attest tour / /api/tour: one task’s evidence tour.

§

Actions(Box<ActionsReport>)

actions: what can be done now.

§

Bug(Box<BugReport>)

bug: a bug, its reproductions and how far it got.

§

PolicyCoverage(Box<PolicyCoverage>)

config coverage: what a prefix entry would newly allow.

§

Comments(Box<CommentsView>)

review comments: the comment tray and the last revision turn.

§

Preset(Box<PresetReport>)

preset add: the speccoder Spec Kit preset, installed or offered.

§

NewProject(Box<NewProjectReport>)

new: a new project’s plan, its steps and its commit.

§

Sample(Box<SampleReport>)

sample: the bundled sample, copied and replayed.

§

Similar(Box<SimilarReport>)

feature similar: requirements close to a description.

§

RungSuggestion(Box<RungSuggestion>)

suggest: the rung a description suggests.

§

PlanningChain(Box<PlanningChainReport>)

spec <skill> --through: plan through, and where it stopped.

Implementations§

Source§

impl CommandData

Source

pub const fn kind(&self) -> &'static str

The payload’s schema name (run, feature, in-place, …): the envelope’s payload.

Trait Implementations§

Source§

impl Clone for CommandData

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CommandData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl JsonSchema for CommandData

Source§

fn schema_name() -> Cow<'static, str>

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn inline_schema() -> bool

Whether JSON Schemas generated for this type should be included directly in parent schemas, rather than being re-used where possible using the $ref keyword. Read more
Source§

impl PartialEq for CommandData

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for CommandData

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CommandData

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.