Auto-wait and re-observe

Waits until the button is really ready, then checks the click did what it should.

What it is
Before acting: wait until the target is visible, enabled and stable. After acting: observe again and confirm the expected change (the receipt number appeared, the modal closed).
When to use it
  • Always, on real UIs
When to skip it
  • Pure API flows, which don't need it
Why (the trade-off)
UIs are slow and surprising. Acting on what was on screen a second ago is the most common way agents break.
Where it sits
Wraps every UI action in the action layer.
What it needs first
What can be added to it
Effect of adding it
  • cost —
  • latency ↑
  • reliability ↑↑
  • safety —
Risks it handles
  • A slow page · full
  • A popup after the agent looked · full
  • Clicking the wrong element · partial

depth 4+2 production notes with numbers.