these 4 derivations will be built: /nix/store/jvq5ydsv8l3ijyhz75hml9hfhsa1qki1-source.drv /nix/store/bni8wsj77mr9xfbd1kadh0cx3k44liyv-agent-deck-1.16.22-go-modules.drv /nix/store/asrnzgk15s1sn3ncg7l59rdl7nv7ri7g-agent-deck-1.16.22.drv /nix/store/02h9qq3wjildr39lflzkjdzflxr6zwrw-check-agent-deck.drv building '/nix/store/i4qy9rvfx15lr2lq5b7hj0bjgbwqw9k2-source.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/i4qy9rvfx15lr2lq5b7hj0bjgbwqw9k2-source.drv' source> structuredAttrs is enabled source> source> trying https://github.com/asheshgoplani/agent-deck/archive/refs/tags/v1.16.22.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.12M 0 00:01 17.75M source> 100 48.50M 0 48.50M 0 0 20.68M 0 00:02 23.42M source> 100 73.00M 0 73.00M 0 0 21.81M 0 00:03 23.76M source> 100 102.2M 0 102.2M 0 0 23.52M 0 00:04 25.11M source> 100 130.0M 0 130.0M 0 0 24.31M 0 00:05 25.62M source> 100 142.2M 0 142.2M 0 0 22.39M 0 00:06 24.61M source> 100 145.5M 0 145.5M 0 0 22.25M 0 00:06 24.61M source> 100 145.5M 0 145.5M 0 0 22.25M 0 00:06 24.61M source> 100 145.5M 0 145.5M 0 0 22.25M 0 00:06 24.61M source> unpacking source archive /nix/var/nix/builds/nix-77264-223405616/download.tar.gz building '/nix/store/54nqd18xdqljl1p6968rnxsryfyzxj98-agent-deck-1.16.22-go-modules.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/54nqd18xdqljl1p6968rnxsryfyzxj98-agent-deck-1.16.22-go-modules.drv' agent-deck-1.16.22-go-modules> Running phase: unpackPhase agent-deck-1.16.22-go-modules> unpacking source archive /nix/store/y555yn2303r3yyhfqjwasdrb5daw8g7p-source agent-deck-1.16.22-go-modules> source root is source agent-deck-1.16.22-go-modules> Running phase: patchPhase agent-deck-1.16.22-go-modules> Running phase: updateAutotoolsGnuConfigScriptsPhase agent-deck-1.16.22-go-modules> Running phase: configurePhase agent-deck-1.16.22-go-modules> Running phase: buildPhase agent-deck-1.16.22-go-modules> go: downloading golang.org/x/sys v0.47.0 agent-deck-1.16.22-go-modules> go: downloading github.com/fsnotify/fsnotify v1.10.1 agent-deck-1.16.22-go-modules> go: downloading github.com/stretchr/testify v1.12.1 agent-deck-1.16.22-go-modules> go: downloading github.com/google/uuid v1.6.0 agent-deck-1.16.22-go-modules> go: downloading gopkg.in/yaml.v3 v3.0.1 agent-deck-1.16.22-go-modules> go: downloading github.com/sahilm/fuzzy v0.1.3 agent-deck-1.16.22-go-modules> go: downloading al.essio.dev/pkg/shellescape v1.6.0 agent-deck-1.16.22-go-modules> go: downloading github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/bubbletea v1.3.10 agent-deck-1.16.22-go-modules> go: downloading golang.org/x/sync v0.22.0 agent-deck-1.16.22-go-modules> go: downloading golang.org/x/term v0.45.0 agent-deck-1.16.22-go-modules> go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/lipgloss v1.1.0 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/bubbles v1.0.0 agent-deck-1.16.22-go-modules> go: downloading github.com/muesli/termenv v0.16.0 agent-deck-1.16.22-go-modules> go: downloading github.com/klauspost/compress v1.19.2 agent-deck-1.16.22-go-modules> go: downloading github.com/gorilla/websocket v1.5.3 agent-deck-1.16.22-go-modules> go: downloading modernc.org/sqlite v1.57.0 agent-deck-1.16.22-go-modules> go: downloading github.com/creack/pty v1.1.24 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/exp/teatest v0.0.0-20260413165052-6921c759c913 agent-deck-1.16.22-go-modules> go: downloading github.com/BurntSushi/toml v1.6.0 agent-deck-1.16.22-go-modules> go: downloading github.com/thiagokokada/dark-mode-go v0.0.2 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/ansi v0.11.8 agent-deck-1.16.22-go-modules> go: downloading go.uber.org/goleak v1.3.0 agent-deck-1.16.22-go-modules> go: downloading cloud.google.com/go/pubsub v1.51.1 agent-deck-1.16.22-go-modules> go: downloading golang.org/x/crypto v0.55.0 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/vt v0.0.0-20260828171018-3c30eef5e73e agent-deck-1.16.22-go-modules> go: downloading golang.org/x/oauth2 v0.36.0 agent-deck-1.16.22-go-modules> go: downloading github.com/SherClockHolmes/webpush-go v1.4.0 agent-deck-1.16.22-go-modules> go: downloading golang.org/x/time v0.15.0 agent-deck-1.16.22-go-modules> go: downloading github.com/rivo/uniseg v0.4.7 agent-deck-1.16.22-go-modules> go: downloading github.com/evanw/esbuild v0.28.2 agent-deck-1.16.22-go-modules> go: downloading google.golang.org/api v0.295.0 agent-deck-1.16.22-go-modules> go: downloading github.com/mattn/go-runewidth v0.0.28 agent-deck-1.16.22-go-modules> go: downloading google.golang.org/grpc v1.83.2 agent-deck-1.16.22-go-modules> go: downloading cloud.google.com/go v0.123.0 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/term v0.2.2 agent-deck-1.16.22-go-modules> go: downloading github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f agent-deck-1.16.22-go-modules> go: downloading github.com/mattn/go-localereader v0.0.1 agent-deck-1.16.22-go-modules> go: downloading github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 agent-deck-1.16.22-go-modules> go: downloading github.com/muesli/cancelreader v0.2.2 agent-deck-1.16.22-go-modules> go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1 agent-deck-1.16.22-go-modules> go: downloading github.com/lucasb-eyer/go-colorful v1.4.0 agent-deck-1.16.22-go-modules> go: downloading github.com/mattn/go-isatty v0.0.24 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/cellbuf v0.0.15 agent-deck-1.16.22-go-modules> go: downloading github.com/atotto/clipboard v0.1.4 agent-deck-1.16.22-go-modules> go: downloading github.com/clipperhouse/displaywidth v0.11.0 agent-deck-1.16.22-go-modules> go: downloading github.com/clipperhouse/uax29/v2 v2.7.0 agent-deck-1.16.22-go-modules> go: downloading cloud.google.com/go/compute/metadata v0.9.0 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 agent-deck-1.16.22-go-modules> go: downloading github.com/godbus/dbus/v5 v5.1.0 agent-deck-1.16.22-go-modules> go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/ultraviolet v0.0.0-20260303162955-0b88c25f3fff agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/exp/ordered v0.1.0 agent-deck-1.16.22-go-modules> go: downloading cloud.google.com/go/iam v1.12.0 agent-deck-1.16.22-go-modules> go: downloading github.com/googleapis/gax-go/v2 v2.24.0 agent-deck-1.16.22-go-modules> go: downloading go.opencensus.io v0.24.0 agent-deck-1.16.22-go-modules> go: downloading go.opentelemetry.io/otel v1.45.0 agent-deck-1.16.22-go-modules> go: downloading go.opentelemetry.io/otel/trace v1.45.0 agent-deck-1.16.22-go-modules> go: downloading google.golang.org/protobuf v1.36.12 agent-deck-1.16.22-go-modules> go: downloading go.einride.tech/aip v0.83.0 agent-deck-1.16.22-go-modules> go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d agent-deck-1.16.22-go-modules> go: downloading golang.org/x/text v0.41.0 agent-deck-1.16.22-go-modules> go: downloading google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d agent-deck-1.16.22-go-modules> go: downloading go.yaml.in/yaml/v3 v3.0.5 agent-deck-1.16.22-go-modules> go: downloading golang.org/x/net v0.58.0 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/colorprofile v0.4.2 agent-deck-1.16.22-go-modules> go: downloading github.com/aymanbagabas/go-udiff v0.3.1 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/termios v0.1.1 agent-deck-1.16.22-go-modules> go: downloading github.com/charmbracelet/x/windows v0.2.2 agent-deck-1.16.22-go-modules> go: downloading github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e agent-deck-1.16.22-go-modules> go: downloading cloud.google.com/go/pubsub/v2 v2.6.0 agent-deck-1.16.22-go-modules> go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 agent-deck-1.16.22-go-modules> go: downloading go.opentelemetry.io/otel/metric v1.45.0 agent-deck-1.16.22-go-modules> go: downloading github.com/go-logr/logr v1.4.4 agent-deck-1.16.22-go-modules> go: downloading github.com/google/go-cmp v0.7.0 agent-deck-1.16.22-go-modules> go: downloading go.opentelemetry.io/otel/sdk v1.45.0 agent-deck-1.16.22-go-modules> go: downloading modernc.org/libc v1.74.4 agent-deck-1.16.22-go-modules> go: downloading github.com/cespare/xxhash/v2 v2.3.0 agent-deck-1.16.22-go-modules> go: downloading go.opentelemetry.io/auto/sdk v1.2.1 agent-deck-1.16.22-go-modules> go: downloading github.com/go-logr/stdr v1.2.2 agent-deck-1.16.22-go-modules> go: downloading cloud.google.com/go/auth v0.23.2 agent-deck-1.16.22-go-modules> go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8 agent-deck-1.16.22-go-modules> go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 agent-deck-1.16.22-go-modules> go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 agent-deck-1.16.22-go-modules> go: downloading github.com/google/s2a-go v0.1.9 agent-deck-1.16.22-go-modules> go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.20 agent-deck-1.16.22-go-modules> go: downloading github.com/felixge/httpsnoop v1.0.4 agent-deck-1.16.22-go-modules> go: downloading github.com/ncruces/go-strftime v1.0.0 agent-deck-1.16.22-go-modules> go: downloading modernc.org/memory v1.11.0 agent-deck-1.16.22-go-modules> go: downloading modernc.org/mathutil v1.7.1 agent-deck-1.16.22-go-modules> go: downloading github.com/dustin/go-humanize v1.0.1 agent-deck-1.16.22-go-modules> go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec agent-deck-1.16.22-go-modules> Running phase: installPhase building '/nix/store/asrnzgk15s1sn3ncg7l59rdl7nv7ri7g-agent-deck-1.16.22.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/asrnzgk15s1sn3ncg7l59rdl7nv7ri7g-agent-deck-1.16.22.drv' agent-deck-1.16.22> Using versionCheckHook agent-deck-1.16.22> Running phase: unpackPhase agent-deck-1.16.22> unpacking source archive /nix/store/y555yn2303r3yyhfqjwasdrb5daw8g7p-source agent-deck-1.16.22> source root is source agent-deck-1.16.22> Running phase: patchPhase agent-deck-1.16.22> Running phase: updateAutotoolsGnuConfigScriptsPhase agent-deck-1.16.22> Running phase: configurePhase agent-deck-1.16.22> Running phase: buildPhase agent-deck-1.16.22> Building subPackage ./cmd/agent-deck agent-deck-1.16.22> Running phase: checkPhase agent-deck-1.16.22> --- FAIL: TestCodexAcceptanceGuardAcceptsFreshComposerThread (10.29s) agent-deck-1.16.22> codex_fresh_composer_send_test.go:48: pane process never held the writer lock (live thread "") agent-deck-1.16.22> 2026/09/28 23:05:25 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-Jz0uF5/TestWriteCodexHookStatus_PartialPriorFailsClosed378031242/001/.local/share/agent-deck/hooks/partial.json bytes=10 agent-deck-1.16.22> Codex notify hook installed successfully. agent-deck-1.16.22> Config: /private/tmp/nix-Jz0uF5/TestCodexHooksInstallUninstall4226618268/001/.codex/config.toml agent-deck-1.16.22> Codex notify hook removed successfully. agent-deck-1.16.22> Codex notify hook upgraded successfully. agent-deck-1.16.22> Config: /private/tmp/nix-Jz0uF5/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers3618508035/001/.codex/config.toml agent-deck-1.16.22> Codex notify hook upgraded successfully. agent-deck-1.16.22> Config: /private/tmp/nix-Jz0uF5/TestCodexHooksInstall_UpgradesLegacyMarkerBlock2659951950/001/.codex/config.toml agent-deck-1.16.22> --- FAIL: TestCoreRegistryMatchesLegacyHandlers (16.75s) agent-deck-1.16.22> core_cli_test.go:271: "session restart alpha --force" differs agent-deck-1.16.22> exit legacy=1 registry=1 agent-deck-1.16.22> --- legacy stdout --- agent-deck-1.16.22> agent-deck-1.16.22> --- registry stdout --- agent-deck-1.16.22> agent-deck-1.16.22> --- legacy stderr --- agent-deck-1.16.22> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99639) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=99639 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 0c5e176f-1790636727 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727 agent-deck-1.16.22> agent-deck-1.16.22> --- registry stderr --- agent-deck-1.16.22> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99691) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=99691 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 0c5e176f-1790636727 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727 agent-deck-1.16.22> 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 99691) could not be identified, so anything it started is unaccounted for; nothing was signalled)\\n unverifiable: pid=99691 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 0c5e176f-1790636727\\nReap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727\",\n \"success\": false\n}\n", want success containing "\"success\": true" (stderr "") agent-deck-1.16.22> core_cli_test.go:271: "session restart alpha --force --json" differs agent-deck-1.16.22> exit legacy=1 registry=1 agent-deck-1.16.22> --- legacy stdout --- agent-deck-1.16.22> { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99639) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99639 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 0c5e176f-1790636727\nReap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727", agent-deck-1.16.22> "success": false agent-deck-1.16.22> } agent-deck-1.16.22> agent-deck-1.16.22> --- registry stdout --- agent-deck-1.16.22> { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99691) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99691 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 0c5e176f-1790636727\nReap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727", agent-deck-1.16.22> "success": false agent-deck-1.16.22> } agent-deck-1.16.22> agent-deck-1.16.22> --- legacy stderr --- agent-deck-1.16.22> agent-deck-1.16.22> --- registry stderr --- agent-deck-1.16.22> core_cli_test.go:271: "session restart beta --env FOO=bar --json" differs agent-deck-1.16.22> exit legacy=1 registry=1 agent-deck-1.16.22> --- legacy stdout --- agent-deck-1.16.22> { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99793) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99793 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 9145c81f-1790636727\nReap and clear: agent-deck session ownership reconcile 9145c81f-1790636727", agent-deck-1.16.22> "success": false agent-deck-1.16.22> } agent-deck-1.16.22> agent-deck-1.16.22> --- registry stdout --- agent-deck-1.16.22> { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99913) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99913 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 9145c81f-1790636727\nReap and clear: agent-deck session ownership reconcile 9145c81f-1790636727", agent-deck-1.16.22> "success": false agent-deck-1.16.22> } agent-deck-1.16.22> agent-deck-1.16.22> --- legacy stderr --- agent-deck-1.16.22> agent-deck-1.16.22> --- registry stderr --- agent-deck-1.16.22> core_cli_test.go:271: "session restart --all --json" differs agent-deck-1.16.22> exit legacy=1 registry=1 agent-deck-1.16.22> --- legacy stdout --- agent-deck-1.16.22> { agent-deck-1.16.22> "abandoned": 0, agent-deck-1.16.22> "auth_deaths": 0, agent-deck-1.16.22> "auth_tripped": false, agent-deck-1.16.22> "failed": 3, agent-deck-1.16.22> "restarted": 0, agent-deck-1.16.22> "sessions": [ agent-deck-1.16.22> { agent-deck-1.16.22> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99639) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99639 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 0c5e176f-1790636727\nReap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727", agent-deck-1.16.22> "id": "0c5e176f-1790636727", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "title": "alpha" agent-deck-1.16.22> }, agent-deck-1.16.22> { agent-deck-1.16.22> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99793) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99793 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 9145c81f-1790636727\nReap and clear: agent-deck session ownership reconcile 9145c81f-1790636727", agent-deck-1.16.22> "id": "9145c81f-1790636727", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "title": "beta" agent-deck-1.16.22> }, agent-deck-1.16.22> { agent-deck-1.16.22> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99951) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99951 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 9d94a011-1790636727\nReap and clear: agent-deck session ownership reconcile 9d94a011-1790636727", agent-deck-1.16.22> "id": "9d94a011-1790636727", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "title": "gamma" agent-deck-1.16.22> } agent-deck-1.16.22> ], agent-deck-1.16.22> "skipped_auth": 0, agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "total": 3, agent-deck-1.16.22> "trip_message": "" agent-deck-1.16.22> } agent-deck-1.16.22> agent-deck-1.16.22> --- registry stdout --- agent-deck-1.16.22> { agent-deck-1.16.22> "abandoned": 0, agent-deck-1.16.22> "auth_deaths": 0, agent-deck-1.16.22> "auth_tripped": false, agent-deck-1.16.22> "failed": 3, agent-deck-1.16.22> "restarted": 0, agent-deck-1.16.22> "sessions": [ agent-deck-1.16.22> { agent-deck-1.16.22> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99691) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99691 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 0c5e176f-1790636727\nReap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727", agent-deck-1.16.22> "id": "0c5e176f-1790636727", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "title": "alpha" agent-deck-1.16.22> }, agent-deck-1.16.22> { agent-deck-1.16.22> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99913) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99913 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 9145c81f-1790636727\nReap and clear: agent-deck session ownership reconcile 9145c81f-1790636727", agent-deck-1.16.22> "id": "9145c81f-1790636727", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "title": "beta" agent-deck-1.16.22> }, agent-deck-1.16.22> { agent-deck-1.16.22> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99987) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=99987 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 9d94a011-1790636727\nReap and clear: agent-deck session ownership reconcile 9d94a011-1790636727", agent-deck-1.16.22> "id": "9d94a011-1790636727", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "title": "gamma" agent-deck-1.16.22> } agent-deck-1.16.22> ], agent-deck-1.16.22> "skipped_auth": 0, agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "total": 3, agent-deck-1.16.22> "trip_message": "" agent-deck-1.16.22> } agent-deck-1.16.22> agent-deck-1.16.22> --- legacy stderr --- agent-deck-1.16.22> agent-deck-1.16.22> --- registry stderr --- agent-deck-1.16.22> core_cli_test.go:271: "session restart --all" differs agent-deck-1.16.22> exit legacy=1 registry=1 agent-deck-1.16.22> --- legacy stdout --- agent-deck-1.16.22> Restarting alpha... agent-deck-1.16.22> Restarting beta... agent-deck-1.16.22> Restarting gamma... agent-deck-1.16.22> Restarted 0/3 sessions (3 failed) agent-deck-1.16.22> agent-deck-1.16.22> --- registry stdout --- agent-deck-1.16.22> Restarting alpha... agent-deck-1.16.22> Restarting beta... agent-deck-1.16.22> Restarting gamma... agent-deck-1.16.22> Restarted 0/3 sessions (3 failed) agent-deck-1.16.22> agent-deck-1.16.22> --- legacy stderr --- agent-deck-1.16.22> Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99639) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=99639 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 0c5e176f-1790636727 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727 agent-deck-1.16.22> Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99793) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=99793 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 9145c81f-1790636727 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 9145c81f-1790636727 agent-deck-1.16.22> Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99951) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=99951 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 9d94a011-1790636727 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 9d94a011-1790636727 agent-deck-1.16.22> agent-deck-1.16.22> --- registry stderr --- agent-deck-1.16.22> Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99691) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=99691 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 0c5e176f-1790636727 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 0c5e176f-1790636727 agent-deck-1.16.22> Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99913) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=99913 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 9145c81f-1790636727 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 9145c81f-1790636727 agent-deck-1.16.22> Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 99987) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=99987 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 9d94a011-1790636727 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 9d94a011-1790636727 agent-deck-1.16.22> --- FAIL: TestDaemonEnvelopesMatchArgv (5.37s) agent-deck-1.16.22> daemon_cmd_test.go:199: start (daemon CLI): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.start/v1", agent-deck-1.16.22> "request_id": "54c86e9c84286802", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 4774) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=4774 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 694588fd-1790636746\nReap and clear: agent-deck session ownership reconcile 694588fd-1790636746" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:224: start: envelopes differ agent-deck-1.16.22> argv: {"data":{"group":"work","id":"694588fd-1790636746","status":"started","title":"alpha","tmux":"agentdeck_alpha_5062ed64"},"ok":true,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]} agent-deck-1.16.22> 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 4774) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=4774 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 694588fd-1790636746\nReap and clear: agent-deck session ownership reconcile 694588fd-1790636746"},"ok":false,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]} agent-deck-1.16.22> daemon_cmd_test.go:199: restart fresh session is skipped (argv): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.22> "request_id": "c0358835d8f9bf3a", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 4774) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=4774 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 694588fd-1790636746\nReap and clear: agent-deck session ownership reconcile 694588fd-1790636746" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:199: restart fresh session is skipped (daemon CLI): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.22> "request_id": "23d2f23e1c612bea", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 4774) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=4774 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 694588fd-1790636746\nReap and clear: agent-deck session ownership reconcile 694588fd-1790636746" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:199: restart --force (argv): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.22> "request_id": "66a3226d40cca8b7", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 4774) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=4774 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 694588fd-1790636746\nReap and clear: agent-deck session ownership reconcile 694588fd-1790636746" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:199: restart --force (daemon CLI): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.22> "request_id": "79e23719206fda45", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 4774) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=4774 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 694588fd-1790636746\nReap and clear: agent-deck session ownership reconcile 694588fd-1790636746" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:199: restart --all (argv): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.22> "request_id": "986ffc45172a7337", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "NO_ACTIVE_SESSIONS", agent-deck-1.16.22> "message": "no active sessions to restart" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:199: restart --all (daemon CLI): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.22> "request_id": "2b1b174bc1a1f878", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "NO_ACTIVE_SESSIONS", agent-deck-1.16.22> "message": "no active sessions to restart" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:199: stop (argv): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.stop/v1", agent-deck-1.16.22> "request_id": "c9d1021d506d2a56", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "NOT_RUNNING", agent-deck-1.16.22> "message": "session 'alpha' is not running" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:199: stop setup session start alpha --json=envelope: ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.start/v1", agent-deck-1.16.22> "request_id": "77066bf79fb2dce8", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "INVALID_OPERATION", agent-deck-1.16.22> "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 4774) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=4774 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 694588fd-1790636746\nReap and clear: agent-deck session ownership reconcile 694588fd-1790636746" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> daemon_cmd_test.go:199: stop (daemon CLI): ok=false, want true agent-deck-1.16.22> { agent-deck-1.16.22> "schema": "agent-deck/session.stop/v1", agent-deck-1.16.22> "request_id": "1e064d82e0b875e4", agent-deck-1.16.22> "ok": false, agent-deck-1.16.22> "data": null, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null, agent-deck-1.16.22> "error": { agent-deck-1.16.22> "code": "NOT_RUNNING", agent-deck-1.16.22> "message": "session 'alpha' is not running" agent-deck-1.16.22> } agent-deck-1.16.22> } agent-deck-1.16.22> --- FAIL: TestDaemonRestartAllReturnsCompletedResult (8.78s) agent-deck-1.16.22> 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:962586cb-1790636751 Title:alpha Success:0x69c8e21f1f19 Error:failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6922) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=6922 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 962586cb-1790636751 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 962586cb-1790636751 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:a92f8459-1790636751 Title:beta Success:0x69c8e21f1f40 Error:failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7127) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=7127 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect a92f8459-1790636751 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile a92f8459-1790636751 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:14b1af4c-1790636751 Title:gamma Success:0x69c8e21f1f46 Error:failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7321) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=7321 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect 14b1af4c-1790636751 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile 14b1af4c-1790636751 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:c89c6b9a-1790636751 Title:delta Success:0x69c8e21f1f4c Error:failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7527) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=7527 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect c89c6b9a-1790636751 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile c89c6b9a-1790636751 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false} {ID:f6fd7441-1790636751 Title:epsilon Success:0x69c8e21f1f77 Error:failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7622) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=7622 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect f6fd7441-1790636751 agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile f6fd7441-1790636751 SpawnFailure: Warning: Skipped:false Reason: AuthDeath:false}]}}}: { agent-deck-1.16.22> "schema": "agent-deck/session.restart/v1", agent-deck-1.16.22> "request_id": "0d827173296efa79", agent-deck-1.16.22> "ok": true, agent-deck-1.16.22> "data": { agent-deck-1.16.22> "all": { agent-deck-1.16.22> "total": 5, agent-deck-1.16.22> "restarted": 0, agent-deck-1.16.22> "failed": 5, agent-deck-1.16.22> "skipped_auth": 0, agent-deck-1.16.22> "auth_deaths": 0, agent-deck-1.16.22> "abandoned": 0, agent-deck-1.16.22> "auth_tripped": false, agent-deck-1.16.22> "trip_message": "", agent-deck-1.16.22> "sessions": [ agent-deck-1.16.22> { agent-deck-1.16.22> "id": "962586cb-1790636751", agent-deck-1.16.22> "title": "alpha", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 6922) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=6922 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 962586cb-1790636751\nReap and clear: agent-deck session ownership reconcile 962586cb-1790636751" agent-deck-1.16.22> }, agent-deck-1.16.22> { agent-deck-1.16.22> "id": "a92f8459-1790636751", agent-deck-1.16.22> "title": "beta", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7127) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=7127 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 a92f8459-1790636751\nReap and clear: agent-deck session ownership reconcile a92f8459-1790636751" agent-deck-1.16.22> }, agent-deck-1.16.22> { agent-deck-1.16.22> "id": "14b1af4c-1790636751", agent-deck-1.16.22> "title": "gamma", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7321) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=7321 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 14b1af4c-1790636751\nReap and clear: agent-deck session ownership reconcile 14b1af4c-1790636751" agent-deck-1.16.22> }, agent-deck-1.16.22> { agent-deck-1.16.22> "id": "c89c6b9a-1790636751", agent-deck-1.16.22> "title": "delta", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "error": "failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7527) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=7527 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 c89c6b9a-1790636751\nReap and clear: agent-deck session ownership reconcile c89c6b9a-1790636751" agent-deck-1.16.22> }, agent-deck-1.16.22> { agent-deck-1.16.22> "id": "f6fd7441-1790636751", agent-deck-1.16.22> "title": "epsilon", agent-deck-1.16.22> "success": false, agent-deck-1.16.22> "error": "failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 7622) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=7622 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 f6fd7441-1790636751\nReap and clear: agent-deck session ownership reconcile f6fd7441-1790636751" agent-deck-1.16.22> } agent-deck-1.16.22> ] agent-deck-1.16.22> } agent-deck-1.16.22> }, agent-deck-1.16.22> "warnings": [], agent-deck-1.16.22> "revision": null agent-deck-1.16.22> } agent-deck-1.16.22> agent-deck-1.16.22> agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-Jz0uF5/TestEventProfileUsesStorageFallbackForMissingInference3446128350/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.22> Gemini hooks installed successfully. agent-deck-1.16.22> Config: /private/tmp/nix-Jz0uF5/TestGeminiHooksInstallUninstall380881807/001/.gemini/settings.json agent-deck-1.16.22> Gemini hooks removed successfully. agent-deck-1.16.22> --- FAIL: TestStorageBytesGoldens (1.94s) agent-deck-1.16.22> goldens_storage_test.go:81: agent-deck session start golden-sess-shell --no-wait (exit 0): agent-deck-1.16.22> stdout: agent-deck-1.16.22> ✓ Started session: storage bytes shell agent-deck-1.16.22> agent-deck-1.16.22> stderr: agent-deck-1.16.22> goldens_storage_test.go:85: agent-deck session stop golden-sess-shell (exit 0): agent-deck-1.16.22> stdout: agent-deck-1.16.22> ✓ Stopped session: storage bytes shell agent-deck-1.16.22> agent-deck-1.16.22> stderr: agent-deck-1.16.22> goldens_storage_test.go:89: agent-deck session restart golden-sess-shell (exit 1): agent-deck-1.16.22> stdout: agent-deck-1.16.22> agent-deck-1.16.22> stderr: agent-deck-1.16.22> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 9174) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=9174 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect golden-sess-shell agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile golden-sess-shell agent-deck-1.16.22> goldens_storage_test.go:89: agent-deck session restart golden-sess-shell: exit 1 agent-deck-1.16.22> stdout: agent-deck-1.16.22> agent-deck-1.16.22> stderr: agent-deck-1.16.22> Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 9174) could not be identified, so anything it started is unaccounted for; nothing was signalled) agent-deck-1.16.22> unverifiable: pid=9174 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.22> Nothing was started and nothing was signalled. agent-deck-1.16.22> Inspect: agent-deck session ownership inspect golden-sess-shell agent-deck-1.16.22> Reap and clear: agent-deck session ownership reconcile golden-sess-shell agent-deck-1.16.22> ✓ Reordered group 'Beta': position 1 → 0 agent-deck-1.16.22> ✓ Reordered group 'Beta': position 1 → 2 agent-deck-1.16.22> ✓ Reordered group 'Gamma': position 2 → 0 agent-deck-1.16.22> ✓ Reordered group 'Alpha': position 0 → 0 agent-deck-1.16.22> ✓ Reordered group 'Gamma': position 2 → 2 agent-deck-1.16.22> ✓ Reordered group 'Alpha': position 0 → 2 agent-deck-1.16.22> Removing worktree at ~/wt-1576... agent-deck-1.16.22> ✓ Worktree removed agent-deck-1.16.22> swept 1 stale inbox event(s) for removed session agent-deck-1.16.22> agent-deck-1.16.22> ✓ Finished: session 'wt-finish-1576' removed, worktree cleaned up agent-deck-1.16.22> --- FAIL: TestIssue2394_HydratePrefersLiveThreadOverGuessedPaneIdentity (10.36s) agent-deck-1.16.22> issue2394_codex_foreign_identity_test.go:53: pane process never held the writer lock (live thread "") agent-deck-1.16.22> --- FAIL: TestIssue2400_ArchiveKeepsLiveCodexIdentity (10.27s) agent-deck-1.16.22> issue2396_2400_codex_launch_identity_test.go:95: pane process never held the thread open (live thread "") agent-deck-1.16.22> --- FAIL: TestIssue2396_FirstTurnOutputIsBoundToItsConversation (10.24s) agent-deck-1.16.22> issue2396_2400_codex_launch_identity_test.go:109: pane process never held the thread open (live thread "") agent-deck-1.16.22> remote-agent: probe: storage gone agent-deck-1.16.22> remote-agent: binary upgraded (running v1.16.22); exiting so the controller reconnects agent-deck-1.16.22> remote-agent: probe produced no listing (Error: database is locked) agent-deck-1.16.22> remote-agent: probe produced no listing ([]) agent-deck-1.16.22> remote-agent: no input for 300ms, exiting agent-deck-1.16.22> agent-deck-1.16.22> ═══ Remote: offline (a@offline) ═══ agent-deck-1.16.22> – Skipped: agent-deck not found on remote or host unreachable agent-deck-1.16.22> agent-deck-1.16.22> ═══ Remote: offline (a@offline) ═══ agent-deck-1.16.22> ✗ Failed: stub: no platform agent-deck-1.16.22> A remote sweep is already running on this controller (pid 97113, started 11:07PM); waiting for it... agent-deck-1.16.22> agent-deck-1.16.22> ═══ Remote: lab (a@lab) ═══ agent-deck-1.16.22> – Skipped: sweep already in progress, remote lab is being updated by 97113 agent-deck-1.16.22> agent-deck-1.16.22> ═══ Remote: other (a@other) ═══ agent-deck-1.16.22> ✓ Up to date (v1.16.0) agent-deck-1.16.22> agent-deck-1.16.22> ═══ Remote: lab (a@lab) ═══ agent-deck-1.16.22> ✓ Up to date (v1.16.0) agent-deck-1.16.22> agent-deck-1.16.22> ═══ Remote: other (a@other) ═══ agent-deck-1.16.22> ✓ Up to date (v1.16.0) agent-deck-1.16.22> Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_e13e5143": record restart outcome for "35552ca6-1790636881": instance row not found agent-deck-1.16.22> The session is running; agent-deck may show it as errored until the name is saved. agent-deck-1.16.22> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.22> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.22> Warning: output freshness timeout (300ms) — response may be stale agent-deck-1.16.22> Launch agent re-registration deferred: a remote sweep (pid 12345, started 23:09:29) is still running agent-deck-1.16.22> Imported 2 channel(s) agent-deck-1.16.22> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.22> C1BBCDF6HLE -> feat-req/watcher.toml agent-deck-1.16.22> agent-deck-1.16.22> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.22> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.22> Clients written to: /private/tmp/nix-Jz0uF5/TestImportChannels_EndToEnd3542897804/002/clients.json agent-deck-1.16.22> Imported 1 channel(s) agent-deck-1.16.22> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.22> agent-deck-1.16.22> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.22> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.22> Clients written to: /private/tmp/nix-Jz0uF5/TestImportChannels_Idempotent100155944/002/clients.json agent-deck-1.16.22> Imported 1 channel(s) agent-deck-1.16.22> C0AABSF5GKD -> si-bugs/watcher.toml agent-deck-1.16.22> agent-deck-1.16.22> Note: Set the ntfy topic in each watcher.toml (all Slack channels agent-deck-1.16.22> share one ntfy topic from the Cloudflare Worker). agent-deck-1.16.22> Clients written to: /private/tmp/nix-Jz0uF5/TestImportChannels_Idempotent100155944/002/clients.json agent-deck-1.16.22> Imported 0 channel(s) agent-deck-1.16.22> Clients written to: /private/tmp/nix-Jz0uF5/TestImportChannels_EmptyChannels568893722/002/clients.json agent-deck-1.16.22> Installed skill: watcher-creator -> /private/tmp/nix-Jz0uF5/TestWatcherInstallSkill426376588/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.22> Installed skill: watcher-creator -> /private/tmp/nix-Jz0uF5/TestWatcherInstallSkill_DirMode2801719663/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.22> Created watcher: create-topic-ntfy (type: ntfy) agent-deck-1.16.22> Created watcher: create-topic-slack (type: slack) agent-deck-1.16.22> Installed skill: watcher-creator -> /private/tmp/nix-Jz0uF5/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath379945325/001/xdg-config/agent-deck/skills/pool/watcher-creator agent-deck-1.16.22> FAIL agent-deck-1.16.22> FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 282.553s agent-deck-1.16.22> FAIL error: build of '/nix/store/asrnzgk15s1sn3ncg7l59rdl7nv7ri7g-agent-deck-1.16.22.drv' on 'ssh-ng://customer@mac02.m.ntd.one' failed: Cannot build '/nix/store/asrnzgk15s1sn3ncg7l59rdl7nv7ri7g-agent-deck-1.16.22.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/hs7ax2q02wbq0f7vrw2miklri6miji9g-agent-deck-1.16.22 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-Jz0uF5/TestImportChannels_EndToEnd3542897804/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-Jz0uF5/TestImportChannels_Idempotent100155944/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-Jz0uF5/TestImportChannels_Idempotent100155944/002/clients.json > Imported 0 channel(s) > Clients written to: /private/tmp/nix-Jz0uF5/TestImportChannels_EmptyChannels568893722/002/clients.json > Installed skill: watcher-creator -> /private/tmp/nix-Jz0uF5/TestWatcherInstallSkill426376588/001/xdg-config/agent-deck/skills/pool/watcher-creator > Installed skill: watcher-creator -> /private/tmp/nix-Jz0uF5/TestWatcherInstallSkill_DirMode2801719663/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-Jz0uF5/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath379945325/001/xdg-config/agent-deck/skills/pool/watcher-creator > FAIL > FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 282.553s > FAIL For full logs, run: nix log /nix/store/asrnzgk15s1sn3ncg7l59rdl7nv7ri7g-agent-deck-1.16.22.drv error: Cannot build '/nix/store/asrnzgk15s1sn3ncg7l59rdl7nv7ri7g-agent-deck-1.16.22.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/hs7ax2q02wbq0f7vrw2miklri6miji9g-agent-deck-1.16.22 error: Cannot build '/nix/store/02h9qq3wjildr39lflzkjdzflxr6zwrw-check-agent-deck.drv'. Reason: 1 dependency failed. Output paths: /nix/store/x8n6lc1g4sc4i9lybgpajfhx83sb6z8h-check-agent-deck