Skip to content

Direct subagent tell for a lane B session on another machine #862

Backlog

Description

@SSFSKIM

Problem

A person who messages a subagent of a MAWS session running on another machine (remote lane B) still goes through the parent: the drill-in asks the parent, by a steer, to SendMessage the child. A session on this Mac now tells the agent itself (session.tellAgent, through the built-in mod maws-tell; docs/charter.md, Decision Log 2026-11-24). On another machine:

  • main's remote lane B adapter (src/main/lane-b/remote.ts, ENGINE_HOST_ACTS) does not carry the command;
  • the endpoint (src/endpoint/offers.ts) does not offer it;
  • the renderer closes tell there (REMOTE_ELSEWHERE in src/renderer/src/session/controls/lane-b.ts);
  • a mawsd release (scripts/mawsd-pack.mjs) ships no mods/maws-tell, so its engine host passes no --plugin-dir.

Proposed fix

  1. Pack mods/maws-tell into the mawsd release. tellModDir already resolves <root>/mods/maws-tell.
  2. Offer session.tellAgent as a lane B act on the endpoint (laneB('act'), grade converse), behind a handshake capability of its own (as rl2.send-now gates Send now).
  3. Carry the act in main's remote lane B adapter.
  4. Open the renderer's tell for a remote session whose status says tell and whose machine lists the capability.

Acceptance

  • A remote lane B session whose engine took the mod tells a running agent directly; the drill-in shows the direct box ("Message …").
  • A machine without the capability, or a session without tell, keeps the relay through the parent.
  • Unit tests in src/main/lane-b/remote.test.ts, test/endpoint/session-acts.test.ts and src/renderer/src/session/controls/lane-b.test.ts.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P3
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions