You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent token revocation cascade: are parent-mediated sub-agent tokens included? #233
L1936 (Parent-Mediated Authorization): "The sub-agent relationship is recorded by the PS, which issued both tokens and holds the parent_agent binding."
L1938 (Parent-Mediated Authorization): "revoking the parent's grant causes the next sub-agent authorization to fail, while existing auth tokens expire normally (≤1 hour)."
L2755 (Revocation Cascade): "The cascade is by agent identity: the PS revokes every person token and auth token it issued to that agent's sub, whichever agent token the agent presented when it asked."
The PS records the parent and sub-agent relationship, and L1938 settles revocation of the parent's grant: later sub-agent authorizations fail and existing auth tokens run to exp. It does not cover the agent provider revoking the parent's agent token. The L2755 cascade runs by the revoked agent's sub, but a parent-mediated token is requested by the parent (L1929) and bound to the sub-agent's key (L1934), so one reading revokes it with the parent's tokens and another leaves it to expire as in L1938.
Ask: Say whether the L2755 cascade for a revoked parent agent token covers person tokens and auth tokens issued in parent-mediated requests and bound to its sub-agents' keys.
Parent P obtains auth token A for sub-agent S (cnf = K_S) at time T.
T+1m P's agent provider revokes P's agent token; the PS runs the L2755 cascade.
Reading 1: A was requested by P, so it counts as issued to P's sub and is revoked.
Reading 2: A is bound to S's key, so it runs to exp (up to one hour), as after a grant revocation (L1938).
Activity
Protocol: a parent's agent token revocation covers its parent-mediate…