ReversalWindow
v1.0.0Agent supervision (S27): the undo horizon after an agent acts. Shows the executed action (agency red accent), a live time-remaining countdown to the reversal deadline, REVERSIBLE / REVERSED / FINAL text badges, audit reference, and a gold reverse control with optional reason input — the human decision moment.
import { ReversalWindow } from "@nodus/design-system"Props
| Prop | Type | Default | Description |
|---|---|---|---|
actionreq | string | — | What the agent executed. |
agentreq | string | — | Agent that acted. |
executedAtreq | string | — | ISO timestamp — when the action executed. Rendered in UTC. |
reversibleUntilreq | string | — | ISO timestamp — when the reversal window closes. Drives the live countdown. |
status | "reversible" | "reversed" | "final" | "reversible" | Reversal status, shown as a text badge. |
auditRef | string | — | Ledger / audit reference id. |
onReverse | (reason?: string) => void | — | Renders a "Reverse action" button and optional reason input when provided. |
actionrequiredstringDefault —What the agent executed.
agentrequiredstringDefault —Agent that acted.
executedAtrequiredstringDefault —ISO timestamp — when the action executed. Rendered in UTC.
reversibleUntilrequiredstringDefault —ISO timestamp — when the reversal window closes. Drives the live countdown.
status"reversible" | "reversed" | "final"Default "reversible"Reversal status, shown as a text badge.
auditRefstringDefault —Ledger / audit reference id.
onReverse(reason?: string) => voidDefault —Renders a "Reverse action" button and optional reason input when provided.
This component was designed to express:
Explore Related
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.
Agent supervision (S27): interruptible running log of agent actions. Rows carry UTC mono timestamps and text status badges (COMPLETED / IN PROGRESS / QUEUED / BLOCKED); in-progress rows pulse in temporal blue. The gold control rail — Pause / Stop / Hand back — is the human's interruption authority.
Real-time deadline countdown. Transitions color from validation → caution → agency as deadline approaches. Supports critical threshold configuration.