pub enum Phase {
Start,
Decision,
ToolCall,
ToolResult,
Verify,
Artifact,
Note,
End,
}Expand description
Event phases. Kept small; readers must silently ignore unknown values.
Variants§
Start
First event of the session, marking the start of execution.
The tracer synthesises a start record with an empty payload;
any input / cwd / version metadata is caller-defined — pass it
via a regular event call after begin if you want it in the
stream, or record it in meta.json via a later end call.
Decision
Skill-level reasoning outcome.
ToolCall
Immediately before invoking a tool.
ToolResult
Immediately after a tool returns.
Verify
A verification check ran (tests / clippy / dry-run etc.).
Artifact
Non-trivial file produced by the skill.
Note
Free-form human-readable log entry.
End
Last event of the session.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Phase
impl<'de> Deserialize<'de> for Phase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Phase
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.