Skip to content

to-human: let subagents message the human directly with the message tool #310

Open

Description

@SSFSKIM

Goal

Let a subagent send the human a message directly through the to-human plugin's message tool (mcp__to-human__message), so a blocker only the human can clear (an expired login, a missing permission, an environment stall) reaches them without passing up the dispatch chain: task-executor → plan-executor → main session → human.

Where it stands

The message tool shipped in the to-human message-tool PR (spec docs/doperpowers/specs/2026-10-20-to-human-message-tool-design.md) with subagents kept away from it twice over:

  • the tool refuses any call carrying an agentId (to-human/hooks/mods/message.tsx);
  • disallowedTools withholds it from every agent definition in agents/*.md and from the owner's ~/.claude/agents/astra.md and sol-xhigh.md, as is done for compact and the ask.

Lifting it means removing both.

The design, as far as it got

The tool is a fit for telling the human, not for asking them. A subagent that tells the human what to fix can then see the fix itself when it retries. A decision or a value the agent needs back still travels up the chain, because only the main session's ask tool carries an answer back; letting a subagent ask the human directly is a separate, larger change.

What lifting the refusal needs:

  • The tool's description carries when to use it. A subagent does not run under the to-human output style, so the description is all it reads.
  • Each message is labeled with the agent that sent it in the view and the notification, so the human can tell which of several parallel agents is writing.
  • The parent session learns the message went out, so it does not relay the same blocker again once the escalation reaches it.
  • The sminos export carries subagent messages. Today bridge-rows.tsx and the record path export only the main loop's.

Open: where a subagent's message draws in the to-human view (the subagent's calls are in its own transcript, not the main one), and whether the agent definitions that escalate today (plan-executor, task-executor) should name the tool.

Raised by the human on 2026-10-20; not to be built until they pick it up.

Sminos-Session: doperpowers-88#df0b714b (doperpowers on macbook)

Board state before the relabel: in-design.

Activity

  1. added
    enhancement
    priority:P2
    status:in-design
    on Oct 21, 2026
  2. added
    expected
    need-design
    and removed
    status:in-design
    on Nov 29, 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

    enhancementexpectedneed-designpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions