Expand description
The governed path every binding enters (spec 3.5 §7.4, D-4, A-I7, A-I8; AWP 2.0 §7.5).
GovernedExecutor answers a capability call the same way whether it arrived over HTTP,
A2A, MCP or a public agent’s conversation. In order:
- Visibility by tier and deprecation — a hidden or sunset capability is
capability_not_found. - Read-only mode and the kill switch — a non-
read_onlycapability answersread_only. - The caller’s daily call limit —
rate_limit_exceeded. - The input schema, the idempotency key a
non_idempotentcapability requires, and a live consent receipt for a consent-bound one. - The idempotency record: a repeat with the same key and input returns the recorded
outcome — output, error or held call — without executing; the same key with another
input is
idempotency_conflict. adk_core::authorize_tool_callunderCapabilityPolicy, the owner’sApprovalService, the action ledger and the audit trail: the call executes, is refused, or is held for the owner (202withLocation: /awp/v2/calls/{id}).
A held call waits in the approval store for as long as the owner takes — spec 3.3’s park on
timeout — until its decision arrives; GovernedExecutor::resolve then runs it through the
same path, or ends it rejected or expired.
Structs§
- Governed
Executor - The governed
CapabilityExecutorof the edge (spec 3.5 §7.4). - KeySources
- Where a binding found the idempotency key of a call (AWP 2.0 §7.7, C7, C8).
Constants§
- EDGE_
AGENT_ NAME - The name the edge’s governed calls are recorded under.