Functions§
- cleanup_
socket - Remove socket file if it exists. Best-effort, never panics. Sockets now live in ~/.synaps-cli/run/ (mode 0700), so symlink attacks from other users are not possible. Still refuse symlinks as defense-in-depth.
- listen_
session_ socket - Compatibility listener API. Binding is synchronous and refuses occupied paths. Registry users should use SessionEndpoint for atomic bind + publication.