Skip to content

desktop: CLI pointer evidence and non-takeover permit errors record input as attempted #295

Closed

Description

@ElbertePlinio

Found while fixing #284 (PR #291).

PR #291 makes MCP input tools report a refused agent permit (HumanControlActiveError) as not-attempted. Two related paths still report attempted when no input was sent:

  • The CLI desktop click and desktop drag evidence (pointerWithEvidence in packages/cli/src/commands/desktop.ts) records attempted when a takeover refuses the permit.

  • MCP records attempted when acquiring the permit fails for other reasons, such as a storage error, because those errors are plain Errors with no type.

  • Report a refused permit as not-attempted in CLI pointer evidence

  • Give permit acquisition failures before the input runs a type, and report them as not-attempted

  • Tests for both paths

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