Troubleshooting
wardrik status # is it running?wardrik doctor # is the config valid?wardrik logs # tail the logok env /home/me/.config/wardrik/env sets 3 variablesok config /home/me/.config/wardrik/config.yaml readsok storage keeps everything on this node's disk, under /home/me/.local/share/wardrik/storeok vault 1 key from /home/me/.local/share/wardrik/vault_key, which sealsok mcp github answers at api.githubcopilot.com:443FAIL mcp notes runs npx, which isn't on this machine's PATHok agents 2 agent files and 1 policy readwardrik doctorreads the same files as the daemon, so it works when the daemon won't start.- Under systemd, the log is
journalctl --user -u wardrik -f. Underwardrik serve, it's the terminal.
Common problems
Section titled “Common problems”- It doesn't start. Run
wardrik doctor. Usuallyconfig.yamlhas a parse error, with the line number. - A
${NAME}is unset. Set it in~/.config/wardrik/envand restart.vault putneeds a running daemon. - An agent file has an error.
wardrik doctorshows it. Fix it andwardrik reload. - An agent is missing a server's tools. A new server in
config.yamlneeds a restart. A server that's down has no tools. - A policy change has no effect. The daemon reads
policies/at startup. Restart it. - The HTTP API doesn't respond. Another process may be using port 4747. Set
http.port. - An agent stopped replying.
wardrik approval lslists its pending calls.wardrik agent history AGENTshows how its turns ended. - A trigger didn't run.
wardrik trigger ls AGENTshows its next run. 404for a resource that exists. The token's user has no binding in its org. See Orgs, roles and tokens.- A chat member is refused. Map them under
channels.<name>.members. wardrikreports the daemon isn't started. The command reads its token from~/.local/share/wardrik/cli_token, which the daemon writes on startup.- The service can't find a program
doctorfound. systemd'sPATHdiffers from your shell's. Use the full path.