pub const PASS_DOMAINS: &[&str];Expand description
Domains loaded by a named pass rather than by a general run.
RUN_DOMAINS is what an agent run carries in its prompt. A pass-scoped
domain is loaded by exactly one caller instead — triage by the mail
classifier — and is deliberately absent from RUN_DOMAINS, because
classifier rules are noise to every run that is not classifying.
This list exists so “unrouted” can mean what it says.
LearningStore::unrouted_domains warns about a domain whose rules ride in
no prompt, which is a real failure — a typo’d filename produces rules
nobody reads, indistinguishable from rules being obeyed. Measured against
RUN_DOMAINS alone, triage trips that warning permanently the moment it
learns its first rule, with a message that is simply untrue. And a
permanent false positive is worse than noise: it is where a real unrouted
domain hides. Same failure as a threshold silent on zero, pointed the other
way.