pub trait AuthContext:
Debug
+ Send
+ Sync {
// Required method
fn has_capability(&self, capability: &str) -> bool;
}Expand description
Trait the LLM-NER uses to gate calls. Production callers will plug
in the engine’s auth store; tests use StubAuthContext.
Defined here (and not in statement_frame) on purpose — this
module is the only consumer for now, and the trait is small enough
to inline. If a second consumer emerges, lift it out then.