You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Identify the sender: peer messages arrive with origin.from = unknown #15
Claude Code has a field for who sent a cross-session message, and messages posted by cc-peer leave it empty. From a received message's transcript record:
verifiedPeerPid is the short-lived python process that wrote to the socket, so it identifies nothing useful. A same-machine SendMessage shows @api-worker; ours shows nothing.
The practical result: every message has to introduce itself by hand. Today's sends all opened with a line like [sent from macbook via cc-peer], written manually each time. Forget it once and the receiver cannot tell who is asking — which matters, because the receiving Claude is told to treat a peer message as a teammate's request.
What cc-peer should add — and what it shouldn't
Claude Code already wraps arriving messages itself. Measured on a real delivery, it supplies both the opening line and the trailing guidance about permission laundering. cc-peer must not duplicate those; a second copy of the same paragraph in every message is noise, and it would grow with each hop.
What's actually missing is one header:
From: abruptly@macbook-pro-m4-pro (documents-ed)
user, host, and the sending session's name — the same three facts the reply line already carries, so they can be derived the same way and cost nothing.
--no-reply-to should suppress the Reply: line as it does now, without dropping From: — knowing who sent something is useful even when you can't answer it.
Acceptance criteria
From: prepended automatically, derived from the sending session
No duplication of the wrapper Claude Code already adds
--no-reply-to keeps From:
A flag to suppress it for callers that want a bare body
Activity