Skip to content

Troubleshooting

Fresh

Install and update

ProblemFix
Shell cannot find herdr after installRestart the terminal or check that the install directory is on PATH
mise reports herdr not found in mise tool registryUpdate mise and retry; or mise use -g github:ogulcancelik/herdr as a temporary fallback
herdr update does nothing on Homebrew/mise/NixThose installs update through their package managers; herdr update only manages direct installs
herdr channel set stable rejected on WindowsExpected; Windows builds are preview-only until stable Windows releases exist
New server version not active after updateIf protocol changed, stop the old server: herdr server stop then herdr (or herdr session stop <name>)

Agent state

ProblemFix
Pane shows the wrong agent stateherdr agent explain <target> shows the matched rule and why; add --verbose or --json for detail
New agent prompt shows idle instead of blockedBlocked detection is deliberately strict; unknown screen shapes fall back to idle (default_known_agent_idle_fallback) until manifests learn them
Agent not detected at allUnsupported agents still run as terminal processes; add an integration or report state over the socket API
Agent inside tmux not detectedHerdr sees tmux as the pane process; detection does not inspect tmux sessions launched inside a pane
Stale detection rulesherdr server update-agent-manifests fetches and reloads remote manifests immediately
Local manifest override not appliedRestart Herdr or run herdr server reload-agent-manifests
Integration state wrongConfirm the agent runs inside Herdr and the hook/plugin was installed for the same user account; check herdr integration status

Session restore

ProblemFix
Panes came back as plain shells after restartSnapshot restore does not preserve processes; native agent session restore needs a current integration version (see Session State)
Agent did not resume its conversationRun herdr integration status; reinstall outdated integrations. Unsupported, missing, invalid, duplicated, or stale session references restore as normal shells
Want recent screen contents back after restartEnable [experimental] pane_history = true (off by default because pane output can include secrets)
Cursor agent did not resumecursor-agent must be on PATH when Herdr restores the pane

Remote attach

ProblemFix
herdr --remote fails non-interactively on a fresh hostNon-interactive runs do not install the remote binary; attach interactively once, or pre-install Herdr on the host
Remote install warning about PATHAdd ~/.local/bin to the remote PATH
Keybindings feel wrong on remoteLocal keybindings are a snapshot from attach time; detach and reattach after editing, or use --remote-keybindings server
herdr --remote from WindowsUnsupported in the beta; SSH into the server and run herdr there
SSH dropsHerdr adds keepalive fallbacks by default; your own ServerAliveInterval settings win. [remote] manage_ssh_config = false to use plain ssh

UI and terminal

ProblemFix
Mouse clicks going to Herdr instead of the terminalSet [ui] mouse_capture = false
Ctrl-click does not open linksYour terminal must send the modified click; fallback is Shift-Ctrl-click (Linux) or Shift-Cmd-click (macOS)
Right-click needed inside a pane appSet right_click_passthrough_modifier = "ctrl" and Ctrl-right-click
No scrollbar in vim/htopAlternate-screen apps have no scrollback; scroll with the app's own keys
Full-screen flash when refocusing HerdrSet redraw_on_focus_gained = false
macOS IME candidate window misplaced in agent TUIsSet [experimental] reveal_hidden_cursor_for_cjk_ime = true, scope with cjk_ime_agents
Invalid config valueHerdr falls back to a safe default and shows a startup warning; fix the value in ~/.config/herdr/config.toml
Config edits not appliedherdr server reload-config; startup-only settings need a restart

Sound and notifications

ProblemFix
No notificationsDefault is [ui.toast] delivery = "off"; set herdr, terminal, or system
Linux system notifications failnotify-send required plus DISPLAY or WAYLAND_DISPLAY
No sound on LinuxNeeds one of: paplay, pw-play, ffplay, mpg123, mpv
Sound on a shared box[ui.sound] enabled = false or HERDR_DISABLE_SOUND

Logs

~/.config/herdr/herdr.log
~/.config/herdr/herdr-client.log
~/.config/herdr/herdr-server.log

Logs rotate automatically. Include the current log and rotated siblings when reporting issues. Set HERDR_LOG=herdr=debug for verbose logging.

Reporting Windows beta issues

Include: Herdr version, Windows version, terminal app, shell (PowerShell or cmd), whether you used a named HERDR_SESSION, relevant logs, and exact reproduction steps.