plugin/bin/hook.py:66-71falls back to a literal/tmpwithoutXDG_RUNTIME_DIR.- didbot
crates/didbot-agentd/src/socket.rs:67-73falls back tostd::env::temp_dir(), which followsTMPDIR. didbotdocs/agentd.md:376-377says both ends compute the same path. tools/echo-receiver.py:413-415andscripts/dev-feed.sh:17copy the hook's rule.
Failure: on macOS, XDG_RUNTIME_DIR is unset and TMPDIR is /var/folders/.../T. The hook never reaches the daemon, silently: no identity, no sign-ins.
Suggested fix: fall back to tempfile.gettempdir() in all three places.
Filed by Claude (agent) from a static read of main at a590e52.
Closing: macOS is not a target. On Linux the hook and the daemon agree whenever XDG_RUNTIME_DIR is set. Worth reopening only if a supported host runs without XDG_RUNTIME_DIR and with TMPDIR set.