One-click Remote

On for every organization in production, by owner decision on 2026-10-23. The production override enables desktop.oneClickRemote for all organizations; the registry default for new installations remains off. The platform setting uses the per-org grammar of machines.enabled, and the desktop app still has its agent switch. Writing off refuses new sessions at the next request and revokes live sessions at the next sweep (or status read). This page states what the code guarantees and what is not yet proven.

Defensive purpose: a person deliberately lends narrowly bounded, revocable control of their OWN computer and OWN signed-in browser to a named agent they chose, while credentials cannot leave and they can stop it instantly.

The one click

On the desktop app's Remote control screen the button Enable remote for my agent opens ONE consent screen, pre-filled with the owner-set defaults: browser control of three named sites (goodqa.app, framebright.com, gethawkeye.app) plus the QaTablet desktop tier, 4 hours, auto-expiring, files and shell off. Full Control is never part of it: a person types a separate phrase in the app for that, and the server bundle refuses it in every spelling (422 full_control_not_allowed). The person can instead pick, on purpose, Until I turn it off (no expiry); it is never the default, is refused together with files/shell, and is always shown as an active session with a one-click revoke.

Pressing Allow creates ONE consent record and the matching grants in one transaction, then shows the always-on-top Agent in control - STOP bar, the red tray state and the Ctrl/Cmd+Shift+K hotkey.

Server (apps/api/src/modules/machines/remote-sessions)

RouteWhatGate
GET /v1/orgs/{orgId}/machines/remote-sessions/availability404 while the flag is off; else the consent defaults (the desktop shows the button only then)flag, a signed-in person
POST /v1/orgs/{orgId}/machines/remote-sessionscreate the consent + grants (idempotent by clientRequestId)flag, a signed-in person, recent sign-in
GET /v1/orgs/{orgId}/machines/remote-sessionsthe person's sessionsMachines
GET /v1/orgs/{orgId}/machines/remote-sessions/{sessionId}one session; an expired one is closed on readMachines
POST /v1/orgs/{orgId}/machines/remote-sessions/{sessionId}/stoprevoke EVERY grant in one call (atomic with its audit)Machines; never needs the flag or a recent sign-in
POST /v1/orgs/{orgId}/machines/remote-sessions/{sessionId}/renewextend a timed session, never past 24 h from its startflag
PATCH /v1/orgs/{orgId}/machines/remote-sessions/{sessionId}narrow it (bumps the generation); adding a site needs a separate confirm; anything wider needs a new consentflag

Enforcement stays where it already was: command admission reads the grants (revoked, not started, expired = refused), so a stop, an expiry or the kill switch IS a grant revoke or expiry. A session carries a generation that rises with every consent and every scope change. The tier grants are the existing ones: resting = screen, ui_tree, system (risky acts wait for the person); qaTablet = those plus shell restricted to the adb command list (no typing on the computer, no files unless folders are typed); files/shell is its own grant that always waits for the person. Origins must be exact HTTPS origins of named hosts and may not be sign-in, bank, password-manager or mail sites.

The browser step is an interface: until the browser-wire lane lands the view says honestly browser.status = not_connected.

Kill switch and rollback

Write off to desktop.oneClickRemote: create, renew and change answer 404 and the paths leave the served OpenAPI document (byte-identical to the base, pinned by machines-remote-sessions-flag-off.test.ts); live sessions are closed (revoked, stopReason: kill_switch) at the next status read or machines sweep. Stop and status stay reachable.

What is NOT proven yet

See docs/design/oneclick-consent/REPORT.md: no real Windows or macOS host, no real Chrome profile, no real tray or hotkey on those systems, the Go host does not yet check the local generation counter (the contract and a fake host are tested).

References

  • API reference: /v1/openapi.json carries the seven operations while the flag is on; docs/openapi-all-features.json includes them regardless of the platform setting; it is the all-features reference, not a report of production availability.
  • MCP tools: none. Machines work from a signed-in session only, never an API key or a user token; see the MCP tool list for what agents can do once granted.
  • Runbook: One-click Remote operator runbook.

Inline desktop actions (machine_actions)

Agents can send {machineId, steps, screenshotAfter?, continueOnError?} in one MCP call. Each step has kind and args, using the existing command schemas: move, click (including double: true and button: "right"), drag, scroll, type, key, wait_for, and screenshot. The server also accepts wait with {ms}; it admits an audited facts command as a consent/lease/Stop barrier before the server delay. At most 50 supplied steps are accepted. Requested waits (including wait_for timeouts and typing delays) total at most 120 seconds; the whole batch also has a 120-second deadline. Invalid lists are refused before anything is queued.

Run desktop actions in a batch is a separate, unchecked consent line (desktopActions, absent means off). Enabling it requires a fresh consent and adds native input to the linked OS grant. Disabling it removes that input permission. Machine capabilities, owner approval and authority rules still apply; the OS tier defaults remain unchanged. The computer owner can use native commands on their own machine; a grantee needs an active linked remote consent with this choice. A generic grant cannot replace it.

The wrapper submits one audited command at a time, waits for completion, and retains the first control lease for the remaining steps. The server checks live consent under the command-insertion lock for each admission. Stop, pause, loss of lease or consent, an unavailable check, and pending approval stop further submissions. Nothing already executed is undone. continueOnError: true continues only ordinary terminal execution errors; its default is false. Each input step returns {index, kind, commandId, status, error}; unsubmitted steps are marked cancelled. Replies omit typed values and intermediate command results. screenshotAfter defaults to true and adds a separately audited final screenshot when the batch can continue, with its own outcome and image. Existing agent Stop and delivery fences continue to apply to every command.

We use essential cookies to keep you signed in. See our Privacy Policy for details.