01 / The operating case
What changes in a real workflow?
An agent calls a wrapped customer-delete tool while another plugin exposes the raw customer API.
- 01Authority origin
- 02Task and grant
- 03Current decision
- 04Observed outcome
02 / Decision contract
What the executor must check
Check principal, task, tool, canonical arguments and policy before invoking; remove direct credentials or enforce again downstream.
03 / Failure and evidence
What goes wrong, and what can be proven?
The wrapper logs a DENY, yet the alternate plugin deletes the customer.
Compare wrapper decisions with customer API operations and alert on unmatched writes.
04 / Canonical scope
Why this reference stands alone
API gateway enforcement sees network calls; this page owns the agent-side wrapper and bypass test.
Illustrative implementation artifact
Wrapper call path
toolCall -> normalize operation and arguments
-> resolve authenticated task -> evaluate exact action
-> reject unless ALLOW bound to request digest
-> call downstream API -> record attemptPrimary references