Skip to content

fix(messages): a room conversation with one agent no longer waits on the routing model (v0.491.1) - #953

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/room-sticky
Nov 30, 2026
Merged

vikasprogrammer merged 1 commit into
mainfrom
feat/room-sticky

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

What

  • Sticky extended: an untagged line is handed straight to an agent (no model call) when the sender's previous line went to exactly one agent — recent, or still being worked on. Previously only "the message right before yours is the agent's reply" counted, so a second line in a row paid a full routing call (3.7–7.5 s where the router falls back to claude -p).
  • Lines sent during a decision follow its verdict in order (they were dropped), or get their own decision when the first was for nobody.
  • "Finding the right agent…" indicator while a decision is in flight; chat.room.routed now records sticky and each model decision's ms.
  • An @agent line from someone who may not run that agent is explained in the room, not only in a transient note to the sender.

Test

scripts/direct-messages-test.cjs section 14e2 (20 new assertions); full test:governance 151 suites green.

🤖 Generated with Claude Code

…the routing model (v0.491.1)

Sticky now covers back-to-back lines and follow-ups while the agent works; lines sent during a
decision follow its verdict; the room shows a deciding indicator; an @agent line from someone
who may not run it says so in the room.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vikasprogrammer
vikasprogrammer merged commit 7a97bcc into main Nov 30, 2026
1 check passed
@vikasprogrammer
vikasprogrammer deleted the feat/room-sticky branch November 30, 2026 10:21
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.

1 participant