nixbot

builds

failed agent-deck-1.16.36 checks.aarch64-darwin.pkgs-agent-deck · build #9923 · raw

1mac02: building 590yxqwnhfvcyjgiqzmysl287bqwbr0q-agent-deck-1.16.36.drv2Using versionCheckHook
unpackPhase
3unpacking source archive /nix/store/3yq2390qf9xp0g09qg6g6m0r6kx4rbmw-source4source root is source
buildPhase
5Building subPackage ./cmd/agent-deck6buildPhase completed in 34 seconds
checkPhase
72026/11/03 23:16:17 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-tJyX0r/TestWriteCodexHookStatus_PartialPriorFailsClosed131471480/001/.local/share/agent-deck/hooks/partial.json bytes=108Codex notify hook installed successfully.9Config: /private/tmp/nix-tJyX0r/TestCodexHooksInstallUninstall2742479404/001/.codex/config.toml10Codex notify hook removed successfully.11Codex notify hook upgraded successfully.12Config: /private/tmp/nix-tJyX0r/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers3707931881/001/.codex/config.toml13Codex notify hook upgraded successfully.14Config: /private/tmp/nix-tJyX0r/TestCodexHooksInstall_UpgradesLegacyMarkerBlock2540403760/001/.codex/config.toml15Codex notify hook upgraded successfully.16Config: /private/tmp/nix-tJyX0r/TestCodexHooksInstall_ReplacesBlockInPlaceAndKeepsMode1654348894/001/.codex/config.toml17Codex notify hook removed successfully.18Error reading codex config: open /private/tmp/nix-tJyX0r/TestCodexHooksInstall_UnreadableConfigIsNotOverwritten2000694706/001/.codex/config.toml: permission denied19Error writing codex config: open /private/tmp/nix-tJyX0r/TestCodexHooksInstall_ReadOnlyConfigIsNotReplaced3588723260/001/.codex/config.toml: permission denied20Codex notify hook upgraded successfully.21Config: /private/tmp/nix-tJyX0r/TestCodexHooksUninstall_KeepsLineEndingscrlf4212038572/001/.codex/config.toml22Codex notify hook removed successfully.23Codex notify hook upgraded successfully.24Config: /private/tmp/nix-tJyX0r/TestCodexHooksUninstall_KeepsLineEndingsno_final_newline3960657381/001/.codex/config.toml25Codex notify hook removed successfully.26Error: the agent-deck notify block in /private/tmp/nix-tJyX0r/TestCodexHooksInstall_BlockBelowTableIsRefusedprofiles.work3809770485/001/.codex/config.toml sits below a [table], where notify belongs to that table.27Move the block above every table, or remove it and rerun 'agent-deck codex-hooks install'.28Error: the agent-deck notify block in /private/tmp/nix-tJyX0r/TestCodexHooksInstall_BlockBelowTableIsRefusedprofiles.qa,wes2653130139/001/.codex/config.toml sits below a [table], where notify belongs to that table.29Move the block above every table, or remove it and rerun 'agent-deck codex-hooks install'.30Error: the agent-deck notify block in /private/tmp/nix-tJyX0r/TestCodexHooksInstall_BlockBelowTableIsRefused_hooks_._a=b2506311260/001/.codex/config.toml sits below a [table], where notify belongs to that table.31Move the block above every table, or remove it and rerun 'agent-deck codex-hooks install'.32agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-tJyX0r/TestEventProfileUsesStorageFallbackForMissingInference2069241325/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.33Gemini hooks installed successfully.34Config: /private/tmp/nix-tJyX0r/TestGeminiHooksInstallUninstall1688062704/001/.gemini/settings.json35Gemini hooks removed successfully.36✓ Reordered group 'Beta': position 1 → 037✓ Reordered group 'Beta': position 1 → 238✓ Reordered group 'Gamma': position 2 → 039✓ Reordered group 'Alpha': position 0 → 040✓ Reordered group 'Gamma': position 2 → 241✓ Reordered group 'Alpha': position 0 → 242agentpaths: resolved agent-deck path under the real home (/private/tmp/nix-itPB3c/.config/agent-deck); this touches REAL user data. If this is a test, it is NOT sandboxed; call testutil.IsolateHome() in TestMain and run with a temp HOME+XDG (2026-06-04 data-loss incident, S4).43WARNING: no notify-daemon running; completions are not being recorded, so an empty drain or 0 done does not mean nothing finished. Start one with `agent-deck notify-daemon` (`agent-deck conductor setup` installs it as a service).44WARNING: no notify-daemon running; completions are not being recorded, so an empty drain or 0 done does not mean nothing finished. Start one with `agent-deck notify-daemon` (`agent-deck conductor setup` installs it as a service).45agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-tJyX0r/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG1825358507/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.46agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-tJyX0r/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG1825358507/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: work. 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.47agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-tJyX0r/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG1825358507/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: work. 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.48notify-daemon: binary upgraded (running 1.16.36, on-disk 1.16.36-next); recycling49notify-daemon: binary upgraded (running 1.16.36, on-disk 1.16.36-next); recycling50--- FAIL: TestRemoteAddProvider_RegistersSandbox (0.26s)51 provider_cmd_test.go:130: remote add --provider exit 152 stdout: Creating sandbox "box1" with provider "fake"...53 54 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair55--- FAIL: TestRemoteAddProvider_OutputMentionsRemote (0.04s)56 provider_cmd_test.go:151: exit 1: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair57--- FAIL: TestRemoteAddProvider_RollsBackWhenInstallFails (0.04s)58 provider_cmd_test.go:167: stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair59--- FAIL: TestLaunchProvider_ProvisionsThenLaunchesOnTheSandbox (0.04s)60 provider_cmd_test.go:194: exit 161 stdout: Creating sandbox "l1" with provider "fake"...62 63 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair64--- FAIL: TestRemoteDestroy_RefusesNonTTYWithoutYes (0.04s)65 provider_cmd_test.go:227: remote add --provider exit 166 stdout: Creating sandbox "d1" with provider "fake"...67 68 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair69--- FAIL: TestRemoteDestroy_YesStopsThenDestroysThenUnregisters (0.04s)70 provider_cmd_test.go:248: remote add --provider exit 171 stdout: Creating sandbox "d2" with provider "fake"...72 73 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair74--- FAIL: TestRemoteDestroy_TTYPrompt (0.04s)75 provider_cmd_test.go:272: remote add --provider exit 176 stdout: Creating sandbox "d3" with provider "fake"...77 78 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair79--- FAIL: TestRemoteDestroy_NoSessionsNeedsNoConfirmation (0.04s)80 provider_cmd_test.go:296: remote add --provider exit 181 stdout: Creating sandbox "d4" with provider "fake"...82 83 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair84--- FAIL: TestRemoteDestroy_UnreachableRefusesUnlessForce (0.04s)85 provider_cmd_test.go:323: remote add --provider exit 186 stdout: Creating sandbox "d5" with provider "fake"...87 88 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair89--- FAIL: TestRemoteList_ShowsSandboxKind (0.04s)90 provider_cmd_test.go:341: remote add --provider exit 191 stdout: Creating sandbox "k1" with provider "fake"...92 93 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair94--- FAIL: TestProviderTestCommand_CreateRoundTrip (0.05s)95 provider_cmd_test.go:358: exit 196 stdout: list: ok (0 sandboxes)97 create: FAILED98 99 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair100--- FAIL: TestRemoteRemove_SandboxRemote (0.12s)101 --- FAIL: TestRemoteRemove_SandboxRemote/non-tty_removes_and_points_to_destroy (0.04s)102 provider_followups_test.go:36: remote add --provider exit 1103 stdout: Creating sandbox "sb1" with provider "fake"...104 105 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair106 --- FAIL: TestRemoteRemove_SandboxRemote/tty_no_keeps_the_remote (0.04s)107 provider_followups_test.go:36: remote add --provider exit 1108 stdout: Creating sandbox "sb1" with provider "fake"...109 110 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair111 --- FAIL: TestRemoteRemove_SandboxRemote/tty_yes_removes (0.04s)112 provider_followups_test.go:36: remote add --provider exit 1113 stdout: Creating sandbox "sb1" with provider "fake"...114 115 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair116Waiting for the sandbox provider to clean up (press Ctrl-C again to quit now)...117Waiting for the sandbox provider to clean up (press Ctrl-C again to quit now)...118Waiting for the sandbox provider to clean up (press Ctrl-C again to quit now)...119--- FAIL: TestProviderCommandsMarkProviderWork (0.04s)120 provider_followups_test.go:159: remote add --provider exit 1121 stdout: Creating sandbox "sb2" with provider "fake"...122 123 stderr: Error: provider "fake" create: decoding provider response: invalid character '\\' after object key:value pair124remote-agent: probe: storage gone125remote-agent: binary upgraded (running v1.16.36); exiting so the controller reconnects126remote-agent: probe produced no listing (Error: database is locked)127remote-agent: probe produced no listing ([])128remote-agent: no input for 300ms, exiting129remote-agent: the host now selects another profile; exiting so the controller reconnects130131═══ Remote: offline (a@offline) ═══132 – Skipped: agent-deck not found on remote or host unreachable133134═══ Remote: offline (a@offline) ═══135 ✗ Failed: stub: no platform136A remote sweep is already running on this controller (pid 29019, started 11:18PM); waiting for it...137138═══ Remote: lab (a@lab) ═══139 – Skipped: sweep already in progress, remote lab is being updated by 29019140141═══ Remote: other (a@other) ═══142 ✓ Up to date (v1.16.0)143144═══ Remote: lab (a@lab) ═══145 ✓ Up to date (v1.16.0)146147═══ Remote: other (a@other) ═══148 ✓ Up to date (v1.16.0)149Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_5afbcf91": record restart outcome for "96f1f226-1793747890": instance row not found150 The session is running; agent-deck may show it as errored until the name is saved.151Handed switch-account of self to a detached agent-deck (pid 999): it targets the session this command runs in, whose restart ends this pane. Output: /tmp/x.log. Check the result with `agent-deck session show 438d5688-1793747920` once the session is back.152Warning: output freshness timeout (300ms) — response may be stale153Warning: output freshness timeout (300ms) — response may be stale154Warning: output freshness timeout (300ms) — response may be stale155Launch agent re-registration deferred: a remote sweep (pid 12345, started 23:19:20) is still running156Imported 2 channel(s)157 C0AABSF5GKD -> si-bugs/watcher.toml158 C1BBCDF6HLE -> feat-req/watcher.toml159160Note: Set the ntfy topic in each watcher.toml (all Slack channels161share one ntfy topic from the Cloudflare Worker).162Clients written to: /private/tmp/nix-tJyX0r/TestImportChannels_EndToEnd2784108675/002/clients.json163Imported 1 channel(s)164 C0AABSF5GKD -> si-bugs/watcher.toml165166Note: Set the ntfy topic in each watcher.toml (all Slack channels167share one ntfy topic from the Cloudflare Worker).168Clients written to: /private/tmp/nix-tJyX0r/TestImportChannels_Idempotent3287127155/002/clients.json169Imported 1 channel(s)170 C0AABSF5GKD -> si-bugs/watcher.toml171172Note: Set the ntfy topic in each watcher.toml (all Slack channels173share one ntfy topic from the Cloudflare Worker).174Clients written to: /private/tmp/nix-tJyX0r/TestImportChannels_Idempotent3287127155/002/clients.json175Imported 0 channel(s)176Clients written to: /private/tmp/nix-tJyX0r/TestImportChannels_EmptyChannels2405337663/002/clients.json177Installed skill: watcher-creator -> /private/tmp/nix-tJyX0r/TestWatcherInstallSkill1591915018/001/xdg-config/agent-deck/skills/pool/watcher-creator178Installed skill: watcher-creator -> /private/tmp/nix-tJyX0r/TestWatcherInstallSkill_DirMode2471553035/001/xdg-config/agent-deck/skills/pool/watcher-creator179Created watcher: create-topic-ntfy (type: ntfy)180Warning: ntfy watcher: this topic is easy to guess and the public server https://ntfy.sh has no access token set, so anyone who guesses the topic can read its events and inject fake ones. Fix one of: use a random topic (agent-deck watcher create ntfy --name <name> --random-topic); set an access token ($NTFY_TOKEN or --token-file <path> with chmod 600, or token = "..." under [source] in watcher.toml); or use your own ntfy server (--server https://ntfy.example.com, or server = "..." under [source]).181Created watcher: create-topic-slack (type: slack)182Warning: slack watcher: this topic is easy to guess and the public server https://ntfy.sh has no access token set, so anyone who guesses the topic can read its events and inject fake ones. Fix one of: use a random topic (agent-deck watcher create slack --name <name> --random-topic); set an access token ($NTFY_TOKEN or --token-file <path> with chmod 600, or token = "..." under [source] in watcher.toml); or use your own ntfy server (--server https://ntfy.example.com, or server = "..." under [source]).183Usage: agent-deck watcher <command> [args]184185Watchers listen for inbound events (webhooks, push notifications,186GitHub events, Slack messages) and route them to conductor sessions187so your running agents can act on them automatically.188189Commands:190 create <type> --name <name> Create a new watcher (types: webhook, ntfy, github, slack)191 start <name> Mark a watcher as running (run by the profile's watcher engine)192 stop <name> Mark a watcher as stopped193 reload [--json] Apply watcher and clients.json changes to the running engine now194 list [--json] List all watchers with status and event rate195 status <name> [--json] Show watcher info, recent events and events not delivered yet196 test <name> Route a synthetic event to verify routing config197 routes [--json] Show all routing rules from clients.json198 import <path> Migrate bash issue-watcher channels.json to Go watcher config199 install-skill <skill-name> Install a skill to ~/config/agent-deck/skills/pool (e.g. watcher-creator)200201Examples (one per adapter type):202203 # Generic HTTP webhook on 127.0.0.1:9000. Requests must be signed with a204 # secret: generated and stored in its watcher.toml unless given by205 # $WEBHOOK_SECRET or --secret-file (chmod 600):206 agent-deck watcher create webhook --name my-webhook --port 9000207208 # GitHub repository webhook with HMAC-SHA256 verification209 # Secret comes from the environment or a chmod-600 file, never a CLI arg:210 GITHUB_WEBHOOK_SECRET=... agent-deck watcher create github --name gh-alerts211 agent-deck watcher create github --name gh-alerts --secret-file ~/.gh-webhook-secret212213 # ntfy push-notification topic. On the public https://ntfy.sh anyone who214 # knows the topic can read and post to it, so use a random topic:215 agent-deck watcher create ntfy --name phone-alerts --random-topic216 # or an access-protected topic on your own ntfy server (token from the217 # environment or a chmod-600 file, never a CLI arg):218 NTFY_TOKEN=... agent-deck watcher create ntfy --name phone-alerts \219 --server https://ntfy.example.com --topic phone-alerts220221 # Slack-bridged via ntfy topic (see skill for Cloudflare Worker setup)222 agent-deck watcher create slack --name team-slack --random-topic223224After creating, activate and inspect:225 agent-deck watcher start <name>226 agent-deck watcher list # see health + events/hour227 agent-deck watcher test <name> # fire a synthetic event228229Routing: edit ~/data/agent-deck/watcher/clients.json to pick which230conductor / group receives events. See `agent-deck watcher routes` for231the currently-loaded rules across all watchers.232233Conversational setup (recommended for first-time use):234 agent-deck watcher install-skill watcher-creator235 # Then inside Claude Code in an agent-deck session, ask:236 # "Use the watcher-creator skill to set up a GitHub watcher"237238Full reference: https://github.com/asheshgoplani/agent-deck#watchers239No routing rules configured.240No watchers configured.241Run 'agent-deck watcher create <type> --name <name>' to create one.242Installed skill: watcher-creator -> /private/tmp/nix-tJyX0r/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath3428616679/001/xdg-config/agent-deck/skills/pool/watcher-creator243FAIL244FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 220.239s245FAIL