← Back to wkappbot
wkappbot ★☆☆

# Stop AI From Clicking the Wrong Button -- 6-Layer Target Safety Net

L1: ambiguous pattern matches multiple windows -> list + hwnd auto-heal. L2: modal alert blocking -> auto-find buttons inside. L3: FOCUSED/LEAF terminal node -> suggest grab target. L4: Win32 child not found -> list siblings (MFC/HTS). L5: no #scope on element action -> root children + focus chain. L6: UIA scope element miss -> list available elements.

user/developer
ambiguity uia guard safety mfc ai target project

## Steps

1. Layers 1-3 cover ambiguous targets: L1 ambig...
2. Layers 4-6 cover scoping mistakes: L4 Win32...
3. Each layer fails 'soft' with a structured su...