Repository navigation
Subagent tell: a MAWS session's message box writes straight to its agent - #876
Merged
Merged
Conversation
…ecord, no product change) Against the scripted Messages API stand-in under a scratch config home: a --plugin-dir mod's tool, whose tool.run hook calls $.session.send to an agent id, runs only under a checked mcp_call; it reaches a running background child, a waited foreground child and a finished one, and refuses a stopped one, answering an error either way (told apart by the hook's marker). A tool.offer hook keeps it from the model and the hook refuses a call that is not the host's. Plan mode refuses it; dontAsk refuses it unless the mod allows the host's call at tool.check, which also spares the host's can_use_tool. The stand-in gains a respond hook for a scripted subagent beside its parent. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ilt-in mod (the owner's call of 2026-11-24)
A message typed to a subagent of a session on this Mac reached it only through the parent, as a steer
asking it to SendMessage the child. The engine offers a host no direct path (send_task_message is
unsupported on a local session), and only a mod can call $.session.send({ to: { agentId } }). MAWS
now ships one, mods/maws-tell, passed with --plugin-dir to every session the engine host runs and
recorded in the charter as an exception to D-21, the host's own channel. Its one tool is offered to
no model, allows only the host's checked mcp_call (by its id) and sends the text.
- The engine host: session.tellAgent (wire minor 62) makes the checked call and reads the engine's
answer by the mod's marker; the status says `tell` while the mod's server is listed, and the
session's plugins, servers and the MCP widget's answer leave the mod out.
- The window: lane B's tell uses the command; the drill-in's box tells the agent itself whenever the
session's tell is open (a running agent, one its parent waits on, a finished one, which the engine
resumes), and keeps the relay through the parent in plan mode (which refuses the host's call), where
the engine took no mod, and for a session on another machine (ticket 862; the desk, ticket 863).
- The shipped mod probed against the scripted API stand-in (uxwave-tell-builtin-*), and the cases
pinned from those fixtures.
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…call, the box while a tell is out) - A tell goes only to a string shaped as an agent id the engine mints, checked by the host and by the mod, since the engine's send reads any other string as a name or another session's address. - The status says `tell` only where the engine also offers a checked mcp_call (mcp_call_check_permissions_v1, its initialize answer and system/init); an engine can serve mods with that call off, and the box would offer a path that always fails. - A plain success is read as delivered only when it is the mod's own word. - A session on another machine offers no tell before main's first word on it either. - The box is held while a tell is out, so an edit made then is not cleared by its answer. - The charter's entry says a mawsd release ships the mod with ticket 862; four findings logged in docs/tech-debt-tracker.md with their reasons. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t now ships (the agent-id check) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… machine (ticket 862), and lane B's port named as its guard Class 1a's unit shard 1 (run 45324856388) failed the offer audit: every session command that crosses a machine link is offered, answered by main or declared. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…of it, and the package's mod checked - e2e/agent-tools-live.spec.ts (e2e:agents-live) and e2e/c12-prerun.spec.ts (e2e:default, manual): where the session's status says `tell`, the drill-in's box sends directly, reads Sent, the child's inbox gets the text and the parent sends nothing; the live spec asserts the relay only in plan mode, where the box falls back to it, and reads a finished or foreground agent's box as open. Where the engine runs no mods the steps read the relay as before. - e2e/agent-tools.spec.ts (e2e:agents): a live launch on the stub engine replaying the shipped mod's probe, derived for a replay (spikes/protocol-probe/uxwave-tell-replay.mjs -> uxwave-tell-builtin-replay.jsonl): the box names no parent, Send writes the host's call the replay holds for, and the line reads Sent. src/engine-host/tell-replay.test.ts runs the same replay through the engine host. - e2e/smoke.spec.ts (e2e:default, e2e:packaged): Resources/mods/maws-tell/.claude-plugin/plugin.json is in the package (the checkout's mods/maws-tell otherwise). Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The one conflict, docs/tech-debt-tracker.md: both sides' new rows kept, master's first. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…the harness page e2e:agents runs with MAWS_HARNESS=1, under which the window loads the development harness, whose sidebar lists only its scenario; the scene's seeded project never showed (Mac run at 1b00960, support/sidebar.ts:134), though its launch, first message and the status's `tell` had passed. The scene's launch now names MAWS_HARNESS=0, as the group's other own-launch scenes in other specs do. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… repeat of the first The paid run of 2026-11-24 (steps vii, viii): launch 2 resumed launch 1's conversation, and its model answered that the same foreground request had already run, with no tool call (journal hyiotz2l: first message line 53, init line 59, result line 174). The spec's prompt is master's; a distinct request per launch would fix it, logged rather than fixed because the spec is paid. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…out path Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
SSFSKIM
added a commit
that referenced
this pull request
Nov 24, 2026
…omes minor 63 The subagent tell (#876) took WIRE_MINOR 62; session.events' provisional and engine.provisionalWindow move to 63, the manifest and fingerprint written by the generator with both. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 24, 2026
…etirement Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A MAWS session on this Mac now sends a message straight to one of its subagents. Before, the box asked the parent to pass it on with SendMessage.
mods/maws-tell, shipped in the app's resources and passed with--plugin-diron every live launch. It has one tool,tell, which no model is offered and which runs only for the host's own checked call. The tool sends with$.session.send({ to: { agentId } }).session.tellAgentcommand; the status gainstell; WIRE_MINOR 62. The mod is left out of the session's plugin and MCP lists.uxwave-tell-*-plan), and where the mod didn't load, so in both cases the box keeps the relay through the parent.Gates at 3c067c6 (master 760d7ad merged in):
<repo>have changed.e2e/c12-prerun.spec.ts, moved to the direct path.Medium review: 5 fixed, 4 logged in docs/tech-debt-tracker.md.
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)