agent-deck-1.16.34
checks.aarch64-darwin.pkgs-agent-deck
· build #9148
· raw
1mac02: building 5pfakxaxzr81mac9pja38i2g3bws8ng3-agent-deck-1.16.34.drv2Using versionCheckHook
unpackPhase
3unpacking source archive /nix/store/yv4117vrfmq1jhwvyigd6cdpvjmgkq8h-source4source root is sourcebuildPhase
5Building subPackage ./cmd/agent-deckcheckPhase
62026/10/26 21:35:07 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-XTzxFz/TestWriteCodexHookStatus_PartialPriorFailsClosed294050536/001/.local/share/agent-deck/hooks/partial.json bytes=107Codex notify hook installed successfully.8Config: /private/tmp/nix-XTzxFz/TestCodexHooksInstallUninstall81872771/001/.codex/config.toml9Codex notify hook removed successfully.10Codex notify hook upgraded successfully.11Config: /private/tmp/nix-XTzxFz/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers1844091425/001/.codex/config.toml12Codex notify hook upgraded successfully.13Config: /private/tmp/nix-XTzxFz/TestCodexHooksInstall_UpgradesLegacyMarkerBlock375571330/001/.codex/config.toml14agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-XTzxFz/TestEventProfileUsesStorageFallbackForMissingInference4254632146/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.15Gemini hooks installed successfully.16Config: /private/tmp/nix-XTzxFz/TestGeminiHooksInstallUninstall1149218644/001/.gemini/settings.json17Gemini hooks removed successfully.18✓ Reordered group 'Beta': position 1 → 019✓ Reordered group 'Beta': position 1 → 220✓ Reordered group 'Gamma': position 2 → 021✓ Reordered group 'Alpha': position 0 → 022✓ Reordered group 'Gamma': position 2 → 223✓ Reordered group 'Alpha': position 0 → 224agentpaths: resolved agent-deck path under the real home (/private/tmp/nix-pBHqJ4/.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).25WARNING: 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).26Removing worktree at ~/wt-1576...27 ✓ Worktree removed28swept 1 stale inbox event(s) for removed session2930✓ Finished: session 'wt-finish-1576' removed, worktree cleaned up31--- FAIL: TestIssue1576_WorktreeFinishSweepsNotifierState (0.20s)32 testing.go:1619: TempDir RemoveAll cleanup: unlinkat /private/tmp/nix-XTzxFz/TestIssue1576_WorktreeFinishSweepsNotifierState2520025631/001/.local/share/agent-deck/bus/wtfinish_1576: directory not empty33WARNING: 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).34agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-XTzxFz/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG2078343131/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.35agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-XTzxFz/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG2078343131/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.36agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-XTzxFz/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG2078343131/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.37notify-daemon: binary upgraded (running 1.16.34, on-disk 1.16.34-next); recycling38notify-daemon: binary upgraded (running 1.16.34, on-disk 1.16.34-next); recycling39remote-agent: probe: storage gone40remote-agent: binary upgraded (running v1.16.34); exiting so the controller reconnects41remote-agent: probe produced no listing (Error: database is locked)42remote-agent: probe produced no listing ([])43remote-agent: no input for 300ms, exiting44remote-agent: the host now selects another profile; exiting so the controller reconnects4546═══ Remote: offline (a@offline) ═══47 – Skipped: agent-deck not found on remote or host unreachable4849═══ Remote: offline (a@offline) ═══50 ✗ Failed: stub: no platform51A remote sweep is already running on this controller (pid 55198, started 9:37PM); waiting for it...5253═══ Remote: lab (a@lab) ═══54 – Skipped: sweep already in progress, remote lab is being updated by 551985556═══ Remote: other (a@other) ═══57 ✓ Up to date (v1.16.0)5859═══ Remote: lab (a@lab) ═══60 ✓ Up to date (v1.16.0)6162═══ Remote: other (a@other) ═══63 ✓ Up to date (v1.16.0)64Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_b26b32c2": record restart outcome for "1ae30751-1793050650": instance row not found65 The session is running; agent-deck may show it as errored until the name is saved.66Handed 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 cc00e9cd-1793050663` once the session is back.67Warning: output freshness timeout (300ms) — response may be stale68Warning: output freshness timeout (300ms) — response may be stale69Warning: output freshness timeout (300ms) — response may be stale70Launch agent re-registration deferred: a remote sweep (pid 12345, started 21:38:40) is still running71Imported 2 channel(s)72 C0AABSF5GKD -> si-bugs/watcher.toml73 C1BBCDF6HLE -> feat-req/watcher.toml7475Note: Set the ntfy topic in each watcher.toml (all Slack channels76share one ntfy topic from the Cloudflare Worker).77Clients written to: /private/tmp/nix-XTzxFz/TestImportChannels_EndToEnd303261702/002/clients.json78Imported 1 channel(s)79 C0AABSF5GKD -> si-bugs/watcher.toml8081Note: Set the ntfy topic in each watcher.toml (all Slack channels82share one ntfy topic from the Cloudflare Worker).83Clients written to: /private/tmp/nix-XTzxFz/TestImportChannels_Idempotent2501895896/002/clients.json84Imported 1 channel(s)85 C0AABSF5GKD -> si-bugs/watcher.toml8687Note: Set the ntfy topic in each watcher.toml (all Slack channels88share one ntfy topic from the Cloudflare Worker).89Clients written to: /private/tmp/nix-XTzxFz/TestImportChannels_Idempotent2501895896/002/clients.json90Imported 0 channel(s)91Clients written to: /private/tmp/nix-XTzxFz/TestImportChannels_EmptyChannels2487989447/002/clients.json92Installed skill: watcher-creator -> /private/tmp/nix-XTzxFz/TestWatcherInstallSkill638987989/001/xdg-config/agent-deck/skills/pool/watcher-creator93Installed skill: watcher-creator -> /private/tmp/nix-XTzxFz/TestWatcherInstallSkill_DirMode2708739363/001/xdg-config/agent-deck/skills/pool/watcher-creator94Created watcher: create-topic-ntfy (type: ntfy)95Warning: 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]).96Created watcher: create-topic-slack (type: slack)97Warning: 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]).98Usage: agent-deck watcher <command> [args]99100Watchers listen for inbound events (webhooks, push notifications,101GitHub events, Slack messages) and route them to conductor sessions102so your running agents can act on them automatically.103104Commands:105 create <type> --name <name> Create a new watcher (types: webhook, ntfy, github, slack)106 start <name> Mark a watcher as running (run by the profile's watcher engine)107 stop <name> Mark a watcher as stopped108 reload [--json] Apply watcher and clients.json changes to the running engine now109 list [--json] List all watchers with status and event rate110 status <name> [--json] Show watcher info, recent events and events not delivered yet111 test <name> Route a synthetic event to verify routing config112 routes [--json] Show all routing rules from clients.json113 import <path> Migrate bash issue-watcher channels.json to Go watcher config114 install-skill <skill-name> Install a skill to ~/config/agent-deck/skills/pool (e.g. watcher-creator)115116Examples (one per adapter type):117118 # Generic HTTP webhook on 127.0.0.1:9000. Requests must be signed with a119 # secret: generated and stored in its watcher.toml unless given by120 # $WEBHOOK_SECRET or --secret-file (chmod 600):121 agent-deck watcher create webhook --name my-webhook --port 9000122123 # GitHub repository webhook with HMAC-SHA256 verification124 # Secret comes from the environment or a chmod-600 file, never a CLI arg:125 GITHUB_WEBHOOK_SECRET=... agent-deck watcher create github --name gh-alerts126 agent-deck watcher create github --name gh-alerts --secret-file ~/.gh-webhook-secret127128 # ntfy push-notification topic. On the public https://ntfy.sh anyone who129 # knows the topic can read and post to it, so use a random topic:130 agent-deck watcher create ntfy --name phone-alerts --random-topic131 # or an access-protected topic on your own ntfy server (token from the132 # environment or a chmod-600 file, never a CLI arg):133 NTFY_TOKEN=... agent-deck watcher create ntfy --name phone-alerts \134 --server https://ntfy.example.com --topic phone-alerts135136 # Slack-bridged via ntfy topic (see skill for Cloudflare Worker setup)137 agent-deck watcher create slack --name team-slack --random-topic138139After creating, activate and inspect:140 agent-deck watcher start <name>141 agent-deck watcher list # see health + events/hour142 agent-deck watcher test <name> # fire a synthetic event143144Routing: edit ~/data/agent-deck/watcher/clients.json to pick which145conductor / group receives events. See `agent-deck watcher routes` for146the currently-loaded rules across all watchers.147148Conversational setup (recommended for first-time use):149 agent-deck watcher install-skill watcher-creator150 # Then inside Claude Code in an agent-deck session, ask:151 # "Use the watcher-creator skill to set up a GitHub watcher"152153Full reference: https://github.com/asheshgoplani/agent-deck#watchers154No routing rules configured.155No watchers configured.156Run 'agent-deck watcher create <type> --name <name>' to create one.157Installed skill: watcher-creator -> /private/tmp/nix-XTzxFz/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath1924111927/001/xdg-config/agent-deck/skills/pool/watcher-creator158FAIL159FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 273.317s160FAIL