Skip to content

Replay: typed-input checks accept partial OCR matches and retry after possibly stray input #1478

Open

Description

@abrichr

The pixel and OCR typed-input check passes at 80% of the value, and on any pixel change for values under 4 characters (runtime/replayer.py:16598-16604). Dropped RDP keystrokes or a different guest keyboard layout pass. A no-change result re-clicks and retypes (:16670-16760) even though the first keystrokes may have gone to another window. Windows-agent typing has no foreground check.

Proposed fix: require an exact squashed match for parameter values. On pixel and native backends, halt instead of retrying after unguarded delivery, or re-check the foreground window per chunk.

Found by the realism audit (docs/audits/REALISM_AUDIT.md, #1467), rank 15 and 16.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions