Skip to content

docs(cli): document rooms.yaml, the room log and infer rooms - #1300

Merged
edenreich merged 3 commits into
mainfrom
docs/issue-1297-20261123-1941
Nov 23, 2026
Merged

edenreich merged 3 commits into
mainfrom
docs/issue-1297-20261123-1941

Conversation

@inference-gateway-maintainer

@inference-gateway-maintainer inference-gateway-maintainer Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documents rooms as shipped in the CLI: rooms.yaml, the append-only room log and the infer rooms commands.

  • cli.md: new ## Rooms section (after Daemon) covering rooms.yaml (project/user scopes, seeded by infer init, fatal on validation errors), every field with its default (router.model, router.min_confidence, router.fallback, context_posts, rooms), member resolution ("*" follows every agent including the built-ins, re-resolved on each read), the default public room and how defining public replaces it, a room without project running in the daemon default project dir, the room-<room>-<agent> member session ids, how routing works with and without a decision model, the room log at ~/.infer/projects/<project-slug>/rooms/<room>.jsonl, and infer rooms list / infer rooms show <room> with text and json output.
  • cli.md: rooms.yaml and projects/*/rooms/ rows in the Configuration Files table, infer rooms row in the Command Reference, all linking to the in-page section.
  • cli-judge-mode.md: cross-link from the decision-model backend to /cli/#how-routing-works, explaining that rooms route with the same thresholding.

Notes:

  • Rooms are a CLI concept, so they live in a section of cli.md with no standalone page and no new nav, sidebar or llms.txt entry. Moving the existing channels page the same way is tracked in docs(cli): fold the channels page into a cli.md section #1301.
  • This docs repo has no separate directory-structure page, so the Configuration Files table in cli.md carries the sidecar and log-dir entries.
  • In the CLI source, routing posts into the log and starting member sessions are described as later steps. The routing section documents the configured semantics (rooms.router) as the config types define them.

Validated with bun run lint:md, bun run format:check and bun run build.

Closes #1297

Generated with Claude Code

@inference-gateway-releaser

inference-gateway-releaser Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich

Copy link
Copy Markdown
Contributor

@claude all of the docs related to rooms should be under the CLI, it's a cli concept, do not duplicate or create a new category. Please file a follow-up to also cleanup channels - it all belongs to the cli project.

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 2m 12s —— View job


Moved the rooms docs into cli.md

  • Read the PR diff and cli.md structure
  • Fold cli-rooms.md into a ## Rooms section of cli.md
  • Remove the standalone page from nav, sidebar and public/llms.txt
  • Repoint links (cli-judge-mode.md, cli.md tables) to the in-page anchors
  • Run lint:md, format:check, build
  • Commit to the PR branch
  • File follow-up issue to fold channels docs into the CLI page

The rooms docs are now a section of the CLI page. There's no Rooms page or menu entry anymore.

  • New ## Rooms section in cli.md, placed right after ## Daemon. It has the same content as the old page, with each heading moved down one level. Links inside it now point to the same page (for example #markdown-subagent-presets).
  • cli-rooms.md is deleted. Its two entries in .vitepress/config.ts (nav and sidebar) and its line in public/llms.txt are removed.
  • Links updated: the Configuration Files rows, the infer rooms Command Reference row and the judge-mode cross-link now point to /cli/#rooms, #the-room-log, #inspecting-rooms-infer-rooms and /cli/#how-routing-works. No cli-rooms references are left.
  • PR description is updated to match.
  • Follow-up for channels: docs(cli): fold the channels page into a cli.md section #1301 covers moving cli-channels.md into a cli.md section the same way. It lists every file that links to it and asks whether the other standalone cli-*.md pages should get the same treatment.

bun run lint:md passed and bun run build succeeded. I ran bun run format to realign the tables. Every link target in this change exists in the built /cli/ page.
• Branch

@edenreich

Copy link
Copy Markdown
Contributor

@claude file a follow-up also to fold judge mode into the cli and some other tts and sst, everything that is a feature of the cli should go under the cli, no need a duplicated md.

@edenreich
edenreich merged commit 5d42def into main Nov 23, 2026
8 checks passed
@edenreich
edenreich deleted the docs/issue-1297-20261123-1941 branch November 23, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] rooms.yaml, the room log and the infer rooms commands

1 participant