agent-deck-1.16.21
checks.aarch64-darwin.pkgs-agent-deck
· build #5826
· raw
1Using versionCheckHook
unpackPhase
2unpacking source archive /nix/store/v4q494swzdb559v7qlg3ww2xb6lfpl5x-source3source root is sourcebuildPhase
4Building subPackage ./cmd/agent-deckcheckPhase
5--- FAIL: TestCodexAcceptanceGuardAcceptsFreshComposerThread (10.26s)6 codex_fresh_composer_send_test.go:48: pane process never held the writer lock (live thread "")72026/09/27 21:04:33 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-ZQrgXk/TestWriteCodexHookStatus_PartialPriorFailsClosed329935807/001/.local/share/agent-deck/hooks/partial.json bytes=108Codex notify hook installed successfully.9Config: /private/tmp/nix-ZQrgXk/TestCodexHooksInstallUninstall2495860327/001/.codex/config.toml10Codex notify hook removed successfully.11Codex notify hook upgraded successfully.12Config: /private/tmp/nix-ZQrgXk/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers2394558178/001/.codex/config.toml13Codex notify hook upgraded successfully.14Config: /private/tmp/nix-ZQrgXk/TestCodexHooksInstall_UpgradesLegacyMarkerBlock602479277/001/.codex/config.toml15--- FAIL: TestCoreRegistryMatchesLegacyHandlers (16.70s)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 43854) could not be identified, so anything it started is unaccounted for; nothing was signalled)24 unverifiable: pid=43854 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 457755cd-179054307527 Reap and clear: agent-deck session ownership reconcile 457755cd-179054307528 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 43896) could not be identified, so anything it started is unaccounted for; nothing was signalled)31 unverifiable: pid=43896 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 457755cd-179054307534 Reap and clear: agent-deck session ownership reconcile 457755cd-179054307535 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 43896) could not be identified, so anything it started is unaccounted for; nothing was signalled)\\n unverifiable: pid=43896 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 457755cd-1790543075\\nReap and clear: agent-deck session ownership reconcile 457755cd-1790543075\",\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 43854) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=43854 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 457755cd-1790543075\nReap and clear: agent-deck session ownership reconcile 457755cd-1790543075",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 43896) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=43896 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 457755cd-1790543075\nReap and clear: agent-deck session ownership reconcile 457755cd-1790543075",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 43948) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=43948 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 b8bdad07-1790543075\nReap and clear: agent-deck session ownership reconcile b8bdad07-1790543075",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 44040) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=44040 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 b8bdad07-1790543075\nReap and clear: agent-deck session ownership reconcile b8bdad07-1790543075",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 43854) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=43854 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 457755cd-1790543075\nReap and clear: agent-deck session ownership reconcile 457755cd-1790543075",86 "id": "457755cd-1790543075",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 43948) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=43948 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 b8bdad07-1790543075\nReap and clear: agent-deck session ownership reconcile b8bdad07-1790543075",92 "id": "b8bdad07-1790543075",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 44080) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=44080 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 3230c4b8-1790543075\nReap and clear: agent-deck session ownership reconcile 3230c4b8-1790543075",98 "id": "3230c4b8-1790543075",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 43896) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=43896 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 457755cd-1790543075\nReap and clear: agent-deck session ownership reconcile 457755cd-1790543075",119 "id": "457755cd-1790543075",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 44040) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=44040 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 b8bdad07-1790543075\nReap and clear: agent-deck session ownership reconcile b8bdad07-1790543075",125 "id": "b8bdad07-1790543075",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 44116) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=44116 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 3230c4b8-1790543075\nReap and clear: agent-deck session ownership reconcile 3230c4b8-1790543075",131 "id": "3230c4b8-1790543075",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 43854) could not be identified, so anything it started is unaccounted for; nothing was signalled)161 unverifiable: pid=43854 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 457755cd-1790543075164 Reap and clear: agent-deck session ownership reconcile 457755cd-1790543075165 Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 43948) could not be identified, so anything it started is unaccounted for; nothing was signalled)166 unverifiable: pid=43948 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 b8bdad07-1790543075169 Reap and clear: agent-deck session ownership reconcile b8bdad07-1790543075170 Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 44080) could not be identified, so anything it started is unaccounted for; nothing was signalled)171 unverifiable: pid=44080 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 3230c4b8-1790543075174 Reap and clear: agent-deck session ownership reconcile 3230c4b8-1790543075175 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 43896) could not be identified, so anything it started is unaccounted for; nothing was signalled)178 unverifiable: pid=43896 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 457755cd-1790543075181 Reap and clear: agent-deck session ownership reconcile 457755cd-1790543075182 Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 44040) could not be identified, so anything it started is unaccounted for; nothing was signalled)183 unverifiable: pid=44040 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 b8bdad07-1790543075186 Reap and clear: agent-deck session ownership reconcile b8bdad07-1790543075187 Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 44116) could not be identified, so anything it started is unaccounted for; nothing was signalled)188 unverifiable: pid=44116 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 3230c4b8-1790543075191 Reap and clear: agent-deck session ownership reconcile 3230c4b8-1790543075192--- FAIL: TestDaemonEnvelopesMatchArgv (5.19s)193 daemon_cmd_test.go:199: start (daemon CLI): ok=false, want true194 {195 "schema": "agent-deck/session.start/v1",196 "request_id": "6e59eec4c5dc3658",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 46210) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46210 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 541b8a3e-1790543094\nReap and clear: agent-deck session ownership reconcile 541b8a3e-1790543094"204 }205 }206 daemon_cmd_test.go:224: start: envelopes differ207 argv: {"data":{"group":"work","id":"541b8a3e-1790543094","status":"started","title":"alpha","tmux":"agentdeck_alpha_b2c80bff"},"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 46210) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46210 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 541b8a3e-1790543094\nReap and clear: agent-deck session ownership reconcile 541b8a3e-1790543094"},"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": "cf1d54492fa6cc5c",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 46210) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46210 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 541b8a3e-1790543094\nReap and clear: agent-deck session ownership reconcile 541b8a3e-1790543094"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": "7f3485c497a64586",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 46210) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46210 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 541b8a3e-1790543094\nReap and clear: agent-deck session ownership reconcile 541b8a3e-1790543094"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": "0ea0f7af4e8b9e3b",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 46210) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46210 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 541b8a3e-1790543094\nReap and clear: agent-deck session ownership reconcile 541b8a3e-1790543094"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": "1934692510e5f26f",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 46210) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46210 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 541b8a3e-1790543094\nReap and clear: agent-deck session ownership reconcile 541b8a3e-1790543094"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": "e09e88d6d6cbc8a0",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": "30158f3cd162683d",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": "99ca0e0160b0f750",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": "916511704264313b",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 46210) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46210 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 541b8a3e-1790543094\nReap and clear: agent-deck session ownership reconcile 541b8a3e-1790543094"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": "ceb1b1dfccba931b",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 (9.66s)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:75472dfe-1790543099 Title:alpha Success:0x2f9765fe33d9 Error:failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 46861) could not be identified, so anything it started is unaccounted for; nothing was signalled)328 unverifiable: pid=46861 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 75472dfe-1790543099331 Reap and clear: agent-deck session ownership reconcile 75472dfe-1790543099 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:918aacf1-1790543099 Title:beta Success:0x2f9765fe33f0 Error:failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 46923) could not be identified, so anything it started is unaccounted for; nothing was signalled)332 unverifiable: pid=46923 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 918aacf1-1790543099335 Reap and clear: agent-deck session ownership reconcile 918aacf1-1790543099 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:9982f494-1790543099 Title:gamma Success:0x2f9765fe33f6 Error:failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 46962) could not be identified, so anything it started is unaccounted for; nothing was signalled)336 unverifiable: pid=46962 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 9982f494-1790543099339 Reap and clear: agent-deck session ownership reconcile 9982f494-1790543099 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:223c26b6-1790543099 Title:delta Success:0x2f9765fe33fc Error:failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 46998) could not be identified, so anything it started is unaccounted for; nothing was signalled)340 unverifiable: pid=46998 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 223c26b6-1790543099343 Reap and clear: agent-deck session ownership reconcile 223c26b6-1790543099 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:4cc7f4e8-1790543099 Title:epsilon Success:0x2f9765fe3427 Error:failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 47063) could not be identified, so anything it started is unaccounted for; nothing was signalled)344 unverifiable: pid=47063 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 4cc7f4e8-1790543099347 Reap and clear: agent-deck session ownership reconcile 4cc7f4e8-1790543099 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false}]}}}: {348 "schema": "agent-deck/session.restart/v1",349 "request_id": "7f0cdf17fc33d85f",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": "75472dfe-1790543099",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 46861) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46861 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 75472dfe-1790543099\nReap and clear: agent-deck session ownership reconcile 75472dfe-1790543099"367 },368 {369 "id": "918aacf1-1790543099",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 46923) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46923 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 918aacf1-1790543099\nReap and clear: agent-deck session ownership reconcile 918aacf1-1790543099"373 },374 {375 "id": "9982f494-1790543099",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 46962) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46962 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 9982f494-1790543099\nReap and clear: agent-deck session ownership reconcile 9982f494-1790543099"379 },380 {381 "id": "223c26b6-1790543099",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 46998) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=46998 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 223c26b6-1790543099\nReap and clear: agent-deck session ownership reconcile 223c26b6-1790543099"385 },386 {387 "id": "4cc7f4e8-1790543099",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 47063) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=47063 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 4cc7f4e8-1790543099\nReap and clear: agent-deck session ownership reconcile 4cc7f4e8-1790543099"391 }392 ]393 }394 },395 "warnings": [],396 "revision": null397 }398 399agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-ZQrgXk/TestEventProfileUsesStorageFallbackForMissingInference2581439920/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-ZQrgXk/TestGeminiHooksInstallUninstall3907531644/001/.gemini/settings.json402Gemini hooks removed successfully.403--- FAIL: TestStorageBytesGoldens (3.01s)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 49594) could not be identified, so anything it started is unaccounted for; nothing was signalled)419 unverifiable: pid=49594 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 49594) could not be identified, so anything it started is unaccounted for; nothing was signalled)428 unverifiable: pid=49594 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 up443--- FAIL: TestIssue2394_HydratePrefersLiveThreadOverGuessedPaneIdentity (10.40s)444 issue2394_codex_foreign_identity_test.go:53: pane process never held the writer lock (live thread "")445--- FAIL: TestIssue2400_ArchiveKeepsLiveCodexIdentity (10.41s)446 issue2396_2400_codex_launch_identity_test.go:95: pane process never held the thread open (live thread "")447--- FAIL: TestIssue2396_FirstTurnOutputIsBoundToItsConversation (10.42s)448 issue2396_2400_codex_launch_identity_test.go:109: pane process never held the thread open (live thread "")449remote-agent: probe: storage gone450remote-agent: binary upgraded (running v1.16.21); exiting so the controller reconnects451remote-agent: probe produced no listing (Error: database is locked)452remote-agent: probe produced no listing ([])453remote-agent: no input for 300ms, exiting454455═══ Remote: offline (a@offline) ═══456 – Skipped: agent-deck not found on remote or host unreachable457458═══ Remote: offline (a@offline) ═══459 ✗ Failed: stub: no platform460A remote sweep is already running on this controller (pid 40559, started 9:07PM); waiting for it...461462═══ Remote: lab (a@lab) ═══463 – Skipped: sweep already in progress, remote lab is being updated by 40559464465═══ Remote: other (a@other) ═══466 ✓ Up to date (v1.16.0)467468═══ Remote: lab (a@lab) ═══469 ✓ Up to date (v1.16.0)470471═══ Remote: other (a@other) ═══472 ✓ Up to date (v1.16.0)473Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_587cdc1f": record restart outcome for "f5ae8526-1790543259": instance row not found474 The session is running; agent-deck may show it as errored until the name is saved.475Warning: output freshness timeout (300ms) — response may be stale476Warning: output freshness timeout (300ms) — response may be stale477Warning: output freshness timeout (300ms) — response may be stale478Launch agent re-registration deferred: a remote sweep (pid 12345, started 21:09:06) is still running479Imported 2 channel(s)480 C0AABSF5GKD -> si-bugs/watcher.toml481 C1BBCDF6HLE -> feat-req/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-ZQrgXk/TestImportChannels_EndToEnd1201251387/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-ZQrgXk/TestImportChannels_Idempotent2902094842/002/clients.json492Imported 1 channel(s)493 C0AABSF5GKD -> si-bugs/watcher.toml494495Note: Set the ntfy topic in each watcher.toml (all Slack channels496share one ntfy topic from the Cloudflare Worker).497Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_Idempotent2902094842/002/clients.json498Imported 0 channel(s)499Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_EmptyChannels3766215905/002/clients.json500Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestWatcherInstallSkill1418523701/001/xdg-config/agent-deck/skills/pool/watcher-creator501Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestWatcherInstallSkill_DirMode2180227580/001/xdg-config/agent-deck/skills/pool/watcher-creator502Created watcher: create-topic-ntfy (type: ntfy)503Created watcher: create-topic-slack (type: slack)504Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath2225939769/001/xdg-config/agent-deck/skills/pool/watcher-creator505FAIL506FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 309.085s507FAIL