pub enum ArtifactType {
GoalTitle,
PlanDocument,
DraftPackage,
ReviewVerdict,
AuditEntry,
ConstitutionReport,
AgentMessage,
FileArtifact,
TestResult,
Custom(String),
}Expand description
Typed artifact that a workflow step declares as input or output.
Used by the WorkflowEngine to resolve execution order automatically from
type compatibility — no explicit depends_on required when types match.
§Custom types
Any unrecognized string becomes Custom(string). Prefix with x- by
convention: inputs = ["x-my-custom-artifact"].
§Example workflow YAML
stages:
- name: generate-plan
outputs: [PlanDocument]
- name: implement-plan
inputs: [PlanDocument]
outputs: [DraftPackage]Variants§
GoalTitle
A short goal description string (the starting prompt).
PlanDocument
A structured plan document (plan items with acceptance criteria).
DraftPackage
A TA draft package ready for review.
ReviewVerdict
Pass/fail/flag verdict from a reviewer agent.
AuditEntry
A single entry in the audit ledger.
ConstitutionReport
Output from a constitution compliance review.
AgentMessage
A message emitted by or to an agent.
FileArtifact
A file or diff artifact (path + content).
TestResult
Test run results (pass/fail counts, failures).
Custom(String)
User-defined custom artifact type. Prefix with x- by convention.
Implementations§
Source§impl ArtifactType
impl ArtifactType
Trait Implementations§
Source§impl Clone for ArtifactType
impl Clone for ArtifactType
Source§fn clone(&self) -> ArtifactType
fn clone(&self) -> ArtifactType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ArtifactType
impl Debug for ArtifactType
Source§impl<'de> Deserialize<'de> for ArtifactType
impl<'de> Deserialize<'de> for ArtifactType
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl Display for ArtifactType
impl Display for ArtifactType
Source§impl FromStr for ArtifactType
impl FromStr for ArtifactType
Source§impl Hash for ArtifactType
impl Hash for ArtifactType
Source§impl PartialEq for ArtifactType
impl PartialEq for ArtifactType
Source§impl Serialize for ArtifactType
impl Serialize for ArtifactType
impl Eq for ArtifactType
impl StructuralPartialEq for ArtifactType
Auto Trait Implementations§
impl Freeze for ArtifactType
impl RefUnwindSafe for ArtifactType
impl Send for ArtifactType
impl Sync for ArtifactType
impl Unpin for ArtifactType
impl UnsafeUnpin for ArtifactType
impl UnwindSafe for ArtifactType
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.