pub struct EscalationJudgeConfig {
pub confirmations: u32,
pub recovery_confirmations: u32,
pub recent_turn_window: usize,
pub window_message_chars: usize,
}Expand description
The tuning surface for the trajectory judge.
The routing settings retain their benchmarked defaults. Everything else is a fixed invariant (the constants above).
Fields§
§confirmations: u32Consecutive escalate verdicts required before a turn moves to the capable tier, which
is also the turn that latches the session. Any decline clears the streak.
1 escalates on the first verdict; the router’s main cost dial.
2 or higher needs a session id, since the streak is retained per session.
recovery_confirmations: u32Consecutive clear verdicts required, while latched, before the session de-latches back
to the efficient tier. 0 (the default) disables recovery: a latch is permanent for
the session’s remainder and latched turns skip the judge entirely. Any escalate verdict
clears the recovery streak, and a de-latched session can re-escalate as usual.
recent_turn_window: usizeTrailing messages shown on top of the anchors. A loop longer than this is invisible.
window_message_chars: usizePer-message cap inside the trailing window.
Trait Implementations§
Source§impl Clone for EscalationJudgeConfig
impl Clone for EscalationJudgeConfig
Source§fn clone(&self) -> EscalationJudgeConfig
fn clone(&self) -> EscalationJudgeConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more