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.

BeginnerIntermediateExpert · 12 min read · Last updated:

In short

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.

Versions used

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.

Beginner Plans, progress and status

The control loop a person sees

PlanWhat will happen
AgreeAdjust or approve
RunVisible status
ReportVerified results
CorrectUndo or hand off
Short tasks may compress these steps, but each question still needs an answer.

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

StatusMeaningPerson can
QueuedAccepted, not startedCancel
WorkingA named step is runningWatch, pause or stop
Waiting for youNeeds input or approvalAnswer; see what happens if ignored
Waiting for othersExternal system or personSee who and since when
Done and verifiedThe system of record confirms the effectInspect the result
Done, unverifiedRequest sent, no confirmationCheck or ask for follow-up
Partly doneSome steps succeededSee exactly which, then retry or undo
Failed or stoppedNo further work will happenRead 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.

Intermediate Approval and recovery

Designing an approval

The screen showsWhy
The exact action and targetApproving a summary is not approving the action
What changes, before and afterDifferences are easier to check
Amounts, recipients and dates prominentlyWhere costly errors hide
Why the agent proposes it, with sourcesSupports judgment
Whether it can be undoneSets the level of care
Approve, change, reject and askMore than a yes button
ExpiryOld 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

KindMeaningExample
True undoRestore the earlier stateRevert a draft edit
CompensationA new action that offsets the firstRefund after a charge
DelayHold before releasingSend after a short window
No reversalThe effect has escapedA 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

  1. State what succeeded, what failed and what did not start.
  2. Say whether it is safe to retry.
  3. Offer retry, undo of completed steps or handoff.
  4. Keep inputs so nothing needs retyping.
  5. Never retry an action with side effects blindly.

Reliable tool execution explains idempotency, which makes safe retries possible.

Expert Handoff, uncertainty and testing

Handing off to a person

The handoff includesDetail
ReasonWhy the agent stopped
SummaryGoal, key facts and what the person was told
ActionsCompleted, pending and failed, with identifiers
EvidenceLinks to records and the full transcript
Next stepSuggested action and deadline
OwnershipWho 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

SituationSay
Missing dataWhich item is missing and where it normally lives
Conflicting sourcesBoth values, their dates and which system is authoritative
Outside tested scopeThat this type of request has not been verified
InferenceThat it is a suggestion, with the basis
Unconfirmed effectThat 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

ScenarioPass condition
Change after approvalNew approval required
Double click on approveOne action
Stop during a callNo later actions; status accurate
Third step failsCompleted steps listed correctly
Object edited by someone elseNo silent overwrite
Handoff at nightQueued with owner and message to user
Keyboard and screen reader useAll 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 profilePatternExample
Read only, low sensitivityRun and show sourcesLook up opening hours
Reversible, low valueRun, notify and offer undoTag a support ticket
Reversible, affects othersPreview and confirmMove a team meeting
Hard to reverseApproval with differences shownSend a customer notice
High value or severe harmSecond approver or person performs itRelease a large payment
ProhibitedNot available to the agentChange 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 promiseRequired capability
Accurate statusEvents from each step and confirmation from the target system
Pause and resumeSaved state at safe points
StopCancellation checked before every action, plus operator switches
Approve exact contentA fingerprint of arguments verified at execution
UndoEarlier values, versions and tested compensating actions
HistoryDurable, access-controlled records
HandoffA 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

MistakeConsequenceInstead
Status written by the modelFalse successStatus from verified events
Confirm everythingRubber-stampingApprove by risk
Vague approval textUninformed consentExact action and differences
Promising undo that does not existUnrecoverable surpriseLabel reversibility
Handoff without contextPerson repeats everythingStructured package
Treating silence as yesUnwanted actionsExpire 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