ADR 0004 (docs/adr/0004-ttl-first-leases-on-every-transport.md): there is
now one kind of lease, on every transport. A lease carries a TTL, and the
only thing that keeps it alive is a client-initiated lease.renew arriving
before the deadline — on the unix socket, over HTTP, over MCP, and through a
gateway alike. Held mode is gone as a daemon concept; staying alive to renew
and releasing on exit is now the CLI's and the MCP session's own policy over
an ordinary lease. This is a breaking release for the contract, three config
keys, and one user-visible behaviour; see below.
ADR 0004 is Accepted — not yet implemented: the entries in this section describe the decided end state, and they land with the PRs that implement it (the client's renew timers, and the daemon's heartbeat removal, config rename, and protocol bump).
ADR 0005 (docs/adr/0005-gateway-and-worker-modes.md): a simlock daemon now
runs in one of two modes. A worker is what every daemon is today — it
owns the devices on one machine — and a gateway owns none, fronting the
workers that dial out to it over a single WebSocket uplink. A gateway
keeps one fleet-wide queue, dispatches each request to the worker best placed
to serve it, proxies device commands to the worker that owns the device, and
implements the same typed contract towards its own clients, so every existing
frontend works against it unchanged. Nothing here is removed or repurposed
and a daemon left in the default mode: "worker" behaves exactly as it does
today, so every one of the entries below is additive except the protocol
bump — device.exec and its output pushes take the socket wire to
protocol 5, which means a client and a daemon still have to be upgraded
together. That one is listed under BREAKING CHANGES above, with ADR 0004's
own bump, since it is the same wire and the same upgrade.
ADR 0005 is Accepted — not yet implemented as well: the entries under
"ADR 0005" below describe the decided end state, and they land with the PRs
that implement it (device.exec on the worker, then the gateway skeleton and
worker views, the fleet queue and forwarding, drain and reconnect). The
documentation is the exception to that order: it lands first, as the
specification those changes are written against.
- The daemon protocol is now 6,
{min: 6, max: 6}, with no compatibility shim. ADR 0008 makes the catalog'smodelRuntimesandmodelAliasesrequired, so a gateway marks a worker on 5incompatiblewith both ranges shown and sends it nothing; upgrade the worker. A client built against 5 getsPROTOCOL_VERSION_UNSUPPORTEDfromhello, as with every earlier bump. - The daemon protocol is now 5,
{min: 5, max: 5}, with no compatibility shim — the same no-shim rule that took it to 4. ADR 0005 addsdevice.execand itsoutputpush family, and movesstatus.get'shealthinto adaemonblock that also carriesmode, so advertising 4 would claim a compatibility path that does not exist. A client built against 4 does not overlap this daemon and itshellofails withPROTOCOL_VERSION_UNSUPPORTEDnaming both ranges;daemon.stopstays the frozen exception, sosimlock daemon stopthen starting the new daemon is the upgrade path. - Contract:
lease.heartbeatis removed as an operation, andheartbeatis removed as ahellocapability. The daemon never pushes to a client to prove liveness any more; nothing replaces it, becauselease.renewalready did the job on every transport that has one. modeleaves the contract.lease.requestno longer accepts it, and the lease record no longer carries it.ttlMsis now accepted on everylease.request— supplying it used to beBAD_REQUESTfor a held lease — and is capped atlease.maxTtlMs, above which a request or a renew isBAD_REQUESTrather than silently clamped. A caller readinglease.modeoff a grant now readsundefined, which is falsy, not an error; there is nothing to branch on any more.- A body-less renew re-applies the lease's own TTL, not
lease.defaultTtlMs. The lease record stores thettlMsit was granted with (or last renewed with, when a renew carried one), andlease.renewwithout attlMsresets the deadline to now + that width.lease.defaultTtlMsnow applies in exactly one place: alease.requestthat names nottlMs. A caller that relied on renew snapping every lease back to the 15-minute default will find a four-hour lease staying four hours wide. lastRenewedAtreplaceslastHeartbeatAt— as a new stored field, not a rename.lastHeartbeatAtwas never persisted: the dispatcher derived it asttlDeadline - heldTtlBackstopMs, which only worked because every held lease shared one backstop width. With per-lease TTLs that arithmetic has no answer, so the daemon now writeslastRenewedAtonto the lease record at grant and on every renew, andsimlock statusrenders it as "last renewed". A consumer readinglastHeartbeatAtgetsundefined.- Socket protocol: moves twice in this release, once per ADR, each time
with no compatibility shim. ADR 0004 removes
lease.heartbeatandmode, taking the wire to protocol 4; ADR 0005 addsdevice.exec, itsoutputpush family, and themodefield onstatus.get's daemon block, taking it to 5. What ships advertises{min: 5, max: 5}— 4 is a step along the way, not a range anything releases with, since a range widens only where a compatibility path is kept (ADR 0003 §6). A version-mismatched client failshellowithPROTOCOL_VERSION_UNSUPPORTEDand never restarts the daemon — runsimlock daemon stoponce it's idle.daemon.stopremains a frozen exception, accepted at any protocol version the daemon has ever spoken. - Config: three
lease.*keys are retired —lease.detachedTtlMs,lease.heldTtlBackstopMs, andlease.heartbeatIntervalMs. All three are now simply unrecognized:simlock configwarns about each and ignores it, exactly as it does for any other unknown key. None of them is aliased onto a new key, so a config still settinglease.detachedTtlMsgetslease.defaultTtlMs's default rather than the value it wrote — copy the value across. New:lease.defaultTtlMs(15 minutes, applied to a request that names nottlMs) andlease.maxTtlMs(4 hours). Both must be positive numbers withlease.defaultTtlMs <= lease.maxTtlMs; a config that breaks either rule is rejected at load and the daemon does not start, naming the offending key, rather than being clamped. Note the two treatments are different on purpose: a retired key is warned about and ignored, because it is a leftover; a TTL pair that contradicts itself has no safe fallback to be ignored in favour of. Seedocs/CONFIGURATION.md#retired-lease-keys. - Upgrading over a live held lease: a lease a pre-ADR-0004 daemon
persisted in held mode survives the upgrade with its persisted deadline
intact — up to the old one-hour
lease.heldTtlBackstopMs. Nothing can renew it: its holder speaks protocol 3 and the new daemon speaks{min: 5, max: 5}, so itshellofails. The lease simply expires on that deadline and its device is reclaimed, orsimlock release <lease-id>ends it sooner. Stopping the old daemon while it is idle, as the protocol- mismatch error already advises, avoids the situation entirely. - A holder killed with
SIGKILLkeeps its device until the TTL expires. The daemon keeps no per-connection lease state and releases nothing when a connection closes, on any transport — so a holder that dies without running its own release path (SIGKILL, a crash, a lost machine) holds its device untilexpiresAt, at most the lease's own TTL after its last renew —lease.defaultTtlMsunless the request asked for more, never more thanlease.maxTtlMs— against today's immediate release on socket close. A holder that exits normally, isSIGTERMed, or whose parent dies still releases at once, because that is its own policy. This is the one behaviour change a local user notices, and it is the accepted price of a single mechanism; the reverse case improves, as a machine sleep or a socket hiccup no longer costs a live holder its device.lease.defaultTtlMsand--ttlbound it — seedocs/known-pitfalls.md. simlock daemon stopno longer releases leases, and there is no orphaned-lease sweep at daemon startup. Leases persist across a restart and the next daemon restores each one's TTL timer from its deadline; one whose deadline passed in between expires as soon as a daemon is there to expire it.- Events:
lease.granted's payload dropsmode.lease.releasedloses theclosedandorphanedreasons — a closing connection is not a release and never was a fact worth emitting, and there is no startup sweep to produce an orphan.explicit,killed, anddevice-lostremain. simlock/client:onLeaseLostno longer fires with reasondaemon-connection-lostwhen a connection dies. The lease is still granted and still yours — reconnect and renew it, or let its TTL run out.onConnectionLostis what reports the dead connection;onLeaseLostnow only ever reports a lease the daemon actually ended.- The MCP server's renew timer reconnects, but never launches a daemon. ADR
0003 §10/§11 gave MCP one lazy reconnect trigger, the next tool call; ADR
0004 adds a second. When the renew timer fires against a dead client the
session reconnects and renews, so an idle session no longer loses its lease
waiting for a call that may not come. That trigger only ever connects to a
daemon that is already listening — auto-launch stays a tool-call concern, so
an operator's
simlock daemon stopis not undone by an idle session, and a lease held across a stopped daemon expires unless the daemon is back before its deadline. - A running
simlock leaseexits1when its daemon connection dies, writing oneDAEMON_CONNECTION_LOSTline that names the lease id and itsttlDeadline. The CLI still does not reconnect (ADR 0003 §10), so it can neither renew nor release — but it no longer implies the lease went with it. The lease stands until its deadline and any later invocation cansimlock lease renew <lease-id>it. Exit14keeps its narrower meaning: the daemon ended the lease while the connection was alive. doctorreports an unavailable optional module asmodule-unavailable. The finding carries amodulefield (agent-devicetoday) and replacesagent-device-unavailable; the stderr line is<module> fail <message>; <remedy>. The daemon protocol is now 37.
These ship with the PRs that implement ADR 0004; this section describes what those changes add, alongside the breaking changes above.
- cli:
simlock lease(without--detach) renews its own lease at one third of the lease's TTL for as long as it runs — sending no TTL of its own, so the deadline keeps the width the lease was granted with — and releases on exit, parent death, orSIGINT/SIGTERM.--detachprints the grant and exits; the lease it leaves behind is the same kind of lease, and renewing it is the caller's job. - cli:
simlock lease --ttl <duration>sets a lease's initial TTL in place oflease.defaultTtlMs, capped bylease.maxTtlMs. - daemon: one expiry path for every frontend — startup restores every
lease's TTL timer from its persisted deadline, and the held-lease
bookkeeping kept for release-on-close is deleted along with the
StartupConvergerorphan sweep that existed to clean up after it. - config:
lease.maxTtlMsbounds what any caller may ask for, so one client cannot pin a device for a day by naming a largettlMs. - contract, daemon, http, cli:
device.execrunssimctl/adbon the machine that owns the device and streams the output back, so an agent that is not on that machine can drive the device it leased (ADR 0005 §19a-§19e). The daemon resolves the command through the same driver passthroughsimlock simctl/simlock adbalready use — the same root scoping, the same refusal list — and pushes each chunk as it arrives (a new request-scopedoutputpush family) rather than buffering any of it; the call resolves with the command's exit code. Over HTTP it isPOST /v1/leases/{id}/exec, answering Server-Sent Events: anoutputevent per chunk, then a terminalexitorerror.simlock/clientgainsexec(input, { onOutput }).simlock simctl/simlock adbare unchanged against aworker— they still spawn with inherited stdio, so an interactiveadb shellkeeps its terminal — and take this path against agateway, which owns no devices; the CLI reads which it is talking to frommodeinstatus.get's daemon block rather than guessing from its transport, and both commands now accept--lease <id>(ignored against a worker, so one command line works against either).stdinis a one-shot string, read from a pipe to EOF before the command starts: there is no pseudo-terminal, so line-oriented commands work, full-screen ones do not, and a bareadb shellis refused (PASSTHROUGH_REFUSED) rather than left to hang. On this one operationadmindoes not bypass ownership: an admin session names therequesterIdit is running the command for and the daemon compares it to the lease's own, which is what keeps a proxy holding one admin credential from reaching every lease on the machine. - contract:
status.getgains adaemonblock,{ health, mode }.healthmoves into it from the top level, andmode(worker/gateway, read straight from the newmodeconfig key) joins it — the one field that tells a client which kind of daemon answered, and whatsimlock simctl/simlock adbbranch on.simlock statusrenders it asDaemon: running (worker). - android:
simlock adbnow refuses a caller-supplied-P,-H,-L, or--server-portanywhere in adb's globals — the arguments before the subcommand — including the attached forms-P5037/-Hhostand one that follows another global's value (-s emulator-5554 -P 5037 shell …), the waysimlock simctlalready refuses--set/--profiles.adbtakes the last-Pon the line, so one supplied by a caller silently won over the one Simlock inserts and pointed the command at another server — including the machine's default one, outside Simlock's containment entirely. Past the subcommand those spellings are operands and still pass through (simlock adb shell echo -Please), and-s/-t/-d/-eare not refused at all: they select a device inside the containment rather than leaving it. - config:
exec.timeoutMs(default ten minutes) bounds onedevice.execcommand; past it the process is killed and the call fails with the newEXEC_TIMEOUTerror code (CLI exit10, the code the other "ran out of time" outcome already uses, and HTTP504) rather than reporting the exit code the kill produced. - catalog: each platform in
simlock catalog,GET /v1/catalog, the MCPlist_devicestool, andgetCatalogcarriesmodelRuntimes: for every model, the installed runtimes it pairs with. A listed pair can be leased; on iOS a model and a runtime that are each installed can still fail to pair, and are not listed together. An iOS lease for an exact version now succeeds when any installed build of that version pairs with the model, not only the first one.simlock catalogprints each model with its runtimes. On a gateway,simlock worker listshows each worker's own pairings and the catalog pairs a model with a runtime when at least one worker does. - catalog: each platform also carries
modelAliases, the other names a lease accepts for a model in any letter case — on Android a built-in profile's AVD id, such aspixel_8forPixel 8— and Android carriesimages, every installed system image with its API level, tag, and ABI, a foreign-ABI image included.simlock catalogprints both. On a gateway each worker's view carries its own and the catalog lists their union; the gateway does not yet route a request by another name. - events: every business event is also written to
~/.simlock/events.jsonl, one JSON line each, so the history survives a daemon restart or crash.simlock events --sinceandGET /v1/events?since=read it, reaching past a restart and past the 1000 events kept in memory; with no daemon running,simlock events --since(without--follow) reads the file and starts none.--sincewith--followprints that history, then streams, with nothing lost or repeated where they meet. The file is capped by the neweventLog.rotateBytes(default 5 MiB, one rotated generation).daemon.logno longer gets its own copies ofcomponent.installedanddevice.slimmed; read them from the event file. - daemon:
daemon.logrecords every request that changes state, on every frontend, with who asked, how long it took and its error code; every background failure Simlock handled by retrying or destroying a device, with the device and the error; and atlog.level: debug, read requests and every device command with its exit code. A failing event subscriber is logged as a JSON line.simlock daemon logs --followprints new lines as they are written, across rotations.
These ship with the PRs that implement ADR 0005, and every one of them is
additive: mode defaults to worker, so a daemon that ignores all of this
is the daemon that exists today.
- contract:
device.exec(roleagent) runs onesimctl/adbcommand against a leased device on the machine that owns it —{ leaseId, tool, args, stdin?, requesterId? }in,{ exitCode }out, with output streamed as request-scopedoutputpushes (stream: "stdout" | "stderr"plus a chunk, keyed by frame id likeprogress). It works on the unix socket, over HTTP, and over the uplink, so a remote HTTP agent can drive its device against a lone worker with no gateway involved at all.stdinis one string sent with the request and then closed; there is no pseudo-terminal, and a bareadb shellwith no command is refused (PASSTHROUGH_REFUSED) rather than left to stall until the timeout. A non-admin caller is gated the ordinary way, its principal against the lease'sownerId;requesterIdexists for the one session that would otherwise bypass that check, the gateway's admin session on a worker, andadmindoes not bypass on this one operation — the worker compares the suppliedrequesterIdto the lease's own. - contract:
worker.list|drain|undrain|remove(admin) manage the workers connected to a gateway;modejoinsstatus.get's daemon block;workersjoins its output;workerIdjoins every device and lease in a gateway's aggregate;worker: { id, label }joins the lease object; andworkerjoins the token roles. All additive. - daemon:
config.modeselectsworker(default) orgateway. A gateway starts no drivers, validates no device roots, and runs no reaper, health monitor, or capacity strategy;src/gateway/implements the contract's handlers over worker views and uplinks, importing nothing fromdriversand, fromcore, only the platform-agnostic queue and bus. A gateway's one piece of persisted state is its worker registry — which workers it knows and which an operator has drained — kept under itsSIMLOCK_HOMEwith owner-only permissions, so a drain survives both a worker reconnect and a gateway restart. Worker views are rebuilt on every connect and never persisted. - Socket protocol: the wire's second move this release, to protocol 5,
with no compatibility shim — see BREAKING CHANGES above, where it is
listed with ADR 0004's.
device.execand itsoutputpush family are new frames and no compatibility path is kept for them, so under ADR 0003 §6's honesty rule the range does not widen. Over the uplink this is ordinary version negotiation: a worker older than ADR 0005 does not overlap a gateway's range, is markedincompatiblewith both ranges shown, is never dispatched to, and keeps serving its own local clients until it is upgraded. - daemon: one fleet queue on the gateway, dispatched to workers with
noWait: true, so a gateway request never sits in a worker's queue and can be granted by whichever worker frees first. A request becomesdispatchedon a grant or on the firstprogresspush from that worker; only an immediateNO_CAPACITY(a stale view) leaves it queued. Routing is a pure function over the worker views behindgateway.routing; the v1 policy is a warm hit first, then the most free running capacity for the platform. Each view carries the worker's effectivedownloads.policy, read once withconfig.geton connect, so routing can tell whether a machine may install a missing runtime at all — the worker still clampsallowDownloadthrough that same policy, as always. - daemon:
lease.renew/release/reads forward to the owning worker (the lease id names it), the one-lease-per-requester rule becomes fleet-wide, and the requester a gateway forwards is namespacedgw:<gateway instance id>:<requester>so local and fleet agents cannot collide on a worker.lease.release-allon a gateway releases only the leases that gateway issued, across every connected worker, and never a worker's own local leases; a worker it cannot reach is reported asWORKER_UNREACHABLEnaming that worker while the rest still complete. - config: new keys. Worker side:
gateway.url,gateway.token(a join token),gateway.label, andexec.timeoutMs(10 minutes, and the authoritative one — that side owns the process). Gateway side:gateway.routing(warm-then-free),gateway.disconnectedRetentionMs(24 hours) andgateway.execTimeoutMs(11 minutes, a backstop for a worker that never answers, deliberately longer than the worker's own). Plusmodeitself. Worker-only keys in a gateway's config are ignored with a warning, as unknown keys already are. Two pairs are rejected at load instead, and the daemon does not start:mode: "gateway"withhttp.enabled: false, since a gateway with no listener cannot be reached by anyone; and, inmode: "worker",gateway.urlwithoutgateway.tokenor the reverse, since a half-configured uplink would otherwise come up looking like an ordinary standalone worker. - http: new routes.
GET /v1/uplink(WebSocket upgrade, join-token bearer, roleworker) is the one inbound connection in a fleet;POST /v1/leases/{id}/execstreams a command's output as Server-Sent Events, the same shape/eventsalready uses;GET /v1/workers,POST /v1/workers/{id}/drain,DELETE /v1/workers/{id}/drain, andDELETE /v1/workers/{id}(alloperator) are what the console (#88) renders. "Multi-host brokering" leavesdocs/HTTP-API.md's "Not implemented" list, since this is it. - events:
worker.connected,worker.disconnected,worker.rejected,worker.removed,worker.drain-started,worker.drain-ended, andrequest.dispatchedare emitted by a gateway, and every worker's own business events are republished on the gateway's bus withworkerIdadded to the payload — an additive change, so no exception to events rule 6 is needed this time.worker.rejectedreports an uplink refused at the door, which nothing else records — it is what answers "why did that machine never appear". Seedocs/EVENTS.md. - contract: five new error codes.
WORKER_UNREACHABLE(kind: "transport", CLI exit 1, HTTP 503 — where every othertransport-kind code already sits) when a worker's uplink is down;WORKER_CONNECTED(exit 2, HTTP 409) refusingworker removeon a connected worker;UNKNOWN_WORKER(exit 12, HTTP 404) forworker drain/undrainnaming a worker the gateway does not know —removeinstead answers{"removed": false}, since forgetting an already-forgotten worker is not a failure;UNSUPPORTED_IN_GATEWAY_MODE(exit 2, HTTP 501, permanently rather than pending some later fan-out) fornuke/cleanup/doctor/driver.passthroughasked of a gateway; andEXEC_TIMEOUT(exit 10, HTTP 504) when a command outlivesexec.timeoutMs.device.exec's refusals are not new codes: a refused verb is the existingPASSTHROUGH_REFUSEDand an unwrapped tool the existingUNKNOWN_PASSTHROUGH_TOOL, both already exit 2 / HTTP 422. - deps:
wsis added as a runtime dependency — Node ships a WebSocket client but no server, and the uplink needs both ends. It sits behind theUplinkListenerFactory/UplinkConnectorports as their one real adapter, so nothing above the port imports it and tests script a fleet in memory without it.
- record ADR 0004 as Accepted — not yet implemented
(
docs/adr/0004-ttl-first-leases-on-every-transport.mdanddocs/adr/README.md): the documentation describes the decided end state; the code catches up in the changes that implement ADR 0004. - rewrite the lease model across
docs/CLI.md,docs/CLIENT.md,docs/HTTP-API.md,docs/CONFIGURATION.md,docs/ARCHITECTURE.md("Leases", the frontend topology, and startup convergence),docs/EVENTS.md,docs/ABOUT.md, andREADME.md; record the SIGKILLed holder and re-frame the reparented-holder fix around renew timers indocs/known-pitfalls.md. - record ADR 0005 as Accepted — not yet implemented
(
docs/adr/0005-gateway-and-worker-modes.mdanddocs/adr/README.md). - describe gateways and workers across the user manual: a "Gateway and worker
modes" section in
docs/ARCHITECTURE.md(topology, uplink, worker views, the fleet queue, routing, lease forwarding,device.exec, failure behaviour, the safety argument, andsrc/gateway/'s boundaries), "Against a gateway" andsimlock workerindocs/CLI.md, the uplink/worker/exec routes indocs/HTTP-API.md,execandmodeindocs/CLIENT.md, the new keys and a "Modes" section indocs/CONFIGURATION.md, the fleet events indocs/EVENTS.md, and a paragraph each indocs/ABOUT.mdandREADME.md. docs/IDEAS.mddrops "Cross-machine coordination" — ADR 0005 designs it — and gains the items that record deferred: gateway-side file upload fordevice.exec, reserved capacity slices, fan-outdoctor/cleanup, richer routing (label selectors, requester affinity), and a byte-heavy data plane.docs/known-pitfalls.mdrecords five accepted fleet gaps: no file transfer fordevice.exec, no pseudo-terminal, a dispatched request whose uplink drops, a lease that survives a gateway restart it cannot be renewed through, and local agents sharing a worker's capacity with the fleet.- reserve "gateway" for ADR 0005's meaning: the
src/httpfrontend is called the HTTP frontend throughoutdocs/ARCHITECTURE.md,docs/HTTP-API.md, anddocs/known-pitfalls.md, where it used to be "the HTTP gateway". No behaviour changes; one word now means one thing. ADRs 0003 and 0004 keep the old wording deliberately — an accepted record says what it said when it was accepted, and is never edited to match a later vocabulary.
0.8.0 (2026-11-17)
- fix(daemon): the test dispatcher stores failures as production does by @V3RON in #1504
- fix(lint): in a merge the commit hook judges only the lines the merge adds by @V3RON in #1506
- fix(core): nuke --delete-devices destroys an unclaimed provisioning device by @V3RON in #1518
- feat(config): the worker sends gateway.headers on its uplink dial by @V3RON in #1515
- docs(adr): 0073 a worker may enrol the phones plugged into it by @V3RON in #1505
- feat(drivers): drivers list the phones on USB, enrolled or not by @V3RON in #1511
- feat(core): a worker enrols the phones plugged into it under devices.autoEnroll by @V3RON in #1514
- chore(agents): a spec session writes the design once, checks it against the code, then writes thin tasks by @V3RON in #1521
- fix(gateway): a generated lease id answers WORKER_UNREACHABLE until its worker reports after a restart by @V3RON in #1530
- fix(daemon): a relay lets go of its target Request once it answers by @V3RON in #1533
- docs(adr): propose 0074, an admission command ranks or refuses a gateway request (#1516) by @V3RON in #1519
- feat(leasing): a chosen lease id is refused with LEASE_ENDED after its lease ended by @V3RON in #1526
- feat(gateway): an admission command ranks or refuses each new request by @V3RON in #1528
- feat(gateway): a lease request's metadata reaches the admission command by @V3RON in #1529
- fix(core): nuke --delete-devices deletes quarantined virtual devices by @V3RON in #1520
- chore(deps): bump the npm-minor-and-patch group across 1 directory with 16 updates by @dependabot[bot] in #1460
- docs(adr): propose 0075, a foldable simulator streams the panel in use (#1531) by @V3RON in #1532
- feat(capture): a foldable simulator's stream shows the panel in use and switches on a fold by @V3RON in #1536
- feat(ios): taps land on the panel of a foldable that is in use by @V3RON in #1559
- chore(deps): bump the npm-minor-and-patch group with 10 updates by @dependabot[bot] in #1543
- chore(deps): bump pixelmatch from 7.1.0 to 8.0.0 by @dependabot[bot] in #1544
- fix(ios): a simulator's clone or create waits ios.simulator.createTimeoutMs and a late copy is deleted by @V3RON in #1563
- fix(ios): ios.*.bootTimeoutMs is one deadline taken before simctl boot by @V3RON in #1575
- chore(delivery): an upstream label and a weekly check-upstream routine by @V3RON in #1576
- docs(adr): propose 0077, the repository is a workspace and its packages release together (#1562) by @V3RON in #1565
- feat(e2e): the repository builds, checks and releases @simlock/e2e with option checking by @V3RON in #1568
- feat(e2e): the device provider leases, installs, renews and releases, with a Run tests from CI page by @V3RON in #1572
- refactor: split every file over 1,000 lines into topic files by @V3RON in #1582
- fix(delivery): review-inputs.sh resolves feature/-adr to the feature by @V3RON in #1611
- docs(adr): propose 0078, an Android worker tries its default image tag first and falls back to none (#1590) by @V3RON in #1591
- feat(leasing): an Android worker tries its default image tag first (#1595) by @V3RON in #1609
- feat(android): doctor warns when no installed image has the default image tag by @V3RON in #1616
- feat(catalog): a worker's catalog names its default image tag and a gateway ranks by it by @V3RON in #1615
- docs(adr): propose 0079, one capture per device is shared and every capture sends a key frame every 5 s (#602) by @V3RON in #1593
- feat(screen-capture): iOS screen streams send a key frame at least every 5 s by @V3RON in #1606
- feat(android-screen): Android streams send a key frame at least every 5 s through scrcpy's reset video by @V3RON in #1610
- feat(stream): viewers of one device on a worker share one capture by @V3RON in #1614
- feat(stream): viewers through a gateway share one relay by @V3RON in #1617
- docs(adr): 0076 an iOS clone names only its own folders before its first boot by @V3RON in #1564
- feat(ios): a seed is copied unbooted from a throwaway simulator that is then deleted by @V3RON in #1620
- feat(ios): a leased simulator swaps its lineage's UDIDs for its own before its first boot by @V3RON in #1626
- fix(test): the drain-and-restart wait covers the restarted worker's catalog by @V3RON in #1630
- docs(adr): propose 0079, an Android worker may enrol phones reached over the network (#1589) by @V3RON in #1594
- feat(core): a phone's hardware serial is kept on its record, and one phone keeps one record by @V3RON in #1622
- feat(android): network phones under android.networkDevices by @V3RON in #1627
Full Changelog: https://github.com/callstackincubator/simlock/compare/v0.7.0...v0.8.0
0.7.0 (2026-11-10)
- fix(cli): daemon stop with no daemon running exits 0 and says so by @V3RON in #1313
- fix(cli): a held lease cancels its waiting request on a signal or the bound process's exit by @V3RON in #1316
- fix(contract): config.get answers the drivers section by @V3RON in #1314
- chore(agents): an easy bug goes from its triage report to main through a fast track by @V3RON in #1322
- feat(agent-device): the front leases from a named baseline by @V3RON in #1319
- fix(contract): device.exec refuses a stdin over 8 MiB with BAD_REQUEST by @V3RON in #1318
- fix(agent-device): an allocate's device mode reaches the lease request (#1223) by @vitalyiegorov in #1225
- feat(capture): the simulator screen program ships universal, so Intel workers stream by @AndrewBeniston in #1185
- test: cut the slowest CI tests, from 11.6 min a PR run to about 5 by @V3RON in #1325
- refactor(config): a driver owns its config keys, and a module takes the config sections it reads by @V3RON in #1324
- feat(config): configurable boot deadlines for full iOS simulators and Android emulators by @V3RON in #1321
- fix(daemon): stop waits for lease requests still booting before it disposes the drivers by @V3RON in #1317
- feat(agent-device): the allocate reply reports the granted device mode by @vitalyiegorov in #1254
- docs(adr): propose 0062, the warm pool learns a baseline after repeated leases (#1257) by @V3RON in #1260
- feat(warm-pool): a baseline kind is learned on its Nth lease in 24 h and warms its newest version by @V3RON in #1335
- refactor(agent-device): split edge.test.ts into parts (ADR 0063) by @V3RON in #1339
- refactor(daemon): split server.ts into parts (ADR 0063) by @V3RON in #1341
- refactor(core): split doctor.test.ts and registry.test.ts into parts (ADR 0063) by @V3RON in #1340
- refactor(gateway): split fleet-coordinator.ts into parts (ADR 0063) by @V3RON in #1342
- refactor(leasing): split lease-acquisition-coordinator.test.ts into parts (ADR 0063) by @V3RON in #1344
- refactor(http): split app.test.ts into parts (ADR 0063) by @V3RON in #1343
- refactor(contract): split schemas.ts into parts (ADR 0063) by @V3RON in #1345
- refactor(daemon): split main.ts into parts (ADR 0063) by @V3RON in #1347
- docs(adr): propose 0064, a tunnel reaches an iOS simulator's ports and an emulator's adb port (#1282) by @V3RON in #1287
- feat(tunnel): iOS simulator tunnels, forward to the lease's simulator, reverse on the exact port by @V3RON in #1336
- feat(tunnel): simlock tunnel emulator adb, the caller's own adb sees the remote emulator by @V3RON in #1346
- chore(agents): sub-agents compact at 300k tokens, the Haiku explorer at 100k by @V3RON in #1350
- fix(agent-device): devices through a gateway no longer collides on request id by @V3RON in #1352
- chore(docs): a manual holds only what the code cannot say by @V3RON in #1353
- test(e2e): the slow lane keeps its seeds and runs leasing cases on one platform by @V3RON in #1366
- docs(adr): propose 0066, a slim lease may keep named categories running (#1326) by @V3RON in #1327
- feat(ios): slim labels match simslim v0.14.0, with the mdm category by @V3RON in #1333
- feat(ios): the iOS driver boots a slim simulator with a lease's except list by @V3RON in #1348
- feat(leasing): a slim lease keeps named categories running (--except) by @V3RON in #1349
- feat(gateway): route an except lease by each worker's slim set and default mode by @V3RON in #1360
- feat(agent-device): the front maps deviceExcept to the lease's except by @V3RON in #1368
- fix(docs): warmPool.enabled no longer claims released devices stay booted by @V3RON in #1377
- docs(android): fix reattachRunningEmulators comment on what outlives a stop by @V3RON in #1380
- fix(daemon): the test helpers give a gateway a free HTTP port by @V3RON in #1383
- fix(android): saving a device reads a config.ini with spaces around = by @V3RON in #1379
- fix(gateway): lease.list lists a lease as soon as lease.request answers by @V3RON in #1376
- fix(drivers): build the seed tables' one-ready-seed index in a version 2 step by @V3RON in #1384
- fix(updater): empty update-backup before taking a backup by @V3RON in #1389
- docs(adr): propose 0067, a lease has a file folder on its worker that HTTP callers fill and read (#1351) by @V3RON in #1354
- feat(lease-files): a lease holder uploads, downloads, lists and deletes its lease's files on a worker by @V3RON in #1390
- feat(exec): exec reads a lease file on stdin and runs in the lease folder by @V3RON in #1393
- feat(lease-files): a gateway relays the file routes to the lease's worker by @V3RON in #1392
- fix(test): startFleet's gatewayUrl hook runs after the gateway listens by @V3RON in #1396
- docs(adr): propose 0068, a worker pauses warming and new devices under host memory pressure (#1355) by @V3RON in #1359
- feat(host-load): a worker works out its memory pressure step and reports it by @V3RON in #1398
- feat(capacity): at new-devices-paused a worker creates and boots no device for a lease by @V3RON in #1401
- feat(warm-pool): the warm pool starts nothing and sheds a device at warming-paused by @V3RON in #1400
- feat(gateway): a gateway ranks a memory-paused worker last and worker list shows the step by @V3RON in #1402
- feat(ui): the console shows a worker's memory-pressure step by @V3RON in #1403
- fix(test-support): daemon test rigs start on another port when their picked port is taken by @V3RON in #1405
- docs(adr): accept 0069, a learned kind keeps one ready copy while its copies are leased (#1374) by @V3RON in #1378
- feat(warm-pool): keep a spare copy of a learned kind while its copies are leased by @V3RON in #1387
- fix(test): rotate test workers serve no HTTP unless a test asks for a port by @V3RON in #1418
- fix(test): a gateway file test waits for the upload to reach the worker before probing its name by @V3RON in #1416
- fix(core): a deleted device record expires after devices.deletedRetentionMs by @V3RON in #1415
- fix(agent-device): session folders are removed at lease end and at daemon start by @V3RON in #1413
- chore(comments): delete comments that say what, not why, since ded53744 by @V3RON in #1440
- docs(delivery): refactor issues run without a spec, and a routine may start them (rule 18) by @V3RON in #1443
- fix(daemon): test fixtures keep role defaults when overrides are given by @V3RON in #1444
- fix(cli): local passthrough forwards termination signals to its tool by @V3RON in #1445
- docs(adr): accept 0070, test runners drive a lease through the agent-device front (#1419) by @V3RON in #1420
- feat(agent-device): label front errors with retry guidance by @V3RON in #1437
- feat(agent-device): retain leases through close by @V3RON in #1436
- feat(agent-device): answer boot on the leased device by @V3RON in #1439
- feat(agent-device): each lease is its own agent-device tenant by @V3RON in #1453
- fix(ios): isolate simulator clipboards from the Mac by @V3RON in #1446
- feat(console): establish redesign foundation by @V3RON in #1435
- feat(console): the redesign's pages together, with breakpoints and a light theme (#1434) by @V3RON in #1454
- fix(ui): stop the toast test's 5.5 s check landing at 6 s by @V3RON in #1470
- docs(adr): propose 0071, a restart re-allocates a live agent-device lease (#1461) by @V3RON in #1462
- feat(agent-device): a heartbeat re-allocates a live agent-device lease after a restart by @V3RON in #1466
- feat(agent-device): a standalone worker adopts its leases after a restart by @V3RON in #1468
- fix(core): a deleted device record leaves the snapshot past devices.deletedRetentionMs by @V3RON in #1483
- fix(cli): a signal during connect sends no lease request by @V3RON in #1482
- fix(daemon): an abort before the daemon admits a lease request cancels it (#1479) by @V3RON in #1485
- fix(agent-device): a re-allocate after a restart names the lease's backend by @V3RON in #1484
- docs(cli): a refused simctl or adb command prints USAGE (exit 2) by @V3RON in #1488
- fix(ios): an iOS seed boot timeout answers PROVISION_FAILED with reason boot-timeout by @V3RON in #1491
- fix(gateway): a lease.cancel right after its lease.request cancels the fleet request by @V3RON in #1493
- fix(agent-device): devices with requestProgress is forwarded, docs open an app before snapshot by @V3RON in #1489
- fix(core): baseline remove while a copy is reclaiming answers DEVICE_BUSY by @V3RON in #1490
- docs(agent-device): the guide names the iOS errors after a restart and says to open again by @V3RON in #1496
- fix(config): config get answers a drivers key at its default by @V3RON in #1494
- fix(agent-device): close after a restart ends the lease by @V3RON in #1495
- @vitalyiegorov made their first contribution in #1225
- @AndrewBeniston made their first contribution in #1185
Full Changelog: https://github.com/callstackincubator/simlock/compare/v0.6.0...v0.7.0
0.6.0 (2026-11-05)
- docs(adr): 0059 a worker with real drivers holds a per-user lock (#1189) by @V3RON in #1190
- feat(daemon): a worker with real drivers holds a per-user lock by @V3RON in #1193
- docs(adr): 0060 iOS slim writes launchd overrides while the simulator is shut down by @V3RON in #1194
- feat(ios): slim writes launchd overrides before one boot, reads them back by @V3RON in #1197
- fix(auth): refuse unsafe worker ids at join by @V3RON in #1214
- fix(gateway): drop the proxy auth header and cookie before relaying to a worker by @V3RON in #1213
- fix: owner-only SIMLOCK_HOME and per-request waiting-row ownership by @V3RON in #1217
- fix(cli): escape control characters in remote text and restrict requesterId by @V3RON in #1218
- fix(gateway): a worker cannot crash, stall or corrupt its gateway by @V3RON in #1215
- fix(limits): bound input sizes and make their parsing linear by @V3RON in #1216
- fix(android): passthrough refuses emu avd snapshot except list by @V3RON in #1221
- fix(input): ignore messages after a lease's input is released by @V3RON in #1226
- fix(cli): tunnel drops a connection once both halves ended by @V3RON in #1227
- fix(android): bound the emulator mark read in time and size by @V3RON in #1224
- fix(e2e): capture stand-in logs closed when its stdout fails by @V3RON in #1230
- fix(e2e): a held loopback port never stalls its release by @V3RON in #1231
- fix(stream): a screen stream ends at the identity's expiresAt by @V3RON in #1228
- fix(android): fail the boot when the emulator exits, quoting its error (#1199) by @V3RON in #1232
- feat(mcp): list_devices lists enrolled phones by @leonardoxr in #1120
- chore(agents): manuals reach agents, retired words, fresh checkouts, inline test commands by @V3RON in #1252
- docs(adr): 0061 every virtual device is a copy of a source, and a baseline is a named source by @V3RON in #1201
- feat(ios): every simulator is a copy of a seed, and every virtual device serves one lease by @V3RON in #1210
- feat(android): every emulator is a copy of a seed, booted from its boot snapshot by @V3RON in #1222
- feat(baselines): save, list and remove baselines from held leases by @V3RON in #1235
- feat(leasing): a lease names a baseline and gets a copy of it by @V3RON in #1236
- feat(gateway): route baseline lease requests to a worker that holds the baseline by @V3RON in #1241
- feat(ui): a Baselines page and a device's baseline by @V3RON in #1245
- feat(ios): ios.simulator.audio keeps every simulator silent by @V3RON in #1258
- docs(adr): propose 0063, a big module is one composition root over parts that own their state (#1259) by @V3RON in #1262
- test(hygiene): size test, a code file stays at 1,400 lines and a test file at 2,500 by @V3RON in #1274
- refactor(android): adb-tools.ts, the leaf part for env, commands and device folders by @V3RON in #1276
- refactor(android): ownership.ts, the one check before a stop, load or destroy by @V3RON in #1277
- refactor(android): console-ports.ts owns the console port reservations by @V3RON in #1278
- refactor(android): passthrough-rules.ts holds the adb refusal rules by @V3RON in #1279
- refactor(android): avd-config.ts owns config.ini, the config hash and the marks by @V3RON in #1280
- refactor(android): emulator.ts starts, readies and stops an emulator by @V3RON in #1281
- refactor(android): system-images.ts owns system images and components by @V3RON in #1283
- refactor(android): catalog.ts is a part of the Android driver by @V3RON in #1284
- refactor(android): device-table.ts owns the device states, locks, listManaged and pre-root devices by @V3RON in #1285
- refactor(android): seeds.ts is a part of the Android driver by @V3RON in #1286
- feat(ios): ios.simulator.headless false shows each simulator in a window by @V3RON in #1290
- docs(website): rewrite the user docs in plain, task-first English by @V3RON in #1291
- fix(ui): the lease drawer shows the baseline the lease was made from by @V3RON in #1306
- fix(android): pass -crash-report-mode only to an emulator that lists it by @V3RON in #1304
- fix(daemon): a stopping daemon answers new connections with DAEMON_STOPPING by @V3RON in #1302
- fix(ios): a seed simctl no longer knows counts as deleted (#1296) by @V3RON in #1303
- fix(cli): daemon stop waits until the daemon has exited by @V3RON in #1305
- test: raise five shrink-only line limits in source hygiene by @V3RON in #1307
Full Changelog: https://github.com/callstackincubator/simlock/compare/v0.5.0...v0.6.0
0.5.0 (2026-11-01)
- chore(release): format the 0.4.2 changelog entry so Format passes by @V3RON in #1163
- fix(release): collapse blank-line runs in the changelog notes by @V3RON in #1165
- feat(daemon): device.rotate rotates a leased iOS simulator by @leonardoxr in #1122
- feat(cli): simlock rotate and MCP rotate_device by @leonardoxr in #1123
- feat(agent-device): the front answers orientation on an iOS simulator through device.rotate by @leonardoxr in #1124
- docs(adr): 0053 the daemon owns each lease's device input, and device.rotate uses it by @leonardoxr in #1106
- fix(http): SSE streams write an opening comment at once by @V3RON in #1170
- fix(android): write the adb server's output to logs/adb-server.log by @V3RON in #1171
- fix(http): /v1 JSON answers carry Cache-Control: no-store by @V3RON in #1173
- docs(adr): 0058 through a gateway, simlock adb and simctl send stdin only with --stdin by @V3RON in #1175
- feat(cli)!: through a gateway, simlock adb and simctl send stdin only with --stdin by @V3RON in #1178
- fix(android): refuse simlock adb disconnect by @V3RON in #1180
- feat(tunnel): reverse a leased Android device's port over a lease WebSocket on a worker by @leonardoxr in #1121
- feat(tunnel): the gateway relays the tunnel socket to the lease's worker by @leonardoxr in #1125
- feat(tunnel): simlock tunnel reverses a leased device's port to the caller (#1114) by @leonardoxr in #1126
- feat(tunnel): simlock tunnel forward reaches a leased device's port from the caller's machine by @leonardoxr in #1127
- docs(adr): 0054 a lease holder tunnels device ports to its own machine by @leonardoxr in #1111
- fix(android): start the emulator with -crash-report-mode never by @V3RON in #1186
Full Changelog: https://github.com/callstackincubator/simlock/compare/v0.4.2...v0.5.0
0.4.2 (2026-10-31)
- fix(e2e): slow-ios-smoke comment names the real reason the simulator stays Booted by @V3RON in #1136
- fix(agents): pr-body-check ignores an indented line after a non-checklist line by @V3RON in #1142
- fix(ios): read the version from a device-specific runtime id by @V3RON in #1141
- fix(android): leave hw.device.hash2 out of the config hash by @V3RON in #1147
- fix(ports): survive a client reset during uplink authenticate by @V3RON in #1140
- fix(android): bound the clean-baseline snapshot load at 60 s by @V3RON in #1149
- fix(cli): report an invalid config.json as USAGE, exit 2 by @V3RON in #1148
- fix(daemon): daemon stop shuts down idle devices (#1056) by @V3RON in #1150
- fix(config): config.get redacts secrets unless showSecrets is asked by @V3RON in #1157
- fix(android): give emulator console snapshot save, snapshot list and emu kill a deadline by @V3RON in #1159
- fix(e2e): warmUp releases its warm-up leases when a later one fails by @V3RON in #1160
- fix(e2e): keep each daemon's log when teardown deletes its home by @V3RON in #1161
Full Changelog: https://github.com/callstackincubator/simlock/compare/v0.4.1...v0.4.2
0.4.1 (2026-10-31)
- ci(release): read the npm version from npm, not process.versions by @V3RON in #1073
- fix(release): keep capture programs executable; follow pnpm launchers to agent-device by @V3RON in #1075
- test(audit): 13 fewer tests in cli, daemon, edge and five more files, since 19a11eb by @V3RON in #1039
- test(audit): 9 fewer tests in ios, leasing, dispatcher and http, since 19a11eb by @V3RON in #1086
- feat(input): rotate a leased iOS simulator with 0x07 by @leonardoxr in #1081
- fix(android): start emulators with an authenticated gRPC endpoint by @joelfickson in #1083
- fix(ports): the daemon listens on a named pipe on Windows by @leonardoxr in #1052
- fix(drivers,ports,core): Android on Windows by @leonardoxr in #1053
- fix(ports): read a pid's command line on Windows, so a crashed daemon's children are reaped by @leonardoxr in #1078
- fix(daemon): a start that fails at the socket claim exits by @leonardoxr in #1077
- chore(deps): bump the npm-minor-and-patch group across 1 directory with 25 updates by @dependabot[bot] in #1050
- fix(ports): the daemon's children open no console window on Windows by @leonardoxr in #1076
- chore(deps): bump vitest from 4.1.10 to 5.0.5 by @dependabot[bot] in #1022
- perf(android): keep the avdmanager list device answer while its inputs are unchanged by @leonardoxr in #1079
- feat(ports): read CPU, memory and swap on Windows by @leonardoxr in #1054
- fix(agent-device): find an npm-installed agent-device on Windows by @leonardoxr in #1055
- feat(agent-identity): read pi's PI_SESSION_ID as pi: by @tobimori in #1046
- chore(deps): bump @agent-device/proxy to 0.21.35 by @V3RON in #1094
- fix(e2e): keep the Android smoke lease from teaching the warm pool by @V3RON in #1096
- fix(capture): a software H.264 encoder holds no frame back (#1090) by @TUNA-NOPE in #1092
- fix(android): readiness waits for the package manager (#1089) by @TUNA-NOPE in #1093
- @leonardoxr made their first contribution in #1081
- @joelfickson made their first contribution in #1083
- @tobimori made their first contribution in #1046
- @TUNA-NOPE made their first contribution in #1092
Full Changelog: https://github.com/callstackincubator/simlock/compare/v0.4.0...v0.4.1
0.4.0 (2026-10-30)
- feat(http): expose the control plane over HTTP by @V3RON in #68
- feat: on-demand component installation for iOS runtimes and Android system images by @V3RON in #69
- feat(ios): opt-in slim simulators (closes #87) by @V3RON in #89
- fix(daemon): let the daemon exit while a detached lease is outstanding by @V3RON in #90
- docs(adr): 0003 — one typed daemon contract behind every frontend by @V3RON in #92
- feat(contract): declare every daemon operation once, negotiate protocol ranges by @V3RON in #93
- feat(daemon): one dispatcher for every transport, roles, ownership, admin credential by @V3RON in #94
- feat(client): a typed, single-connection daemon client by @V3RON in #95
- feat(cli): render the contract; move token operations into the daemon by @V3RON in #96
- feat(mcp): derive tool schemas from the contract, delete the session cache by @V3RON in #97
- fix(contract): a lease grant returns a device projection, not the whole record by @V3RON in #98
- docs: document the contract, the client, the security model, and 0.3.0's breaks by @V3RON in #99
- fix(client): make abort actually cancel, and keep the mismatch escape hatch alive by @V3RON in #100
- fix(daemon,http): one error table for both transports; fail a bind failure loudly by @V3RON in #102
- fix(mcp,contract): scope lease_status to this session; restore the §1 boundary test by @V3RON in #103
- fix(client): stop swallowing a second crash on the same lease by @V3RON in #104
- fix(contract,daemon): narrow status.get, close the stop-during-start window by @V3RON in #105
- fix(http,mcp,docs): one answer per operation across transports by @V3RON in #106
- test(cli): restore coverage deleted under a false justification by @V3RON in #107
- fix(daemon): reject instead of hanging when the socket claim loses the race by @V3RON in #108
- feat(devices): Simlock-owned device roots for iOS and Android by @V3RON in #111
- fix: resolve hardware verification findings B2, D1, D2, D3 by @V3RON in #113
- docs(adr): 0004 TTL-first leases, 0005 gateway and worker modes by @V3RON in #121
- docs: describe TTL-first leases end state, accept ADR 0004 (PR C) by @V3RON in #122
- chore: ignore agent worktrees under .claude/worktrees/ by @V3RON in #133
- docs: describe gateway and worker modes end state, accept ADR 0005 (#120) by @V3RON in #127
- feat(cli,mcp)!: clients renew their own leases (ADR 0004, PR A) by @V3RON in #124
- feat!(daemon,contract): one TTL-first lease on every transport (ADR 0004, PR B) by @V3RON in #125
- feat(contract,daemon,http,cli): device.exec runs simctl/adb on the worker and streams output (ADR 0005, #116) by @V3RON in #128
- feat(gateway,ports,http,cli): gateway skeleton — config.mode, uplink, worker views, worker.* (ADR 0005, #117) by @V3RON in #129
- feat(gateway,core,contract,daemon): fleet queue, routing, and lease + exec forwarding (ADR 0005, #118) by @V3RON in #130
- test(gateway,e2e): prove drain, WORKER_UNREACHABLE and reconnect rebuild end to end (ADR 0005, #119) by @V3RON in #131
- test(e2e): prove the gateway happy path over the CLI and HTTP (ADR 0005) by @V3RON in #132
- fix(lefthook): exclude docs/** from the format pre-commit job by @V3RON in #135
- docs: split end-user docs from maintainer/agent docs by @V3RON in #134
- docs(delivery): GitHub Issues as spec and queue — kind:state labels, issue forms, spec templates by @V3RON in #136
- chore(skills): spec-session, triage-bug, and deliver skills for the delivery rule by @V3RON in #137
- ci(issues): enforce the delivery label rules with one issue-state workflow by @V3RON in #138
- docs(delivery),chore(skills): plain-language rule and triage fixes from the first live triage by @V3RON in #140
- docs(delivery),chore(skills),ci(issues): blocked state, task demotion, request close, claim release by @V3RON in #142
- fix(ios): write the download-lock separator as \0 instead of a raw NUL byte by @V3RON in #143
- feat(core): create a new device identity for each lease under lease.identity fresh by @V3RON in #145
- docs(delivery),chore(skills): two blind reviews before every PR — rule 14 and the review skill by @V3RON in #146
- feat(cli,mcp): take the requester id from the agent session by @V3RON in #165
- fix(ios): report downloaded runtimes whose disk nothing can reclaim by @V3RON in #144
- feat(config,android): configure emulator launch options from the config file (#148) by @V3RON in #149
- docs(adr): 0006 — events and the daemon log are two records; docs follow the implementing PR by @V3RON in #175
- test(e2e): stop gateway and restart tests from sitting out 30s waits by @V3RON in #176
- docs(adr): 0007 — a lease request chooses the device mode by @V3RON in #182
- docs(adr): 0008 — the catalog pairs models with runtimes, and status carries host facts by @V3RON in #183
- feat(core,http): store lease requests and replay them by idempotency key by @V3RON in #185
- feat(bus,cli,config): keep business events on disk so the history survives a restart by @V3RON in #184
- feat(daemon,cli): daemon log records every request and background failure; daemon logs --follow by @V3RON in #187
- docs(adr): 0009 — gateway routing is a list of stages, and a request that cannot be served fails at once by @V3RON in #196
- refactor(gateway): routing is an ordered list of stages by @V3RON in #197
- feat(catalog,gateway,cli): the catalog pairs each model with its installed runtimes by @V3RON in #198
- feat(contract,core,http,cli): report the device mode as mode on every surface by @V3RON in #199
- test(e2e): read the nested lease grant in the slow lanes by @V3RON in #200
- feat(gateway): a worker that answers NO_CAPACITY is asked once per change of its state by @V3RON in #201
- feat(daemon,gateway,cli): status and the worker list report host facts by @V3RON in #203
- feat(catalog,gateway,cli): the catalog lists every accepted Android name and every installed image by @V3RON in #202
- feat(contract,core,ios,cli,http,gateway): a lease request chooses slim or full; ios.defaultMode sets the default by @V3RON in #204
- feat(gateway): a worker is sent only requests its catalog says it can serve by @V3RON in #207
- docs(adr): 0010 — components are installed, recorded and removed through one owner in the core by @V3RON in #222
- feat(core,contract,daemon,gateway,cli): count each device against the RAM budget by its mode, and report the budget in status by @V3RON in #223
- test(e2e): the slim lane reaches Simlock's device set, and the suite keeps one test per claim by @V3RON in #205
- fix(ios,docs): stop saying iOS runtimes cannot be downloaded by @V3RON in #224
- feat(core,ios,android,daemon): lease-triggered downloads go through one installer in the core by @V3RON in #225
- feat(core,contract,daemon,gateway,cli): status lists the installs in progress by @V3RON in #227
- feat(contract,daemon,http,cli,client): simlock component install installs a component from the CLI, the client and HTTP by @V3RON in #228
- feat(core,ios,android,contract,daemon,cli,client,http): simlock component list shows every installed component, its size, and who installed it by @V3RON in #229
- feat(android,contract,gateway,cli): mark custom Android models in the catalog, and document where models come from by @V3RON in #230
- feat(core,drivers,daemon,cli,contract): doctor names each missing prerequisite and how to install it by @V3RON in #231
- feat(contract,gateway,daemon,http,cli,client): simlock component install installs on a gateway's workers by @V3RON in #232
- feat(core,contract,http,mcp): a lease request reports the downloading stage while it waits on a download by @V3RON in #233
- feat(core,ios,android,contract,daemon,cli,client,http,gateway): simlock component remove removes a component Simlock installed by @V3RON in #234
- feat(core,contract,drivers,gateway,cli,http,mcp): a lease request names the Android image tag by @V3RON in #235
- docs(cli): a gateway routes a request that uses a model's other name by @V3RON in #244
- fix(drivers): a devices.xml that cannot be checked is unreadable, not a catalog failure by @V3RON in #245
- fix(core): one driver's failing catalog no longer fails catalog.get for every platform by @V3RON in #246
- fix(core): wake the lease queue after every handoff grant by @V3RON in #247
- feat(ios,core,docs): component remove removes an iOS runtime whose only other simulators were never used by @V3RON in #249
- fix(android): cancel the shutdown wait's timer so a stopped daemon exits by @V3RON in #250
- fix(android): list a devices.xml profile avdmanager also prints in customModels by @V3RON in #248
- fix(ports,drivers): read an installer's progress at each carriage return by @V3RON in #251
- fix(android): read devices.xml RAM from <d:ram unit>, the shape Android Studio writes by @V3RON in #262
- fix(drivers): read an installer's percentage written with a decimal comma by @V3RON in #265
- fix(core): a removal of a recorded version that is no longer installed says none is installed by @V3RON in #267
- fix(ios): wait while simctl lists a removed runtime as deleting before verifying the removal by @V3RON in #268
- docs(adr): 0010 is Accepted by @V3RON in #281
- fix(core,daemon): redact gateway.token in the start log line and daemon.started by @V3RON in #279
- fix(docs): move loop.md to docs/internal/ and drop HTTP-API.md's internal-doc pointer by @V3RON in #278
- fix(android): refuse to ready a device another emulator answers for by @V3RON in #282
- fix(android): skip a console port another instance's emulator is listening on by @V3RON in #269
- test(android): the two-instance fake answers emu avd path by @V3RON in #287
- fix(cli): write config.json owner-only from config set by @V3RON in #266
- fix(android): reserve a console port per daemon process, not per device by @V3RON in #283
- fix(http,gateway): serve GET /v1/leases/{id} on a gateway and name the worker on its leases by @V3RON in #285
- fix(ios,core,daemon): state the leftover download's measured size, round progress fractions, and end a successful install at 100% by @V3RON in #290
- docs(adr): 0011–0013 — the web console by @V3RON in #277
- feat(contract,daemon,http,docs): a worker answers the fleet operations as a fleet of one by @V3RON in #288
- feat(ui,http,cli,docs): the daemon serves a web console at / with operator sign-in by @V3RON in #289
- feat(ui,docs): live data and the workers views in the console by @V3RON in #291
- feat(console,cli,http): waiting requests view and simlock list --requests by @V3RON in #296
- feat(ui,core,daemon,cli): attention view and stalled devices by @V3RON in #295
- feat(ui,http,docs): leases view, lease details and holder labels in the console by @V3RON in #293
- feat(ui,docs): the events view in the console by @V3RON in #294
- feat(ui): the Apex look in the console by @V3RON in #298
- feat(ui,docs,e2e): page every console table and draw only the events in view by @V3RON in #300
- test: close audit gaps — cleanup --rule, per-boot address, one admission check, boundary scans, timeout tests by @V3RON in #303
- refactor: delete production code only tests kept alive (audit step 2) by @V3RON in #304
- refactor(gateway): retire the legacy routing policy only tests ran (audit step 3) by @V3RON in #306
- test: delete tests a stronger keeper already proves (audit step 4) by @V3RON in #308
- fix(core): a daemon that loses the identity race reads the winner's id, not an empty file by @V3RON in #302
- chore(agents): unattended delivery — orchestrator, forked stages, merge gate, mutation testing by @V3RON in #301
- chore(agents): weekly delivery stats, tests-after-red for the spec review, releases from a workflow by @V3RON in #313
- feat(gateway): a request no worker can serve fails at once by @V3RON in #310
- feat(bus): every event carries an id that survives a restart by @V3RON in #322
- feat(gateway): retry a worker's cannot-serve refusal on another worker by @V3RON in #315
- feat(bus): a relayed event keeps the worker's id and timestamp by @V3RON in #323
- feat(gateway): the pick accounts for health, the worker's queue, and its RAM budget by @V3RON in #321
- docs(adr): 0014 — an event has one id, minted where the fact happened by @V3RON in #311
- docs(adr): 0015 — a lease request is a set of constraints, and the catalog says which class each model is by @V3RON in #330
- chore(agents): severity-gated reviews, review inputs script, spec check before ready, assumptions by @V3RON in #331
- chore(agents): pin model and effort for every delivery stage, reviewers as agent definitions by @V3RON in #338
- chore(agents): delivery stats read GitHub through repo-scoped endpoints only by @V3RON in #339
- feat(catalog): the catalog names each model's class by @V3RON in #340
- feat(catalog): the catalog shows the default model per class (#333) by @V3RON in #342
- docs(adr): 0016 — usage figures are derived on read from the event history by @V3RON in #344
- feat(lease): a request names a class or nothing, and is served by a fitting idle device first by @V3RON in #343
- feat(events): events carry the grant facts; capacity and queue depth become events by @V3RON in #351
- feat(events): the event log keeps a window of time, bounded by size by @V3RON in #353
- feat(lease): --os accepts a version range by @V3RON in #352
- chore(agents): faster delivery runs and specs a person can follow by @V3RON in #355
- feat(gateway): warm hits respect the request's mode and the runtime the worker would pick by @V3RON in #325
- feat(gateway): a class or range request is served by a worker that fits by @V3RON in #357
- docs(adr): 0017 — the warm pool is a module beside the lease transaction, not a step in it by @V3RON in #361
- docs(adr): 0017 is accepted, not yet implemented by @V3RON in #367
- docs(adr): 0018–0019 — leasing is one module, and startup ends every lease whose device is not running by @V3RON in #360
- chore(agents): run delivery stages as background custom agents by @V3RON in #376
- chore(agents): implementer audits its diff before reporting by @V3RON in #377
- chore(agents): session titles and status lines show delivery progress by @V3RON in #378
- feat(lint): imports past a module's index into core or gateway fail lint by @V3RON in #374
- chore(agents): agents run only the tests their change reaches; hooks run the other checks by @V3RON in #379
- chore(test): run fast e2e files four at a time by @V3RON in #380
- chore(agents): a session stops itself when it passes a token or time budget by @V3RON in #384
- chore(agents): implementer never runs hook checks by hand, never waits on CI, never stashes by @V3RON in #385
- refactor(core): reclaim is its own coordinator and commits what the driver returns by @V3RON in #375
- feat(core): the warm pool module: one budget, a keep rule that fits, and an off switch by @V3RON in #386
- chore(agents): agents and skills take every command from toolchain.md, and say it in fewer words by @V3RON in #390
- chore(agents): review converges: a claims review, two code-review lenses, later rounds review only the fix by @V3RON in #391
- chore(agents): the spec check plans, runs a pre-mortem and gives every category a status by @V3RON in #392
- refactor(leasing): leasing is its own module, entered through src/leasing/index.ts by @V3RON in #383
- fix(leasing): a grant and its request's result are one write by @V3RON in #397
- feat(core): a reserve of running slots, and a request waits for a device on its way by @V3RON in #394
- feat(contract): status answers only health and host while the daemon is starting by @V3RON in #398
- feat(core): warm targets boot or create devices ahead of demand by @V3RON in #408
- feat(leasing): startup ends every lease whose device is not running by @V3RON in #409
- chore(ci): the console lane runs on a PR only when it changes what the lane exercises, in Chromium only by @V3RON in #413
- chore(agents): review rounds run while they converge, every stage is a new agent, and a spec fix is checked closed by @V3RON in #415
- chore(agents): the gate re-runs CI once for a missing runner or a known flaky test, and the budget guard counts only active time by @V3RON in #416
- feat(core): the warm pool in status, doctor, one event and the console by @V3RON in #411
- docs(adr): a requester may choose its lease id (ADR 0020) by @V3RON in #418
- fix(leasing): wake the queue after a failed boot whose destroy also fails by @V3RON in #426
- fix(daemon): dial the gateway uplink from onSocketClaimed by @V3RON in #427
- feat(leasing): let requesters choose the lease ID by @V3RON in #423
- fix(gateway): a worker that was starting when first read gets its full view once its startup ends by @V3RON in #421
- fix(leasing): free the waiter's running slot when a failed boot's device is claimed before the destroy by @V3RON in #425
- docs(adr): a gateway dispatch is a probe, and the gateway records every fleet request's outcome (ADR 0021) by @V3RON in #432
- feat(leasing): a gateway dispatch is a probe; workers record lease.declined, the gateway records every fleet outcome by @V3RON in #433
- test(e2e): slow lane: a target boots a real simulator and emulator, and off shuts both down by @V3RON in #419
- docs(adr): a physical device is a second device type the core knows (ADR 0022) by @V3RON in #435
- docs(adr): ADR 0022 amendments from the #428 spec check by @V3RON in #443
- chore(agents): comments say why or go; a Haiku comment review; incremental mutation testing by @V3RON in #446
- chore(agents): implementer in phases, restricted tools, raw hand-offs, coding.md by @V3RON in #447
- feat(core): core knows physical devices: the device union, its state machine, and virtual-only paths leave them alone by @V3RON in #444
- chore(agents): CI failures reach fix runs; audit runs the comment review; fewer pushes; Stryker failures say why by @V3RON in #452
- feat(enrollment): simlock device add / remove enroll and unenroll physical devices by @V3RON in #449
- fix(core): doctor and the lease health monitor make their registry writes in the decision section by @V3RON in #454
- test(daemon): wait for leasing's held startup write, not 25 ms of real time by @V3RON in #453
- fix(daemon): a frame for a peer that hung up is dropped, not an unhandled rejection that kills the daemon by @V3RON in #457
- fix(e2e): withDaemon waits for admin.token before handing the daemon over by @V3RON in #455
- feat(leasing): lease --physical grants, queues and reclaims enrolled physical devices by @V3RON in #456
- chore(agents): faster delivery: no Stryker on push, foreground helpers, report and budget guards, reviews sized to the diff by @V3RON in #459
- chore(agents): comment lint, two review rounds, briefs, agent caps and delivery measurement by @V3RON in #460
- feat(leasing): physical devices that go missing become absent, end their lease device-lost, and come back reclaimed by @V3RON in #458
- feat(ios): iOS physical devices through devicectl by @V3RON in #461
- feat(android): physical Android devices through the host's default adb server by @V3RON in #462
- feat(gateway): remote agents lease and reach physical devices on workers by @V3RON in #463
- docs(adr): agent-device edge module and lease-end port (ADRs 0023, 0024) by @V3RON in #467
- feat(leasing): an agent id may hold more than one lease, up to lease.maxPerRequester by @V3RON in #468
- docs(adr): ADR 0023 amendments from the #466 spec check by @V3RON in #478
- docs(events): list lease-engine among device.deleted initiators by @V3RON in #479
- docs(console): show simlock status's real output by @V3RON in #480
- fix(events): list cleanup-reaper and nuke as device.deleted initiators by @V3RON in #482
- docs(adr): 0025 — Simlock ships Android device profiles, and a model pairs only with images that fit it by @V3RON in #486
- docs(adr): 0025 amendments from the #485 spec check by @V3RON in #492
- test(e2e): commit prebuilt Appduct playground apps as fixtures by @V3RON in #493
- feat(leasing): call lease-end participants before reclaiming a device by @V3RON in #494
- feat(agent-device): simlock runs the agent-device daemon by @V3RON in #495
- feat(doctor): simlock doctor says why agent-device is not available by @V3RON in #496
- feat(agent-device): an agent opens and closes a device through simlock by @V3RON in #497
- chore(reviews): calibration brief for the four weeks to 2026-10-13 by @V3RON in #498
- feat(agent-device): heartbeats keep the simlock lease alive by @V3RON in #499
- chore(fallow): remove four stale suppressions and fail on stale ones by @V3RON in #500
- test(e2e): spend less time waiting by @V3RON in #504
- test(e2e): a failed warm-pool boot is held back, checked in 2 s instead of a 60 s wait by @V3RON in #503
- ci: split Quality into parallel static, unit and sharded e2e jobs by @V3RON in #501
- chore(agents): one worktree per task, hook guards, decide-and-tell, stacked feature PRs by @V3RON in #505
- chore(agents): the weekday routines finish in a cloud session by @V3RON in #502
- test(ports): process runner waits are constructor options by @V3RON in #382
- feat(agent-device): simlock ending a simlock lease ends the agent-device session first by @V3RON in #506
- feat(agent-device): the front refuses requests that reach past the agent's device by @V3RON in #507
- test(e2e): agent-device through a simlock worker on real devices by @V3RON in #509
- feat(android): Simlock ships its own Pixel 9 Android profile, read before the SDK by @V3RON in #521
- feat(android): the other 15 library profiles, and Medium Tablet as Android's tablet by @V3RON in #523
- feat(android): an Android lease only uses a system image that fits its model by @V3RON in #526
- feat(android): a devices.xml profile's API range, Play Store and screen size decide its images by @V3RON in #530
- feat(android): doctor reports a devices.xml profile hidden by a library profile by @V3RON in #535
- chore(comments): delete comments that say what, not why, since b2c5b2e by @V3RON in #541
- chore(reviews): calibration brief for the four weeks to 2026-10-14 by @V3RON in #540
- docs(adr): 0026 agent-device through a gateway by @V3RON in #512
- feat(fleet): workers advertise their capabilities in status and worker list by @V3RON in #520
- feat(fleet): a lease request may require a capability by @V3RON in #524
- feat(gateway): relay one HTTP exchange to a module on a worker by @V3RON in #528
- feat(agent-device): open, commands, heartbeats and close through a gateway by @V3RON in #536
- feat(agent-device): devices, uploads, artifacts and diagnostics through a gateway by @V3RON in #537
- feat(agent-device): an unreachable worker answers try again, and a gateway restart keeps the agent's device by @V3RON in #539
- test(e2e): agent-device through a gateway on real devices by @V3RON in #538
- chore(agents): specs cite their facts, and a split ends with tasks ready by @V3RON in #548
- chore(agents): the hardware loop, a slow lane that reports and cleans up, and no dialogs in delivery by @V3RON in #549
- chore(agents): audits probe every test, reviews stop overlapping, searches go to Haiku by @V3RON in #550
- chore(agents): modules hand out capabilities, extension points share one shape, and dependency-cruiser guards every component (ADR 0027) by @V3RON in #555
- fix(cli): daemon start reports the config error instead of a socket timeout by @V3RON in #543
- fix(e2e): a daemon on a free port picks another when the port is taken before it binds by @V3RON in #560
- chore: typechecks reuse a local tsbuildinfo cache between runs by @V3RON in #572
- docs(adr): 0028 the uplink carries byte channels and small messages go first by @V3RON in #554
- feat(agent-device): a download over 2 GB fails, never cut short by @V3RON in #561
- feat(link): the uplink carries byte channels beside its messages, and small messages go first by @V3RON in #562
- feat(gateway): relayed bodies travel on byte channels by @V3RON in #570
- test(e2e): transfers through a gateway keep their promises by @V3RON in #571
- docs(adr): 0027 host load is an optional module whose readings ride on status by @V3RON in #529
- feat(host-load): a worker's simlock status shows its CPU, memory and disk load by @V3RON in #563
- feat(host-load): Linux load is measured against a cgroup v2 limit by @V3RON in #565
- feat(gateway): a gateway carries each worker's load in its view and reports its own by @V3RON in #567
- feat(ui): the console shows each worker's load on its card and detail page by @V3RON in #568
- docs(readme): add the global install step to Getting started by @alcpereira in #167
- chore(comments): delete comments that say what, not why, since b2f9a95 by @V3RON in #578
- refactor(link): the link needs no Node, so it can move to a browser or its own package by @V3RON in #579
- docs(adr): record which accepted ADRs the code now implements by @V3RON in #589
- fix(daemon): the daemon reports the version in package.json by @V3RON in #588
- chore(docs): every module has a manual beside its code by @V3RON in #581
- chore(docs): ARCHITECTURE.md becomes the map by @V3RON in #582
- chore(docs): known gaps move into the manuals; COMPONENTS, KNOWN-PITFALLS, LOOP and drafts go by @V3RON in #583
- chore(testing): fewer, stronger tests — new testing rules, a leasing pilot, and a weekly audit-tests routine by @V3RON in #604
- chore(agent-device): require agent-device 0.21.28 and take its proxy from npm by @V3RON in #603
- fix(agent-device): release the simlock lease when a command reports endedLeases by @V3RON in #608
- docs(adr): 0030 optional modules share one contract and load only when turned on by @V3RON in #592
- feat(doctor): one module-unavailable finding for every optional module by @V3RON in #599
- feat(modules): optional modules load through one host and are turned on under capabilities by @V3RON in #601
- feat(agent-device): agent-device runs as an optional module on workers by @V3RON in #605
- feat(agent-device): the gateway side runs as an optional module by @V3RON in https://github.com/callstackincubator/simlock/pull/606
- feat(stream): a leased simulator's or emulator's screen, streamed to whoever is looking at it by @V3RON in https://github.com/callstackincubator/simlock/pull/576
- feat(ui): the console draws each worker's load as gauges on its detail page by @V3RON in https://github.com/callstackincubator/simlock/pull/575
- feat(ui): the load gauges colour over the console's own thresholds by @V3RON in https://github.com/callstackincubator/simlock/pull/586
- chore(comments): delete comments that say what, not why, since df35f28 by @V3RON in https://github.com/callstackincubator/simlock/pull/611
- feat(ui): console redesign — sidebar, overview, list and inspector pages, a design system by @V3RON in https://github.com/callstackincubator/simlock/pull/610
- fix(agent-device): release the simlock lease when close is streamed without --json by @V3RON in https://github.com/callstackincubator/simlock/pull/615
- fix: wait for the iOS app installer before readiness by @V3RON in https://github.com/callstackincubator/simlock/pull/614
- fix(http): preserve concurrent token mutations by @V3RON in https://github.com/callstackincubator/simlock/pull/616
- chore(agents): one spec session, explored first, tasks written from tables by @V3RON in https://github.com/callstackincubator/simlock/pull/621
- fix(http,core): write tokens.json and state.json owner-only (#258) by @V3RON in https://github.com/callstackincubator/simlock/pull/640
- fix(contract): retire helper import boundary exemptions by @V3RON in https://github.com/callstackincubator/simlock/pull/627
- fix(gateway): refuse to republish a worker-pushed request.dispatched by @V3RON in https://github.com/callstackincubator/simlock/pull/641
- fix(gateway): drop a worker's framing headers from a relay head by @V3RON in https://github.com/callstackincubator/simlock/pull/643
- test(e2e): wait for reclaim before cleanup preview by @V3RON in https://github.com/callstackincubator/simlock/pull/628
- fix(daemon): preserve replacement admin credential during restart by @V3RON in https://github.com/callstackincubator/simlock/pull/625
- test: daemon status prints a human view, pinned at unit cost (#422) by @V3RON in https://github.com/callstackincubator/simlock/pull/644
- fix(drivers/android): class a listed model by the profile its name resolves to by @V3RON in https://github.com/callstackincubator/simlock/pull/646
- fix(leasing): a boot failure whose destroy also fails quarantines the device and frees the slot by @V3RON in https://github.com/callstackincubator/simlock/pull/649
- fix(leasing): a ready grant marks its waiter in flight before the write (#402) by @V3RON in https://github.com/callstackincubator/simlock/pull/650
- fix(console): show fleet lease and device figures as unknown while a worker is starting by @V3RON in https://github.com/callstackincubator/simlock/pull/651
- fix(leasing): a handoff grant whose commit throws defers its waiter by @V3RON in https://github.com/callstackincubator/simlock/pull/658
- chore(comments): delete comments that say what, not why, since e25f8de by @V3RON in https://github.com/callstackincubator/simlock/pull/652
- fix(core): the warm pool skips devices of a platform whose driver was refused by @V3RON in https://github.com/callstackincubator/simlock/pull/661
- fix(core): the cleanup reaper finishes its run when one action fails by @V3RON in https://github.com/callstackincubator/simlock/pull/664
- fix(core): the operator reset finishes when one device has no driver by @V3RON in https://github.com/callstackincubator/simlock/pull/668
- fix(console): the workers-list lane helpers drop a re-read refused by a stopping gateway (#642) by @V3RON in https://github.com/callstackincubator/simlock/pull/667
- fix(leasing): the #armTimeout comment states what its markNew callers do by @V3RON in https://github.com/callstackincubator/simlock/pull/670
- fix(leasing): no device work for a waiter the queue has just rejected (#665) by @V3RON in https://github.com/callstackincubator/simlock/pull/669
- docs(agents): make exploration selective and evidence-bearing by @V3RON in https://github.com/callstackincubator/simlock/pull/655
- feat(agents): make review incremental and risk-routed by @V3RON in https://github.com/callstackincubator/simlock/pull/656
- chore(ci): bump actions/setup-node from 7.0.0 to 7.1.0 in the github-actions group by @dependabot[bot] in https://github.com/callstackincubator/simlock/pull/638
- fix(core): attribute the recovered interrupted reclaim's device.shutdown to the reclaim coordinator by @V3RON in https://github.com/callstackincubator/simlock/pull/679
- fix(cli): wait 20 s for a daemon a command auto-launched (#663) by @V3RON in https://github.com/callstackincubator/simlock/pull/674
- fix(cli): the auto-launch startup timeout reports DAEMON_STARTUP_FAILED, not INTERNAL (#672) by @V3RON in https://github.com/callstackincubator/simlock/pull/683
- fix(console): the overview's Activity lists the latest events, not the highest seq by @V3RON in https://github.com/callstackincubator/simlock/pull/680
- docs(adr): 0031 a physical iPhone streams through CoreDevice's media stream, behind a screen-source seam by @V3RON in https://github.com/callstackincubator/simlock/pull/622
- feat(drivers/android): stream a leased physical phone's screen behind a capture target by @V3RON in https://github.com/callstackincubator/simlock/pull/662
- test(ios): stream a leased physical iPhone's screen by @V3RON in https://github.com/callstackincubator/simlock/pull/645
- fix(gateway): a lone refusal after an aged-out window omits count (#677) by @V3RON in https://github.com/callstackincubator/simlock/pull/682
- fix(e2e/console): a failed daemon start reports the daemon's own cause (#673) by @V3RON in https://github.com/callstackincubator/simlock/pull/687
- fix(ports,core): write daemon.log, events.jsonl and instance.json owner-only (#685) by @V3RON in https://github.com/callstackincubator/simlock/pull/689
- perf(cli): load a command's modules only when that command runs by @V3RON in https://github.com/callstackincubator/simlock/pull/671
- Rank an installed Android image by the API level it records, so a preview is never the newest runtime by @V3RON in https://github.com/callstackincubator/simlock/pull/681
- chore(agents): spec sessions approve once, source facts while asking, and recheck only the fix by @V3RON in https://github.com/callstackincubator/simlock/pull/725
- chore(agents): one home for each procedure, short skill descriptions, AGENTS.md as a router by @V3RON in https://github.com/callstackincubator/simlock/pull/726
- docs(internal): DELIVERY.md says what the maintainer does and sees, and links to where each step is defined by @V3RON in https://github.com/callstackincubator/simlock/pull/728
- feat(history): history.db, usage projections, simlock stats, GET /v1/stats and console figures (#623) by @V3RON in https://github.com/callstackincubator/simlock/pull/626
- docs(adr): 0033 a sign-in proxy is a second way to sign in, and auth is one module by @V3RON in https://github.com/callstackincubator/simlock/pull/704
- refactor(auth): auth checks live in one module, src/auth by @V3RON in https://github.com/callstackincubator/simlock/pull/732
- feat(identity): identity.get, GET /v1/identity and simlock whoami by @V3RON in https://github.com/callstackincubator/simlock/pull/735
- feat(auth): sign in through a sign-in proxy's signed JWT by @V3RON in https://github.com/callstackincubator/simlock/pull/736
- feat(http): refuse cross-site changing requests from a proxy sign-in by @V3RON in https://github.com/callstackincubator/simlock/pull/737
- feat(console): sign in through the sign-in proxy and show who is signed in by @V3RON in https://github.com/callstackincubator/simlock/pull/738
- test(real-proxy): run Simlock behind oauth2-proxy and Dex in CI by @V3RON in https://github.com/callstackincubator/simlock/pull/740
- chore(agents): measured review and test strategy — mutation by tool, a self-filling ledger, fewer notes and tests by @V3RON in https://github.com/callstackincubator/simlock/pull/739
- fix(agent-device): stop renewing commands answered unreachable by @V3RON in https://github.com/callstackincubator/simlock/pull/723
- fix(cli): a daemon launched by daemon start that dies during that start reports DAEMON_STARTUP_FAILED by @V3RON in https://github.com/callstackincubator/simlock/pull/710
- docs(daemon): drop manual rows for files moved to src/auth by @V3RON in https://github.com/callstackincubator/simlock/pull/742
- fix(android): verify emulator identity before kill or snapshot load after a restart (#284) by @V3RON in https://github.com/callstackincubator/simlock/pull/722
- docs(adr): 0035 a gateway sends chosen fleet events to webhook destinations by @V3RON in https://github.com/callstackincubator/simlock/pull/718
- feat(alerts): a gateway sends chosen fleet events to generic webhook destinations by @V3RON in https://github.com/callstackincubator/simlock/pull/741
- feat(alerts): a gateway sends fleet events to Slack by @V3RON in https://github.com/callstackincubator/simlock/pull/744
- feat(alerts): simlock alerts test sends one sample to a destination by @V3RON in https://github.com/callstackincubator/simlock/pull/746
- feat(website): a product website on GitHub Pages by @V3RON in https://github.com/callstackincubator/simlock/pull/747
- fix(android): stop an orphan's running emulator before deleting its AVD by @V3RON in https://github.com/callstackincubator/simlock/pull/751
- docs(adr): 0034 one worker per user, and the folder says what a daemon is by @V3RON in https://github.com/callstackincubator/simlock/pull/702
- feat(daemon): the folder says what a daemon is, and --gateway reaches the gateway by @V3RON in https://github.com/callstackincubator/simlock/pull/745
- feat(cli): commands find the daemon by folder, with a --gateway hint on a worker refusal by @V3RON in https://github.com/callstackincubator/simlock/pull/749
- fix(android): prove running emulator root membership by @V3RON in https://github.com/callstackincubator/simlock/pull/733
- fix(core): startup removes dead writers' temporary files by @V3RON in https://github.com/callstackincubator/simlock/pull/752
- fix(agent-device): a lease the gateway's list omits is not ended (#750) by @V3RON in https://github.com/callstackincubator/simlock/pull/753
- docs(adr): 0036 daemon state is a SQLite database, and each owner keeps its own tables by @V3RON in https://github.com/callstackincubator/simlock/pull/755
- feat(state): the worker's registry lives in state.db by @V3RON in https://github.com/callstackincubator/simlock/pull/775
- feat(drivers): iOS and Android device-data tables by @V3RON in https://github.com/callstackincubator/simlock/pull/783
- feat(auth): tokens live in state.db on both daemon kinds by @V3RON in https://github.com/callstackincubator/simlock/pull/784
- feat(cli): the CLI and MCP show why an auto-started daemon did not start by @V3RON in https://github.com/callstackincubator/simlock/pull/785
- feat(gateway): the gateway's drained workers live in state.db by @V3RON in https://github.com/callstackincubator/simlock/pull/786
- docs(adr): 0038 the warm pool learns its kinds from leases, and boots for every queued request by @V3RON in https://github.com/callstackincubator/simlock/pull/772
- feat(warm-pool): the warm pool boots or creates one device per queued request by @V3RON in https://github.com/callstackincubator/simlock/pull/788
- feat(warm-pool): a worker with no targets keeps the kinds it has leased ready by @V3RON in https://github.com/callstackincubator/simlock/pull/792
- chore(agents): review replay harness, and the 2026-10-21 process review by @V3RON in https://github.com/callstackincubator/simlock/pull/794
- chore(agents): the process review's small fixes and counters by @V3RON in https://github.com/callstackincubator/simlock/pull/796
- chore(agents): stacks merge forward, the ADR PR is reviewed first, and CI failures are triaged before a fix run by @V3RON in https://github.com/callstackincubator/simlock/pull/798
- chore(agents): round 1 reports every site of a defect class, safety candidates are probed, mechanical fix-checks spawn no lens, the audit proves coverage by @V3RON in https://github.com/callstackincubator/simlock/pull/799
- chore(agents): AGENTS.md routes by role, the implementer carries its checklist, and briefs and the protocol ride in the prompt by @V3RON in https://github.com/callstackincubator/simlock/pull/800
- chore(agents): the feature is checked before its tasks, tests are invoker scenarios from one Behaviours table, and tasks hold about ten by @V3RON in https://github.com/callstackincubator/simlock/pull/801
- test(audit): 124 weak tests fixed, 33 fewer tests, since 56b5a49 by @V3RON in https://github.com/callstackincubator/simlock/pull/795
- fix(warm-pool): protect devices serving queued requests by @V3RON in https://github.com/callstackincubator/simlock/pull/804
- feat(website): the hero plays one machine, then a fleet of them by @V3RON in https://github.com/callstackincubator/simlock/pull/763
- docs(website): end-user docs live only on the website, rewritten as guides and lookup tables by @V3RON in https://github.com/callstackincubator/simlock/pull/816
- docs(adr): 0037 the console acts through the HTTP routes, on Base UI by @V3RON in https://github.com/callstackincubator/simlock/pull/762
- feat(history): events.replay pages back with before and limit by @V3RON in https://github.com/callstackincubator/simlock/pull/773
- feat(console): a new frame, and Leases in a drawer by @V3RON in https://github.com/callstackincubator/simlock/pull/780
- feat(console): Fleet is a table, and each worker has a page with tabs by @V3RON in https://github.com/callstackincubator/simlock/pull/787
- feat(console): Queue and Activity move to the shared frame, and Activity scrolls back through the history by @V3RON in https://github.com/callstackincubator/simlock/pull/789
- feat(console): Overview home and Inbox by @V3RON in https://github.com/callstackincubator/simlock/pull/793
- feat(console): release, cancel, drain, undrain and remove from the console by @V3RON in https://github.com/callstackincubator/simlock/pull/803
- feat(console): search or jump to anything with ⌘K by @V3RON in https://github.com/callstackincubator/simlock/pull/834
- test(audit): remove low-value tests across the suite, 140 fewer tests by @V3RON in https://github.com/callstackincubator/simlock/pull/849
- docs(adr): joined workers refuse their own HTTP listener by @V3RON in https://github.com/callstackincubator/simlock/pull/809
- feat(config): refuse HTTP on joined workers and migrate fixtures by @V3RON in https://github.com/callstackincubator/simlock/pull/842
- feat(agent-device): --os and --image-tag reach lease.request by @V3RON in https://github.com/callstackincubator/simlock/pull/840
- feat(warm-pool): status, doctor, console and docs show learned kinds with their origin by @V3RON in https://github.com/callstackincubator/simlock/pull/844
- fix(startup): reject daemon sockets closed before hello by @V3RON in https://github.com/callstackincubator/simlock/pull/805
- docs(adr): 0040 every HTTP route is declared once, and the OpenAPI document is built from the declarations by @V3RON in https://github.com/callstackincubator/simlock/pull/815
- feat(contract): move to Zod 4 by @V3RON in https://github.com/callstackincubator/simlock/pull/845
- feat(http): declare the System and Devices routes and build the OpenAPI document by @V3RON in https://github.com/callstackincubator/simlock/pull/850
- feat(website): publish openapi.json and render the HTTP API reference by @V3RON in https://github.com/callstackincubator/simlock/pull/855
- feat(http): declare the lease and lease-request routes by @V3RON in https://github.com/callstackincubator/simlock/pull/854
- feat(http): declare the admin routes in the OpenAPI document by @V3RON in https://github.com/callstackincubator/simlock/pull/857
- feat(http): the OpenAPI document lists the stream route by @V3RON in https://github.com/callstackincubator/simlock/pull/858
- test(agent-device): drop download-cap.test.ts by @V3RON in https://github.com/callstackincubator/simlock/pull/862
- docs(adr): 0041 the daemon can run under the user's service manager by @V3RON in https://github.com/callstackincubator/simlock/pull/826
- feat(daemon): SIGTERM is a clean stop, and a start beside a running daemon exits 0 by @V3RON in https://github.com/callstackincubator/simlock/pull/841
- feat(daemon): macOS service install, uninstall and supervised starts by @V3RON in https://github.com/callstackincubator/simlock/pull/856
- feat(daemon): daemon status shows the service state, doctor reports a broken service by @V3RON in https://github.com/callstackincubator/simlock/pull/859
- feat(ports): systemd user unit service manager on Linux by @V3RON in https://github.com/callstackincubator/simlock/pull/861
- fix(ci): shard the console lane over four jobs by @V3RON in https://github.com/callstackincubator/simlock/pull/868
- fix(ui): console e2e Activity:371 and Queue:163 by @V3RON in https://github.com/callstackincubator/simlock/pull/869
- test(console): stop the Overview's route stubs before the fleet shuts down by @V3RON in https://github.com/callstackincubator/simlock/pull/867
- ci: run console e2e only in Chromium by @V3RON in https://github.com/callstackincubator/simlock/pull/880
- test: wait for Console semantic state by @V3RON in https://github.com/callstackincubator/simlock/pull/882
- docs(adr): 0043 physical devices reach agent-device through a second daemon by @V3RON in https://github.com/callstackincubator/simlock/pull/872
- feat(agent-device): a worker runs a phone daemon beside the simulator daemon by @V3RON in https://github.com/callstackincubator/simlock/pull/876
- feat(agent-device): lease a physical phone through agent-device by @V3RON in https://github.com/callstackincubator/simlock/pull/879
- test: make E2E resource cleanup await process exit by @V3RON in https://github.com/callstackincubator/simlock/pull/884
- ci(release): plan, build on macOS, tag, publish through npm OIDC, release, deploy the site by @V3RON in https://github.com/callstackincubator/simlock/pull/833
- test: remove wall-clock waits from usage stats by @V3RON in https://github.com/callstackincubator/simlock/pull/883
- docs(adr): 0042 simlock updates itself through a frozen call and a detached updater by @V3RON in https://github.com/callstackincubator/simlock/pull/827
- feat(updater): the updater, its npm port and launcher port, and the install check by @V3RON in https://github.com/callstackincubator/simlock/pull/878
- feat(daemon): simlock update and POST /v1/update update one daemon after its leases end by @V3RON in https://github.com/callstackincubator/simlock/pull/885
- feat(daemon): every daemon knows the latest Simlock version, simlock status says when a newer one exists by @V3RON in https://github.com/callstackincubator/simlock/pull/887
- feat(gateway): update one worker from the gateway (#838) by @V3RON in https://github.com/callstackincubator/simlock/pull/888
- feat(ui): update a worker from the console (#839) by @V3RON in https://github.com/callstackincubator/simlock/pull/896
- fix(ios): stream a physical iPhone on CoreDevice 642 or later, not 642 only by @V3RON in https://github.com/callstackincubator/simlock/pull/902
- chore(agents): the test rules ride in the briefs, and the audit proves the spec instead of extending it by @V3RON in https://github.com/callstackincubator/simlock/pull/904
- fix(e2e): move the mouse off the menu so a new toast is not hovered (#900) by @V3RON in https://github.com/callstackincubator/simlock/pull/903
- test(daemon): relay timing test keeps every transfer sending until its windows close (#688) by @V3RON in https://github.com/callstackincubator/simlock/pull/901
- fix(gateway): a stale worker view no longer brings back a released lease (#898) by @V3RON in https://github.com/callstackincubator/simlock/pull/899
- fix(agent-device): an allocate with every capable worker drained answers NO_CAPACITY by @V3RON in https://github.com/callstackincubator/simlock/pull/935
- fix(e2e): the drain test answers the Fleet page without the host's load (#886) by @V3RON in https://github.com/callstackincubator/simlock/pull/938
- docs(adr): 0044 the console reads what its page shows, and events mark it stale (#905) by @V3RON in https://github.com/callstackincubator/simlock/pull/907
- feat(http): unchanged JSON answers under /v1 are 304 with an ETag by @V3RON in https://github.com/callstackincubator/simlock/pull/920
- feat(gateway): read one lease directly, name the worker's lease id (#913) by @V3RON in https://github.com/callstackincubator/simlock/pull/922
- feat(ui): the console reads per page and marks data stale from events by @V3RON in https://github.com/callstackincubator/simlock/pull/926
- feat(inbox): the daemon says what needs the operator: GET /v1/inbox by @V3RON in https://github.com/callstackincubator/simlock/pull/937
- feat(ui): the console sends ETags back and patches lease renewals in place by @V3RON in https://github.com/callstackincubator/simlock/pull/927
- feat(ui): one shared recent-events list per console tab by @V3RON in https://github.com/callstackincubator/simlock/pull/939
- test(console): an idle console on a 50-worker fleet stays under 40 requests a minute (#918) by @V3RON in https://github.com/callstackincubator/simlock/pull/940
- fix(ports): a worker redials a gateway that vanished without closing the uplink by @V3RON in https://github.com/callstackincubator/simlock/pull/942
- docs(adr): 0045 a device's screen streams to operators, not a lease's (#906) by @V3RON in https://github.com/callstackincubator/simlock/pull/908
- feat(stream): stream any running device by worker and device id by @V3RON in https://github.com/callstackincubator/simlock/pull/923
- fix(ui): console layout fixes from the 2026-10-23 review by @V3RON in https://github.com/callstackincubator/simlock/pull/924
- feat(ui): watch a device's screen from the device drawer by @V3RON in https://github.com/callstackincubator/simlock/pull/928
- feat(history): the worker's Events tab scrolls back through its history by @V3RON in https://github.com/callstackincubator/simlock/pull/943
- fix(http): an Android lease over HTTP names its adb serial as address by @V3RON in https://github.com/callstackincubator/simlock/pull/953
- feat(cli): simlock instructions prints the rules an agent must follow by @V3RON in https://github.com/callstackincubator/simlock/pull/960
- feat(cli): simlock setup installs the Simlock skill into Claude Code and Codex by @V3RON in https://github.com/callstackincubator/simlock/pull/969
- docs(adr): 0046 a standalone worker serves agent-device by default with a private profile by @V3RON in https://github.com/callstackincubator/simlock/pull/954
- feat(modules): a standalone worker writes a private agent-device profile for local agents by @V3RON in https://github.com/callstackincubator/simlock/pull/963
- feat(core): a standalone worker serves agent-device on localhost by default by @V3RON in https://github.com/callstackincubator/simlock/pull/967
- fix(e2e): keyboard console tests wait for the sign-in form before tabbing by @V3RON in https://github.com/callstackincubator/simlock/pull/936
- docs(adr): 0047 device.exec fills in the lease's device, and refuses another (#951) by @V3RON in https://github.com/callstackincubator/simlock/pull/955
- feat(drivers): device.exec fills in the lease's device and refuses another by @V3RON in https://github.com/callstackincubator/simlock/pull/972
- feat(mcp): run_on_device runs a command on the session's lease by @V3RON in https://github.com/callstackincubator/simlock/pull/974
- feat(leasing): lease.maxPerRequester per platform by @V3RON in https://github.com/callstackincubator/simlock/pull/975
- fix(android): quote a 4 s boot for a device with a matching clean baseline by @V3RON in https://github.com/callstackincubator/simlock/pull/978
- fix(capacity): a shut-down device holds no RAM budget by @V3RON in https://github.com/callstackincubator/simlock/pull/979
- docs(agent-device): parallel agents need their own session by @V3RON in https://github.com/callstackincubator/simlock/pull/980
- fix(e2e): a daemon start that exits 0 but never listened fails with its log tail by @V3RON in https://github.com/callstackincubator/simlock/pull/982
- fix(agent-device): sharding names a leased device by agent-device's device list name by @V3RON in https://github.com/callstackincubator/simlock/pull/986
- fix(daemon): log the Android driver's diagnostics by @V3RON in https://github.com/callstackincubator/simlock/pull/987
- test(agent-device): an over-limit download never delivers more than 2 GiB by @V3RON in https://github.com/callstackincubator/simlock/pull/988
- docs(gateway): a starting worker's leases are hidden from their owner by @V3RON in https://github.com/callstackincubator/simlock/pull/989
- fix(daemon): daemon start fails when the HTTP listener cannot bind by @V3RON in https://github.com/callstackincubator/simlock/pull/990
- fix(gateway): an expired lease on a disconnected worker no longer blocks its requester by @V3RON in https://github.com/callstackincubator/simlock/pull/992
- fix(daemon): a stop waits for the cleanup run in flight (#985) by @V3RON in https://github.com/callstackincubator/simlock/pull/999
- docs(website): --lease waits for a starting worker (#991) by @V3RON in https://github.com/callstackincubator/simlock/pull/1002
- chore(agents): process review 2026-10-25: turbo, bug:new triage, feature auto-close, orchestrator scripts, tool-guard waiting rules by @V3RON in https://github.com/callstackincubator/simlock/pull/993
- chore(checks): the test lint and nine repo tests hold the rules agents did not read, and fix the drift they found by @V3RON in https://github.com/callstackincubator/simlock/pull/994
- chore(checks): guards and PR checks make the delivery rules mechanical by @V3RON in https://github.com/callstackincubator/simlock/pull/995
- chore(checks): the spec lint runs before the checker, and a public-surface change needs its page by @V3RON in https://github.com/callstackincubator/simlock/pull/996
- build(deps): Fallow 3.35 with an honest CI gate by @V3RON in https://github.com/callstackincubator/simlock/pull/997
- fix(daemon): a stop mid-startup refuses parked requests (#1001) by @V3RON in https://github.com/callstackincubator/simlock/pull/1003
- fix(daemon): a stop waits for health ticks and recoveries in flight by @V3RON in https://github.com/callstackincubator/simlock/pull/1004
- fix(e2e): the keyboard-scroll test notes the row in view after the end row moves it by @V3RON in https://github.com/callstackincubator/simlock/pull/1007
- fix(e2e): the Events tab test reads every /v1/events body before the page closes by @V3RON in https://github.com/callstackincubator/simlock/pull/1008
- chore(comments): delete comments that say what, not why, since 4429038 by @V3RON in https://github.com/callstackincubator/simlock/pull/1011
- docs(adr): 0048 an iOS worker may keep its simulators in Xcode's device set by @V3RON in https://github.com/callstackincubator/simlock/pull/964
- feat(drivers): iOS simulators can live in Xcode's device set (drivers.ios.deviceSet) by @V3RON in https://github.com/callstackincubator/simlock/pull/976
- chore(ci): keep the release token out of the push URL; website install without scripts by @V3RON in https://github.com/callstackincubator/simlock/pull/889
- chore(deps): update ws, hono and the MCP SDK past their advisories; Dependabot for npm by @V3RON in https://github.com/callstackincubator/simlock/pull/890
- fix(daemon): exec children get a minimal environment; docs say what an agent token can do by @V3RON in https://github.com/callstackincubator/simlock/pull/891
- fix(daemon): the data directory is created owner-only by @V3RON in https://github.com/callstackincubator/simlock/pull/892
- fix(daemon): status.get shows an agent only its own leases and queue entries by @V3RON in https://github.com/callstackincubator/simlock/pull/893
- fix(contract): an exact osVersion is bounded like a component version by @V3RON in https://github.com/callstackincubator/simlock/pull/895
- feat(gateway): a join token is pinned to the first worker that uses it by @V3RON in https://github.com/callstackincubator/simlock/pull/894
- chore(comments): delete comments that say what, not why, in src/contract by @V3RON in https://github.com/callstackincubator/simlock/pull/1032
- chore(comments): delete comments that say what, not why, since 1f42ae4 by @V3RON in https://github.com/callstackincubator/simlock/pull/1033
- docs(adr): 0049, a lease holder watches and drives its device's screen (#1013) by @V3RON in https://github.com/callstackincubator/simlock/pull/1014
- feat(stream): a lease holder watches its own lease's screen by @V3RON in https://github.com/callstackincubator/simlock/pull/1025
- feat(gateway): a gateway module can hold a two-way byte channel to a worker module by @V3RON in https://github.com/callstackincubator/simlock/pull/1026
- feat(input): a lease's input socket by @V3RON in https://github.com/callstackincubator/simlock/pull/1034
- feat(input): Android input through scrcpy's control channel by @V3RON in https://github.com/callstackincubator/simlock/pull/1036
- feat(input): iOS simulator input through the HID injector by @V3RON in https://github.com/callstackincubator/simlock/pull/1037
- fix(gateway): drop agent-device instance pins when relaying by @V3RON in https://github.com/callstackincubator/simlock/pull/1045
- feat(warm-pool): configured targets come first, and warmPool.learn turns learning off by @V3RON in https://github.com/callstackincubator/simlock/pull/1043
- feat(warm-pool): simlock warm forget forgets a learned kind by @alcpereira in https://github.com/callstackincubator/simlock/pull/1040
- chore(comments): delete comments that say what, not why, since 65df1b6 by @V3RON in https://github.com/callstackincubator/simlock/pull/1038
- chore(deps): bump @readme/openapi-parser from 9.1.0 to 10.0.0 by @dependabot[bot] in https://github.com/callstackincubator/simlock/pull/1023
- feat(cli): simlock --version prints the installed version by @V3RON in https://github.com/callstackincubator/simlock/pull/1059
- feat(cli): simlock setup runs the doctor checks and reports the machine by @V3RON in https://github.com/callstackincubator/simlock/pull/1062
- docs(website): one install recipe, MCP by scope, for-agents box by @V3RON in https://github.com/callstackincubator/simlock/pull/1065
- ci(release): build the package on the xcode-27 image by @V3RON in https://github.com/callstackincubator/simlock/pull/1072
- @alcpereira made their first contribution in #167
Full Changelog: https://github.com/callstackincubator/simlock/compare/v0.2.0...v0.4.0
0.3.0 (2026-09-03)
ADR 0003 (docs/adr/0003-one-typed-daemon-contract-behind-every-frontend.md):
every daemon operation is now declared once, as a typed contract
(src/contract/), served by one shared dispatcher to all four frontends —
the CLI, the stdio MCP server, the HTTP gateway, and a new programmatic
client (simlock/client, simlock/admin, see docs/CLIENT.md). This is a
breaking release for every frontend's wire vocabulary; see below.
-
CLI:
--jsonoutput and stderr event lines (lease,daemon, and progress/push lines) are now the contract's own values, serialized as-is. The old snake_case renderings (expires_at_ms,estimated_boot_ms,eta_seconds, …) are gone. Exit codes are unchanged; human-readablestatus/catalogformatting is unchanged. -
MCP: tool names are unchanged, but every tool's input/output schema is now derived from the contract instead of hand-declared. Two field changes need every caller updated:
lease_simulator'stimeout_secondsis nowtimeoutMs. The input schema is.strict(), so a caller still sending the old key gets a hardBAD_REQUEST, not a silent failure. The real hazard is a caller that renames the field but not its value:{"timeoutMs": 30}meaning "30 seconds" is valid input, and times out ~1000× sooner than intended (QUEUE_TIMEOUT, exit 10) rather than later — update the field name and multiply the value by 1000.- The top-level
slim: booleanon a grant is gone; it is nowdevice.featureProfile("full" | "reduced" | undefined). A caller still checkingresult.slim === truesilently never sees a feature-loss signal again.
See
docs/CLI.md#simlock-mcpfor the full callout. -
Socket protocol: moves to protocol 3 with no compatibility shim. A version-mismatched client fails
hellowithPROTOCOL_VERSION_UNSUPPORTEDand never restarts the daemon — runsimlock daemon stoponce it's idle.daemon.stopis a frozen exception, accepted at any protocol version the daemon has ever spoken (still admin-role gated). -
lease.request's wire shape drops the legacydevice/osfield aliases and the nestedrequestwrapper the pre-0.3.0 daemon accepted; an old client sending them now getsBAD_REQUESTinstead of those keys silently vanishing. -
HTTP:
GET /v1/leases/:idandGET /v1/leases/:id/eventsnow return404 UNKNOWN_LEASEinstead of403 FORBIDDENfor another requester's still-live lease — there is no dispatcher operation for a single-lease read to defer to, so both fall back tolease.list's own filter, which does not distinguish "unknown" from "not yours" either.POST /v1/leases/:id/renewandDELETE /v1/leases/:iddispatchlease.renew/lease.releasedirectly instead and keep answering403 FORBIDDENfor the same case, matching the socket transport exactly — seedocs/HTTP-API.md#get-v1leasesid. -
token create|list|revokeare now daemon operations (admin role) — the daemon is the sole owner oftokens.json.config setanddaemon logsremain file operations.
- http:
allowDownloadis now clamped throughconfig.downloads.policythe same way the socket protocol always was — HTTP previously passed a client-suppliedallowDownloadthrough unclamped, so a"never"policy could be bypassed over HTTP even though the socket already blocked it. - http: a request arriving before the daemon's startup convergence finishes now waits on the shared dispatcher's readiness gate instead of being refused — the HTTP gateway's listener starts at socket-claim time rather than only after convergence completes.
- cli: filter lease-lost pushes by this connection's own lease id, so a
second CLI invocation sharing a principal (e.g. a detached lease from an
earlier
--detach) doesn't misreport a push for a lease this process never held. - contract: restrict
lease.cancelto the calling principal (only admin may cancel on another principal's behalf). - daemon: require the admin role for
daemon.stop. - http:
GET /v1/lease-requests/{id}and friends now answer404 UNKNOWN_LEASE_REQUEST, not404 UNKNOWN_REQUEST— the latter collided with the contract's ownUNKNOWN_REQUEST(a 400 protocol error for an unrecognized operation name), so a client branching onerror.codealone could not tell "no such request id" from "no such operation".
- contract: declare every daemon operation once — name, role, input/
output zod schema, optional
authorizehook — with public TypeScript types inferred from the schemas (src/contract/). - daemon: move request handling into one transport-independent
dispatcher (
src/daemon/dispatcher.ts) serving both the unix socket and, in-process, the HTTP gateway. - daemon: negotiate protocol versions as
{min, max}ranges instead of an exact match. - daemon: resolve
hello's admin credential — an operator token or the daemon's per-startadmin.tokensecret — before any other request on the connection runs; wire the admin handshake and route lease-scoped pushes to every live connection sharing a lease's owner, not just the holder. - core: persist a lease's
ownerId, distinct fromrequesterId(ADR 0003 §4) — the session principal a lease was granted to, vs. the per-request attribution a connection may vary.lease.released/lease.expirednow carryownerIdin their event payloads. - client: add the typed daemon client core (
simlock-client) and publish it as thesimlock/clientandsimlock/adminpackage entry points — one connection, no reconnect, no retry, withAbortSignal-driven cancellation onrequestLease(seedocs/CLIENT.md). - cli, mcp: move onto the typed client, deleting the hand-built request payloads and raw response parsers both frontends carried before.
- http: move HTTP onto the shared dispatcher, deleting its own copies of status assembly, decoration, error mapping, and ownership checks.
- record ADR 0003 (
docs/adr/0003-one-typed-daemon-contract-behind-every-frontend.md). - add
docs/CLIENT.mdfor the new programmatic client; document the contract/dispatcher architecture and the cooperative-identity security model indocs/ARCHITECTURE.md; document the breaking changes above indocs/CLI.mdanddocs/HTTP-API.md; record true-cancellation-during- provisioning and the HTTP tracker/notice-buffer stateful leftovers indocs/known-pitfalls.md.
Not tracked in this file — see git log for history before this changelog
was introduced.