pub struct ExecutorRoute {
pub tier: ExecutorTier,
pub rule: Option<String>,
}Expand description
The effective executor route of one worker session (ticket
routing-rules-config), recorded additively on worker.spawned: routing
is provenance, not a hidden implementation detail. Derived once at fold
time from mission.created’s original folded goal and routed config
(crate::routing::seed_executor_route) — the determinism contract
guarantees the recomputation equals the seed-time decision, so no new
event payload is needed — then replayed onto each worker spawn.
Fields§
§tier: ExecutorTierThe EFFECTIVE capability class the session runs on — after the
fail-safes (a local route with no configured endpoint lands the
worker back on frontier), derived from the routed config exactly as
MissionState::executor_tier derives it.
rule: Option<String>The rule that decided the route, named by its position in the table
(taskClassRules[i] / patternRules[i]). None when no rule
decided it: the fall-through to frontier, or the legacy literal
floor with no table configured at all. Never serialized when absent.
Trait Implementations§
Source§impl Clone for ExecutorRoute
impl Clone for ExecutorRoute
Source§fn clone(&self) -> ExecutorRoute
fn clone(&self) -> ExecutorRoute
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more