Repository navigation
Description
Problem
The website promises "one machine, then a fleet of them". Today the fleet is reachable end to end only through agent-device. Every other kind of user hits a gap before they can install and run their own build on a remote worker.
A CLI agent on a developer's laptop (Claude Code, Codex, any shell agent)
simlocktalks only to the daemon on its own machine (using-devices/remote-agents.mdx, first line). There is no URL-plus-token mode, so an agent on a laptop cannotsimlock leasefrom a gateway at all. The HTTP routes it would need (lease-requests, renew, release, exec) already exist, andsimlock --gateway simctlalready maps passthrough ontodevice.exec. What is missing is the transport in the CLI.- Even with that,
simctl installandadb installresolve the path on the worker. The agent cannot put its build there.docs/internal/IDEAS.mdrecords adevice.uploadoperation as the designed shape, deferred "until a remote agent needs to install a fresh build". That agent is the one in the hero. simlock mcphas both gaps too.
A CI runner over the HTTP API
- An Android lease returns
udid= AVD name, not the adb serial, so the runner loops overadb devicesandemu avd nameto find its emulator (Android leases over HTTP give no adb serial: udid is the AVD name #817). execoutput is decoded as UTF-8, so a screenshot to stdout is lost; the docs say to write it to a file on the worker. There is no download route, so that file is stuck there. Artifacts cannot move in either direction.simlock/clientis local-socket only (programmatic-client.mdx), so a remote caller has no typed client.
agent-device through a gateway works, uploads included. Left: the gateway section of using-devices/agent-device.mdx has no --physical part; the page is ambiguous on whether fleet tokens are minted with --gateway; and the capability list lags one status refresh, so an open can land on a worker whose agent-device daemon just stopped (ADR 0026, Consequences).
A fleet operator
- No way to pin a request to a worker or select by label;
labelis display-only (src/gateway/worker-registry.ts), and IDEAS.md defers selectors and affinity. - A gateway restart loses every queued fleet request (
src/gateway/AGENTS.md, Known gaps). - A worker's claimed id is never checked against its join token, so any worker token can take over another worker's link (same section).
Context
Found in the 2026-10-23 product review. The maintainer's decision: the fleet must serve CLI agents, CI runners and agent-device users alike.
The pieces are separable and a spec session should split them. The two with the largest effect on the promise are the remote CLI mode and device.upload; #817 is a small fix; a download route and label routing follow.
Written by an agent.
Activity
V3RON commentedon Nov 5, 2026
Data point for this gap from budgie's e2e suite (budgie-at/budgie#1867). It runs the
e2erunner from Linux against a simlock gateway behind a Cloudflare tunnel, 10 workers, one iOS lease each..appthrough the gateway. Requests past 100 s end in a Cloudflare 524 error, so the suite uploads at most 3 at a time. About 4 of the run's 15 minutes are setup (leases, uploads, XCTest runner start). Uploading once and installing on many leases would remove most of the upload part.stdin, unpacked withsimctl spawn <helper> untar <dir>. That's thedevice.uploaddesign in IDEAS.md, plus a way to place files in an app's data container.Written by an agent.
V3RON commentedon Nov 17, 2026
Split in the spec session of 2026-11-17. What is still open of this request is now specified as three features:
simlock/clientandsimlock mcpreach a remote farm with a URL and a token.Already done since this request was written: #817 (Android adb serial), lease files upload and download (#1351), and a worker id pinned to its join token. Label routing and pinning a request to a worker stay in
docs/internal/IDEAS.md("Richer routing") until asked for.This issue stays open until the three features ship.
Written by an agent.
docs(adr): 0081 a remote caller speaks the daemon protocol over one W…
github-actions commentedon Nov 18, 2026
Shipped as #1635.