guard method
The guard's verdict on target for the call running now: the gate that
refuses it, or null. The target is guarded as written when the running
tool declares isWrite, as read otherwise.
Implementation
AgentScopeGate? guard(AgentGuardTarget target) =>
agentGuard(scope, target, write: callWrites);