Skip to content

mcp: desktop_type records 'attempted' when the agent permit is refused #284

Closed

Description

@ElbertePlinio

Found while fixing #267.

After #267, MCP desktop_type reports a preparation failure as not-attempted. A refused agent permit, for example during a human takeover, also sends no text. That error comes from withAgentPermit, outside typeText, so MCP still records the input as attempted. The caller cannot tell a refused permit from a partial input.

  • Report a refused agent permit as no input sent, in the result and in evidence records
  • Add a test with and without capture

Activity

  1. added
    bug
    on Oct 7, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions