GrantBoundAutonomyOptions
@totemsdk/agent-policy / GrantBoundAutonomyOptions
Interface: GrantBoundAutonomyOptions
Properties
autonomyProfiles
autonomyProfiles:
Record<string,AutonomyProfile>
ephemeral?
optionalephemeral?:boolean
Explicitly permit the in-memory default store (dev/testing only). Without it, construction fails rather than silently downgrading to an ephemeral store that cannot recover reservations after a restart.
grantRequirements?
optionalgrantRequirements?:Record<string,GrantRequirement>
Grant-set composition, keyed by action string.
identityResolver
identityResolver:
AuthorityIdentityResolver
mandateResolver
mandateResolver: (
mandateId) =>Promise<SignedProof|undefined>
Parameters
mandateId
string
Returns
Promise<SignedProof | undefined>
mandateStatusResolver?
optionalmandateStatusResolver?: () =>Promise<MandateStatusSnapshot>
Returns
Promise<MandateStatusSnapshot>
now?
optionalnow?: () =>number
Returns
number
stateStore?
optionalstateStore?:RunStateStore