Skip to content

desktop: input after-captures can precede the app's redraw #223

Closed

Description

@ElbertePlinio

Found during #217 (PR #221).

MCP input tools take the after capture as soon as input completes. The app may not have processed the input and redrawn yet. Under load, the after PNG can then show the screen as it was before the input. In #217 the live test saw identical before and after digests around desktop_type.

The README says captures and input are not an exclusive transaction. It does not say that the after capture can miss the effect of the input. An agent may read a stale after capture as evidence that the input failed, and then retry it.

One option is to document the limit and point to desktop_wait with the before capture as the baseline. Another is an opt-in, bounded settle before the after capture.

Activity

  1. added
    enhancement
    on Oct 3, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions