You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clear errors for two expected refusals: Chrome Web Store pages (extensions are barred) and native calls on a locked screen #170
Driving #78 on 2026-10-18 hit two failures that were correct, but whose messages didn't say why:
Chrome Web Store pages. Chrome refuses every extension's debugger on its Web Store (chrome.google.com/webstore, chromewebstore.google.com), on purpose.
cua's browser route surfaced this as a ~90 s hang ending in "CDP operation exceeded its deadline before command dispatch" (a tab created at about:blank, then navigated).
Once the tab was opened straight at the store URL, the message was {"code":-32000,"message":"Not allowed"}.
The same tab could open example.com and was then refused the store URL, so the route itself is healthy.
A locked screen. Local native calls failed with Computer Use server error -10005: cgWindowNotFound while the Mac's screen was locked (CGSSessionScreenIsLocked). The remote-device agent already refuses with console_locked and says why; local sessions don't check.
The intent: each failure names its cause and what to do instead.
What to do
In the browser service, refuse a navigation or tab creation to a Web Store URL immediately, before any attach or navigate. Use a sentence such as "Chrome does not let extensions operate Chrome Web Store pages; use the native computer surface or do this step by hand". Map CDP -32000 "Not allowed" on navigation to the same sentence.
On a local macOS session, check the console's lock state before a native call (as the remote agent's console check does), and refuse with a classified error that says the screen is locked.
Success criteria
Both cases fail at once, with a message that names the cause, pinned by tests (a stub extension that refuses the store URL; a stubbed lock state).
Native lock feedback update: /Users/new/Developer/GitHub/MAWS/plugin/cua/dogfood-feedback/l6-artifacts.md §10 reports -10020 explicitly saying the Mac is locked and asking for manual unlock. Confirmed at d95261f: Methods.swift calls refuseWhenLocked before native request dispatch, and emits that classified message. The own-engine branch therefore already has the early native lock refusal requested here; do not file another preflight bug or promise a first-call check prevents a later lock. This does not close the issue’s separate Web Store/vendor-route scope. Scheduling a GUI slot before a lock check is workflow friction, not a reason to bypass the lock. No GUI or lock probing performed.
Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)
Activity
SSFSKIM commentedon Oct 23, 2026
Native lock feedback update:
/Users/new/Developer/GitHub/MAWS/plugin/cua/dogfood-feedback/l6-artifacts.md§10 reports -10020 explicitly saying the Mac is locked and asking for manual unlock. Confirmed at d95261f: Methods.swift calls refuseWhenLocked before native request dispatch, and emits that classified message. The own-engine branch therefore already has the early native lock refusal requested here; do not file another preflight bug or promise a first-call check prevents a later lock. This does not close the issue’s separate Web Store/vendor-route scope. Scheduling a GUI slot before a lock check is workflow friction, not a reason to bypass the lock. No GUI or lock probing performed.Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)