Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / ApprovalDecision

Interface: ApprovalDecision

Defined in: packages/core/dist/index.d.ts

The resolution value shape of a tool-approval suspension (M3-T03).

Properties

PropertyTypeDescriptionDefined in
decision"allow" | "deny"-packages/core/dist/index.d.ts
entryRef?numberThe approval suspension's entry seq (RV4008): the address the consumption recheck reads revocations against. Present on every decision this registry hands out; absent only through older callers of toApprovalDecision.packages/core/dist/index.d.ts
expiresAt?stringThe allow's declared expiry (RV4008), carried verbatim from the resolution value: the consumption recheck denies a granted allow whose expiry has passed, exactly like a revocation. Pending approvals already had deadlineAt; this bounds the GRANT.packages/core/dist/index.d.ts
reason?string-packages/core/dist/index.d.ts