Skip to content

[Feature] Cross-session messaging between a user's own sessions #7962

Description

@cwdalziel

Problem or use case

Today a session can only message its own parent/child (sub-agent) sessions. There's no way for two sessions that aren't in a spawn hierarchy, a session on another compute, or otherwise unrelated sessions the same user owns to message each other. This blocks coordinator/worker and multi-compute workflows where peers need to hand off or nudge each other directly.

Proposed solution

Add a sys_session_message tool that delivers a message to any session the caller can already access (bounded by the existing per-user permission model), gated behind a cross_session_messaging release flag. Delivery reuses the existing message path (persist-before-forward, idle-wake) and is fire-and-forget. Messages carry a source_session_id marker so peer messages are identifiable, plus a chain-depth loop guard to bound runaway back-and-forth.

Alternatives considered

No response

Harness

Not applicable

Platform or device

Not platform-specific

Harness mode

Not applicable

Expected reach

Some users

Authentication type

Local

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

FeatureNew feature or requestP2-mediumPriority: bug with workaround, important feature requestcomp:runnerComponent: agent runner, execution enginecomp:serverComponent: server, API, session managementtriagedIssue has been triaged by the bot

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions