Skip to content

[DOCS] The daemon hosts rooms - delivery to members and infer rooms post #1302

Description

@edenreich

Summary

The CLI daemon now hosts rooms (inference-gateway/cli#1946, PR inference-gateway/cli#1956). It routes a user's post, delivers it to each routed member as that member's next turn on the member's own session, logs the member's reply, and streams every room to the clients that follow it. infer rooms post posts through the daemon.

This is the CLI half of #1291, which stays open for the desktop Rooms work. It builds on the Rooms section in cli.md from #1300 (#1297).

Acceptance Criteria

  • The Rooms section in cli.md explains delivery: a routed post becomes the member's next turn on its session room-<room>-<agent>, running as that agent in the room's project. The turn carries the posts the member has not seen since its last turn, up to context_posts, then the post for it. The run's last assistant message is logged as the member's post.
  • It covers parallel and held turns: members routed the same post run in parallel, and a post for a busy member waits as its next turn.
  • It covers approvals and failures: a member run that stops on a tool approval waits in the member's own chat, and the room logs <agent> waits for approval in its own chat, session room-<room>-<agent>. The reply lands once the user decided there. A failed run logs <agent> failed: <reason>.
  • infer rooms post <room> "<text>" is documented in the Rooms section and in the infer rooms row of the command reference: the text output (Posted to <room>., then Routed to tester (pinged), writer (0.80). or Routed to nobody., then the notices) and --format json (room, post, notices). It needs a running daemon with daemon.binding.enabled.
  • infer rooms list and infer rooms show are described as taking the rooms from the running daemon, so a room without project shows the log the daemon writes in its own working directory. Without a daemon they resolve the rooms where they run. This corrects docs(cli): document rooms.yaml, the room log and infer rooms #1300, which describes the local resolution only.
  • The "What the daemon runs" table gains a Rooms row.
  • The client frames table gains the rooms frames, linking the binding protocol's Rooms section:
    • list_rooms answered by rooms
    • follow_room answered by room_snapshot, then room_post and room_activity (running, waiting, idle)
    • post_room answered by room_posted (the logged post and the notices for its author)
    • leave_room
  • The room log notes that every post carries an id, and that a member session records invoked_by: room with the room name as its label.
  • The routing section matches the merged router from feat(rooms): route a room post by mention or a decision model cli#1955, including router.max_members, which docs(cli): document rooms.yaml, the room log and infer rooms #1300 does not list yet.
  • Examples run as written against a released CLI that includes feat(rooms): the daemon hosts rooms, delivering posts to members and logging their replies cli#1956, and use plain ASCII.

Activity

  1. added
    documentation
    on Nov 23, 2026
  2. added theissue type on Nov 23, 2026
  3. moved this to Todo in 2026on Nov 23, 2026
  4. edenreich commented on Nov 23, 2026

    @edenreich
    ContributorAuthor

    @claude can you document this?

  5. inference-gateway-maintainer commented on Nov 23, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 3m 7s —— View job • docs/issue-1302-20261123-2214 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1302-20261123-2214?quick_pull=1&title=Issue%20%231302%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231302%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented daemon-hosted rooms

    What changed in cli.md

    • Rooms intro now says the daemon hosts rooms, with a two-line quick start.
    • rooms.yaml gains router.max_members (default 2). "*" now resolves against the room's project agents.
    • The routing section is rewritten to match the merged router. Pings route without a model, a pinged agent outside the room gets a notice, and fallback only applies when a router model is set.
    • New "Members answering" subsection covers the next turn on room-<room>-<agent>, unseen posts up to context_posts, parallel and held turns, the approval-wait note and the <agent> failed: <reason> note.
    • The room log now documents the post id and author: room. The session origin fields list invoked_by: room with the room name as the label.
    • infer rooms list / show now say they read from the running daemon and fall back to local resolution. There is a new infer rooms post subsection and the command reference row is updated.
    • "What the daemon runs" has a Rooms row. The app frames table has list_rooms, follow_room, post_room and leave_room, linking the binding protocol's Rooms section.

    Caveats

    • cli#1956 is still open, so I wrote the docs from its branch (fix/issue-1946). None of the examples have been run against a released CLI. That acceptance criterion stays open until a release ships.
    • The issue's example line Routed to tester (pinged), writer (0.80). can't happen: a post that pings anyone never asks the model. The docs show Routed to tester (pinged). and describe the writer (0.80) form separately.
      | Branch
  6. moved this from Todo to In progress in 2026on Nov 23, 2026
  7. moved this from In progress to QA in 2026on Nov 23, 2026
  8. moved this from QA to Done in 2026on Nov 23, 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

    documentation

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions