## Desktop UI automation script debugger

Diagnose broken desktop automation runs and draft code fixes for operator review.

Examine failed automation run logs and error screenshots to locate the point of failure. Formulate an updated script that corrects broken UI selectors or timing delays. Prepare the diagnostic summary and proposed code patch in the terminal, then pause and request user confirmation before posting details to Slack or committing updates to GitHub.

Approvals:

- Posting diagnostic details to Slack requires operator confirmation.
- Committing the updated automation script to GitHub requires operator confirmation.

Source: BotBento use case https://botbento.com/usecases/desktop-ui-automation-script-debugger/ (CC BY 4.0).
