these 4 derivations will be built: /nix/store/ccfls02m2asqffr9gfsaybwqsnz3baq8-source.drv /nix/store/jg0kw5jlk5ha4hz0yx1rb23y7010k3vw-agent-deck-1.16.21-go-modules.drv /nix/store/gd5y78jy4fnkdj4b6b545mbrc79jgird-agent-deck-1.16.21.drv /nix/store/kmyfxbn8yil98swifx1d0xis53wiglxl-check-agent-deck.drv building '/nix/store/b7nwbzfn80pq5vgrskfgna92cq2k0hq6-source.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/b7nwbzfn80pq5vgrskfgna92cq2k0hq6-source.drv' source> structuredAttrs is enabled source> source> trying https://github.com/asheshgoplani/agent-deck/archive/refs/tags/v1.16.21.tar.gz source> % Total % Received % Xferd Average Speed Time Time Time Current source> Dload Upload Total Spent Left Speed source> source> 0 0 0 0 0 0 0 0 0 source> 0 0 0 0 0 0 0 0 0 source> 0 0 0 0 0 0 0 0 0 source> source> 0 0 0 0 0 0 0 0 0 source> 100 18.75M 0 18.75M 0 0 15.04M 0 00:01 18.61M source> 100 44.60M 0 44.60M 0 0 19.85M 0 00:02 22.22M source> 100 66.16M 0 66.16M 0 0 20.37M 0 00:03 22.00M source> 100 96.76M 0 96.76M 0 0 22.75M 0 00:04 24.11M source> 100 124.7M 0 124.7M 0 0 23.75M 0 00:05 24.88M source> 100 140.7M 0 140.7M 0 0 22.50M 0 00:06 24.35M source> 100 145.4M 0 145.4M 0 0 21.88M 0 00:06 24.35M source> 100 145.4M 0 145.4M 0 0 21.88M 0 00:06 24.35M source> 100 145.4M 0 145.4M 0 0 21.88M 0 00:06 24.35M source> unpacking source archive /nix/var/nix/builds/nix-38117-2490120054/download.tar.gz building '/nix/store/w00f7hgl081mfqk82wy2q6gmlar0yd64-agent-deck-1.16.21-go-modules.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/w00f7hgl081mfqk82wy2q6gmlar0yd64-agent-deck-1.16.21-go-modules.drv' agent-deck-1.16.21-go-modules> Running phase: unpackPhase agent-deck-1.16.21-go-modules> unpacking source archive /nix/store/v4q494swzdb559v7qlg3ww2xb6lfpl5x-source agent-deck-1.16.21-go-modules> source root is source agent-deck-1.16.21-go-modules> Running phase: patchPhase agent-deck-1.16.21-go-modules> Running phase: updateAutotoolsGnuConfigScriptsPhase agent-deck-1.16.21-go-modules> Running phase: configurePhase agent-deck-1.16.21-go-modules> Running phase: buildPhase agent-deck-1.16.21-go-modules> go: downloading github.com/stretchr/testify v1.12.1 agent-deck-1.16.21-go-modules> go: downloading github.com/fsnotify/fsnotify v1.10.1 agent-deck-1.16.21-go-modules> go: downloading github.com/google/uuid v1.6.0 agent-deck-1.16.21-go-modules> go: downloading gopkg.in/yaml.v3 v3.0.1 agent-deck-1.16.21-go-modules> go: downloading al.essio.dev/pkg/shellescape v1.6.0 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/bubbletea v1.3.10 agent-deck-1.16.21-go-modules> go: downloading golang.org/x/sys v0.47.0 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/lipgloss v1.1.0 agent-deck-1.16.21-go-modules> go: downloading github.com/sahilm/fuzzy v0.1.3 agent-deck-1.16.21-go-modules> go: downloading github.com/muesli/termenv v0.16.0 agent-deck-1.16.21-go-modules> go: downloading github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 agent-deck-1.16.21-go-modules> go: downloading golang.org/x/sync v0.22.0 agent-deck-1.16.21-go-modules> go: downloading golang.org/x/term v0.45.0 agent-deck-1.16.21-go-modules> go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/bubbles v1.0.0 agent-deck-1.16.21-go-modules> go: downloading github.com/klauspost/compress v1.19.2 agent-deck-1.16.21-go-modules> go: downloading github.com/gorilla/websocket v1.5.3 agent-deck-1.16.21-go-modules> go: downloading modernc.org/sqlite v1.57.0 agent-deck-1.16.21-go-modules> go: downloading github.com/creack/pty v1.1.24 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/exp/teatest v0.0.0-20260413165052-6921c759c913 agent-deck-1.16.21-go-modules> go: downloading github.com/BurntSushi/toml v1.6.0 agent-deck-1.16.21-go-modules> go: downloading go.uber.org/goleak v1.3.0 agent-deck-1.16.21-go-modules> go: downloading github.com/thiagokokada/dark-mode-go v0.0.2 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/ansi v0.11.8 agent-deck-1.16.21-go-modules> go: downloading cloud.google.com/go/pubsub v1.51.1 agent-deck-1.16.21-go-modules> go: downloading golang.org/x/crypto v0.55.0 agent-deck-1.16.21-go-modules> go: downloading golang.org/x/oauth2 v0.36.0 agent-deck-1.16.21-go-modules> go: downloading github.com/SherClockHolmes/webpush-go v1.4.0 agent-deck-1.16.21-go-modules> go: downloading cloud.google.com/go v0.123.0 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/vt v0.0.0-20260828171018-3c30eef5e73e agent-deck-1.16.21-go-modules> go: downloading golang.org/x/time v0.15.0 agent-deck-1.16.21-go-modules> go: downloading github.com/evanw/esbuild v0.28.2 agent-deck-1.16.21-go-modules> go: downloading github.com/rivo/uniseg v0.4.7 agent-deck-1.16.21-go-modules> go: downloading google.golang.org/api v0.295.0 agent-deck-1.16.21-go-modules> go: downloading github.com/mattn/go-runewidth v0.0.28 agent-deck-1.16.21-go-modules> go: downloading google.golang.org/grpc v1.83.2 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/term v0.2.2 agent-deck-1.16.21-go-modules> go: downloading github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f agent-deck-1.16.21-go-modules> go: downloading github.com/mattn/go-localereader v0.0.1 agent-deck-1.16.21-go-modules> go: downloading github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 agent-deck-1.16.21-go-modules> go: downloading github.com/muesli/cancelreader v0.2.2 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/cellbuf v0.0.15 agent-deck-1.16.21-go-modules> go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1 agent-deck-1.16.21-go-modules> go: downloading github.com/lucasb-eyer/go-colorful v1.4.0 agent-deck-1.16.21-go-modules> go: downloading github.com/mattn/go-isatty v0.0.24 agent-deck-1.16.21-go-modules> go: downloading github.com/atotto/clipboard v0.1.4 agent-deck-1.16.21-go-modules> go: downloading github.com/clipperhouse/displaywidth v0.11.0 agent-deck-1.16.21-go-modules> go: downloading github.com/clipperhouse/uax29/v2 v2.7.0 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 agent-deck-1.16.21-go-modules> go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 agent-deck-1.16.21-go-modules> go: downloading cloud.google.com/go/compute/metadata v0.9.0 agent-deck-1.16.21-go-modules> go: downloading cloud.google.com/go/iam v1.12.0 agent-deck-1.16.21-go-modules> go: downloading github.com/googleapis/gax-go/v2 v2.24.0 agent-deck-1.16.21-go-modules> go: downloading go.opencensus.io v0.24.0 agent-deck-1.16.21-go-modules> go: downloading go.opentelemetry.io/otel v1.45.0 agent-deck-1.16.21-go-modules> go: downloading go.opentelemetry.io/otel/trace v1.45.0 agent-deck-1.16.21-go-modules> go: downloading google.golang.org/protobuf v1.36.12 agent-deck-1.16.21-go-modules> go: downloading github.com/godbus/dbus/v5 v5.1.0 agent-deck-1.16.21-go-modules> go: downloading go.einride.tech/aip v0.83.0 agent-deck-1.16.21-go-modules> go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/ultraviolet v0.0.0-20260303162955-0b88c25f3fff agent-deck-1.16.21-go-modules> go: downloading google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/exp/ordered v0.1.0 agent-deck-1.16.21-go-modules> go: downloading golang.org/x/text v0.41.0 agent-deck-1.16.21-go-modules> go: downloading go.yaml.in/yaml/v3 v3.0.5 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/colorprofile v0.4.2 agent-deck-1.16.21-go-modules> go: downloading golang.org/x/net v0.58.0 agent-deck-1.16.21-go-modules> go: downloading cloud.google.com/go/pubsub/v2 v2.6.0 agent-deck-1.16.21-go-modules> go: downloading github.com/aymanbagabas/go-udiff v0.3.1 agent-deck-1.16.21-go-modules> go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 agent-deck-1.16.21-go-modules> go: downloading go.opentelemetry.io/otel/metric v1.45.0 agent-deck-1.16.21-go-modules> go: downloading github.com/go-logr/logr v1.4.4 agent-deck-1.16.21-go-modules> go: downloading github.com/google/go-cmp v0.7.0 agent-deck-1.16.21-go-modules> go: downloading go.opentelemetry.io/otel/sdk v1.45.0 agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/termios v0.1.1 agent-deck-1.16.21-go-modules> go: downloading github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e agent-deck-1.16.21-go-modules> go: downloading github.com/charmbracelet/x/windows v0.2.2 agent-deck-1.16.21-go-modules> go: downloading modernc.org/libc v1.74.4 agent-deck-1.16.21-go-modules> go: downloading github.com/go-logr/stdr v1.2.2 agent-deck-1.16.21-go-modules> go: downloading go.opentelemetry.io/auto/sdk v1.2.1 agent-deck-1.16.21-go-modules> go: downloading github.com/cespare/xxhash/v2 v2.3.0 agent-deck-1.16.21-go-modules> go: downloading cloud.google.com/go/auth v0.23.2 agent-deck-1.16.21-go-modules> go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8 agent-deck-1.16.21-go-modules> go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 agent-deck-1.16.21-go-modules> go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 agent-deck-1.16.21-go-modules> go: downloading github.com/google/s2a-go v0.1.9 agent-deck-1.16.21-go-modules> go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.20 agent-deck-1.16.21-go-modules> go: downloading github.com/felixge/httpsnoop v1.0.4 agent-deck-1.16.21-go-modules> go: downloading github.com/dustin/go-humanize v1.0.1 agent-deck-1.16.21-go-modules> go: downloading github.com/ncruces/go-strftime v1.0.0 agent-deck-1.16.21-go-modules> go: downloading modernc.org/mathutil v1.7.1 agent-deck-1.16.21-go-modules> go: downloading modernc.org/memory v1.11.0 agent-deck-1.16.21-go-modules> go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec agent-deck-1.16.21-go-modules> Running phase: installPhase building '/nix/store/gd5y78jy4fnkdj4b6b545mbrc79jgird-agent-deck-1.16.21.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/gd5y78jy4fnkdj4b6b545mbrc79jgird-agent-deck-1.16.21.drv' agent-deck-1.16.21> Using versionCheckHook agent-deck-1.16.21> Running phase: unpackPhase agent-deck-1.16.21> unpacking source archive /nix/store/v4q494swzdb559v7qlg3ww2xb6lfpl5x-source agent-deck-1.16.21> source root is source agent-deck-1.16.21> Running phase: patchPhase agent-deck-1.16.21> Running phase: updateAutotoolsGnuConfigScriptsPhase agent-deck-1.16.21> Running phase: configurePhase agent-deck-1.16.21> Running phase: buildPhase agent-deck-1.16.21> Building subPackage ./cmd/agent-deck agent-deck-1.16.21> Running phase: checkPhase agent-deck-1.16.21> --- FAIL: TestCodexAcceptanceGuardAcceptsFreshComposerThread (10.26s) agent-deck-1.16.21> codex_fresh_composer_send_test.go:48: pane process never held the writer lock (live thread "") agent-deck-1.16.21> 2026/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=10 agent-deck-1.16.21> Codex notify hook installed successfully. agent-deck-1.16.21> Config: /private/tmp/nix-ZQrgXk/TestCodexHooksInstallUninstall2495860327/001/.codex/config.toml agent-deck-1.16.21> Codex notify hook removed successfully. agent-deck-1.16.21> Codex notify hook upgraded successfully. agent-deck-1.16.21> Config: /private/tmp/nix-ZQrgXk/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers2394558178/001/.codex/config.toml agent-deck-1.16.21> Codex notify hook upgraded successfully. agent-deck-1.16.21> Config: /private/tmp/nix-ZQrgXk/TestCodexHooksInstall_UpgradesLegacyMarkerBlock602479277/001/.codex/config.toml agent-deck-1.16.21> --- FAIL: TestCoreRegistryMatchesLegacyHandlers (16.70s) agent-deck-1.16.21> core_cli_test.go:271: "session restart alpha --force" differs agent-deck-1.16.21> exit legacy=1 registry=1 agent-deck-1.16.21> --- legacy stdout --- agent-deck-1.16.21> agent-deck-1.16.21> --- registry stdout --- agent-deck-1.16.21> agent-deck-1.16.21> --- legacy stderr --- agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 457755cd-1790543075 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 457755cd-1790543075 agent-deck-1.16.21> agent-deck-1.16.21> --- registry stderr --- agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 457755cd-1790543075 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 457755cd-1790543075 agent-deck-1.16.21> 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 "") agent-deck-1.16.21> core_cli_test.go:271: "session restart alpha --force --json" differs agent-deck-1.16.21> exit legacy=1 registry=1 agent-deck-1.16.21> --- legacy stdout --- agent-deck-1.16.21> { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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", agent-deck-1.16.21> "success": false agent-deck-1.16.21> } agent-deck-1.16.21> agent-deck-1.16.21> --- registry stdout --- agent-deck-1.16.21> { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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", agent-deck-1.16.21> "success": false agent-deck-1.16.21> } agent-deck-1.16.21> agent-deck-1.16.21> --- legacy stderr --- agent-deck-1.16.21> agent-deck-1.16.21> --- registry stderr --- agent-deck-1.16.21> core_cli_test.go:271: "session restart beta --env FOO=bar --json" differs agent-deck-1.16.21> exit legacy=1 registry=1 agent-deck-1.16.21> --- legacy stdout --- agent-deck-1.16.21> { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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", agent-deck-1.16.21> "success": false agent-deck-1.16.21> } agent-deck-1.16.21> agent-deck-1.16.21> --- registry stdout --- agent-deck-1.16.21> { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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", agent-deck-1.16.21> "success": false agent-deck-1.16.21> } agent-deck-1.16.21> agent-deck-1.16.21> --- legacy stderr --- agent-deck-1.16.21> agent-deck-1.16.21> --- registry stderr --- agent-deck-1.16.21> core_cli_test.go:271: "session restart --all --json" differs agent-deck-1.16.21> exit legacy=1 registry=1 agent-deck-1.16.21> --- legacy stdout --- agent-deck-1.16.21> { agent-deck-1.16.21> "abandoned": 0, agent-deck-1.16.21> "auth_deaths": 0, agent-deck-1.16.21> "auth_tripped": false, agent-deck-1.16.21> "failed": 3, agent-deck-1.16.21> "restarted": 0, agent-deck-1.16.21> "sessions": [ agent-deck-1.16.21> { agent-deck-1.16.21> "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", agent-deck-1.16.21> "id": "457755cd-1790543075", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "title": "alpha" agent-deck-1.16.21> }, agent-deck-1.16.21> { agent-deck-1.16.21> "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", agent-deck-1.16.21> "id": "b8bdad07-1790543075", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "title": "beta" agent-deck-1.16.21> }, agent-deck-1.16.21> { agent-deck-1.16.21> "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", agent-deck-1.16.21> "id": "3230c4b8-1790543075", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "title": "gamma" agent-deck-1.16.21> } agent-deck-1.16.21> ], agent-deck-1.16.21> "skipped_auth": 0, agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "total": 3, agent-deck-1.16.21> "trip_message": "" agent-deck-1.16.21> } agent-deck-1.16.21> agent-deck-1.16.21> --- registry stdout --- agent-deck-1.16.21> { agent-deck-1.16.21> "abandoned": 0, agent-deck-1.16.21> "auth_deaths": 0, agent-deck-1.16.21> "auth_tripped": false, agent-deck-1.16.21> "failed": 3, agent-deck-1.16.21> "restarted": 0, agent-deck-1.16.21> "sessions": [ agent-deck-1.16.21> { agent-deck-1.16.21> "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", agent-deck-1.16.21> "id": "457755cd-1790543075", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "title": "alpha" agent-deck-1.16.21> }, agent-deck-1.16.21> { agent-deck-1.16.21> "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", agent-deck-1.16.21> "id": "b8bdad07-1790543075", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "title": "beta" agent-deck-1.16.21> }, agent-deck-1.16.21> { agent-deck-1.16.21> "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", agent-deck-1.16.21> "id": "3230c4b8-1790543075", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "title": "gamma" agent-deck-1.16.21> } agent-deck-1.16.21> ], agent-deck-1.16.21> "skipped_auth": 0, agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "total": 3, agent-deck-1.16.21> "trip_message": "" agent-deck-1.16.21> } agent-deck-1.16.21> agent-deck-1.16.21> --- legacy stderr --- agent-deck-1.16.21> agent-deck-1.16.21> --- registry stderr --- agent-deck-1.16.21> core_cli_test.go:271: "session restart --all" differs agent-deck-1.16.21> exit legacy=1 registry=1 agent-deck-1.16.21> --- legacy stdout --- agent-deck-1.16.21> Restarting alpha... agent-deck-1.16.21> Restarting beta... agent-deck-1.16.21> Restarting gamma... agent-deck-1.16.21> Restarted 0/3 sessions (3 failed) agent-deck-1.16.21> agent-deck-1.16.21> --- registry stdout --- agent-deck-1.16.21> Restarting alpha... agent-deck-1.16.21> Restarting beta... agent-deck-1.16.21> Restarting gamma... agent-deck-1.16.21> Restarted 0/3 sessions (3 failed) agent-deck-1.16.21> agent-deck-1.16.21> --- legacy stderr --- agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 457755cd-1790543075 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 457755cd-1790543075 agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect b8bdad07-1790543075 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile b8bdad07-1790543075 agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 3230c4b8-1790543075 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 3230c4b8-1790543075 agent-deck-1.16.21> agent-deck-1.16.21> --- registry stderr --- agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 457755cd-1790543075 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 457755cd-1790543075 agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect b8bdad07-1790543075 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile b8bdad07-1790543075 agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 3230c4b8-1790543075 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 3230c4b8-1790543075 agent-deck-1.16.21> --- FAIL: TestDaemonEnvelopesMatchArgv (5.19s) agent-deck-1.16.21> daemon_cmd_test.go:199: start (daemon CLI): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.start/v1", agent-deck-1.16.21> "request_id": "6e59eec4c5dc3658", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:224: start: envelopes differ agent-deck-1.16.21> 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":[]} agent-deck-1.16.21> 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":[]} agent-deck-1.16.21> daemon_cmd_test.go:199: restart fresh session is skipped (argv): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.21> "request_id": "cf1d54492fa6cc5c", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:199: restart fresh session is skipped (daemon CLI): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.21> "request_id": "7f3485c497a64586", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:199: restart --force (argv): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.21> "request_id": "0ea0f7af4e8b9e3b", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:199: restart --force (daemon CLI): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.21> "request_id": "1934692510e5f26f", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:199: restart --all (argv): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.21> "request_id": "e09e88d6d6cbc8a0", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "NO_ACTIVE_SESSIONS", agent-deck-1.16.21> "message": "no active sessions to restart" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:199: restart --all (daemon CLI): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.21> "request_id": "30158f3cd162683d", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "NO_ACTIVE_SESSIONS", agent-deck-1.16.21> "message": "no active sessions to restart" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:199: stop (argv): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.stop/v1", agent-deck-1.16.21> "request_id": "99ca0e0160b0f750", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "NOT_RUNNING", agent-deck-1.16.21> "message": "session 'alpha' is not running" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:199: stop setup session start alpha --json=envelope: ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.start/v1", agent-deck-1.16.21> "request_id": "916511704264313b", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "INVALID_OPERATION", agent-deck-1.16.21> "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" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> daemon_cmd_test.go:199: stop (daemon CLI): ok=false, want true agent-deck-1.16.21> { agent-deck-1.16.21> "schema": "agent-deck/session.stop/v1", agent-deck-1.16.21> "request_id": "ceb1b1dfccba931b", agent-deck-1.16.21> "ok": false, agent-deck-1.16.21> "data": null, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null, agent-deck-1.16.21> "error": { agent-deck-1.16.21> "code": "NOT_RUNNING", agent-deck-1.16.21> "message": "session 'alpha' is not running" agent-deck-1.16.21> } agent-deck-1.16.21> } agent-deck-1.16.21> --- FAIL: TestDaemonRestartAllReturnsCompletedResult (9.66s) agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 75472dfe-1790543099 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 75472dfe-1790543099 SpawnFailure: 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 918aacf1-1790543099 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 918aacf1-1790543099 SpawnFailure: 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 9982f494-1790543099 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 9982f494-1790543099 SpawnFailure: 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 223c26b6-1790543099 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 223c26b6-1790543099 SpawnFailure: 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) agent-deck-1.16.21> 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 agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect 4cc7f4e8-1790543099 agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile 4cc7f4e8-1790543099 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false}]}}}: { agent-deck-1.16.21> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.21> "request_id": "7f0cdf17fc33d85f", agent-deck-1.16.21> "ok": true, agent-deck-1.16.21> "data": { agent-deck-1.16.21> "all": { agent-deck-1.16.21> "total": 5, agent-deck-1.16.21> "restarted": 0, agent-deck-1.16.21> "failed": 5, agent-deck-1.16.21> "skipped_auth": 0, agent-deck-1.16.21> "auth_deaths": 0, agent-deck-1.16.21> "abandoned": 0, agent-deck-1.16.21> "auth_tripped": false, agent-deck-1.16.21> "trip_message": "", agent-deck-1.16.21> "sessions": [ agent-deck-1.16.21> { agent-deck-1.16.21> "id": "75472dfe-1790543099", agent-deck-1.16.21> "title": "alpha", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "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" agent-deck-1.16.21> }, agent-deck-1.16.21> { agent-deck-1.16.21> "id": "918aacf1-1790543099", agent-deck-1.16.21> "title": "beta", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "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" agent-deck-1.16.21> }, agent-deck-1.16.21> { agent-deck-1.16.21> "id": "9982f494-1790543099", agent-deck-1.16.21> "title": "gamma", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "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" agent-deck-1.16.21> }, agent-deck-1.16.21> { agent-deck-1.16.21> "id": "223c26b6-1790543099", agent-deck-1.16.21> "title": "delta", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "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" agent-deck-1.16.21> }, agent-deck-1.16.21> { agent-deck-1.16.21> "id": "4cc7f4e8-1790543099", agent-deck-1.16.21> "title": "epsilon", agent-deck-1.16.21> "success": false, agent-deck-1.16.21> "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" agent-deck-1.16.21> } agent-deck-1.16.21> ] agent-deck-1.16.21> } agent-deck-1.16.21> }, agent-deck-1.16.21> "warnings": [], agent-deck-1.16.21> "revision": null agent-deck-1.16.21> } agent-deck-1.16.21> agent-deck-1.16.21> agent-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. agent-deck-1.16.21> Gemini hooks installed successfully. agent-deck-1.16.21> Config: /private/tmp/nix-ZQrgXk/TestGeminiHooksInstallUninstall3907531644/001/.gemini/settings.json agent-deck-1.16.21> Gemini hooks removed successfully. agent-deck-1.16.21> --- FAIL: TestStorageBytesGoldens (3.01s) agent-deck-1.16.21> goldens_storage_test.go:81: agent-deck session start golden-sess-shell --no-wait (exit 0): agent-deck-1.16.21> stdout: agent-deck-1.16.21> ✓ Started session: storage bytes shell agent-deck-1.16.21> agent-deck-1.16.21> stderr: agent-deck-1.16.21> goldens_storage_test.go:85: agent-deck session stop golden-sess-shell (exit 0): agent-deck-1.16.21> stdout: agent-deck-1.16.21> ✓ Stopped session: storage bytes shell agent-deck-1.16.21> agent-deck-1.16.21> stderr: agent-deck-1.16.21> goldens_storage_test.go:89: agent-deck session restart golden-sess-shell (exit 1): agent-deck-1.16.21> stdout: agent-deck-1.16.21> agent-deck-1.16.21> stderr: agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 $PATH agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect golden-sess-shell agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile golden-sess-shell agent-deck-1.16.21> goldens_storage_test.go:89: agent-deck session restart golden-sess-shell: exit 1 agent-deck-1.16.21> stdout: agent-deck-1.16.21> agent-deck-1.16.21> stderr: agent-deck-1.16.21> 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) agent-deck-1.16.21> 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 $PATH agent-deck-1.16.21> Nothing was started and nothing was signalled. agent-deck-1.16.21> Inspect: agent-deck session ownership inspect golden-sess-shell agent-deck-1.16.21> Reap and clear: agent-deck session ownership reconcile golden-sess-shell agent-deck-1.16.21> ✓ Reordered group 'Beta': position 1 → 0 agent-deck-1.16.21> ✓ Reordered group 'Beta': position 1 → 2 agent-deck-1.16.21> ✓ Reordered group 'Gamma': position 2 → 0 agent-deck-1.16.21> ✓ Reordered group 'Alpha': position 0 → 0 agent-deck-1.16.21> ✓ Reordered group 'Gamma': position 2 → 2 agent-deck-1.16.21> ✓ Reordered group 'Alpha': position 0 → 2 agent-deck-1.16.21> Removing worktree at ~/wt-1576... agent-deck-1.16.21> ✓ Worktree removed agent-deck-1.16.21> swept 1 stale inbox event(s) for removed session agent-deck-1.16.21> agent-deck-1.16.21> ✓ Finished: session 'wt-finish-1576' removed, worktree cleaned up agent-deck-1.16.21> --- FAIL: TestIssue2394_HydratePrefersLiveThreadOverGuessedPaneIdentity (10.40s) agent-deck-1.16.21> issue2394_codex_foreign_identity_test.go:53: pane process never held the writer lock (live thread "") agent-deck-1.16.21> --- FAIL: TestIssue2400_ArchiveKeepsLiveCodexIdentity (10.41s) agent-deck-1.16.21> issue2396_2400_codex_launch_identity_test.go:95: pane process never held the thread open (live thread "") agent-deck-1.16.21> --- FAIL: TestIssue2396_FirstTurnOutputIsBoundToItsConversation (10.42s) agent-deck-1.16.21> issue2396_2400_codex_launch_identity_test.go:109: pane process never held the thread open (live thread "") agent-deck-1.16.21> remote-agent: probe: storage gone agent-deck-1.16.21> remote-agent: binary upgraded (running v1.16.21); exiting so the controller reconnects agent-deck-1.16.21> remote-agent: probe produced no listing (Error: database is locked) agent-deck-1.16.21> remote-agent: probe produced no listing ([]) agent-deck-1.16.21> remote-agent: no input for 300ms, exiting agent-deck-1.16.21> agent-deck-1.16.21> ═══ Remote: offline (a@offline) ═══ agent-deck-1.16.21> – Skipped: agent-deck not found on remote or host unreachable agent-deck-1.16.21> agent-deck-1.16.21> ═══ Remote: offline (a@offline) ═══ agent-deck-1.16.21> ✗ Failed: stub: no platform agent-deck-1.16.21> A remote sweep is already running on this controller (pid 40559, started 9:07PM); waiting for it... agent-deck-1.16.21> agent-deck-1.16.21> ═══ Remote: lab (a@lab) ═══ agent-deck-1.16.21> – Skipped: sweep already in progress, remote lab is being updated by 40559 agent-deck-1.16.21> agent-deck-1.16.21> ═══ Remote: other (a@other) ═══ agent-deck-1.16.21> ✓ Up to date (v1.16.0) agent-deck-1.16.21> agent-deck-1.16.21> ═══ Remote: lab (a@lab) ═══ agent-deck-1.16.21> ✓ Up to date (v1.16.0) agent-deck-1.16.21> agent-deck-1.16.21> ═══ Remote: other (a@other) ═══ agent-deck-1.16.21> ✓ Up to date (v1.16.0) agent-deck-1.16.21> Warning: 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 found agent-deck-1.16.21> The session is running; agent-deck may show it as errored until the name is saved. agent-deck-1.16.21> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.21> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.21> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.21> Launch agent re-registration deferred: a remote sweep (pid 12345, started 21:09:06) is still running agent-deck-1.16.21> Imported 2 channel(s) agent-deck-1.16.21> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.21> C1BBCDF6HLE -> feat-req/watcher.toml agent-deck-1.16.21> agent-deck-1.16.21> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.21> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.21> Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_EndToEnd1201251387/002/clients.json agent-deck-1.16.21> Imported 1 channel(s) agent-deck-1.16.21> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.21> agent-deck-1.16.21> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.21> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.21> Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_Idempotent2902094842/002/clients.json agent-deck-1.16.21> Imported 1 channel(s) agent-deck-1.16.21> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.21> agent-deck-1.16.21> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.21> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.21> Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_Idempotent2902094842/002/clients.json agent-deck-1.16.21> Imported 0 channel(s) agent-deck-1.16.21> Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_EmptyChannels3766215905/002/clients.json agent-deck-1.16.21> Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestWatcherInstallSkill1418523701/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.21> Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestWatcherInstallSkill_DirMode2180227580/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.21> Created watcher: create-topic-ntfy (type: ntfy) agent-deck-1.16.21> Created watcher: create-topic-slack (type: slack) agent-deck-1.16.21> Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath2225939769/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.21> FAIL agent-deck-1.16.21> FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 309.085s agent-deck-1.16.21> FAIL error: build of '/nix/store/gd5y78jy4fnkdj4b6b545mbrc79jgird-agent-deck-1.16.21.drv' on 'ssh-ng://customer@mac02.m.ntd.one' failed: Cannot build '/nix/store/gd5y78jy4fnkdj4b6b545mbrc79jgird-agent-deck-1.16.21.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/v37bcarfyhzm03dxfi3mz4h82acx8m1d-agent-deck-1.16.21 Last 25 log lines: > Note: Set the ntfy topic in each watcher.toml (all Slack channels > share one ntfy topic from the Cloudflare Worker). > Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_EndToEnd1201251387/002/clients.json > Imported 1 channel(s) > C0AABSF5GKD -> si-bugs/watcher.toml > > Note: Set the ntfy topic in each watcher.toml (all Slack channels > share one ntfy topic from the Cloudflare Worker). > Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_Idempotent2902094842/002/clients.json > Imported 1 channel(s) > C0AABSF5GKD -> si-bugs/watcher.toml > > Note: Set the ntfy topic in each watcher.toml (all Slack channels > share one ntfy topic from the Cloudflare Worker). > Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_Idempotent2902094842/002/clients.json > Imported 0 channel(s) > Clients written to: /private/tmp/nix-ZQrgXk/TestImportChannels_EmptyChannels3766215905/002/clients.json > Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestWatcherInstallSkill1418523701/001/xdg-config/agent-deck/skills/pool/watcher-creator > Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestWatcherInstallSkill_DirMode2180227580/001/xdg-config/agent-deck/skills/pool/watcher-creator > Created watcher: create-topic-ntfy (type: ntfy) > Created watcher: create-topic-slack (type: slack) > Installed skill: watcher-creator -> /private/tmp/nix-ZQrgXk/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath2225939769/001/xdg-config/agent-deck/skills/pool/watcher-creator > FAIL > FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 309.085s > FAIL For full logs, run: nix log /nix/store/gd5y78jy4fnkdj4b6b545mbrc79jgird-agent-deck-1.16.21.drv error: Cannot build '/nix/store/gd5y78jy4fnkdj4b6b545mbrc79jgird-agent-deck-1.16.21.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/v37bcarfyhzm03dxfi3mz4h82acx8m1d-agent-deck-1.16.21 error: Cannot build '/nix/store/kmyfxbn8yil98swifx1d0xis53wiglxl-check-agent-deck.drv'. Reason: 1 dependency failed. Output paths: /nix/store/cbc2vcsx2mqsf9blv5wk2p5fl9r4hlkj-check-agent-deck