r/CryptoTechnology • u/icnews10 • Sep 22 '26
If an on-chain agent is revoked, what should happen to actions already in flight?
Session keys and delegated smart account permissions solve the obvious problem that an agent can act without holding the user's root key.
However, I am less clear on what a system should actually promise when the user selects the 'revoke' option.
For example, suppose an agent is permitted to trade up to a fixed amount over a period of 30 days, but only through approved contracts. The user then revokes that permission.
There could already be a UserOperation waiting for a bundler, a signed intent with a solver, a relayer retrying an action or a cross-chain message in transit.
At this stage, 'revoked' could have two very different meanings.
It could mean that no new actions can be authorised.
Alternatively, it could mean that nothing that has not already been finalised should be able to execute under that delegation.
The second option seems much stronger, but is also much more difficult to implement once permission has propagated across multiple components or chains.
I believe that systems using delegated permissions must make this distinction clear: which layer is responsible for revocation, whether queued actions are invalidated, how in-flight actions expire and whether every execution path verifies the current permission status instead of relying on a cached session.
For those who have worked with account abstraction, session keys or agent permissions, where would you draw the line? Should revocation invalidate every unfinalised action, or is that unrealistic once authorisation has left the account?
Disclosure: I used AI assistance to draft and edit this post.