pub fn evaluate_tool_gate(
principal_permitted: bool,
agent_has_tool: bool,
) -> GateDecisionExpand description
Pure gate: principal flag + allowlist membership. Unit-testable without APP_STATE or MCP.
pub fn evaluate_tool_gate(
principal_permitted: bool,
agent_has_tool: bool,
) -> GateDecisionPure gate: principal flag + allowlist membership. Unit-testable without APP_STATE or MCP.