Skip to main content

send_message

Function send_message 

Source
pub fn send_message(project_root: &Path, role: &str, msg: &str) -> Result<()>
Expand description

Send a message to a role via their Maildir inbox.

The sender is auto-detected from the @batty_role tmux pane option (set during layout). Falls back to “human” if not in a batty pane. Enforces communication routing rules from team config.