these 4 derivations will be built: /nix/store/v20d6vmcig2vgk9b2fd0yv7jw10zs1ms-source.drv /nix/store/5vx0li34f5jam3m4ngmyjzybv533na2n-agent-deck-1.16.17-go-modules.drv /nix/store/hac8d9kn26hv7gvn2qxrivpwn5w11imx-agent-deck-1.16.17.drv /nix/store/x97ljv5ysm2hcyaazn0rqrywb6xri00b-check-agent-deck.drv building '/nix/store/gvll3f85wk3xbbnxxaq1bha22mz77k5p-source.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/gvll3f85wk3xbbnxxaq1bha22mz77k5p-source.drv' source> structuredAttrs is enabled source> source> trying https://github.com/asheshgoplani/agent-deck/archive/refs/tags/v1.16.17.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.59M 0 18.59M 0 0 14.97M 0 00:01 18.58M source> 100 45.26M 0 45.26M 0 0 20.19M 0 00:02 22.62M source> 100 69.45M 0 69.45M 0 0 21.42M 0 00:03 23.14M source> 100 97.83M 0 97.83M 0 0 23.05M 0 00:04 24.44M source> 100 121.7M 0 121.7M 0 0 23.18M 0 00:05 24.29M source> 100 139.5M 0 139.5M 0 0 22.29M 0 00:06 24.10M source> 100 145.3M 0 145.3M 0 0 21.17M 0 00:06 24.10M source> 100 145.3M 0 145.3M 0 0 21.17M 0 00:06 24.10M source> 100 145.3M 0 145.3M 0 0 21.17M 0 00:06 24.10M source> unpacking source archive /nix/var/nix/builds/nix-90795-757546412/download.tar.gz building '/nix/store/8n1q0z9ahz5m5dv9l5i4n9n1yc3wr43b-agent-deck-1.16.17-go-modules.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/8n1q0z9ahz5m5dv9l5i4n9n1yc3wr43b-agent-deck-1.16.17-go-modules.drv' agent-deck-1.16.17-go-modules> Running phase: unpackPhase agent-deck-1.16.17-go-modules> unpacking source archive /nix/store/m5av7c734ww3cly2z5wadglph6rrvpcq-source agent-deck-1.16.17-go-modules> source root is source agent-deck-1.16.17-go-modules> Running phase: patchPhase agent-deck-1.16.17-go-modules> Running phase: updateAutotoolsGnuConfigScriptsPhase agent-deck-1.16.17-go-modules> Running phase: configurePhase agent-deck-1.16.17-go-modules> Running phase: buildPhase agent-deck-1.16.17-go-modules> go: downloading golang.org/x/sys v0.47.0 agent-deck-1.16.17-go-modules> go: downloading github.com/fsnotify/fsnotify v1.10.1 agent-deck-1.16.17-go-modules> go: downloading gopkg.in/yaml.v3 v3.0.1 agent-deck-1.16.17-go-modules> go: downloading github.com/stretchr/testify v1.12.1 agent-deck-1.16.17-go-modules> go: downloading github.com/google/uuid v1.6.0 agent-deck-1.16.17-go-modules> go: downloading al.essio.dev/pkg/shellescape v1.6.0 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/bubbletea v1.3.10 agent-deck-1.16.17-go-modules> go: downloading github.com/sahilm/fuzzy v0.1.3 agent-deck-1.16.17-go-modules> go: downloading github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/lipgloss v1.1.0 agent-deck-1.16.17-go-modules> go: downloading golang.org/x/sync v0.22.0 agent-deck-1.16.17-go-modules> go: downloading golang.org/x/term v0.45.0 agent-deck-1.16.17-go-modules> go: downloading github.com/muesli/termenv v0.16.0 agent-deck-1.16.17-go-modules> go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/bubbles v1.0.0 agent-deck-1.16.17-go-modules> go: downloading github.com/klauspost/compress v1.19.2 agent-deck-1.16.17-go-modules> go: downloading github.com/gorilla/websocket v1.5.3 agent-deck-1.16.17-go-modules> go: downloading modernc.org/sqlite v1.57.0 agent-deck-1.16.17-go-modules> go: downloading github.com/creack/pty v1.1.24 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/exp/teatest v0.0.0-20260413165052-6921c759c913 agent-deck-1.16.17-go-modules> go: downloading github.com/BurntSushi/toml v1.6.0 agent-deck-1.16.17-go-modules> go: downloading go.uber.org/goleak v1.3.0 agent-deck-1.16.17-go-modules> go: downloading github.com/thiagokokada/dark-mode-go v0.0.2 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/ansi v0.11.8 agent-deck-1.16.17-go-modules> go: downloading golang.org/x/crypto v0.55.0 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/vt v0.0.0-20260828171018-3c30eef5e73e agent-deck-1.16.17-go-modules> go: downloading cloud.google.com/go/pubsub v1.51.1 agent-deck-1.16.17-go-modules> go: downloading golang.org/x/time v0.15.0 agent-deck-1.16.17-go-modules> go: downloading github.com/rivo/uniseg v0.4.7 agent-deck-1.16.17-go-modules> go: downloading github.com/SherClockHolmes/webpush-go v1.4.0 agent-deck-1.16.17-go-modules> go: downloading github.com/mattn/go-runewidth v0.0.28 agent-deck-1.16.17-go-modules> go: downloading github.com/evanw/esbuild v0.28.2 agent-deck-1.16.17-go-modules> go: downloading cloud.google.com/go v0.123.0 agent-deck-1.16.17-go-modules> go: downloading golang.org/x/oauth2 v0.36.0 agent-deck-1.16.17-go-modules> go: downloading google.golang.org/api v0.295.0 agent-deck-1.16.17-go-modules> go: downloading google.golang.org/grpc v1.83.2 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/term v0.2.2 agent-deck-1.16.17-go-modules> go: downloading github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f agent-deck-1.16.17-go-modules> go: downloading github.com/mattn/go-localereader v0.0.1 agent-deck-1.16.17-go-modules> go: downloading github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 agent-deck-1.16.17-go-modules> go: downloading github.com/muesli/cancelreader v0.2.2 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/cellbuf v0.0.15 agent-deck-1.16.17-go-modules> go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1 agent-deck-1.16.17-go-modules> go: downloading github.com/lucasb-eyer/go-colorful v1.4.0 agent-deck-1.16.17-go-modules> go: downloading github.com/mattn/go-isatty v0.0.24 agent-deck-1.16.17-go-modules> go: downloading github.com/atotto/clipboard v0.1.4 agent-deck-1.16.17-go-modules> go: downloading github.com/clipperhouse/displaywidth v0.11.0 agent-deck-1.16.17-go-modules> go: downloading github.com/clipperhouse/uax29/v2 v2.7.0 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 agent-deck-1.16.17-go-modules> go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/ultraviolet v0.0.0-20260303162955-0b88c25f3fff agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/exp/ordered v0.1.0 agent-deck-1.16.17-go-modules> go: downloading cloud.google.com/go/compute/metadata v0.9.0 agent-deck-1.16.17-go-modules> go: downloading cloud.google.com/go/iam v1.12.0 agent-deck-1.16.17-go-modules> go: downloading github.com/googleapis/gax-go/v2 v2.24.0 agent-deck-1.16.17-go-modules> go: downloading go.opencensus.io v0.24.0 agent-deck-1.16.17-go-modules> go: downloading go.opentelemetry.io/otel v1.44.0 agent-deck-1.16.17-go-modules> go: downloading go.opentelemetry.io/otel/trace v1.44.0 agent-deck-1.16.17-go-modules> go: downloading google.golang.org/protobuf v1.36.12 agent-deck-1.16.17-go-modules> go: downloading go.einride.tech/aip v0.83.0 agent-deck-1.16.17-go-modules> go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d agent-deck-1.16.17-go-modules> go: downloading github.com/godbus/dbus/v5 v5.1.0 agent-deck-1.16.17-go-modules> go: downloading google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d agent-deck-1.16.17-go-modules> go: downloading golang.org/x/text v0.41.0 agent-deck-1.16.17-go-modules> go: downloading go.yaml.in/yaml/v3 v3.0.5 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/colorprofile v0.4.2 agent-deck-1.16.17-go-modules> go: downloading golang.org/x/net v0.58.0 agent-deck-1.16.17-go-modules> go: downloading github.com/aymanbagabas/go-udiff v0.3.1 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/termios v0.1.1 agent-deck-1.16.17-go-modules> go: downloading github.com/charmbracelet/x/windows v0.2.2 agent-deck-1.16.17-go-modules> go: downloading github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e agent-deck-1.16.17-go-modules> go: downloading cloud.google.com/go/pubsub/v2 v2.6.0 agent-deck-1.16.17-go-modules> go: downloading go.opentelemetry.io/otel/metric v1.44.0 agent-deck-1.16.17-go-modules> go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 agent-deck-1.16.17-go-modules> go: downloading github.com/go-logr/logr v1.4.3 agent-deck-1.16.17-go-modules> go: downloading github.com/google/go-cmp v0.7.0 agent-deck-1.16.17-go-modules> go: downloading go.opentelemetry.io/otel/sdk v1.44.0 agent-deck-1.16.17-go-modules> go: downloading modernc.org/libc v1.74.4 agent-deck-1.16.17-go-modules> go: downloading github.com/go-logr/stdr v1.2.2 agent-deck-1.16.17-go-modules> go: downloading go.opentelemetry.io/auto/sdk v1.2.1 agent-deck-1.16.17-go-modules> go: downloading github.com/cespare/xxhash/v2 v2.3.0 agent-deck-1.16.17-go-modules> go: downloading cloud.google.com/go/auth v0.23.2 agent-deck-1.16.17-go-modules> go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8 agent-deck-1.16.17-go-modules> go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 agent-deck-1.16.17-go-modules> go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 agent-deck-1.16.17-go-modules> go: downloading github.com/google/s2a-go v0.1.9 agent-deck-1.16.17-go-modules> go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.20 agent-deck-1.16.17-go-modules> go: downloading github.com/felixge/httpsnoop v1.0.4 agent-deck-1.16.17-go-modules> go: downloading github.com/dustin/go-humanize v1.0.1 agent-deck-1.16.17-go-modules> go: downloading github.com/ncruces/go-strftime v1.0.0 agent-deck-1.16.17-go-modules> go: downloading modernc.org/mathutil v1.7.1 agent-deck-1.16.17-go-modules> go: downloading modernc.org/memory v1.11.0 agent-deck-1.16.17-go-modules> go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec agent-deck-1.16.17-go-modules> Running phase: installPhase building '/nix/store/hac8d9kn26hv7gvn2qxrivpwn5w11imx-agent-deck-1.16.17.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/hac8d9kn26hv7gvn2qxrivpwn5w11imx-agent-deck-1.16.17.drv' agent-deck-1.16.17> Using versionCheckHook agent-deck-1.16.17> Running phase: unpackPhase agent-deck-1.16.17> unpacking source archive /nix/store/m5av7c734ww3cly2z5wadglph6rrvpcq-source agent-deck-1.16.17> source root is source agent-deck-1.16.17> Running phase: patchPhase agent-deck-1.16.17> Running phase: updateAutotoolsGnuConfigScriptsPhase agent-deck-1.16.17> Running phase: configurePhase agent-deck-1.16.17> Running phase: buildPhase agent-deck-1.16.17> Building subPackage ./cmd/agent-deck agent-deck-1.16.17> Running phase: checkPhase agent-deck-1.16.17> --- FAIL: TestCodexAcceptanceGuardAcceptsFreshComposerThread (10.23s) agent-deck-1.16.17> codex_fresh_composer_send_test.go:48: pane process never held the writer lock (live thread "") agent-deck-1.16.17> 2026/09/25 21:17:28 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-cgyc1w/TestWriteCodexHookStatus_PartialPriorFailsClosed506039891/001/.local/share/agent-deck/hooks/partial.json bytes=10 agent-deck-1.16.17> Codex notify hook installed successfully. agent-deck-1.16.17> Config: /private/tmp/nix-cgyc1w/TestCodexHooksInstallUninstall267475960/001/.codex/config.toml agent-deck-1.16.17> Codex notify hook removed successfully. agent-deck-1.16.17> Codex notify hook upgraded successfully. agent-deck-1.16.17> Config: /private/tmp/nix-cgyc1w/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers2912997894/001/.codex/config.toml agent-deck-1.16.17> Codex notify hook upgraded successfully. agent-deck-1.16.17> Config: /private/tmp/nix-cgyc1w/TestCodexHooksInstall_UpgradesLegacyMarkerBlock2333614236/001/.codex/config.toml agent-deck-1.16.17> --- FAIL: TestCoreRegistryMatchesLegacyHandlers (16.83s) agent-deck-1.16.17> core_cli_test.go:271: "session restart alpha --force" differs agent-deck-1.16.17> exit legacy=1 registry=1 agent-deck-1.16.17> --- legacy stdout --- agent-deck-1.16.17> agent-deck-1.16.17> --- registry stdout --- agent-deck-1.16.17> agent-deck-1.16.17> --- legacy stderr --- agent-deck-1.16.17> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96207) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=96207 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 30054ada-1790371050 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 30054ada-1790371050 agent-deck-1.16.17> agent-deck-1.16.17> --- registry stderr --- agent-deck-1.16.17> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 30054ada-1790371050 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 30054ada-1790371050 agent-deck-1.16.17> core_cli_test.go:266: "session restart alpha --force --json": exit 1, stdout "{\n \"code\": \"INVALID_OPERATION\",\n \"error\": \"failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled)\\n unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \\\"sysctl\\\": executable file not found in $PATH\\nNothing was started and nothing was signalled.\\nInspect: agent-deck session ownership inspect 30054ada-1790371050\\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050\",\n \"success\": false\n}\n", want success containing "\"success\": true" (stderr "") agent-deck-1.16.17> core_cli_test.go:271: "session restart alpha --force --json" differs agent-deck-1.16.17> exit legacy=1 registry=1 agent-deck-1.16.17> --- legacy stdout --- agent-deck-1.16.17> { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96207) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96207 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 30054ada-1790371050\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050", agent-deck-1.16.17> "success": false agent-deck-1.16.17> } agent-deck-1.16.17> agent-deck-1.16.17> --- registry stdout --- agent-deck-1.16.17> { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 30054ada-1790371050\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050", agent-deck-1.16.17> "success": false agent-deck-1.16.17> } agent-deck-1.16.17> agent-deck-1.16.17> --- legacy stderr --- agent-deck-1.16.17> agent-deck-1.16.17> --- registry stderr --- agent-deck-1.16.17> core_cli_test.go:271: "session restart beta --env FOO=bar --json" differs agent-deck-1.16.17> exit legacy=1 registry=1 agent-deck-1.16.17> --- legacy stdout --- agent-deck-1.16.17> { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96418) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96418 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 6931aade-1790371050\nReap and clear: agent-deck session ownership reconcile 6931aade-1790371050", agent-deck-1.16.17> "success": false agent-deck-1.16.17> } agent-deck-1.16.17> agent-deck-1.16.17> --- registry stdout --- agent-deck-1.16.17> { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96503) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96503 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 6931aade-1790371050\nReap and clear: agent-deck session ownership reconcile 6931aade-1790371050", agent-deck-1.16.17> "success": false agent-deck-1.16.17> } agent-deck-1.16.17> agent-deck-1.16.17> --- legacy stderr --- agent-deck-1.16.17> agent-deck-1.16.17> --- registry stderr --- agent-deck-1.16.17> core_cli_test.go:271: "session restart --all --json" differs agent-deck-1.16.17> exit legacy=1 registry=1 agent-deck-1.16.17> --- legacy stdout --- agent-deck-1.16.17> { agent-deck-1.16.17> "abandoned": 0, agent-deck-1.16.17> "auth_deaths": 0, agent-deck-1.16.17> "auth_tripped": false, agent-deck-1.16.17> "failed": 3, agent-deck-1.16.17> "restarted": 0, agent-deck-1.16.17> "sessions": [ agent-deck-1.16.17> { agent-deck-1.16.17> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96207) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96207 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 30054ada-1790371050\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050", agent-deck-1.16.17> "id": "30054ada-1790371050", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "title": "alpha" agent-deck-1.16.17> }, agent-deck-1.16.17> { agent-deck-1.16.17> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96418) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96418 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 6931aade-1790371050\nReap and clear: agent-deck session ownership reconcile 6931aade-1790371050", agent-deck-1.16.17> "id": "6931aade-1790371050", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "title": "beta" agent-deck-1.16.17> }, agent-deck-1.16.17> { agent-deck-1.16.17> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96590) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96590 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 2a6e52d4-1790371050\nReap and clear: agent-deck session ownership reconcile 2a6e52d4-1790371050", agent-deck-1.16.17> "id": "2a6e52d4-1790371050", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "title": "gamma" agent-deck-1.16.17> } agent-deck-1.16.17> ], agent-deck-1.16.17> "skipped_auth": 0, agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "total": 3, agent-deck-1.16.17> "trip_message": "" agent-deck-1.16.17> } agent-deck-1.16.17> agent-deck-1.16.17> --- registry stdout --- agent-deck-1.16.17> { agent-deck-1.16.17> "abandoned": 0, agent-deck-1.16.17> "auth_deaths": 0, agent-deck-1.16.17> "auth_tripped": false, agent-deck-1.16.17> "failed": 3, agent-deck-1.16.17> "restarted": 0, agent-deck-1.16.17> "sessions": [ agent-deck-1.16.17> { agent-deck-1.16.17> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 30054ada-1790371050\nReap and clear: agent-deck session ownership reconcile 30054ada-1790371050", agent-deck-1.16.17> "id": "30054ada-1790371050", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "title": "alpha" agent-deck-1.16.17> }, agent-deck-1.16.17> { agent-deck-1.16.17> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96503) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96503 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 6931aade-1790371050\nReap and clear: agent-deck session ownership reconcile 6931aade-1790371050", agent-deck-1.16.17> "id": "6931aade-1790371050", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "title": "beta" agent-deck-1.16.17> }, agent-deck-1.16.17> { agent-deck-1.16.17> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96714) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=96714 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 2a6e52d4-1790371050\nReap and clear: agent-deck session ownership reconcile 2a6e52d4-1790371050", agent-deck-1.16.17> "id": "2a6e52d4-1790371050", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "title": "gamma" agent-deck-1.16.17> } agent-deck-1.16.17> ], agent-deck-1.16.17> "skipped_auth": 0, agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "total": 3, agent-deck-1.16.17> "trip_message": "" agent-deck-1.16.17> } agent-deck-1.16.17> agent-deck-1.16.17> --- legacy stderr --- agent-deck-1.16.17> agent-deck-1.16.17> --- registry stderr --- agent-deck-1.16.17> core_cli_test.go:271: "session restart --all" differs agent-deck-1.16.17> exit legacy=1 registry=1 agent-deck-1.16.17> --- legacy stdout --- agent-deck-1.16.17> Restarting alpha... agent-deck-1.16.17> Restarting beta... agent-deck-1.16.17> Restarting gamma... agent-deck-1.16.17> Restarted 0/3 sessions (3 failed) agent-deck-1.16.17> agent-deck-1.16.17> --- registry stdout --- agent-deck-1.16.17> Restarting alpha... agent-deck-1.16.17> Restarting beta... agent-deck-1.16.17> Restarting gamma... agent-deck-1.16.17> Restarted 0/3 sessions (3 failed) agent-deck-1.16.17> agent-deck-1.16.17> --- legacy stderr --- agent-deck-1.16.17> Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96207) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=96207 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 30054ada-1790371050 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 30054ada-1790371050 agent-deck-1.16.17> Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96418) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=96418 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 6931aade-1790371050 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 6931aade-1790371050 agent-deck-1.16.17> Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96590) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=96590 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 2a6e52d4-1790371050 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 2a6e52d4-1790371050 agent-deck-1.16.17> agent-deck-1.16.17> --- registry stderr --- agent-deck-1.16.17> Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96290) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=96290 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 30054ada-1790371050 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 30054ada-1790371050 agent-deck-1.16.17> Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96503) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=96503 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 6931aade-1790371050 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 6931aade-1790371050 agent-deck-1.16.17> Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 96714) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=96714 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 2a6e52d4-1790371050 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 2a6e52d4-1790371050 agent-deck-1.16.17> --- FAIL: TestDaemonEnvelopesMatchArgv (3.84s) agent-deck-1.16.17> daemon_cmd_test.go:199: start (daemon CLI): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.start/v1", agent-deck-1.16.17> "request_id": "dca1dac580fff2e1", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:224: start: envelopes differ agent-deck-1.16.17> argv: {"data":{"group":"work","id":"91b8954e-1790371067","status":"started","title":"alpha","tmux":"agentdeck_alpha_4de8bac5"},"ok":true,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]} agent-deck-1.16.17> daemon: {"data":null,"error":{"code":"INVALID_OPERATION","message":"failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067"},"ok":false,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]} agent-deck-1.16.17> daemon_cmd_test.go:199: restart fresh session is skipped (argv): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.17> "request_id": "f02885fafe8e41b5", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:199: restart fresh session is skipped (daemon CLI): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.17> "request_id": "43547e6b97fc1da4", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:199: restart --force (argv): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.17> "request_id": "0e01abd04b669f95", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:199: restart --force (daemon CLI): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.17> "request_id": "5d2ec415cf1df6de", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:199: restart --all (argv): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.17> "request_id": "84858be1884fd485", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "NO_ACTIVE_SESSIONS", agent-deck-1.16.17> "message": "no active sessions to restart" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:199: restart --all (daemon CLI): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.17> "request_id": "248ceba30edfc415", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "NO_ACTIVE_SESSIONS", agent-deck-1.16.17> "message": "no active sessions to restart" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:199: stop (argv): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.stop/v1", agent-deck-1.16.17> "request_id": "a94847c831a79cbb", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "NOT_RUNNING", agent-deck-1.16.17> "message": "session 'alpha' is not running" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:199: stop setup session start alpha --json=envelope: ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.start/v1", agent-deck-1.16.17> "request_id": "70cd0f141a13e70c", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "INVALID_OPERATION", agent-deck-1.16.17> "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98257) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98257 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 91b8954e-1790371067\nReap and clear: agent-deck session ownership reconcile 91b8954e-1790371067" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> daemon_cmd_test.go:199: stop (daemon CLI): ok=false, want true agent-deck-1.16.17> { agent-deck-1.16.17> "schema": "agent-deck/session.stop/v1", agent-deck-1.16.17> "request_id": "897021d2bfbe3b68", agent-deck-1.16.17> "ok": false, agent-deck-1.16.17> "data": null, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null, agent-deck-1.16.17> "error": { agent-deck-1.16.17> "code": "NOT_RUNNING", agent-deck-1.16.17> "message": "session 'alpha' is not running" agent-deck-1.16.17> } agent-deck-1.16.17> } agent-deck-1.16.17> --- FAIL: TestDaemonRestartAllReturnsCompletedResult (8.65s) agent-deck-1.16.17> daemon_cmd_test.go:281: restart --all returned exit 1, result {OK:true Data:{All:{Total:5 Restarted:0 Failed:5 SkippedAuth:0 AuthDeaths:0 Abandoned:0 AuthTripped:false TripMessage: Sessions:[{ID:ab78c0f5-1790371071 Title:alpha Success:0x43b4b52f0139 Error:failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98703) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=98703 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect ab78c0f5-1790371071 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile ab78c0f5-1790371071 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:5f88022c-1790371071 Title:beta Success:0x43b4b52f0140 Error:failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98753) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=98753 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 5f88022c-1790371071 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 5f88022c-1790371071 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:0c213e61-1790371071 Title:gamma Success:0x43b4b52f0146 Error:failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98835) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=98835 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 0c213e61-1790371071 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 0c213e61-1790371071 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:09e96a18-1790371071 Title:delta Success:0x43b4b52f014c Error:failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98874) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=98874 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect 09e96a18-1790371071 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile 09e96a18-1790371071 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:d7229ee4-1790371071 Title:epsilon Success:0x43b4b52f0157 Error:failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98913) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=98913 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect d7229ee4-1790371071 agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile d7229ee4-1790371071 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false}]}}}: { agent-deck-1.16.17> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.17> "request_id": "93703c4aeb50a3ae", agent-deck-1.16.17> "ok": true, agent-deck-1.16.17> "data": { agent-deck-1.16.17> "all": { agent-deck-1.16.17> "total": 5, agent-deck-1.16.17> "restarted": 0, agent-deck-1.16.17> "failed": 5, agent-deck-1.16.17> "skipped_auth": 0, agent-deck-1.16.17> "auth_deaths": 0, agent-deck-1.16.17> "abandoned": 0, agent-deck-1.16.17> "auth_tripped": false, agent-deck-1.16.17> "trip_message": "", agent-deck-1.16.17> "sessions": [ agent-deck-1.16.17> { agent-deck-1.16.17> "id": "ab78c0f5-1790371071", agent-deck-1.16.17> "title": "alpha", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98703) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98703 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect ab78c0f5-1790371071\nReap and clear: agent-deck session ownership reconcile ab78c0f5-1790371071" agent-deck-1.16.17> }, agent-deck-1.16.17> { agent-deck-1.16.17> "id": "5f88022c-1790371071", agent-deck-1.16.17> "title": "beta", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98753) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98753 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 5f88022c-1790371071\nReap and clear: agent-deck session ownership reconcile 5f88022c-1790371071" agent-deck-1.16.17> }, agent-deck-1.16.17> { agent-deck-1.16.17> "id": "0c213e61-1790371071", agent-deck-1.16.17> "title": "gamma", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98835) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98835 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 0c213e61-1790371071\nReap and clear: agent-deck session ownership reconcile 0c213e61-1790371071" agent-deck-1.16.17> }, agent-deck-1.16.17> { agent-deck-1.16.17> "id": "09e96a18-1790371071", agent-deck-1.16.17> "title": "delta", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "error": "failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98874) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98874 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 09e96a18-1790371071\nReap and clear: agent-deck session ownership reconcile 09e96a18-1790371071" agent-deck-1.16.17> }, agent-deck-1.16.17> { agent-deck-1.16.17> "id": "d7229ee4-1790371071", agent-deck-1.16.17> "title": "epsilon", agent-deck-1.16.17> "success": false, agent-deck-1.16.17> "error": "failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 98913) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=98913 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect d7229ee4-1790371071\nReap and clear: agent-deck session ownership reconcile d7229ee4-1790371071" agent-deck-1.16.17> } agent-deck-1.16.17> ] agent-deck-1.16.17> } agent-deck-1.16.17> }, agent-deck-1.16.17> "warnings": [], agent-deck-1.16.17> "revision": null agent-deck-1.16.17> } agent-deck-1.16.17> agent-deck-1.16.17> agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-cgyc1w/TestEventProfileUsesStorageFallbackForMissingInference276250504/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: none yet. Pass -p/--profile or set AGENTDECK_PROFILE explicitly to pick a different profile, run `agent-deck profile create ghost` if you intend to create it, or unset CLAUDE_CONFIG_DIR to use the default profile. agent-deck-1.16.17> Gemini hooks installed successfully. agent-deck-1.16.17> Config: /private/tmp/nix-cgyc1w/TestGeminiHooksInstallUninstall2995665290/001/.gemini/settings.json agent-deck-1.16.17> Gemini hooks removed successfully. agent-deck-1.16.17> --- FAIL: TestStorageBytesGoldens (1.88s) agent-deck-1.16.17> goldens_storage_test.go:81: agent-deck session start golden-sess-shell --no-wait (exit 0): agent-deck-1.16.17> stdout: agent-deck-1.16.17> ✓ Started session: storage bytes shell agent-deck-1.16.17> agent-deck-1.16.17> stderr: agent-deck-1.16.17> goldens_storage_test.go:85: agent-deck session stop golden-sess-shell (exit 0): agent-deck-1.16.17> stdout: agent-deck-1.16.17> ✓ Stopped session: storage bytes shell agent-deck-1.16.17> agent-deck-1.16.17> stderr: agent-deck-1.16.17> goldens_storage_test.go:89: agent-deck session restart golden-sess-shell (exit 1): agent-deck-1.16.17> stdout: agent-deck-1.16.17> agent-deck-1.16.17> stderr: agent-deck-1.16.17> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99476) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=99476 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect golden-sess-shell agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile golden-sess-shell agent-deck-1.16.17> goldens_storage_test.go:89: agent-deck session restart golden-sess-shell: exit 1 agent-deck-1.16.17> stdout: agent-deck-1.16.17> agent-deck-1.16.17> stderr: agent-deck-1.16.17> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99476) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.17> unverifiable: pid=99476 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH agent-deck-1.16.17> Nothing was started and nothing was signalled. agent-deck-1.16.17> Inspect: agent-deck session ownership inspect golden-sess-shell agent-deck-1.16.17> Reap and clear: agent-deck session ownership reconcile golden-sess-shell agent-deck-1.16.17> ✓ Reordered group 'Beta': position 1 → 0 agent-deck-1.16.17> ✓ Reordered group 'Beta': position 1 → 2 agent-deck-1.16.17> ✓ Reordered group 'Gamma': position 2 → 0 agent-deck-1.16.17> ✓ Reordered group 'Alpha': position 0 → 0 agent-deck-1.16.17> ✓ Reordered group 'Gamma': position 2 → 2 agent-deck-1.16.17> ✓ Reordered group 'Alpha': position 0 → 2 agent-deck-1.16.17> Removing worktree at ~/wt-1576... agent-deck-1.16.17> ✓ Worktree removed agent-deck-1.16.17> swept 1 stale inbox event(s) for removed session agent-deck-1.16.17> agent-deck-1.16.17> ✓ Finished: session 'wt-finish-1576' removed, worktree cleaned up agent-deck-1.16.17> remote-agent: probe: storage gone agent-deck-1.16.17> remote-agent: binary upgraded (running v1.16.17); exiting so the controller reconnects agent-deck-1.16.17> remote-agent: probe produced no listing (Error: database is locked) agent-deck-1.16.17> remote-agent: probe produced no listing ([]) agent-deck-1.16.17> remote-agent: no input for 300ms, exiting agent-deck-1.16.17> agent-deck-1.16.17> ═══ Remote: offline (a@offline) ═══ agent-deck-1.16.17> – Skipped: agent-deck not found on remote or host unreachable agent-deck-1.16.17> agent-deck-1.16.17> ═══ Remote: offline (a@offline) ═══ agent-deck-1.16.17> ✗ Failed: stub: no platform agent-deck-1.16.17> A remote sweep is already running on this controller (pid 93876, started 9:19PM); waiting for it... agent-deck-1.16.17> agent-deck-1.16.17> ═══ Remote: lab (a@lab) ═══ agent-deck-1.16.17> – Skipped: sweep already in progress, remote lab is being updated by 93876 agent-deck-1.16.17> agent-deck-1.16.17> ═══ Remote: other (a@other) ═══ agent-deck-1.16.17> ✓ Up to date (v1.16.0) agent-deck-1.16.17> agent-deck-1.16.17> ═══ Remote: lab (a@lab) ═══ agent-deck-1.16.17> ✓ Up to date (v1.16.0) agent-deck-1.16.17> agent-deck-1.16.17> ═══ Remote: other (a@other) ═══ agent-deck-1.16.17> ✓ Up to date (v1.16.0) agent-deck-1.16.17> Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_f8ddb55c": record restart outcome for "38dd9539-1790371169": instance row not found agent-deck-1.16.17> The session is running; agent-deck may show it as errored until the name is saved. agent-deck-1.16.17> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.17> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.17> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.17> Launch agent re-registration deferred: a remote sweep (pid 12345, started 21:20:59) is still running agent-deck-1.16.17> Imported 2 channel(s) agent-deck-1.16.17> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.17> C1BBCDF6HLE -> feat-req/watcher.toml agent-deck-1.16.17> agent-deck-1.16.17> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.17> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.17> Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_EndToEnd1680657074/002/clients.json agent-deck-1.16.17> Imported 1 channel(s) agent-deck-1.16.17> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.17> agent-deck-1.16.17> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.17> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.17> Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_Idempotent1867133484/002/clients.json agent-deck-1.16.17> Imported 1 channel(s) agent-deck-1.16.17> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.17> agent-deck-1.16.17> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.17> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.17> Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_Idempotent1867133484/002/clients.json agent-deck-1.16.17> Imported 0 channel(s) agent-deck-1.16.17> Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_EmptyChannels2044471020/002/clients.json agent-deck-1.16.17> Installed skill: watcher-creator -> /private/tmp/nix-cgyc1w/TestWatcherInstallSkill2303136738/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.17> Installed skill: watcher-creator -> /private/tmp/nix-cgyc1w/TestWatcherInstallSkill_DirMode892856524/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.17> Created watcher: create-topic-ntfy (type: ntfy) agent-deck-1.16.17> Created watcher: create-topic-slack (type: slack) agent-deck-1.16.17> Installed skill: watcher-creator -> /private/tmp/nix-cgyc1w/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath1911566281/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.17> FAIL agent-deck-1.16.17> FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 246.303s agent-deck-1.16.17> FAIL error: build of '/nix/store/hac8d9kn26hv7gvn2qxrivpwn5w11imx-agent-deck-1.16.17.drv' on 'ssh-ng://customer@mac02.m.ntd.one' failed: Cannot build '/nix/store/hac8d9kn26hv7gvn2qxrivpwn5w11imx-agent-deck-1.16.17.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/2nhyhqf8cxgf63bqrvi6r04hw0kw25f2-agent-deck-1.16.17 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-cgyc1w/TestImportChannels_EndToEnd1680657074/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-cgyc1w/TestImportChannels_Idempotent1867133484/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-cgyc1w/TestImportChannels_Idempotent1867133484/002/clients.json > Imported 0 channel(s) > Clients written to: /private/tmp/nix-cgyc1w/TestImportChannels_EmptyChannels2044471020/002/clients.json > Installed skill: watcher-creator -> /private/tmp/nix-cgyc1w/TestWatcherInstallSkill2303136738/001/xdg-config/agent-deck/skills/pool/watcher-creator > Installed skill: watcher-creator -> /private/tmp/nix-cgyc1w/TestWatcherInstallSkill_DirMode892856524/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-cgyc1w/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath1911566281/001/xdg-config/agent-deck/skills/pool/watcher-creator > FAIL > FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 246.303s > FAIL For full logs, run: nix log /nix/store/hac8d9kn26hv7gvn2qxrivpwn5w11imx-agent-deck-1.16.17.drv error: Cannot build '/nix/store/hac8d9kn26hv7gvn2qxrivpwn5w11imx-agent-deck-1.16.17.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/2nhyhqf8cxgf63bqrvi6r04hw0kw25f2-agent-deck-1.16.17 error: Cannot build '/nix/store/x97ljv5ysm2hcyaazn0rqrywb6xri00b-check-agent-deck.drv'. Reason: 1 dependency failed. Output paths: /nix/store/0yx5iy6v1a64f3gr3y7kl8pk55wnxs66-check-agent-deck