=== R09-orphan-agentoff / before === [2026-11-10T00:22:53.397Z] CAPTURE {"side":"before","fixture":"R09-orphan-agentoff","runtimeBaseline":"9110dc2c932cb3bc57dc2845b9f1ea362f248796","checkoutHEAD":"9f3180ba42ff5597d9a3d8a2f62ff41ce52bab92","timestamp":"2026-11-10T00:22:53.397Z","os":"Linux 6.1.102 x64","node":"v26.12.1","agentDeviceVersions":["0.21.31","0.21.30"],"hubVersion":"0.19.1"} [2026-11-10T00:22:53.407Z] executed source SHA256 {"file":"apps/server/src/device/LocalDeviceHost.ts","sha256":"e751e08c0d622d4f37fa2c6b66fd12901e87a4e5162dfd436d5cb08580903604","matchesBaseline":true} [2026-11-10T00:22:53.413Z] executed source SHA256 {"file":"apps/server/src/device/DeviceToolchain.ts","sha256":"4bc36c0a753d65ee1d1413c23da2efedc25ee7022e7464757ce366914d65350a","matchesBaseline":true} [2026-11-10T00:22:53.414Z] observation method NODE_OPTIONS preload observes actual node:child_process spawn/spawnSync/execFile/fork, syncs ESM builtins, and records child PID + executable + arguments; server source unchanged; action window excludes fixture/setup launches. All daemon PID checks compare /proc start ticks and exclude zombies. [2026-11-10T00:22:53.428Z] isolated fixture ADB server {"pid":563268,"port":43453} [2026-11-10T00:22:54.309Z] fixture daemon CLI result {"code":0,"signal":null} [2026-11-10T00:22:54.310Z] original daemon identity {"pid":563285,"startTicks":"24493219","status":"S","argv":["/home/ubuntu/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node","/tmp/lead-33587-r1/capture-2/R09-orphan-agentoff-before-2026-11-10T00-22-53.391Z/base/tools/agent-device/0.21.31/node_modules/agent-device/dist/src/internal/daemon.js"]} [2026-11-10T00:22:54.361Z] original daemon health {"httpPort":46231,"status":200} [2026-11-10T00:22:54.361Z] install fixture inventory [{"version":"0.21.31","entryExists":true,"sentinel":"0.21.31"}] [2026-11-10T00:23:02.071Z] server started {"pid":563305,"cwd":"/home/ubuntu/wt/pr-33587","port":39133,"command":"node apps/server/src/bin.ts serve --base-dir --port --host 127.0.0.1 --no-browser","devSeed":"0"} [2026-11-10T00:23:02.267Z] authenticated real RPC connected {"method":"startup pairing credential exchanged for scoped browser session then RPC ticket","secrets":"REDACTED"} [2026-11-10T00:23:02.267Z] setup configure request {"method":"device.configure","input":{"enabled":true}} [2026-11-10T00:23:04.267Z] setup configure response {"latencyMs":2000,"result":{"exit":"Success","agentAccessEnabled":false,"hostStatus":"ready","hosts":[{"id":"local","kind":"local","platforms":[{"platform":"ios","available":false,"reason":"iOS Simulators need macOS with Xcode."},{"platform":"android","available":true}],"tools":{"hub":{"requiredVersion":"0.19.1","installedVersions":["0.19.1"],"runningVersion":"0.19.1"},"agent":{"requiredVersion":"0.21.31","installedVersions":["0.21.31"],"runningVersion":null}}}],"hostStatuses":{"local":{"status":"ready"}},"devicesCount":0,"sessionsCount":0}} [2026-11-10T00:23:04.281Z] BEFORE ACTION fixture state {"deviceSettings":{"enableDeviceSupport":true},"daemon":{"present":true,"mode":"600","contents":"{\n \"token\": \"[REDACTED]\",\n \"version\": \"0.21.31\",\n \"codeOrigin\": \"installed\",\n \"codeSignature\": \"graph:73:f9d33ddd618f52207b438bab6f7402e5d8d76ee4\",\n \"capabilities\": [\n \"quiesce\"\n ],\n \"plugins\": [\n {\n \"provider\": \"browserstack\",\n \"source\": \"builtin\",\n \"state\": \"active\",\n \"credentials\": {\n \"variables\": [\n \"BROWSERSTACK_USERNAME\",\n \"BROWSERSTACK_ACCESS_KEY\"\n ],\n \"byBackend\": {}\n }\n },\n {\n \"provider\": \"aws-device-farm\",\n \"source\": \"builtin\",\n \"state\": \"active\",\n \"credentials\": {\n \"variables\": [],\n \"byBackend\": {}\n }\n }\n ],\n \"ownership\": \"detached\",\n \"httpPort\": 46231,\n \"transport\": \"http\",\n \"pid\": 563285,\n \"processStartTime\": \"Tue Nov 10 00:22:53 2026\",\n \"stateDir\": \"/tmp/lead-33587-r1/capture-2/R09-orphan-agentoff-before-2026-11-10T00-22-53.391Z/base/userdata/device/agent-device\"\n}"},"originalDaemonAlive":true,"originalDaemonIdentity":{"pid":563285,"startTicks":"24493219"},"daemonHealth":200,"hubRecord":{"pid":563853,"port":42501,"entryPath":"/tmp/lead-33587-r1/capture-2/R09-orphan-agentoff-before-2026-11-10T00-22-53.391Z/base/tools/expo-device-hub/0.19.1/node_modules/expo-device-hub/dist/server/cli.mjs"},"hubAlive":true,"hubHttpStatus":200,"serverAlive":true,"serverHttpStatus":200} [2026-11-10T00:23:04.281Z] ACTION configure request {"method":"device.configure","input":{"enabled":true,"agentAccessEnabled":false}} [2026-11-10T00:23:04.983Z] ACTION configure response {"latencyMs":701,"result":{"exit":"Success","agentAccessEnabled":false,"hostStatus":"ready","hosts":[{"id":"local","kind":"local","platforms":[{"platform":"ios","available":false,"reason":"iOS Simulators need macOS with Xcode."},{"platform":"android","available":true}],"tools":{"hub":{"requiredVersion":"0.19.1","installedVersions":["0.19.1"],"runningVersion":"0.19.1"},"agent":{"requiredVersion":"0.21.31","installedVersions":["0.21.31"],"runningVersion":null}}}],"hostStatuses":{"local":{"status":"ready"}},"devicesCount":0,"sessionsCount":0}} [2026-11-10T00:23:04.983Z] action to completion latency ms 702 [2026-11-10T00:23:04.995Z] AFTER ACTION final state {"deviceSettings":{"enableDeviceSupport":true},"daemon":{"present":true,"mode":"600","contents":"{\n \"token\": \"[REDACTED]\",\n \"version\": \"0.21.31\",\n \"codeOrigin\": \"installed\",\n \"codeSignature\": \"graph:73:f9d33ddd618f52207b438bab6f7402e5d8d76ee4\",\n \"capabilities\": [\n \"quiesce\"\n ],\n \"plugins\": [\n {\n \"provider\": \"browserstack\",\n \"source\": \"builtin\",\n \"state\": \"active\",\n \"credentials\": {\n \"variables\": [\n \"BROWSERSTACK_USERNAME\",\n \"BROWSERSTACK_ACCESS_KEY\"\n ],\n \"byBackend\": {}\n }\n },\n {\n \"provider\": \"aws-device-farm\",\n \"source\": \"builtin\",\n \"state\": \"active\",\n \"credentials\": {\n \"variables\": [],\n \"byBackend\": {}\n }\n }\n ],\n \"ownership\": \"detached\",\n \"httpPort\": 46231,\n \"transport\": \"http\",\n \"pid\": 563285,\n \"processStartTime\": \"Tue Nov 10 00:22:53 2026\",\n \"stateDir\": \"/tmp/lead-33587-r1/capture-2/R09-orphan-agentoff-before-2026-11-10T00-22-53.391Z/base/userdata/device/agent-device\"\n}"},"originalDaemonAlive":true,"originalDaemonIdentity":{"pid":563285,"startTicks":"24493219"},"daemonHealth":200,"hubRecord":{"pid":563853,"port":42501,"entryPath":"/tmp/lead-33587-r1/capture-2/R09-orphan-agentoff-before-2026-11-10T00-22-53.391Z/base/tools/expo-device-hub/0.19.1/node_modules/expo-device-hub/dist/server/cli.mjs"},"hubAlive":true,"hubHttpStatus":200,"serverAlive":true,"serverHttpStatus":200} [2026-11-10T00:23:05.005Z] post-action real RPC device.list {"input":{"inspectOnly":true},"response":{"exit":"Success","agentAccessEnabled":false,"hostStatus":"ready","hosts":[{"id":"local","kind":"local","platforms":[{"platform":"ios","available":false,"reason":"iOS Simulators need macOS with Xcode."},{"platform":"android","available":true}],"tools":{"hub":{"requiredVersion":"0.19.1","installedVersions":["0.19.1"],"runningVersion":"0.19.1"},"agent":{"requiredVersion":"0.21.31","installedVersions":["0.21.31"],"runningVersion":null}}}],"hostStatuses":{"local":{"status":"ready"}},"devicesCount":0,"sessionsCount":0}} [2026-11-10T00:23:05.006Z] all agent-device and npm subprocess observations DURING ACTION [] [2026-11-10T00:23:05.007Z] RESULT {"completed":true,"originalDaemonAlive":true,"recordPresent":true,"hubAlive":true,"serverAlive":true,"agentStopSpawnCount":0,"npmInstallSpawnCount":0,"npmSpawnCount":0,"actionResult":{"exit":"Success","agentAccessEnabled":false,"hostStatus":"ready","hosts":[{"id":"local","kind":"local","platforms":[{"platform":"ios","available":false,"reason":"iOS Simulators need macOS with Xcode."},{"platform":"android","available":true}],"tools":{"hub":{"requiredVersion":"0.19.1","installedVersions":["0.19.1"],"runningVersion":"0.19.1"},"agent":{"requiredVersion":"0.21.31","installedVersions":["0.21.31"],"runningVersion":null}}}],"hostStatuses":{"local":{"status":"ready"}},"devicesCount":0,"sessionsCount":0}} [2026-11-10T00:23:06.033Z] cleanup signal captured process {"label":"original daemon","pid":563285,"startTicks":"24493219","signal":"SIGTERM"} [2026-11-10T00:23:06.138Z] isolated fixture ADB stopped {"pid":563268,"exitCode":null} [2026-11-10T00:23:06.144Z] free disk after row Avail 7G [2026-11-10T00:23:06.144Z] CLEANUP {"serverExited":true,"originalDaemonAlive":false,"hubAlive":false}