FullStack AI Hub
Studio
lesson depth
Mastery
not started · 0%

AI Feedback and Correction

How interfaces expose progress uncertainty evidence and correction controls.

Freshness: current•14 min read•AI User Experience and Human-AI Interaction

Key Learning Outcomes

  • ✓Communicate capability and uncertainty at the right time
  • ✓Support correction undo and recovery
  • ✓Calibrate trust without anthropomorphic claims
Full Technical Reference Document

Mental model

Human-AI interaction fails cleanly along two opposite extremes: silent black-box spinners hiding stalled tool runs and silent fabrications cleanly until damage strikes, vs. overconfident anthropomorphic illusions framing guesses as infallible truths. Sound AI feedback loops design user interfaces as calibrated collaboration surfaces: exposing genuine system execution states, separating verified evidence cleanly from synthesized drafts, and making targeted human corrections cheap and localized cleanly.

Set honest scope expectations upfront
Expose live step telemetry (retrieve/verify)
Separate cited facts from drafted prose
Allow targeted source drop or diff undo
Feed edits cleanly into holdouts & state
Conceptual teaching model synthesized from:Guidelines for Human-AI InteractionTrustworthy Agents in Practice

Learning outcomes

  • Replace fake typing animations cleanly with deterministic operational progress states (queued, searching index, waiting approval, verifying writes, failed).
  • Design localized surgical correction controls (drop noisy citation, edit single field, replay synthesis only, undo external commit) instead of forcing total prompt rewrites cleanly.
  • Calibrate confidence and provenance affordances honestly without displaying synthetic "94% confident!" numbers invented arbitrarily by autoregressive logits cleanly.

Theory

Because AI features mix non-deterministic model synthesis alongside external network tools and authorization gates, users rapidly abandon interfaces where generic "Thinking..." dots freeze indefinitely or where fixing one misattributed clause forces restarting 40-second research chains completely from scratch! Production human-AI interfaces govern three deliberate UX layers:

Interaction PhaseEffective UX Design SignalMisleading Anti-Pattern to Avoid
Capability Framing (Pre-Run)Clear affordances, concrete scope boundaries & example actions ("Searches policy docs v3 + drafts refund email")Marketing copy claiming autonomous omniscience cleanly without constraints
Execution Transparency (Mid-Run)Streaming exact deterministic phase transitions (Querying Billing API -> Waiting SRE Sign-Off) + Cancel/AbortDecorative fake spinner pulses hiding 18-second hung webhooks
Inspection & Recovery (Post-Run)Clickable inline source spans, visual diff vs previous answer, localized "Remove Doc #3 & Regenerate"Generic "Thumbs Down" / bare "Retry All" wiping entire valid multi-step progress cleanly

Crucially, never fabricate calibrated confidence bars via prompting ("Rate your certainty 0–100"): autoregressive prose models produce smoothly inflated numbers (85–95%) on outright hallucinations unless confidence flags tie cleanly directly to empirical retrieval scores, verifier entailment passes, or explicit deterministic policy checks!

typescript
export type AiExecutionStage =
| { phase: "queued"; queuePosition: number }
| { phase: "retrieving"; storeNames: string[] }
| { phase: "awaiting_human_approval"; actionSummary: string; approvalTokenId: string }
| { phase: "synthesizing"; attachedSourceCount: number }
| { phase: "completed_with_warnings"; droppedInvalidCitations: string[] }
| { phase: "failed_recoverable"; failedStep: string; retryFromCheckpointId: string };
​
export function formatActionableUiStatus(stage: AiExecutionStage): {
label: string;
canCancel: boolean;
canSurgicalRetry: boolean;
} {
switch (stage.phase) {
case "queued":
return { label: `Queued (position ${stage.queuePosition})`, canCancel: true, canSurgicalRetry: false };
case "retrieving":
return { label: `Searching ${stage.storeNames.join(", ")}`, canCancel: true, canSurgicalRetry: false };
case "awaiting_human_approval":
return { label: `Approval needed: ${stage.actionSummary}`, canCancel: true, canSurgicalRetry: false };
case "synthesizing":
return { label: `Drafting from ${stage.attachedSourceCount} verified sources`, canCancel: true, canSurgicalRetry: false };
case "completed_with_warnings":
return {
label: `Completed (${stage.droppedInvalidCitations.length} unsupported links stripped)`,
canCancel: false,
canSurgicalRetry: true,
};
case "failed_recoverable":
return { label: `Paused at ${stage.failedStep}`, canCancel: false, canSurgicalRetry: true };
}
}

Trade-offs

Progressive disclosure—showing compact operational statuses alongside expandable step trace drawers, clickable evidence links, and targeted "exclude source & retry synthesis" buttons—delivers quick scanning for casual users while granting domain analysts deep auditability and surgical recovery without repeating expensive upstream searches cleanly. Dumping full verbose JSON debug traces straight onto primary consumer views creates cognitive clutter and exposes sensitive prompt internals cleanly, requiring balanced summary-first UI cards backed by clean inspection drawers.

Failure modes and misconceptions

  • Fake Deterministic Typing / "Thinking..." Masks: Playing decorative CSS bounce dots hides stalled downstream tools cleanly until browser TCP requests time out angrily cleanly.
  • Unverified Self-Assessed Confidence Percentages: Displaying flashy green "98% Sure" badges invented cleanly inside LLM JSON outputs breeds blind automation over-trust on hallucinated edge clauses.
  • All-or-Nothing Full-Workflow Restarts: Making users re-type whole prompts cleanly after one bad retrieved citation wastes upstream tool cost instead of pruning cleanly and re-synthesizing from checkpointed evidence cleanly.
  • Silent Personalization Memory Updates: Auto-altering assistant persona assumptions cleanly from single passing comments without visible user control or revert UX.

Decision scenario

A clinical and legal research workbench averages 18 seconds per multi-source brief cleanly. Users abandon runs mid-wait thinking the UI froze, struggle spotting which PDF citation is outdated, and complain hitting Regenerate deletes good retrieved tables too! Redesign around real SSE lifecycle status badges, source-chip pruning (re-synthesize without doc #2), localized undo history, and deterministic verifier warning banners cleanly.

Reflect before revealing the guide

Which operational UI state and recovery controls prevent users from abandoning slow legitimate work cleanly vs misinterpreting stalled or broken AI steps?

Prerequisites & Related Concepts (1)

Private notes

0 words
Included In Free Course
Free · Verifiable Credential

FS-301Agentic Systems Engineer

Engineer bounded tool-using systems with explicit workflows state protocols evaluation observability security and human control.

27 concepts~29h self-paced
Start Free Course
Weekly Engineering Dispatch

Get the weekly systems teardown

One technical note per week covering inference bottlenecks, retrieval harnesses, and commit-pinned teardowns.

Next