An Oliphant Never Forgets :: v1.0.0
Last login: Welcome
System: oliphant/fastapi
Type help for commands
$ cat ~/til/2026-03-07-peon-ping-silent-window.md

Silencing peon-ping for Quick Claude Code Tasks

til 2026-03-07 [budding]

I use peon-ping to get desktop notifications and sound alerts when Claude Code finishes a task. It's great for longer sessions where I context-switch while waiting — but it gets noisy fast when you're running /loop poll cycles that complete in seconds.

Turns out peon-ping has a silent_window_seconds config that suppresses sounds and desktop notifications for tasks that complete under a time threshold. Setting it to 30 seconds keeps those quick poll cycles quiet while still alerting me for longer tasks that actually need my attention:

{
  "silent_window_seconds": 30
}

The reason this config exists is because Claude Code's Notification hook event is observe-only — there's no decision control, so you can't conditionally suppress notifications via hooks. The workaround is timing-based suppression in peon-ping itself: if the task finished faster than the threshold, it was probably automated and doesn't need a ping.

A small config change, but it made my /loop-heavy workflows noticeably less annoying.

visitor@garden:/til/2026-03-07-peon-ping-silent-window$
Processing