agent-ui / showcase
All

Showcase / 04

Compose a judgement pause.

When policy needs a choice before acting, stack approval-gate with ask-user-question. Do not invent a supervision component.

approval-gateask-user-questioncard
live-run / policy reviewpaused / judgement required

paused for review

Policy decision needed

The host owns authorization; this card only explains the pause.

review required

Continue after a policy choice?

⌘↵ Continue

policy-review · case CS-2849103 · actionId=credit-review-01 · no credit issued yet

Why paused

Fraud signals are mixed. Confidence is high enough to ask, not high enough to auto-act.

waiting

judgement question

Should we issue a goodwill credit, or gather verification first?

Policy choice

Native radios and submit remain usable without JavaScript. The host validates the answer before any credit or verification tool runs.

Install
<link rel="stylesheet" href="tokens.css">
<link rel="stylesheet" href="components/button/button.css">
<link rel="stylesheet" href="components/card/card.css">
<link rel="stylesheet" href="components/approval-gate/approval-gate.css">
<link rel="stylesheet" href="components/ask-user-question/ask-user-question.css">
<link rel="stylesheet" href="host-chrome.css">

Composition only: card + approval-gate + ask-user-question. Message footers (copy / regenerate) would be host buttons on chat-message.