Repository navigation
fix(native-ui): explain why both capture sources are disabled - #7589
Closed
harshitethic wants to merge 2 commits into
Closed
harshitethic wants to merge 2 commits into
harshitethic wants to merge 2 commits into
Conversation
Contributor
[Medium impact] The PR affects the bounded native UI observation and scenario workflows. The runtime change appears sound, but the outstanding requirement to avoid wording-dependent tests must be satisfied before merging. SummaryThe PR gives callers a clear correction when both native capture sources are disabled.
Reviews (2) · Last reviewed commit: "fix(native-ui): advertise capture source..." · Reviewed by Greptile |
This was referenced Oct 29, 2026
5 tasks
12 of 19 tasks
1 task done
gensokyo-dev
added a commit
that referenced
this pull request
Nov 14, 2026
Fixes #7570 Supersedes #7589 Co-Authored-By: gensokyo-dev <[email protected]>
gensokyo-dev
added a commit
that referenced
this pull request
Nov 14, 2026
Fixes #7570 Supersedes #7589 Co-Authored-By: gensokyo-dev <[email protected]>
N0zoM1z0
pushed a commit
that referenced
this pull request
Nov 14, 2026
Fixes #7570 Supersedes #7589 Co-Authored-By: gensokyo-dev <[email protected]>
Collaborator
|
Thank you for this fix. It landed in #10499 with your authorship kept on the commit (adapted where noted in the PR), so I'm closing this PR as superseded. |
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.
Summary
Fixes #7570. When callers disable both
screenshotandaccessibility, REA previously constructed anAnalysisInputErrorusing only an Error cause, losing the actionable explanation after projection. Return explicituserMessage,remediationAction, and field-level issue entries for both offending inputs, in both observation and scenario workflows. Preserve the existing fail-closed no-helper-execution rule.Verification
npx vitest run src/native/NativeUiObservation.test.ts: 35 passed, including two new regressions for both operations checking projected error and remediation, with helper invocation prohibited by the test fixture.npm run typecheck, commit hooksoxlintandoxfmt, andgit diff --checkpassed under Node v24.22.1.Author readiness
Draft awaiting human signoff under CONTRIBUTING.md.
Follow-up: capture source discovery
The shared input fields and both CLI schemas now explain that at least one capture source must be enabled. Both MCP tool descriptions also state the requirement because the compact catalog omits individual field descriptions. Public CLI and in-memory MCP regressions verify discovery and refusal for both commands; assertion wording checks the actual correction rather than an exact sentence.
Validation on macOS: 46 focused native UI, CLI and MCP tests passed;
check:fast,docs:checkandgit diff --checkpassed. No native UI helper or real application was launched.