OverrideJustification
stableStructured justification form for human overrides of agent decisions. Captures reason category, free-text rationale, and acknowledges accountability.
import { OverrideJustification } from "@nodus/design-system/patterns"Props
| Prop | Type | Default | Description |
|---|---|---|---|
actionLabelreq | string | — | The agent decision being overridden. |
onSubmitreq | (reason: string, rationale: string) => void | — | Called with reason category and free-text rationale. |
onCancel | () => void | — | Called when user cancels. |
reasons | string[] | — | Override reason categories (default: policy, accuracy, context, urgency, other). |
actionLabelrequiredstringDefault —The agent decision being overridden.
onSubmitrequired(reason: string, rationale: string) => voidDefault —Called with reason category and free-text rationale.
onCancel() => voidDefault —Called when user cancels.
reasonsstring[]Default —Override reason categories (default: policy, accuracy, context, urgency, other).
This component was designed to express:
Explore Related
High-stakes override with consequence preview and mandatory acknowledgment — no blind overrides, consequences always shown first
Queue of pending human approvals with priority ordering
Traceable action attribution receipt. Shows decision authority, executing agent, human approver, confidence at decision time, and evidence used. Mandatory for consequential agentic actions.
Visual indicator of active guardrails and safety constraints