pub enum LogEvent {
Show 25 variants
TaskRead {
task_id: u32,
title: String,
status: String,
},
WorktreeCreated {
task_id: u32,
path: String,
branch: String,
},
PhaseWorktreeCreated {
phase: String,
path: String,
branch: String,
base_branch: String,
},
PhaseWorktreeRetained {
phase: String,
path: String,
branch: String,
reason: String,
},
PhaseWorktreeCleaned {
phase: String,
path: String,
branch: String,
},
AgentLaunched {
agent: String,
program: String,
args: Vec<String>,
work_dir: String,
},
LaunchContextSnapshot {
phase: String,
agent: String,
instructions_path: String,
phase_doc_path: String,
config_source: String,
snapshot_path: String,
snapshot: String,
},
PhaseSelectionDecision {
phase: String,
order_key: String,
selected: bool,
reason: String,
},
ReviewPacketGenerated {
phase: String,
packet_path: String,
diff_command: String,
summary_path: Option<String>,
statements_count: usize,
execution_log_path: String,
},
ReviewDecision {
phase: String,
decision: String,
feedback: Option<String>,
},
ReworkCycleStarted {
phase: String,
attempt: u32,
max_retries: u32,
feedback: String,
},
PromptDetected {
kind: String,
matched_text: String,
},
AutoResponse {
prompt: String,
response: String,
},
UserInput {
length: usize,
},
TestExecuted {
command: String,
passed: bool,
exit_code: Option<i32>,
},
TestResult {
attempt: u32,
passed: bool,
output_lines: usize,
},
Commit {
hash: String,
message: String,
},
Merge {
source: String,
target: String,
},
PolicyDecision {
decision: String,
prompt: String,
},
AgentOutput {
line: String,
},
RunCompleted {
summary: String,
},
RunFailed {
reason: String,
},
CompletionDecision {Show 13 fields
phase: String,
passed: bool,
board_all_done: bool,
milestone_done: bool,
summary_exists: bool,
dod_passed: bool,
executor_stable: bool,
reasons: Vec<String>,
summary_path: Option<String>,
dod_command: String,
dod_executed: bool,
dod_exit_code: Option<i32>,
dod_output_lines: usize,
},
SessionStarted {
phase: String,
},
SessionEnded {
result: String,
},
}Expand description
All event types that can appear in the execution log.
Variants§
TaskRead
A task was read from the kanban board.
WorktreeCreated
A git worktree was created for the task.
PhaseWorktreeCreated
A phase run worktree was created.
PhaseWorktreeRetained
A run worktree was retained for later inspection.
PhaseWorktreeCleaned
A run worktree was cleaned up after merge.
AgentLaunched
An agent process was launched.
LaunchContextSnapshot
Launch context was composed and snapshotted before execution.
Fields
PhaseSelectionDecision
A phase sequencing decision was recorded.
ReviewPacketGenerated
A standardized review packet was generated for human review.
Fields
ReviewDecision
A human review decision was recorded.
ReworkCycleStarted
A rework cycle was launched after human review feedback.
PromptDetected
A prompt was detected in agent output.
AutoResponse
An auto-response was sent to the agent.
UserInput
User input was forwarded to the agent.
TestExecuted
A DoD test command was executed.
TestResult
Result of a DoD test (with output summary).
Commit
A git commit was created.
Merge
A branch was merged.
PolicyDecision
A policy decision was made.
AgentOutput
Agent output line (for verbose logging).
RunCompleted
The run completed successfully.
RunFailed
The run failed.
CompletionDecision
Completion contract decision (accept/reject + check results).
Fields
SessionStarted
Session started.
SessionEnded
Session ended.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogEvent
impl RefUnwindSafe for LogEvent
impl Send for LogEvent
impl Sync for LogEvent
impl Unpin for LogEvent
impl UnsafeUnpin for LogEvent
impl UnwindSafe for LogEvent
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.