Repository navigation
feat(desktop): add opt-in input captures - #174
Merged
Merged
Conversation
4 tasks
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #153.
Closes #175.
Adds default-off capture: "after" or "both" to all seven desktop MCP input tools. Captures use existing verified run storage, attach to the same action, render together and qualify only when explicitly listed as inspected evidence. Typed metadata stays redacted; screenshots may contain visible text and must not be requested on sensitive screens.
Preserves partial-effect reporting without retrying input. Known-capped runs refuse capture before input. Dropped or uncertain artifact records return explicit errors with retained paths and input state; existing cap, locks and permissions are unchanged. Independent review found the original cap/linkage gap and accepted its repair.
The first candidate failed Ubuntu CI on same-position mousemove --sync. #175 removes only that motion wait from affected argv builders, retaining ordered requests on one X connection, validation, bounded subprocesses and one input permit. A managed persistent-Xvfb regression covers repeated move/click/double-click/positioned scroll and zero-distance drag. The original MCP repeated-coordinate live test is unchanged.
Current candidate: 9dda5c0, tree c0a9e83ba766f7260dba843d443c5c65b364afc0. All374 source SHA256/executable identities match the clean publication copy; the review worktree remains unstaged/uncommitted. A separate non-author final review accepted the pointer change and current combined capture integration on snapshot snap-a4bf98e26bba. Existing #153 reviewed source is unchanged.
Parent executed typecheck/build/lint and575 focused tests. Verified source-matched worker reports:126 tests with each of host xdotool4 and private Ubuntu Noble xdotool3; full tests and coverage each1918 passed. All runs retain four local skips: CI-only prerequisite assertion, two xterm-dependent cases because xterm is absent, and the missing-x11vnc negative case because x11vnc is installed. Controller complexity81, zero violations. Saved worker reports are not new parent full executions.
Historical evidence remains: original red CI; installer npm ETIMEDOUT; interrupted120/130-second full/coverage runs; and an earlier worker's unsafe fixed-display probe whose real-home isolation is unproven. Later green tests do not erase those limits or establish whole-home safety. No blind cleanup was performed.
Fresh exact-head CI must pass before merge. This is automated managed-Xvfb integration, not #156 real native-app acceptance. #154 guidance and #156 remain required; no release or Wayland changes are included.