these 4 derivations will be built: /nix/store/h4ypmbphk368wl0garcjp8qvfzk0da5w-source.drv /nix/store/fgzjp44h5v2srich8jc5ac418rrl1jj6-agent-deck-1.16.20-go-modules.drv /nix/store/rrfhs1pa5fg5yf8rvgj25pibzwfq6xyx-agent-deck-1.16.20.drv /nix/store/fqnv09ywq3nl80k21mxhxfsayrh6zlri-check-agent-deck.drv building '/nix/store/pr62h5hnf07kcqybfygz50q99rp7iij9-source.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/pr62h5hnf07kcqybfygz50q99rp7iij9-source.drv' source> structuredAttrs is enabled source> source> trying https://github.com/asheshgoplani/agent-deck/archive/refs/tags/v1.16.20.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 19.00M 0 19.00M 0 0 14.96M 0 00:01 18.32M source> 100 49.07M 0 49.07M 0 0 21.61M 0 00:02 24.09M source> 100 74.75M 0 74.75M 0 0 22.85M 0 00:03 24.60M source> 100 104.0M 0 104.0M 0 0 24.37M 0 00:04 25.77M source> 100 131.7M 0 131.7M 0 0 24.99M 0 00:05 26.14M source> 100 143.2M 0 143.2M 0 0 22.83M 0 00:06 24.82M source> 100 145.4M 0 145.4M 0 0 22.79M 0 00:06 24.82M source> 100 145.4M 0 145.4M 0 0 22.79M 0 00:06 24.82M source> 100 145.4M 0 145.4M 0 0 22.79M 0 00:06 24.82M source> unpacking source archive /nix/var/nix/builds/nix-2135-3387225763/download.tar.gz building '/nix/store/4mv8bvrly956qfwm2s5k3hhwxfw5nls4-agent-deck-1.16.20-go-modules.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/4mv8bvrly956qfwm2s5k3hhwxfw5nls4-agent-deck-1.16.20-go-modules.drv' agent-deck-1.16.20-go-modules> Running phase: unpackPhase agent-deck-1.16.20-go-modules> unpacking source archive /nix/store/ifmx005iydxd7cfkvlkpnlf50ndvbp7x-source agent-deck-1.16.20-go-modules> source root is source agent-deck-1.16.20-go-modules> Running phase: patchPhase agent-deck-1.16.20-go-modules> Running phase: updateAutotoolsGnuConfigScriptsPhase agent-deck-1.16.20-go-modules> Running phase: configurePhase agent-deck-1.16.20-go-modules> Running phase: buildPhase agent-deck-1.16.20-go-modules> go: downloading github.com/stretchr/testify v1.12.1 agent-deck-1.16.20-go-modules> go: downloading gopkg.in/yaml.v3 v3.0.1 agent-deck-1.16.20-go-modules> go: downloading golang.org/x/sys v0.47.0 agent-deck-1.16.20-go-modules> go: downloading github.com/fsnotify/fsnotify v1.10.1 agent-deck-1.16.20-go-modules> go: downloading github.com/google/uuid v1.6.0 agent-deck-1.16.20-go-modules> go: downloading al.essio.dev/pkg/shellescape v1.6.0 agent-deck-1.16.20-go-modules> go: downloading github.com/sahilm/fuzzy v0.1.3 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/bubbletea v1.3.10 agent-deck-1.16.20-go-modules> go: downloading github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/lipgloss v1.1.0 agent-deck-1.16.20-go-modules> go: downloading golang.org/x/sync v0.22.0 agent-deck-1.16.20-go-modules> go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 agent-deck-1.16.20-go-modules> go: downloading golang.org/x/term v0.45.0 agent-deck-1.16.20-go-modules> go: downloading github.com/muesli/termenv v0.16.0 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/bubbles v1.0.0 agent-deck-1.16.20-go-modules> go: downloading github.com/klauspost/compress v1.19.2 agent-deck-1.16.20-go-modules> go: downloading github.com/gorilla/websocket v1.5.3 agent-deck-1.16.20-go-modules> go: downloading modernc.org/sqlite v1.57.0 agent-deck-1.16.20-go-modules> go: downloading github.com/creack/pty v1.1.24 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/exp/teatest v0.0.0-20260413165052-6921c759c913 agent-deck-1.16.20-go-modules> go: downloading github.com/BurntSushi/toml v1.6.0 agent-deck-1.16.20-go-modules> go: downloading go.uber.org/goleak v1.3.0 agent-deck-1.16.20-go-modules> go: downloading github.com/thiagokokada/dark-mode-go v0.0.2 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/ansi v0.11.8 agent-deck-1.16.20-go-modules> go: downloading cloud.google.com/go/pubsub v1.51.1 agent-deck-1.16.20-go-modules> go: downloading golang.org/x/crypto v0.55.0 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/vt v0.0.0-20260828171018-3c30eef5e73e agent-deck-1.16.20-go-modules> go: downloading golang.org/x/oauth2 v0.36.0 agent-deck-1.16.20-go-modules> go: downloading github.com/SherClockHolmes/webpush-go v1.4.0 agent-deck-1.16.20-go-modules> go: downloading cloud.google.com/go v0.123.0 agent-deck-1.16.20-go-modules> go: downloading golang.org/x/time v0.15.0 agent-deck-1.16.20-go-modules> go: downloading github.com/rivo/uniseg v0.4.7 agent-deck-1.16.20-go-modules> go: downloading github.com/evanw/esbuild v0.28.2 agent-deck-1.16.20-go-modules> go: downloading github.com/mattn/go-runewidth v0.0.28 agent-deck-1.16.20-go-modules> go: downloading google.golang.org/api v0.295.0 agent-deck-1.16.20-go-modules> go: downloading google.golang.org/grpc v1.83.2 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/term v0.2.2 agent-deck-1.16.20-go-modules> go: downloading github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f agent-deck-1.16.20-go-modules> go: downloading github.com/mattn/go-localereader v0.0.1 agent-deck-1.16.20-go-modules> go: downloading github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 agent-deck-1.16.20-go-modules> go: downloading github.com/muesli/cancelreader v0.2.2 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/cellbuf v0.0.15 agent-deck-1.16.20-go-modules> go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1 agent-deck-1.16.20-go-modules> go: downloading github.com/lucasb-eyer/go-colorful v1.4.0 agent-deck-1.16.20-go-modules> go: downloading github.com/mattn/go-isatty v0.0.24 agent-deck-1.16.20-go-modules> go: downloading github.com/atotto/clipboard v0.1.4 agent-deck-1.16.20-go-modules> go: downloading github.com/clipperhouse/displaywidth v0.11.0 agent-deck-1.16.20-go-modules> go: downloading github.com/clipperhouse/uax29/v2 v2.7.0 agent-deck-1.16.20-go-modules> go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 agent-deck-1.16.20-go-modules> go: downloading cloud.google.com/go/compute/metadata v0.9.0 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/ultraviolet v0.0.0-20260303162955-0b88c25f3fff agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/exp/ordered v0.1.0 agent-deck-1.16.20-go-modules> go: downloading github.com/godbus/dbus/v5 v5.1.0 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 agent-deck-1.16.20-go-modules> go: downloading cloud.google.com/go/iam v1.12.0 agent-deck-1.16.20-go-modules> go: downloading github.com/googleapis/gax-go/v2 v2.24.0 agent-deck-1.16.20-go-modules> go: downloading go.opencensus.io v0.24.0 agent-deck-1.16.20-go-modules> go: downloading go.opentelemetry.io/otel v1.45.0 agent-deck-1.16.20-go-modules> go: downloading go.opentelemetry.io/otel/trace v1.45.0 agent-deck-1.16.20-go-modules> go: downloading google.golang.org/protobuf v1.36.12 agent-deck-1.16.20-go-modules> go: downloading go.einride.tech/aip v0.83.0 agent-deck-1.16.20-go-modules> go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d agent-deck-1.16.20-go-modules> go: downloading golang.org/x/text v0.41.0 agent-deck-1.16.20-go-modules> go: downloading google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d agent-deck-1.16.20-go-modules> go: downloading go.yaml.in/yaml/v3 v3.0.5 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/colorprofile v0.4.2 agent-deck-1.16.20-go-modules> go: downloading golang.org/x/net v0.58.0 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/termios v0.1.1 agent-deck-1.16.20-go-modules> go: downloading github.com/charmbracelet/x/windows v0.2.2 agent-deck-1.16.20-go-modules> go: downloading github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e agent-deck-1.16.20-go-modules> go: downloading cloud.google.com/go/pubsub/v2 v2.6.0 agent-deck-1.16.20-go-modules> go: downloading github.com/aymanbagabas/go-udiff v0.3.1 agent-deck-1.16.20-go-modules> go: downloading go.opentelemetry.io/otel/metric v1.45.0 agent-deck-1.16.20-go-modules> go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 agent-deck-1.16.20-go-modules> go: downloading github.com/go-logr/logr v1.4.4 agent-deck-1.16.20-go-modules> go: downloading github.com/google/go-cmp v0.7.0 agent-deck-1.16.20-go-modules> go: downloading go.opentelemetry.io/otel/sdk v1.45.0 agent-deck-1.16.20-go-modules> go: downloading modernc.org/libc v1.74.4 agent-deck-1.16.20-go-modules> go: downloading github.com/go-logr/stdr v1.2.2 agent-deck-1.16.20-go-modules> go: downloading go.opentelemetry.io/auto/sdk v1.2.1 agent-deck-1.16.20-go-modules> go: downloading github.com/cespare/xxhash/v2 v2.3.0 agent-deck-1.16.20-go-modules> go: downloading cloud.google.com/go/auth v0.23.2 agent-deck-1.16.20-go-modules> go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8 agent-deck-1.16.20-go-modules> go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 agent-deck-1.16.20-go-modules> go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 agent-deck-1.16.20-go-modules> go: downloading github.com/google/s2a-go v0.1.9 agent-deck-1.16.20-go-modules> go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.20 agent-deck-1.16.20-go-modules> go: downloading github.com/felixge/httpsnoop v1.0.4 agent-deck-1.16.20-go-modules> go: downloading github.com/ncruces/go-strftime v1.0.0 agent-deck-1.16.20-go-modules> go: downloading modernc.org/memory v1.11.0 agent-deck-1.16.20-go-modules> go: downloading github.com/dustin/go-humanize v1.0.1 agent-deck-1.16.20-go-modules> go: downloading modernc.org/mathutil v1.7.1 agent-deck-1.16.20-go-modules> go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec agent-deck-1.16.20-go-modules> Running phase: installPhase building '/nix/store/rrfhs1pa5fg5yf8rvgj25pibzwfq6xyx-agent-deck-1.16.20.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/rrfhs1pa5fg5yf8rvgj25pibzwfq6xyx-agent-deck-1.16.20.drv' agent-deck-1.16.20> Using versionCheckHook agent-deck-1.16.20> Running phase: unpackPhase agent-deck-1.16.20> unpacking source archive /nix/store/ifmx005iydxd7cfkvlkpnlf50ndvbp7x-source agent-deck-1.16.20> source root is source agent-deck-1.16.20> Running phase: patchPhase agent-deck-1.16.20> Running phase: updateAutotoolsGnuConfigScriptsPhase agent-deck-1.16.20> Running phase: configurePhase agent-deck-1.16.20> Running phase: buildPhase agent-deck-1.16.20> Building subPackage ./cmd/agent-deck agent-deck-1.16.20> Running phase: checkPhase agent-deck-1.16.20> --- FAIL: TestCodexAcceptanceGuardAcceptsFreshComposerThread (10.28s) agent-deck-1.16.20> codex_fresh_composer_send_test.go:48: pane process never held the writer lock (live thread "") agent-deck-1.16.20> 2026/09/27 04:05:50 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-dMwexg/TestWriteCodexHookStatus_PartialPriorFailsClosed656583144/001/.local/share/agent-deck/hooks/partial.json bytes=10 agent-deck-1.16.20> Codex notify hook installed successfully. agent-deck-1.16.20> Config: /private/tmp/nix-dMwexg/TestCodexHooksInstallUninstall1593137181/001/.codex/config.toml agent-deck-1.16.20> Codex notify hook removed successfully. agent-deck-1.16.20> Codex notify hook upgraded successfully. agent-deck-1.16.20> Config: /private/tmp/nix-dMwexg/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers2594944438/001/.codex/config.toml agent-deck-1.16.20> Codex notify hook upgraded successfully. agent-deck-1.16.20> Config: /private/tmp/nix-dMwexg/TestCodexHooksInstall_UpgradesLegacyMarkerBlock851216640/001/.codex/config.toml agent-deck-1.16.20> --- FAIL: TestCoreRegistryMatchesLegacyHandlers (15.56s) agent-deck-1.16.20> core_cli_test.go:271: "session restart alpha --force" differs agent-deck-1.16.20> exit legacy=1 registry=1 agent-deck-1.16.20> --- legacy stdout --- agent-deck-1.16.20> agent-deck-1.16.20> --- registry stdout --- agent-deck-1.16.20> agent-deck-1.16.20> --- legacy stderr --- agent-deck-1.16.20> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5500) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=5500 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect d549ca16-1790481951 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile d549ca16-1790481951 agent-deck-1.16.20> agent-deck-1.16.20> --- registry stderr --- agent-deck-1.16.20> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5540) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=5540 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect d549ca16-1790481951 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile d549ca16-1790481951 agent-deck-1.16.20> 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 5540) could not be identified, so anything it started is unaccounted for; nothing was signalled)\\n unverifiable: pid=5540 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 d549ca16-1790481951\\nReap and clear: agent-deck session ownership reconcile d549ca16-1790481951\",\n \"success\": false\n}\n", want success containing "\"success\": true" (stderr "") agent-deck-1.16.20> core_cli_test.go:271: "session restart alpha --force --json" differs agent-deck-1.16.20> exit legacy=1 registry=1 agent-deck-1.16.20> --- legacy stdout --- agent-deck-1.16.20> { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5500) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5500 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 d549ca16-1790481951\nReap and clear: agent-deck session ownership reconcile d549ca16-1790481951", agent-deck-1.16.20> "success": false agent-deck-1.16.20> } agent-deck-1.16.20> agent-deck-1.16.20> --- registry stdout --- agent-deck-1.16.20> { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5540) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5540 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 d549ca16-1790481951\nReap and clear: agent-deck session ownership reconcile d549ca16-1790481951", agent-deck-1.16.20> "success": false agent-deck-1.16.20> } agent-deck-1.16.20> agent-deck-1.16.20> --- legacy stderr --- agent-deck-1.16.20> agent-deck-1.16.20> --- registry stderr --- agent-deck-1.16.20> core_cli_test.go:271: "session restart beta --env FOO=bar --json" differs agent-deck-1.16.20> exit legacy=1 registry=1 agent-deck-1.16.20> --- legacy stdout --- agent-deck-1.16.20> { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5590) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5590 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 8568ca3e-1790481951\nReap and clear: agent-deck session ownership reconcile 8568ca3e-1790481951", agent-deck-1.16.20> "success": false agent-deck-1.16.20> } agent-deck-1.16.20> agent-deck-1.16.20> --- registry stdout --- agent-deck-1.16.20> { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5626) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5626 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 8568ca3e-1790481951\nReap and clear: agent-deck session ownership reconcile 8568ca3e-1790481951", agent-deck-1.16.20> "success": false agent-deck-1.16.20> } agent-deck-1.16.20> agent-deck-1.16.20> --- legacy stderr --- agent-deck-1.16.20> agent-deck-1.16.20> --- registry stderr --- agent-deck-1.16.20> core_cli_test.go:271: "session restart --all --json" differs agent-deck-1.16.20> exit legacy=1 registry=1 agent-deck-1.16.20> --- legacy stdout --- agent-deck-1.16.20> { agent-deck-1.16.20> "abandoned": 0, agent-deck-1.16.20> "auth_deaths": 0, agent-deck-1.16.20> "auth_tripped": false, agent-deck-1.16.20> "failed": 3, agent-deck-1.16.20> "restarted": 0, agent-deck-1.16.20> "sessions": [ agent-deck-1.16.20> { agent-deck-1.16.20> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5500) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5500 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 d549ca16-1790481951\nReap and clear: agent-deck session ownership reconcile d549ca16-1790481951", agent-deck-1.16.20> "id": "d549ca16-1790481951", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "title": "alpha" agent-deck-1.16.20> }, agent-deck-1.16.20> { agent-deck-1.16.20> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5590) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5590 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 8568ca3e-1790481951\nReap and clear: agent-deck session ownership reconcile 8568ca3e-1790481951", agent-deck-1.16.20> "id": "8568ca3e-1790481951", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "title": "beta" agent-deck-1.16.20> }, agent-deck-1.16.20> { agent-deck-1.16.20> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5662) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5662 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 60238f3d-1790481951\nReap and clear: agent-deck session ownership reconcile 60238f3d-1790481951", agent-deck-1.16.20> "id": "60238f3d-1790481951", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "title": "gamma" agent-deck-1.16.20> } agent-deck-1.16.20> ], agent-deck-1.16.20> "skipped_auth": 0, agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "total": 3, agent-deck-1.16.20> "trip_message": "" agent-deck-1.16.20> } agent-deck-1.16.20> agent-deck-1.16.20> --- registry stdout --- agent-deck-1.16.20> { agent-deck-1.16.20> "abandoned": 0, agent-deck-1.16.20> "auth_deaths": 0, agent-deck-1.16.20> "auth_tripped": false, agent-deck-1.16.20> "failed": 3, agent-deck-1.16.20> "restarted": 0, agent-deck-1.16.20> "sessions": [ agent-deck-1.16.20> { agent-deck-1.16.20> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5540) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5540 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 d549ca16-1790481951\nReap and clear: agent-deck session ownership reconcile d549ca16-1790481951", agent-deck-1.16.20> "id": "d549ca16-1790481951", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "title": "alpha" agent-deck-1.16.20> }, agent-deck-1.16.20> { agent-deck-1.16.20> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5626) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5626 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 8568ca3e-1790481951\nReap and clear: agent-deck session ownership reconcile 8568ca3e-1790481951", agent-deck-1.16.20> "id": "8568ca3e-1790481951", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "title": "beta" agent-deck-1.16.20> }, agent-deck-1.16.20> { agent-deck-1.16.20> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5698) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=5698 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 60238f3d-1790481951\nReap and clear: agent-deck session ownership reconcile 60238f3d-1790481951", agent-deck-1.16.20> "id": "60238f3d-1790481951", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "title": "gamma" agent-deck-1.16.20> } agent-deck-1.16.20> ], agent-deck-1.16.20> "skipped_auth": 0, agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "total": 3, agent-deck-1.16.20> "trip_message": "" agent-deck-1.16.20> } agent-deck-1.16.20> agent-deck-1.16.20> --- legacy stderr --- agent-deck-1.16.20> agent-deck-1.16.20> --- registry stderr --- agent-deck-1.16.20> core_cli_test.go:271: "session restart --all" differs agent-deck-1.16.20> exit legacy=1 registry=1 agent-deck-1.16.20> --- legacy stdout --- agent-deck-1.16.20> Restarting alpha... agent-deck-1.16.20> Restarting beta... agent-deck-1.16.20> Restarting gamma... agent-deck-1.16.20> Restarted 0/3 sessions (3 failed) agent-deck-1.16.20> agent-deck-1.16.20> --- registry stdout --- agent-deck-1.16.20> Restarting alpha... agent-deck-1.16.20> Restarting beta... agent-deck-1.16.20> Restarting gamma... agent-deck-1.16.20> Restarted 0/3 sessions (3 failed) agent-deck-1.16.20> agent-deck-1.16.20> --- legacy stderr --- agent-deck-1.16.20> Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5500) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=5500 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect d549ca16-1790481951 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile d549ca16-1790481951 agent-deck-1.16.20> Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5590) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=5590 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect 8568ca3e-1790481951 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile 8568ca3e-1790481951 agent-deck-1.16.20> Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5662) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=5662 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect 60238f3d-1790481951 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile 60238f3d-1790481951 agent-deck-1.16.20> agent-deck-1.16.20> --- registry stderr --- agent-deck-1.16.20> Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5540) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=5540 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect d549ca16-1790481951 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile d549ca16-1790481951 agent-deck-1.16.20> Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5626) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=5626 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect 8568ca3e-1790481951 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile 8568ca3e-1790481951 agent-deck-1.16.20> Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 5698) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=5698 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect 60238f3d-1790481951 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile 60238f3d-1790481951 agent-deck-1.16.20> --- FAIL: TestDaemonEnvelopesMatchArgv (3.85s) agent-deck-1.16.20> daemon_cmd_test.go:199: start (daemon CLI): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.start/v1", agent-deck-1.16.20> "request_id": "48ecf700c2501331", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6202) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6202 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 b9722e2d-1790481967\nReap and clear: agent-deck session ownership reconcile b9722e2d-1790481967" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:224: start: envelopes differ agent-deck-1.16.20> argv: {"data":{"group":"work","id":"b9722e2d-1790481967","status":"started","title":"alpha","tmux":"agentdeck_alpha_87605b8d"},"ok":true,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]} agent-deck-1.16.20> 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 6202) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6202 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 b9722e2d-1790481967\nReap and clear: agent-deck session ownership reconcile b9722e2d-1790481967"},"ok":false,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]} agent-deck-1.16.20> daemon_cmd_test.go:199: restart fresh session is skipped (argv): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.20> "request_id": "3b507133ceda4788", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6202) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6202 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 b9722e2d-1790481967\nReap and clear: agent-deck session ownership reconcile b9722e2d-1790481967" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:199: restart fresh session is skipped (daemon CLI): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.20> "request_id": "6b989d597b31b2f4", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6202) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6202 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 b9722e2d-1790481967\nReap and clear: agent-deck session ownership reconcile b9722e2d-1790481967" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:199: restart --force (argv): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.20> "request_id": "686c7f647df52170", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6202) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6202 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 b9722e2d-1790481967\nReap and clear: agent-deck session ownership reconcile b9722e2d-1790481967" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:199: restart --force (daemon CLI): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.20> "request_id": "fec9584112ce1df4", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6202) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6202 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 b9722e2d-1790481967\nReap and clear: agent-deck session ownership reconcile b9722e2d-1790481967" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:199: restart --all (argv): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.20> "request_id": "28f5a99a8c1d81ef", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "NO_ACTIVE_SESSIONS", agent-deck-1.16.20> "message": "no active sessions to restart" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:199: restart --all (daemon CLI): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.20> "request_id": "eda6ef6f5e3a9e90", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "NO_ACTIVE_SESSIONS", agent-deck-1.16.20> "message": "no active sessions to restart" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:199: stop (argv): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.stop/v1", agent-deck-1.16.20> "request_id": "03fa606dcecdf689", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "NOT_RUNNING", agent-deck-1.16.20> "message": "session 'alpha' is not running" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:199: stop setup session start alpha --json=envelope: ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.start/v1", agent-deck-1.16.20> "request_id": "ab91b8d549f63c5e", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "INVALID_OPERATION", agent-deck-1.16.20> "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6202) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6202 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 b9722e2d-1790481967\nReap and clear: agent-deck session ownership reconcile b9722e2d-1790481967" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> daemon_cmd_test.go:199: stop (daemon CLI): ok=false, want true agent-deck-1.16.20> { agent-deck-1.16.20> "schema": "agent-deck/session.stop/v1", agent-deck-1.16.20> "request_id": "daebfd3e72ffc9ab", agent-deck-1.16.20> "ok": false, agent-deck-1.16.20> "data": null, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null, agent-deck-1.16.20> "error": { agent-deck-1.16.20> "code": "NOT_RUNNING", agent-deck-1.16.20> "message": "session 'alpha' is not running" agent-deck-1.16.20> } agent-deck-1.16.20> } agent-deck-1.16.20> --- FAIL: TestDaemonRestartAllReturnsCompletedResult (7.74s) agent-deck-1.16.20> 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:0838ef6a-1790481971 Title:alpha Success:0x7ca9bb2d8cd9 Error:failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6391) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=6391 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect 0838ef6a-1790481971 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile 0838ef6a-1790481971 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:ffddc408-1790481971 Title:beta Success:0x7ca9bb2d8ce0 Error:failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6429) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=6429 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect ffddc408-1790481971 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile ffddc408-1790481971 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:824318ca-1790481971 Title:gamma Success:0x7ca9bb2d8ce6 Error:failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6465) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=6465 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect 824318ca-1790481971 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile 824318ca-1790481971 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:2ca4d9b7-1790481971 Title:delta Success:0x7ca9bb2d8cec Error:failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6501) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=6501 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect 2ca4d9b7-1790481971 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile 2ca4d9b7-1790481971 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:1603a672-1790481971 Title:epsilon Success:0x7ca9bb2d8cf7 Error:failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6537) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=6537 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect 1603a672-1790481971 agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile 1603a672-1790481971 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false}]}}}: { agent-deck-1.16.20> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.20> "request_id": "5694f26da6c4f3ce", agent-deck-1.16.20> "ok": true, agent-deck-1.16.20> "data": { agent-deck-1.16.20> "all": { agent-deck-1.16.20> "total": 5, agent-deck-1.16.20> "restarted": 0, agent-deck-1.16.20> "failed": 5, agent-deck-1.16.20> "skipped_auth": 0, agent-deck-1.16.20> "auth_deaths": 0, agent-deck-1.16.20> "abandoned": 0, agent-deck-1.16.20> "auth_tripped": false, agent-deck-1.16.20> "trip_message": "", agent-deck-1.16.20> "sessions": [ agent-deck-1.16.20> { agent-deck-1.16.20> "id": "0838ef6a-1790481971", agent-deck-1.16.20> "title": "alpha", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6391) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6391 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 0838ef6a-1790481971\nReap and clear: agent-deck session ownership reconcile 0838ef6a-1790481971" agent-deck-1.16.20> }, agent-deck-1.16.20> { agent-deck-1.16.20> "id": "ffddc408-1790481971", agent-deck-1.16.20> "title": "beta", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6429) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6429 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 ffddc408-1790481971\nReap and clear: agent-deck session ownership reconcile ffddc408-1790481971" agent-deck-1.16.20> }, agent-deck-1.16.20> { agent-deck-1.16.20> "id": "824318ca-1790481971", agent-deck-1.16.20> "title": "gamma", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6465) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6465 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 824318ca-1790481971\nReap and clear: agent-deck session ownership reconcile 824318ca-1790481971" agent-deck-1.16.20> }, agent-deck-1.16.20> { agent-deck-1.16.20> "id": "2ca4d9b7-1790481971", agent-deck-1.16.20> "title": "delta", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "error": "failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6501) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6501 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 2ca4d9b7-1790481971\nReap and clear: agent-deck session ownership reconcile 2ca4d9b7-1790481971" agent-deck-1.16.20> }, agent-deck-1.16.20> { agent-deck-1.16.20> "id": "1603a672-1790481971", agent-deck-1.16.20> "title": "epsilon", agent-deck-1.16.20> "success": false, agent-deck-1.16.20> "error": "failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6537) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6537 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 1603a672-1790481971\nReap and clear: agent-deck session ownership reconcile 1603a672-1790481971" agent-deck-1.16.20> } agent-deck-1.16.20> ] agent-deck-1.16.20> } agent-deck-1.16.20> }, agent-deck-1.16.20> "warnings": [], agent-deck-1.16.20> "revision": null agent-deck-1.16.20> } agent-deck-1.16.20> agent-deck-1.16.20> agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-dMwexg/TestEventProfileUsesStorageFallbackForMissingInference1929987373/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.20> Gemini hooks installed successfully. agent-deck-1.16.20> Config: /private/tmp/nix-dMwexg/TestGeminiHooksInstallUninstall2460371118/001/.gemini/settings.json agent-deck-1.16.20> Gemini hooks removed successfully. agent-deck-1.16.20> --- FAIL: TestStorageBytesGoldens (1.91s) agent-deck-1.16.20> goldens_storage_test.go:81: agent-deck session start golden-sess-shell --no-wait (exit 0): agent-deck-1.16.20> stdout: agent-deck-1.16.20> ✓ Started session: storage bytes shell agent-deck-1.16.20> agent-deck-1.16.20> stderr: agent-deck-1.16.20> goldens_storage_test.go:85: agent-deck session stop golden-sess-shell (exit 0): agent-deck-1.16.20> stdout: agent-deck-1.16.20> ✓ Stopped session: storage bytes shell agent-deck-1.16.20> agent-deck-1.16.20> stderr: agent-deck-1.16.20> goldens_storage_test.go:89: agent-deck session restart golden-sess-shell (exit 1): agent-deck-1.16.20> stdout: agent-deck-1.16.20> agent-deck-1.16.20> stderr: agent-deck-1.16.20> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7470) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=7470 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect golden-sess-shell agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile golden-sess-shell agent-deck-1.16.20> goldens_storage_test.go:89: agent-deck session restart golden-sess-shell: exit 1 agent-deck-1.16.20> stdout: agent-deck-1.16.20> agent-deck-1.16.20> stderr: agent-deck-1.16.20> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7470) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.20> unverifiable: pid=7470 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.20> Nothing was started and nothing was signalled. agent-deck-1.16.20> Inspect: agent-deck session ownership inspect golden-sess-shell agent-deck-1.16.20> Reap and clear: agent-deck session ownership reconcile golden-sess-shell agent-deck-1.16.20> ✓ Reordered group 'Beta': position 1 → 0 agent-deck-1.16.20> ✓ Reordered group 'Beta': position 1 → 2 agent-deck-1.16.20> ✓ Reordered group 'Gamma': position 2 → 0 agent-deck-1.16.20> ✓ Reordered group 'Alpha': position 0 → 0 agent-deck-1.16.20> ✓ Reordered group 'Gamma': position 2 → 2 agent-deck-1.16.20> ✓ Reordered group 'Alpha': position 0 → 2 agent-deck-1.16.20> Removing worktree at ~/wt-1576... agent-deck-1.16.20> ✓ Worktree removed agent-deck-1.16.20> swept 1 stale inbox event(s) for removed session agent-deck-1.16.20> agent-deck-1.16.20> ✓ Finished: session 'wt-finish-1576' removed, worktree cleaned up agent-deck-1.16.20> --- FAIL: TestIssue2394_HydratePrefersLiveThreadOverGuessedPaneIdentity (10.37s) agent-deck-1.16.20> issue2394_codex_foreign_identity_test.go:53: pane process never held the writer lock (live thread "") agent-deck-1.16.20> --- FAIL: TestIssue2400_ArchiveKeepsLiveCodexIdentity (10.36s) agent-deck-1.16.20> issue2396_2400_codex_launch_identity_test.go:95: pane process never held the thread open (live thread "") agent-deck-1.16.20> --- FAIL: TestIssue2396_FirstTurnOutputIsBoundToItsConversation (10.27s) agent-deck-1.16.20> issue2396_2400_codex_launch_identity_test.go:109: pane process never held the thread open (live thread "") agent-deck-1.16.20> remote-agent: probe: storage gone agent-deck-1.16.20> remote-agent: binary upgraded (running v1.16.20); exiting so the controller reconnects agent-deck-1.16.20> remote-agent: probe produced no listing (Error: database is locked) agent-deck-1.16.20> remote-agent: probe produced no listing ([]) agent-deck-1.16.20> remote-agent: no input for 300ms, exiting agent-deck-1.16.20> agent-deck-1.16.20> ═══ Remote: offline (a@offline) ═══ agent-deck-1.16.20> – Skipped: agent-deck not found on remote or host unreachable agent-deck-1.16.20> agent-deck-1.16.20> ═══ Remote: offline (a@offline) ═══ agent-deck-1.16.20> ✗ Failed: stub: no platform agent-deck-1.16.20> A remote sweep is already running on this controller (pid 4253, started 4:08AM); waiting for it... agent-deck-1.16.20> agent-deck-1.16.20> ═══ Remote: lab (a@lab) ═══ agent-deck-1.16.20> – Skipped: sweep already in progress, remote lab is being updated by 4253 agent-deck-1.16.20> agent-deck-1.16.20> ═══ Remote: other (a@other) ═══ agent-deck-1.16.20> ✓ Up to date (v1.16.0) agent-deck-1.16.20> agent-deck-1.16.20> ═══ Remote: lab (a@lab) ═══ agent-deck-1.16.20> ✓ Up to date (v1.16.0) agent-deck-1.16.20> agent-deck-1.16.20> ═══ Remote: other (a@other) ═══ agent-deck-1.16.20> ✓ Up to date (v1.16.0) agent-deck-1.16.20> Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_8a88dddb": record restart outcome for "dd5fc13f-1790482097": instance row not found agent-deck-1.16.20> The session is running; agent-deck may show it as errored until the name is saved. agent-deck-1.16.20> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.20> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.20> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.20> Launch agent re-registration deferred: a remote sweep (pid 12345, started 04:09:43) is still running agent-deck-1.16.20> Imported 2 channel(s) agent-deck-1.16.20> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.20> C1BBCDF6HLE -> feat-req/watcher.toml agent-deck-1.16.20> agent-deck-1.16.20> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.20> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.20> Clients written to: /private/tmp/nix-dMwexg/TestImportChannels_EndToEnd2957208955/002/clients.json agent-deck-1.16.20> Imported 1 channel(s) agent-deck-1.16.20> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.20> agent-deck-1.16.20> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.20> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.20> Clients written to: /private/tmp/nix-dMwexg/TestImportChannels_Idempotent3264563074/002/clients.json agent-deck-1.16.20> Imported 1 channel(s) agent-deck-1.16.20> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.20> agent-deck-1.16.20> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.20> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.20> Clients written to: /private/tmp/nix-dMwexg/TestImportChannels_Idempotent3264563074/002/clients.json agent-deck-1.16.20> Imported 0 channel(s) agent-deck-1.16.20> Clients written to: /private/tmp/nix-dMwexg/TestImportChannels_EmptyChannels1495425047/002/clients.json agent-deck-1.16.20> Installed skill: watcher-creator -> /private/tmp/nix-dMwexg/TestWatcherInstallSkill1614971469/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.20> Installed skill: watcher-creator -> /private/tmp/nix-dMwexg/TestWatcherInstallSkill_DirMode3359023445/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.20> Created watcher: create-topic-ntfy (type: ntfy) agent-deck-1.16.20> Created watcher: create-topic-slack (type: slack) agent-deck-1.16.20> Installed skill: watcher-creator -> /private/tmp/nix-dMwexg/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath904797350/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.20> FAIL agent-deck-1.16.20> FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 270.095s agent-deck-1.16.20> FAIL error: build of '/nix/store/rrfhs1pa5fg5yf8rvgj25pibzwfq6xyx-agent-deck-1.16.20.drv' on 'ssh-ng://customer@mac02.m.ntd.one' failed: Cannot build '/nix/store/rrfhs1pa5fg5yf8rvgj25pibzwfq6xyx-agent-deck-1.16.20.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/vwwik2cvhw4sp7w73q2awk1ibicp18yv-agent-deck-1.16.20 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-dMwexg/TestImportChannels_EndToEnd2957208955/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-dMwexg/TestImportChannels_Idempotent3264563074/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-dMwexg/TestImportChannels_Idempotent3264563074/002/clients.json > Imported 0 channel(s) > Clients written to: /private/tmp/nix-dMwexg/TestImportChannels_EmptyChannels1495425047/002/clients.json > Installed skill: watcher-creator -> /private/tmp/nix-dMwexg/TestWatcherInstallSkill1614971469/001/xdg-config/agent-deck/skills/pool/watcher-creator > Installed skill: watcher-creator -> /private/tmp/nix-dMwexg/TestWatcherInstallSkill_DirMode3359023445/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-dMwexg/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath904797350/001/xdg-config/agent-deck/skills/pool/watcher-creator > FAIL > FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 270.095s > FAIL For full logs, run: nix log /nix/store/rrfhs1pa5fg5yf8rvgj25pibzwfq6xyx-agent-deck-1.16.20.drv error: Cannot build '/nix/store/rrfhs1pa5fg5yf8rvgj25pibzwfq6xyx-agent-deck-1.16.20.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/vwwik2cvhw4sp7w73q2awk1ibicp18yv-agent-deck-1.16.20 error: Cannot build '/nix/store/fqnv09ywq3nl80k21mxhxfsayrh6zlri-check-agent-deck.drv'. Reason: 1 dependency failed. Output paths: /nix/store/10d1s487qrjvj445q1052ql6agv8461v-check-agent-deck