The cap is a balance, not a row in a database.
Approval mints an account funded with exactly the ceiling. No service in the middle can fail open, because there is none — the ceiling is how much money exists.
Envelope minted · Hedera testnet
Funded$0.0500
Ceiling $0.0500filled to the edge, and no further
Who can move it
1-of-[ 2-of-2(agent, policy), treasury ]
- 2-of-2Both signatures, or the transaction does not exist.
- agentSigns the step it wants to pay for.
- policySigns only if the live ask still matches the approved plan.
- treasuryFunds the envelope and reclaims the remainder at expiry. Never spends on the agent’s behalf.
The agent can propose a payment, never complete one alone.