pub type KernelEvent = AuditEvent;Expand description
Public event stream for integrators (same shape as AuditEvent).
Aliased Type§
pub enum KernelEvent {
Step {
step: u64,
goal: String,
action: String,
avg_err: f64,
damping: f64,
},
PatchAccepted {
step: u64,
patch_id: Uuid,
damping: f64,
description: String,
},
PatchRejected {
step: u64,
reason: String,
},
Checkpoint {
checkpoint_id: Uuid,
step: u64,
label: String,
},
Rollback {
checkpoint_id: Uuid,
step_before: u64,
},
TaskEpisode {
task: String,
reward: f64,
steps: u32,
},
ToolAllowed {
tool: String,
},
ToolDenied {
tool: String,
reason: String,
},
FixedPointEntered {
step: u64,
alignment_score: f64,
},
FixedPointExited {
step: u64,
alignment_score: f64,
dwell_steps: u64,
},
L2ModulationProposed {
step: u64,
score: f64,
},
L2ModulationCommitted {
step: u64,
score: f64,
gain: f64,
},
}Variants§
Step
PatchAccepted
PatchRejected
Checkpoint
Rollback
TaskEpisode
ToolAllowed
Tool-call gate: proposed tool was on allow-list and recorded.
ToolDenied
Tool-call gate: proposed tool blocked (deny-list or not allowed).
FixedPointEntered
L2 entered the fixed-point regime.
FixedPointExited
L2 exited the fixed-point regime.