Anatomy of a capability token
Authority you can read off the object.
A capability token is not a role name that something resolves later. Every dimension of what the holder may do is a field, and the field has an edge.
tok_9f3ac1SIMULATED EXAMPLE · illustrative field values
agentrefactor-botThe identity every operation under this token acts as. Not a person's.
path_scopesrc/**, tests/**Path-scoped. Everything outside the glob is out of scope.
branch_scopeagent/refactor-bot/**Agents write in their own namespace, not on your lanes.
allowed_opsread, write, commitA closed enumeration. Modifying policy and obliterating objects are not among them.
secret_clearancefalseChecked at seal and before a protected read — not after.
can_issue_sub_tokensfalseOff here; where it is on, a sub-agent can be handed strictly less, never more.
expires_at1787508000Unix seconds (2026-08-23T18:00Z). Required on every token, not a policy someone remembers.