ToolApproval and AgentRun
ToolApproval
When an agent calls a tool listed in requireApproval, the gateway holds the
call and creates a ToolApproval (short name tap) in the agent’s namespace,
with the pod, server, tool, arguments and expiry.
$ kubectl get tap -n agentsNAME DECISION SERVER TOOL POD EXPIRES AGEmerge-pull-request-x7k2p github merge_pull_request claude-agent-0 4m 12sDecide it with kubectl leash, with Slack’s buttons, or by setting
spec.decision yourself:
kubectl leash approve merge-pull-request-x7k2p -n agentskubectl leash deny merge-pull-request-x7k2p -n agents --reason "not on a Friday"A decision is final, and nobody can edit the request. If nobody decides before
the policy’s approvalTimeout (default 5m), the call is refused.
AgentRun
One AgentRun (short name arun) per agent pod, named after it:
$ kubectl -n agents get arunNAME POLICY POD PHASE TOKENS MODEL CALLS TOOL CALLS DENIED LAST ACTIVITYclaude-agent-0 claude-agent claude-agent-0 Running 48210 37 12 2 40sIt holds tokens, model and tool calls, refusals and approvals, the models and
tools used, and the last refusal with its reason. It is Running while the pod
exists, then Completed, and is deleted after 7 days (audit.runRetention).
More in Audit trail and dashboards.