docs: resolve the herdr socket under the runtime dir #39

Merged
clawdie merged 2 commits from docs/socket-run-dir-refs into main 2026-10-06 10:51:26 +02:00
Owner

Fixes the two residual references that still put the herdr socket inside a config directory:

  • docs/wiki/freebsd-remote-attach.md
  • docs/UPGRADE-0.9.1.md

Both now use the canonical runtime-dir form from AGENTS.md:

<host-root>/run/herdr.sock when CLAWDIE_HOST_ROOT is set, otherwise $XDG_RUNTIME_DIR/herdr/herdr.sock or /tmp/herdr-<uid>/herdr.sock - never a config dir.

This closes the residual that contradicted the host-path rule (colibri #101). bherdr #38 fixed the code (internal/paths/paths.go) but left these two docs; UPGRADE-0.9.1.md also declares "no machine-specific ... persistent paths", so the old absolute path violated its own rule.

Paired with colibri #106 (socket call map). Two-line change; git diff --check clean.

Fixes the two residual references that still put the herdr socket inside a config directory: - `docs/wiki/freebsd-remote-attach.md` - `docs/UPGRADE-0.9.1.md` Both now use the canonical runtime-dir form from `AGENTS.md`: `<host-root>/run/herdr.sock` when `CLAWDIE_HOST_ROOT` is set, otherwise `$XDG_RUNTIME_DIR/herdr/herdr.sock` or `/tmp/herdr-<uid>/herdr.sock` - never a config dir. This closes the residual that contradicted the host-path rule (colibri #101). bherdr #38 fixed the code (`internal/paths/paths.go`) but left these two docs; `UPGRADE-0.9.1.md` also declares "no machine-specific ... persistent paths", so the old absolute path violated its own rule. Paired with colibri #106 (socket call map). Two-line change; `git diff --check` clean.
docs: resolve the herdr socket under the runtime dir
Some checks failed
go-ci / linux (build, vet, test) (pull_request) Failing after 2m0s
verify-evidence / verify evidence reports (pull_request) Successful in 3s
9f5c803ca9
Two references still pointed the remote-attach tunnel at the old config-dir
socket `/home/clawdie/.config/herdr/herdr.sock`. Both now use the canonical
runtime-dir form from AGENTS.md: `<host-root>/run/herdr.sock` when
CLAWDIE_HOST_ROOT is set, otherwise `$XDG_RUNTIME_DIR/herdr/herdr.sock` or
`/tmp/herdr-<uid>/herdr.sock`. Closes the residual that contradicted the
host-path rule.
test(cli): isolate sockets via CLAWDIE_HOST_ROOT and paths.SocketPath
All checks were successful
go-ci / linux (build, vet, test) (pull_request) Successful in 1m44s
verify-evidence / verify evidence reports (pull_request) Successful in 2s
a181ac6061
PR #38 moved canonical herdr sockets out of config directories to RunDir()
(<host-root>/run/herdr.sock). Update CLI tests to isolate via CLAWDIE_HOST_ROOT
and resolve through paths.SocketPath(""), eliminating failures where test
clients dialed unmanaged host /tmp/herdr-<uid> or /run/user/1000 paths.
clawdie deleted branch docs/socket-run-dir-refs 2026-10-06 10:51:26 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawdie/bherdr!39
No description provided.