Build an MVP for recording and replaying simple desktop workflows on Windows. A user must explicitly start and stop recording, see when recording is active, review the captured steps, save them to a JSON file, and replay the workflow with an emergency stop.
Record the foreground app and window information alongside supported actions. Use Windows UI Automation to identify controls when available, with coordinates as a fallback. If a control cannot be identified reliably, report that clearly instead of silently replaying a potentially incorrect action.
Keep recording visible and user-controlled. Store recordings locally. Do not capture passwords, secure-field input, clipboard contents, or typed text by default. Any text needed by a workflow should be added as an explicit placeholder in the step editor. The user must review the workflow and confirm before replay.
Test with permitted, non-sensitive workflows in supported Windows applications. Do not bypass Windows security prompts or automate apps running with elevated privileges. Document which applications and actions the MVP supports and where it may fail.