Skip to content

AuthorityScope

stablev1.0.0

Agent supervision (S27): declares what an agent is PERMITTED to do. Renders the human-granted authority boundary — grant summary, permitted/denied action list with text labels, notional caps with gold usage bars, expiry, accountable grantor, and a revoke control. Validation gold frames the grant.

ai-agentInteractive/Storybook ↗
import { AuthorityScope } from "@nodus/design-system"
Loading demo…
Interactive Preview — StorybookOpen in Storybook ↗

Props

agentrequired
Type stringDefault

Agent the authority is granted to.

scoperequired
Type stringDefault

One-line grant summary.

actionsrequired
Type AuthorityAction[]Default

Permitted / denied action list. Denied actions render a text label, never color alone.

caps
Type AuthorityCap[]Default

Quantitative caps (label / limit / used). Usage renders a gold bar with a text percentage.

expiresAt
Type stringDefault

ISO timestamp — when the grant lapses. Rendered as a static UTC date.

grantedBy
Type stringDefault

Accountable human who granted the authority.

onRevoke
Type () => voidDefault

Renders a "Revoke authority" button when provided.

semantictypebordersurfacevalidation
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?