pub enum NotifyEvent {
ApprovalPending {
draft_id: String,
title: String,
stage_id: String,
role: String,
},
PhaseChange {
session_id: String,
from: String,
to: String,
issue: Option<u64>,
},
SessionEnd {
session_id: String,
outcome: String,
duration_minutes: u64,
summary: String,
},
Anomaly {
signal_type: String,
count: usize,
detail: String,
},
RequestPending {
from_label: String,
to_label: String,
message: String,
},
TaskAssigned {
task_id: u64,
title: String,
assignee: String,
},
PhaseTerminal {
plan: String,
phase: String,
state: String,
attempt: u32,
final_output: Option<String>,
},
GateProgress {
plan: String,
phase: String,
subject: String,
gate_sha: String,
wait_label: String,
},
Digest {
title: String,
body: String,
},
}Expand description
Notification event types mapped from edda domain events.
Variants§
ApprovalPending
PhaseChange
SessionEnd
Anomaly
RequestPending
TaskAssigned
PhaseTerminal
GH-564: one notification per phase terminal transition. state is
the terminal status name (“Passed” | “Failed” | “Stale” | “Skipped” |
“Aborted”); “Aborted” is plan-level and names the phase that forced
the abort. final_output carries the agent’s last output line when
the transition site has one (by convention it contains the PR URL).
GateProgress
GH-551/GH-751: progress notification for a gated phase awaiting verdict.
Digest
GH-765: free-text delivery for the daily fleet digest (and any other
operator-facing push). title is the first line, body the rest.
Implementations§
Source§impl NotifyEvent
impl NotifyEvent
pub fn event_name(&self) -> &'static str
Trait Implementations§
Source§impl Clone for NotifyEvent
impl Clone for NotifyEvent
Source§fn clone(&self) -> NotifyEvent
fn clone(&self) -> NotifyEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NotifyEvent
impl RefUnwindSafe for NotifyEvent
impl Send for NotifyEvent
impl Sync for NotifyEvent
impl Unpin for NotifyEvent
impl UnsafeUnpin for NotifyEvent
impl UnwindSafe for NotifyEvent
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