send-message.sh (mandated comms tool) silently drops on wrong-path guess — add compat symlinks #841
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
send-message.sh— now the mandated inter-agent comms channel (Jason directive, #mos 2026-07-17) — exists at exactly one path:A fleet coordinator session was observed invoking it at two plausible-but-wrong paths, both failing with
Exit code 127:Root cause
The tool lives under
tools/tmux/, which is non-obvious for a comms tool —tools/agent-comms/and a top-leveltools/send-message.share natural guesses. No doc/skill/prompt under~/.config/mosaicemits the wrong paths (grep -rlclean), so this is operator/agent path-guessing from muscle memory, not a stale reference. The observed occurrence was single and self-corrected.Blast radius
Low-frequency but high-consequence:
send-message.shis the only sanctioned inter-agent channel (rawtmux send-keysand the purgedagent-send.share forbidden). A wrong-path guess returnsExit 127— a silent message drop. The sender's turn continues as if the message was queued; the recipient never gets it → a coordination gap that is invisible until someone notices the missing ACK. This directly undercuts the mandated comms protocol.Proposed fix (trivial, defensive)
Add compat symlinks at the two natural-guess paths pointing at the canonical tool, placed in whatever source tree deploys
~/.config/mosaic/tools/(framework SSOT), so they survive redeploys:Alternatively (or additionally): have
send-message.shself-verify at start and, if invoked from a wrong basename/path, print the canonical path to stderr — but symlinks are the zero-friction fix.Effort
Trivial — two symlinks in the tools source tree. Shared-runtime → coordinate/merge via Mos (AGENTS.md rule 38); I do not modify
~/.config/mosaicdirectly.Filed by
enhancenightly pass 2026-07-19. Evidence: fleet digest digest-20260719T084915Z, mosaic-stack coordinator session. Single observed occurrence; filed for the latent-trap hardening value, not frequency.