agent-deck-1.16.17
checks.aarch64-darwin.pkgs-agent-deck
· build #5637
· raw
1Using versionCheckHook
unpackPhase
2unpacking source archive /nix/store/m5av7c734ww3cly2z5wadglph6rrvpcq-source3source root is sourcebuildPhase
4Building subPackage ./cmd/agent-deckcheckPhase
5--- FAIL: TestCodexAcceptanceGuardAcceptsFreshComposerThread (10.23s)6 codex_fresh_composer_send_test.go:48: pane process never held the writer lock (live thread "")72026/09/25 21:17:28 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-cgyc1w/TestWriteCodexHookStatus_PartialPriorFailsClosed506039891/001/.local/share/agent-deck/hooks/partial.json bytes=108Codex notify hook installed successfully.9Config: /private/tmp/nix-cgyc1w/TestCodexHooksInstallUninstall267475960/001/.codex/config.toml10Codex notify hook removed successfully.11Codex notify hook upgraded successfully.12Config: /private/tmp/nix-cgyc1w/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers2912997894/001/.codex/config.toml13Codex notify hook upgraded successfully.14Config: /private/tmp/nix-cgyc1w/TestCodexHooksInstall_UpgradesLegacyMarkerBlock2333614236/001/.codex/config.toml15--- FAIL: TestCoreRegistryMatchesLegacyHandlers (16.83s)16 core_cli_test.go:271: "session restart alpha --force" differs17 exit legacy=1 registry=118 --- legacy stdout ---19 20 --- registry stdout ---21 22 --- legacy stderr ---23 Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96207) could not be identified, so anything it started is unaccounted for; nothing was signalled)24 unverifiable: pid=96207 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH25 Nothing was started and nothing was signalled.26 Inspect: agent-deck session ownership inspect 30054ada-179037105027 Reap and clear: agent-deck session ownership reconcile 30054ada-179037105028 29 --- registry stderr ---30 Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled)31 unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH32 Nothing was started and nothing was signalled.33 Inspect: agent-deck session ownership inspect 30054ada-179037105034 Reap and clear: agent-deck session ownership reconcile 30054ada-179037105035 core_cli_test.go:266: "session restart alpha --force --json": exit 1, stdout "{\n \"code\": \"INVALID_OPERATION\",\n \"error\": \"failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled)\\n unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \\\"sysctl\\\": executable file not found in $PATH\\nNothing was started and nothing was signalled.\\nInspect: agent-deck session ownership inspect 30054ada-1790371050\\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050\",\n \"success\": false\n}\n", want success containing "\"success\": true" (stderr "")36 core_cli_test.go:271: "session restart alpha --force --json" differs37 exit legacy=1 registry=138 --- legacy stdout ---39 {40 "code": "INVALID_OPERATION",41 "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96207) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96207 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 30054ada-1790371050\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050",42 "success": false43 }44 45 --- registry stdout ---46 {47 "code": "INVALID_OPERATION",48 "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 30054ada-1790371050\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050",49 "success": false50 }51 52 --- legacy stderr ---53 54 --- registry stderr ---55 core_cli_test.go:271: "session restart beta --env FOO=bar --json" differs56 exit legacy=1 registry=157 --- legacy stdout ---58 {59 "code": "INVALID_OPERATION",60 "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96418) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96418 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 6931aade-1790371050\nReap and clear: agent-deck session ownership reconcile 6931aade-1790371050",61 "success": false62 }63 64 --- registry stdout ---65 {66 "code": "INVALID_OPERATION",67 "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96503) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96503 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 6931aade-1790371050\nReap and clear: agent-deck session ownership reconcile 6931aade-1790371050",68 "success": false69 }70 71 --- legacy stderr ---72 73 --- registry stderr ---74 core_cli_test.go:271: "session restart --all --json" differs75 exit legacy=1 registry=176 --- legacy stdout ---77 {78 "abandoned": 0,79 "auth_deaths": 0,80 "auth_tripped": false,81 "failed": 3,82 "restarted": 0,83 "sessions": [84 {85 "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96207) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96207 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 30054ada-1790371050\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050",86 "id": "30054ada-1790371050",87 "success": false,88 "title": "alpha"89 },90 {91 "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96418) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96418 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 6931aade-1790371050\nReap and clear: agent-deck session ownership reconcile 6931aade-1790371050",92 "id": "6931aade-1790371050",93 "success": false,94 "title": "beta"95 },96 {97 "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96590) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96590 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 2a6e52d4-1790371050\nReap and clear: agent-deck session ownership reconcile 2a6e52d4-1790371050",98 "id": "2a6e52d4-1790371050",99 "success": false,100 "title": "gamma"101 }102 ],103 "skipped_auth": 0,104 "success": false,105 "total": 3,106 "trip_message": ""107 }108 109 --- registry stdout ---110 {111 "abandoned": 0,112 "auth_deaths": 0,113 "auth_tripped": false,114 "failed": 3,115 "restarted": 0,116 "sessions": [117 {118 "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 30054ada-1790371050\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050",119 "id": "30054ada-1790371050",120 "success": false,121 "title": "alpha"122 },123 {124 "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96503) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96503 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 6931aade-1790371050\nReap and clear: agent-deck session ownership reconcile 6931aade-1790371050",125 "id": "6931aade-1790371050",126 "success": false,127 "title": "beta"128 },129 {130 "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96714) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96714 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 2a6e52d4-1790371050\nReap and clear: agent-deck session ownership reconcile 2a6e52d4-1790371050",131 "id": "2a6e52d4-1790371050",132 "success": false,133 "title": "gamma"134 }135 ],136 "skipped_auth": 0,137 "success": false,138 "total": 3,139 "trip_message": ""140 }141 142 --- legacy stderr ---143 144 --- registry stderr ---145 core_cli_test.go:271: "session restart --all" differs146 exit legacy=1 registry=1147 --- legacy stdout ---148 Restarting alpha...149 Restarting beta...150 Restarting gamma...151 Restarted 0/3 sessions (3 failed)152 153 --- registry stdout ---154 Restarting alpha...155 Restarting beta...156 Restarting gamma...157 Restarted 0/3 sessions (3 failed)158 159 --- legacy stderr ---160 Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96207) could not be identified, so anything it started is unaccounted for; nothing was signalled)161 unverifiable: pid=96207 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH162 Nothing was started and nothing was signalled.163 Inspect: agent-deck session ownership inspect 30054ada-1790371050164 Reap and clear: agent-deck session ownership reconcile 30054ada-1790371050165 Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96418) could not be identified, so anything it started is unaccounted for; nothing was signalled)166 unverifiable: pid=96418 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH167 Nothing was started and nothing was signalled.168 Inspect: agent-deck session ownership inspect 6931aade-1790371050169 Reap and clear: agent-deck session ownership reconcile 6931aade-1790371050170 Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96590) could not be identified, so anything it started is unaccounted for; nothing was signalled)171 unverifiable: pid=96590 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH172 Nothing was started and nothing was signalled.173 Inspect: agent-deck session ownership inspect 2a6e52d4-1790371050174 Reap and clear: agent-deck session ownership reconcile 2a6e52d4-1790371050175 176 --- registry stderr ---177 Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled)178 unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH179 Nothing was started and nothing was signalled.180 Inspect: agent-deck session ownership inspect 30054ada-1790371050181 Reap and clear: agent-deck session ownership reconcile 30054ada-1790371050182 Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96503) could not be identified, so anything it started is unaccounted for; nothing was signalled)183 unverifiable: pid=96503 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH184 Nothing was started and nothing was signalled.185 Inspect: agent-deck session ownership inspect 6931aade-1790371050186 Reap and clear: agent-deck session ownership reconcile 6931aade-1790371050187 Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96714) could not be identified, so anything it started is unaccounted for; nothing was signalled)188 unverifiable: pid=96714 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH189 Nothing was started and nothing was signalled.190 Inspect: agent-deck session ownership inspect 2a6e52d4-1790371050191 Reap and clear: agent-deck session ownership reconcile 2a6e52d4-1790371050192--- FAIL: TestDaemonEnvelopesMatchArgv (3.84s)193 daemon_cmd_test.go:199: start (daemon CLI): ok=false, want true194 {195 "schema": "agent-deck/session.start/v1",196 "request_id": "dca1dac580fff2e1",197 "ok": false,198 "data": null,199 "warnings": [],200 "revision": null,201 "error": {202 "code": "INVALID_OPERATION",203 "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067"204 }205 }206 daemon_cmd_test.go:224: start: envelopes differ207 argv: {"data":{"group":"work","id":"91b8954e-1790371067","status":"started","title":"alpha","tmux":"agentdeck_alpha_4de8bac5"},"ok":true,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]}208 daemon: {"data":null,"error":{"code":"INVALID_OPERATION","message":"failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067"},"ok":false,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]}209 daemon_cmd_test.go:199: restart fresh session is skipped (argv): ok=false, want true210 {211 "schema": "agent-deck/session.restart/v1",212 "request_id": "f02885fafe8e41b5",213 "ok": false,214 "data": null,215 "warnings": [],216 "revision": null,217 "error": {218 "code": "INVALID_OPERATION",219 "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067"220 }221 }222 daemon_cmd_test.go:199: restart fresh session is skipped (daemon CLI): ok=false, want true223 {224 "schema": "agent-deck/session.restart/v1",225 "request_id": "43547e6b97fc1da4",226 "ok": false,227 "data": null,228 "warnings": [],229 "revision": null,230 "error": {231 "code": "INVALID_OPERATION",232 "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067"233 }234 }235 daemon_cmd_test.go:199: restart --force (argv): ok=false, want true236 {237 "schema": "agent-deck/session.restart/v1",238 "request_id": "0e01abd04b669f95",239 "ok": false,240 "data": null,241 "warnings": [],242 "revision": null,243 "error": {244 "code": "INVALID_OPERATION",245 "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067"246 }247 }248 daemon_cmd_test.go:199: restart --force (daemon CLI): ok=false, want true249 {250 "schema": "agent-deck/session.restart/v1",251 "request_id": "5d2ec415cf1df6de",252 "ok": false,253 "data": null,254 "warnings": [],255 "revision": null,256 "error": {257 "code": "INVALID_OPERATION",258 "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067"259 }260 }261 daemon_cmd_test.go:199: restart --all (argv): ok=false, want true262 {263 "schema": "agent-deck/session.restart/v1",264 "request_id": "84858be1884fd485",265 "ok": false,266 "data": null,267 "warnings": [],268 "revision": null,269 "error": {270 "code": "NO_ACTIVE_SESSIONS",271 "message": "no active sessions to restart"272 }273 }274 daemon_cmd_test.go:199: restart --all (daemon CLI): ok=false, want true275 {276 "schema": "agent-deck/session.restart/v1",277 "request_id": "248ceba30edfc415",278 "ok": false,279 "data": null,280 "warnings": [],281 "revision": null,282 "error": {283 "code": "NO_ACTIVE_SESSIONS",284 "message": "no active sessions to restart"285 }286 }287 daemon_cmd_test.go:199: stop (argv): ok=false, want true288 {289 "schema": "agent-deck/session.stop/v1",290 "request_id": "a94847c831a79cbb",291 "ok": false,292 "data": null,293 "warnings": [],294 "revision": null,295 "error": {296 "code": "NOT_RUNNING",297 "message": "session 'alpha' is not running"298 }299 }300 daemon_cmd_test.go:199: stop setup session start alpha --json=envelope: ok=false, want true301 {302 "schema": "agent-deck/session.start/v1",303 "request_id": "70cd0f141a13e70c",304 "ok": false,305 "data": null,306 "warnings": [],307 "revision": null,308 "error": {309 "code": "INVALID_OPERATION",310 "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067"311 }312 }313 daemon_cmd_test.go:199: stop (daemon CLI): ok=false, want true314 {315 "schema": "agent-deck/session.stop/v1",316 "request_id": "897021d2bfbe3b68",317 "ok": false,318 "data": null,319 "warnings": [],320 "revision": null,321 "error": {322 "code": "NOT_RUNNING",323 "message": "session 'alpha' is not running"324 }325 }326--- FAIL: TestDaemonRestartAllReturnsCompletedResult (8.65s)327 daemon_cmd_test.go:281: restart --all returned exit 1, result {OK:true Data:{All:{Total:5 Restarted:0 Failed:5 SkippedAuth:0 AuthDeaths:0 Abandoned:0 AuthTripped:false TripMessage: Sessions:[{ID:ab78c0f5-1790371071 Title:alpha Success:0x43b4b52f0139 Error:failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98703) could not be identified, so anything it started is unaccounted for; nothing was signalled)328 unverifiable: pid=98703 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH329 Nothing was started and nothing was signalled.330 Inspect: agent-deck session ownership inspect ab78c0f5-1790371071331 Reap and clear: agent-deck session ownership reconcile ab78c0f5-1790371071 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:5f88022c-1790371071 Title:beta Success:0x43b4b52f0140 Error:failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98753) could not be identified, so anything it started is unaccounted for; nothing was signalled)332 unverifiable: pid=98753 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH333 Nothing was started and nothing was signalled.334 Inspect: agent-deck session ownership inspect 5f88022c-1790371071335 Reap and clear: agent-deck session ownership reconcile 5f88022c-1790371071 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:0c213e61-1790371071 Title:gamma Success:0x43b4b52f0146 Error:failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98835) could not be identified, so anything it started is unaccounted for; nothing was signalled)336 unverifiable: pid=98835 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH337 Nothing was started and nothing was signalled.338 Inspect: agent-deck session ownership inspect 0c213e61-1790371071339 Reap and clear: agent-deck session ownership reconcile 0c213e61-1790371071 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:09e96a18-1790371071 Title:delta Success:0x43b4b52f014c Error:failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98874) could not be identified, so anything it started is unaccounted for; nothing was signalled)340 unverifiable: pid=98874 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH341 Nothing was started and nothing was signalled.342 Inspect: agent-deck session ownership inspect 09e96a18-1790371071343 Reap and clear: agent-deck session ownership reconcile 09e96a18-1790371071 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:d7229ee4-1790371071 Title:epsilon Success:0x43b4b52f0157 Error:failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98913) could not be identified, so anything it started is unaccounted for; nothing was signalled)344 unverifiable: pid=98913 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH345 Nothing was started and nothing was signalled.346 Inspect: agent-deck session ownership inspect d7229ee4-1790371071347 Reap and clear: agent-deck session ownership reconcile d7229ee4-1790371071 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false}]}}}: {348 "schema": "agent-deck/session.restart/v1",349 "request_id": "93703c4aeb50a3ae",350 "ok": true,351 "data": {352 "all": {353 "total": 5,354 "restarted": 0,355 "failed": 5,356 "skipped_auth": 0,357 "auth_deaths": 0,358 "abandoned": 0,359 "auth_tripped": false,360 "trip_message": "",361 "sessions": [362 {363 "id": "ab78c0f5-1790371071",364 "title": "alpha",365 "success": false,366 "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98703) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98703 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect ab78c0f5-1790371071\nReap and clear: agent-deck session ownership reconcile ab78c0f5-1790371071"367 },368 {369 "id": "5f88022c-1790371071",370 "title": "beta",371 "success": false,372 "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98753) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98753 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 5f88022c-1790371071\nReap and clear: agent-deck session ownership reconcile 5f88022c-1790371071"373 },374 {375 "id": "0c213e61-1790371071",376 "title": "gamma",377 "success": false,378 "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98835) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98835 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 0c213e61-1790371071\nReap and clear: agent-deck session ownership reconcile 0c213e61-1790371071"379 },380 {381 "id": "09e96a18-1790371071",382 "title": "delta",383 "success": false,384 "error": "failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98874) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98874 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 09e96a18-1790371071\nReap and clear: agent-deck session ownership reconcile 09e96a18-1790371071"385 },386 {387 "id": "d7229ee4-1790371071",388 "title": "epsilon",389 "success": false,390 "error": "failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98913) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98913 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect d7229ee4-1790371071\nReap and clear: agent-deck session ownership reconcile d7229ee4-1790371071"391 }392 ]393 }394 },395 "warnings": [],396 "revision": null397 }398 399agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-cgyc1w/TestEventProfileUsesStorageFallbackForMissingInference276250504/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: none yet. Pass -p/--profile or set AGENTDECK_PROFILE explicitly to pick a different profile, run `agent-deck profile create ghost` if you intend to create it, or unset CLAUDE_CONFIG_DIR to use the default profile.400Gemini hooks installed successfully.401Config: /private/tmp/nix-cgyc1w/TestGeminiHooksInstallUninstall2995665290/001/.gemini/settings.json402Gemini hooks removed successfully.403--- FAIL: TestStorageBytesGoldens (1.88s)404 goldens_storage_test.go:81: agent-deck session start golden-sess-shell --no-wait (exit 0):405 stdout:406 ✓ Started session: storage bytes shell407 408 stderr:409 goldens_storage_test.go:85: agent-deck session stop golden-sess-shell (exit 0):410 stdout:411 ✓ Stopped session: storage bytes shell412 413 stderr:414 goldens_storage_test.go:89: agent-deck session restart golden-sess-shell (exit 1):415 stdout:416 417 stderr:418 Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99476) could not be identified, so anything it started is unaccounted for; nothing was signalled)419 unverifiable: pid=99476 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH420 Nothing was started and nothing was signalled.421 Inspect: agent-deck session ownership inspect golden-sess-shell422 Reap and clear: agent-deck session ownership reconcile golden-sess-shell423 goldens_storage_test.go:89: agent-deck session restart golden-sess-shell: exit 1424 stdout:425 426 stderr:427 Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99476) could not be identified, so anything it started is unaccounted for; nothing was signalled)428 unverifiable: pid=99476 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH429 Nothing was started and nothing was signalled.430 Inspect: agent-deck session ownership inspect golden-sess-shell431 Reap and clear: agent-deck session ownership reconcile golden-sess-shell432✓ Reordered group 'Beta': position 1 → 0433✓ Reordered group 'Beta': position 1 → 2434✓ Reordered group 'Gamma': position 2 → 0435✓ Reordered group 'Alpha': position 0 → 0436✓ Reordered group 'Gamma': position 2 → 2437✓ Reordered group 'Alpha': position 0 → 2438Removing worktree at ~/wt-1576...439 ✓ Worktree removed440swept 1 stale inbox event(s) for removed session441442✓ Finished: session 'wt-finish-1576' removed, worktree cleaned up443remote-agent: probe: storage gone444remote-agent: binary upgraded (running v1.16.17); exiting so the controller reconnects445remote-agent: probe produced no listing (Error: database is locked)446remote-agent: probe produced no listing ([])447remote-agent: no input for 300ms, exiting448449═══ Remote: offline (a@offline) ═══450 – Skipped: agent-deck not found on remote or host unreachable451452═══ Remote: offline (a@offline) ═══453 ✗ Failed: stub: no platform454A remote sweep is already running on this controller (pid 93876, started 9:19PM); waiting for it...455456═══ Remote: lab (a@lab) ═══457 – Skipped: sweep already in progress, remote lab is being updated by 93876458459═══ Remote: other (a@other) ═══460 ✓ Up to date (v1.16.0)461462═══ Remote: lab (a@lab) ═══463 ✓ Up to date (v1.16.0)464465═══ Remote: other (a@other) ═══466 ✓ Up to date (v1.16.0)467Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_f8ddb55c": record restart outcome for "38dd9539-1790371169": instance row not found468 The session is running; agent-deck may show it as errored until the name is saved.469Warning: output freshness timeout (300ms) — response may be stale470Warning: output freshness timeout (300ms) — response may be stale471Warning: output freshness timeout (300ms) — response may be stale472Launch agent re-registration deferred: a remote sweep (pid 12345, started 21:20:59) is still running473Imported 2 channel(s)474 C0AABSF5GKD -> si-bugs/watcher.toml475 C1BBCDF6HLE -> feat-req/watcher.toml476477Note: Set the ntfy topic in each watcher.toml (all Slack channels478share one ntfy topic from the Cloudflare Worker).479Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_EndToEnd1680657074/002/clients.json480Imported 1 channel(s)481 C0AABSF5GKD -> si-bugs/watcher.toml482483Note: Set the ntfy topic in each watcher.toml (all Slack channels484share one ntfy topic from the Cloudflare Worker).485Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_Idempotent1867133484/002/clients.json486Imported 1 channel(s)487 C0AABSF5GKD -> si-bugs/watcher.toml488489Note: Set the ntfy topic in each watcher.toml (all Slack channels490share one ntfy topic from the Cloudflare Worker).491Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_Idempotent1867133484/002/clients.json492Imported 0 channel(s)493Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_EmptyChannels2044471020/002/clients.json494Installed skill: watcher-creator -> /private/tmp/nix-cgyc1w/TestWatcherInstallSkill2303136738/001/xdg-config/agent-deck/skills/pool/watcher-creator495Installed skill: watcher-creator -> /private/tmp/nix-cgyc1w/TestWatcherInstallSkill_DirMode892856524/001/xdg-config/agent-deck/skills/pool/watcher-creator496Created watcher: create-topic-ntfy (type: ntfy)497Created watcher: create-topic-slack (type: slack)498Installed skill: watcher-creator -> /private/tmp/nix-cgyc1w/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath1911566281/001/xdg-config/agent-deck/skills/pool/watcher-creator499FAIL500FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 246.303s501FAIL