pub struct EscalationJudgeConfig {
pub confirmations: u32,
pub recent_turn_window: usize,
pub window_message_chars: usize,
pub handoff_note: Option<String>,
}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.
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.
handoff_note: Option<String>Note appended to the request on every turn the judge has sent to the capable tier: the
latching turn and each confirmed turn after it. Turns that reach the capable tier by
fallback (context overflow, transport failure) carry no note, since the judge did not
speak. The note rides in the forwarded request only, never in the caller’s conversation,
so it cannot accumulate across turns. None sends nothing.
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