Skip to content

[FEATURE] Rooms: approve a member's escalated tool call from the room #1958

Description

@edenreich

Summary

Part of #1943. Needs #1954 (PR #1957).

Room members run in Auto+Judge by default (#1957). A judge decides their gated tool calls, and only a call the judge rejected and the member escalated with RequestApproval still needs a human. Today that call waits in the member's own chat. The room shows ◐ tester waiting for approval and a note naming the session, so you have to leave the room, resume room-<room>-<agent> and decide there.

In Slack you would answer it in the channel. The room should show the pending call as an actionable message and let you approve or reject it right there:

tester wants to run go test ./...
The judge rejected it: "the request did not ask to run tests". tester: "the user asked why main is red, the suite shows which test fails".
[Approve] [Reject]

Design

  • Host
    • When a member's run suspends on an approval, the host logs a post of kind: approval in the room. It carries the tool call id, the tool name, a short form of its arguments, the judge's reason and the member's justification.
    • When the call is decided, wherever that happens, the host logs a quiet line saying who decided what.
  • Binding
    • A follower answers with a new frame, decide_room_approval (room, member, tool_call_id, approve or reject).
    • The host forwards it to the member's thread as the approval_response the registry already routes.
    • The first decision wins. A later one, from the room or from the member's own chat, gets a notice that the call was already decided.
  • TUI
    • The room view renders an approval post with its call and the two choices.
    • The newest open approval can be decided from the keyboard and by a click, like the status indicators.
    • The header keeps showing ◐ waiting for approval until it is decided.
  • Desktop

Open questions

  • Should Auto-Approve, which switches the member to Auto-Accept the way it does in a chat, be offered in a room, or only Approve and Reject?
  • Should several members' open approvals be listed in one place, or only inline where each was posted?

Out of scope

  • Approving from Telegram or other channels.
  • Members approving each other's calls.

Acceptance Criteria

  • A member's escalated tool call appears in its room as an approval post with the call, the judge's reason and the member's justification
  • Approve and Reject on that post, from the TUI by keyboard or click, decide the call, and the member's run continues accordingly
  • The room logs who decided the call, and the member's activity leaves waiting
  • A call decided in the member's own chat closes the room's approval post, and a second decision gets a notice
  • docs/rooms.md and docs/browser-extension-protocol.md describe the approval post and decide_room_approval
  • Tests cover the host relay, the binding frame, first-decision-wins and the TUI's approval post

Activity

  1. added
    enhancement
    on Nov 23, 2026
  2. moved this from Todo to In progress in 2026on Nov 24, 2026
  3. moved this from In progress to QA in 2026on Nov 24, 2026
  4. added a commit that references this issue on Nov 24, 2026
    11e1918
  5. moved this from QA to Done in 2026on 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

    enhancement

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions