Progress, Approval, Undo and Handoff UX
People can delegate with confidence when they can see what is happening, decide what matters and recover when something goes wrong.
Show a plan and truthful status. Ask for approval only where it matters, with enough detail to decide. Offer real undo where the system supports it and say clearly where it does not. Hand off to people with the full context. Ask a clarifying question when a wrong guess would be costly.
What you will learn: showing plans and progress, status vocabulary, approval design, approval fatigue, undo and compensation, recovery, handoff and handling uncertainty.
Prerequisites: Agent UX, Trust and Onboarding and Human-in-the-Loop and Approval Gates.
The example runs in November 2026 with Python 3.13 and only the standard library. It keeps an invented calendar in memory and connects to nothing.
The control loop a person sees
Showing a plan
A good plan is short, written in the person's terms and honest about uncertainty. List the steps, what each will change, which need approval and what is still unknown. Let the person remove or reorder steps where that is safe. For a two-second lookup, a plan is noise. Show one when work is long, costly, hard to reverse or open to several interpretations.
Status words that mean something
| Status | Meaning | Person can |
|---|---|---|
| Queued | Accepted, not started | Cancel |
| Working | A named step is running | Watch, pause or stop |
| Waiting for you | Needs input or approval | Answer; see what happens if ignored |
| Waiting for others | External system or person | See who and since when |
| Done and verified | The system of record confirms the effect | Inspect the result |
| Done, unverified | Request sent, no confirmation | Check or ask for follow-up |
| Partly done | Some steps succeeded | See exactly which, then retry or undo |
| Failed or stopped | No further work will happen | Read the reason and next step |
Drive status from events in code, not from the model's narrative. A model can write "I have sent it" when the call failed.
Progress without theater
- Name the current step: "Matching 214 invoices" helps more than a spinner.
- Show counts when known and avoid invented percentages.
- Report slow steps and let people leave and return.
- Notify on completion or when input is needed, not for every step.
- Keep a history that survives a page reload.
Long-running agents covers the state needed to support this.
Designing an approval
| The screen shows | Why |
|---|---|
| The exact action and target | Approving a summary is not approving the action |
| What changes, before and after | Differences are easier to check |
| Amounts, recipients and dates prominently | Where costly errors hide |
| Why the agent proposes it, with sources | Supports judgment |
| Whether it can be undone | Sets the level of care |
| Approve, change, reject and ask | More than a yes button |
| Expiry | Old approvals should not act on new facts |
Bind the approval to the exact content. If anything changes afterward, ask again. The check belongs in the service that performs the action, as approvals and secure logging explains.
Approval fatigue
If everything needs confirmation, people confirm without reading. Reduce the number of prompts by risk: allow low-risk reversible actions within limits, group similar items for review while letting exceptions stand out and ask once for a bounded plan, not for every harmless step. Watch for signs of rubber-stamping, such as approvals given within a second or a rejection rate of zero over many cases. Neither proves inattention, but both deserve a look. Action guardrails helps set the levels.
Undo, reverse and compensate
| Kind | Meaning | Example |
|---|---|---|
| True undo | Restore the earlier state | Revert a draft edit |
| Compensation | A new action that offsets the first | Refund after a charge |
| Delay | Hold before releasing | Send after a short window |
| No reversal | The effect has escaped | A message that was read |
Label these honestly. Calling a compensation "undo" hides that fees, notifications or records may remain.
An action journal
The program records changes, requires approval before an irreversible one and undoes in reverse order, refusing to overwrite a later change by someone else.
"""An action journal: undo in reverse order, and refuse unsafe undos."""
store = {"meeting.time": "10:00", "meeting.room": "A", "invite": "draft"}
journal = []
IRREVERSIBLE = {"invite"} # sending an invitation cannot be unsent
def act(key, new, approved=False):
if key in IRREVERSIBLE and not approved:
return f"{key}: needs approval before it runs (cannot be undone)"
journal.append({"key": key, "before": store[key], "after": new})
store[key] = new
return f"{key}: {journal[-1]['before']} -> {new}"
def undo():
report = []
for entry in reversed(journal):
key = entry["key"]
if key in IRREVERSIBLE:
report.append(f"{key}: cannot undo, offer a follow-up message")
elif store[key] != entry["after"]:
report.append(f"{key}: changed since, now {store[key]}; ask the person")
else:
store[key] = entry["before"]
report.append(f"{key}: restored to {store[key]}")
journal.clear()
return report
print(act("meeting.time", "14:00"))
print(act("meeting.room", "B"))
print(act("invite", "sent"))
print(act("invite", "sent", approved=True))
store["meeting.room"] = "C" # a colleague edits the room afterward
print("undo:")
for line in undo():
print(" -", line)
Output:
meeting.time: 10:00 -> 14:00
meeting.room: A -> B
invite: needs approval before it runs (cannot be undone)
invite: draft -> sent
undo:
- invite: cannot undo, offer a follow-up message
- meeting.room: changed since, now C; ask the person
- meeting.time: restored to 10:00
The meeting time is restored, the room is left alone because a colleague changed it and the sent invitation is reported as irreversible. A real system needs durable storage, version numbers or conditional writes so that the check and the write happen together, identifiers for repeated requests and compensations that can themselves fail. Show the person the same three outcomes: restored, needs your decision and cannot be undone.
Recovery from partial failure
- State what succeeded, what failed and what did not start.
- Say whether it is safe to retry.
- Offer retry, undo of completed steps or handoff.
- Keep inputs so nothing needs retyping.
- Never retry an action with side effects blindly.
Reliable tool execution explains idempotency, which makes safe retries possible.
Handing off to a person
| The handoff includes | Detail |
|---|---|
| Reason | Why the agent stopped |
| Summary | Goal, key facts and what the person was told |
| Actions | Completed, pending and failed, with identifiers |
| Evidence | Links to records and the full transcript |
| Next step | Suggested action and deadline |
| Ownership | Who has it now; the agent stops acting |
Tell the user what happens next and a realistic waiting time. Test that a handoff outside working hours does not disappear into an unwatched queue. Handoffs and shared state covers agent-to-agent transfers.
When to hand off
- The person asks for a human.
- Required information cannot be verified.
- Repeated failure or disagreement.
- Policy requires human judgment.
- Signs of distress, safety concerns or a complaint.
- Value or risk above a set limit.
Make the first one unconditional. Do not force people through repeated attempts before offering help.
Clarifying questions
Ask when interpretations lead to materially different outcomes, when a required fact is missing or when the action is hard to reverse. Otherwise, state a reasonable assumption and make it easy to change. A useful question offers concrete choices: "Cancel only the 3 p.m. booking, or all bookings on Friday?" Ask related questions together and remember the answers for the rest of the task.
Communicating uncertainty
| Situation | Say |
|---|---|
| Missing data | Which item is missing and where it normally lives |
| Conflicting sources | Both values, their dates and which system is authoritative |
| Outside tested scope | That this type of request has not been verified |
| Inference | That it is a suggestion, with the basis |
| Unconfirmed effect | That the request was sent but not confirmed |
The stop button
Stopping must be immediate, visible and honest. It should prevent new actions, say which in-flight actions may still complete, and leave a clear state. Test it during slow tool calls, during retries and while the agent waits for others. Operators also need a way to stop a type of action or all agents at once, as described in the incident runbook.
Testing control
| Scenario | Pass condition |
|---|---|
| Change after approval | New approval required |
| Double click on approve | One action |
| Stop during a call | No later actions; status accurate |
| Third step fails | Completed steps listed correctly |
| Object edited by someone else | No silent overwrite |
| Handoff at night | Queued with owner and message to user |
| Keyboard and screen reader use | All controls reachable and announced |
Notifications and timeouts
Delegated work often outlasts attention. Decide how the person learns that something needs them, how long the agent waits and what happens afterward. A safe default for consequential actions is to do nothing and say so. Never treat silence as approval. Send one clear message with the decision required and a link to the full context, avoid sensitive detail in previews that others might see and escalate to a named backup when time matters.
Choosing a control pattern
| Action profile | Pattern | Example |
|---|---|---|
| Read only, low sensitivity | Run and show sources | Look up opening hours |
| Reversible, low value | Run, notify and offer undo | Tag a support ticket |
| Reversible, affects others | Preview and confirm | Move a team meeting |
| Hard to reverse | Approval with differences shown | Send a customer notice |
| High value or severe harm | Second approver or person performs it | Release a large payment |
| Prohibited | Not available to the agent | Change its own permissions |
These are starting points, not rules. Sensitivity of data, legal duties and the people affected can raise the level. Review the assignments after incidents and when a tool gains new abilities.
Reviewing many items at once
Background agents often produce a queue. A useful queue sorts by risk and urgency, shows why each item needs attention, lets reviewers open evidence without losing their place and keeps decisions individual even when actions are grouped. Offer "approve all unflagged items" only when each item passed checks that you can name, and still show a sample. Track how long items wait and what happens when the queue grows faster than people can clear it. A design that depends on instant review will fail on the first busy day.
A worked interruption
An invented agent is updating prices in a catalog, 40 items at a time. After 17 updates the manager presses stop. The screen immediately shows that no further updates will start, that one request is still in flight and then, a moment later, that it completed. It lists 18 changed items with old and new prices, 22 untouched items and three choices: restore the 18, continue the remaining 22 or leave things as they are and hand the list to a colleague. Restoring checks each current price first and reports any item that someone else changed in the meantime. The manager never has to ask the agent what it did.
What the system must provide
Good control screens depend on engineering behind them. Confirm that the platform offers these before promising them in the design.
| Interface promise | Required capability |
|---|---|
| Accurate status | Events from each step and confirmation from the target system |
| Pause and resume | Saved state at safe points |
| Stop | Cancellation checked before every action, plus operator switches |
| Approve exact content | A fingerprint of arguments verified at execution |
| Undo | Earlier values, versions and tested compensating actions |
| History | Durable, access-controlled records |
| Handoff | A queue with ownership, service times and context |
If a capability is missing, change the promise. "You can review changes afterward" is acceptable when true; an undo button that sometimes silently fails is not. Design the screen for the failure of each capability too, for example when the history service is unavailable or confirmation never arrives.
Signs that control works
- People can predict what will happen after approving.
- Rejections and edits occur and lead to changes.
- Stop requests take effect quickly and are explained correctly.
- Few actions need manual repair outside the product.
- Handoffs arrive with enough context that staff do not ask again.
Several people, one task
Real work often involves a requester, an approver and someone who deals with exceptions. Show each what they need. The requester sees progress and whom the task is waiting for. The approver sees the exact action, evidence and expiry, without having to read the whole conversation. The exception handler sees what was attempted. Record who did what, stop people approving their own requests where policy requires separation and decide what happens when an approver is away. If two approvers answer at once, the service should accept one decision and show it to both.
Common mistakes
| Mistake | Consequence | Instead |
|---|---|---|
| Status written by the model | False success | Status from verified events |
| Confirm everything | Rubber-stamping | Approve by risk |
| Vague approval text | Uninformed consent | Exact action and differences |
| Promising undo that does not exist | Unrecoverable surprise | Label reversibility |
| Handoff without context | Person repeats everything | Structured package |
| Treating silence as yes | Unwanted actions | Expire and ask again |
Checklist
- Status comes from system events and distinguishes unverified work.
- Approvals show exact changes and expire.
- Reversibility is labeled before the action.
- Undo respects later changes by others.
- Partial failures list each step.
- Handoff transfers ownership and context.
- Stop has been tested under load and delay.
Frequently asked questions
Should users approve the plan or each action?
Approve a bounded plan for low-risk steps and require separate approval for consequential actions, especially irreversible ones.
How many clarifying questions are too many?
There is no fixed number. If people answer questions that rarely change the outcome, replace them with stated assumptions.
Can undo be offered for everything?
No. Some effects cannot be reversed. Use previews, delays and approval for those, and say so plainly.
What belongs in an activity history?
Time, action, target, result, who approved and a link to evidence, with sensitive values protected according to your logging policy.
References
Where to go next
Personalization, Accessibility and Voice UX
Make controls work for more people.
Product Analytics, KPIs and Outcomes
Measure corrections, approvals and outcomes.
Durable Execution, Checkpoints and Approvals
Keep long work consistent.