fix(rooms): an invited Agent is only woken by a structured mention, so a freshly composed Room stays silent with no signal

Aperta
#825 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start by tracing POST /v0/tenants/{tenantId}/rooms, the room invite flow, and message handling for structured reference segments; the issue names these entry points but no source files or tests. Check how member Agents are woken and how the Room UI reports activity. Done means the opening brief reliably wakes intended members or the Room clearly explains why none are running, with coverage for the chosen behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What happened

A collaboration Room can be created, filled with member Agents, and stay completely silent: no Agent replies, no error appears, and nothing in the UI says that nothing is running.

Two things combine:

  1. Creating a Room asks only for a name (POST /v0/tenants/{tenantId}/rooms with {name}), and adding a member takes only an actor id. Nothing in the Room-composition flow decides who should act on the opening message.
  2. An invited Agent is woken only by a structured reference segment (a real @Agent mention in segments). Placing the name in plain text, or pasting a brief that names the Agent, does not wake it.

So the common path — create Room → invite Agents → post the brief → "Start" — produces a Room where every member is present and none of them is running. The only visible outcome is silence.

Steps to reproduce
  1. Create a collaboration Room and invite two or three Agents.
  2. Post the opening brief as plain Markdown text, naming the Agents inside the text (no @ reference segment), e.g. "Data Researcher, take the sources; Tooling Engineer, take the stack."
  3. Nothing happens. No turn starts for any member; no failure is reported; the Room looks dead.
  4. Post the same brief with a real @AgentName reference segment for each member: all of them start.

Evidence from this Computer's own history (Linger 0.1.9 → 0.1.10, Pi runtime):

  • 2026-11-25: a Room was created and two Agents invited; the orchestrating Agent posted briefs as plain text. Neither member ever ran; the orchestrator later wrote "它挂了。从 13:22 那两次 401 之后它再没动过,连开工确认都没回" — there was no 401 in that member's log at all, it simply was never woken.
  • 2026-11-27 11:17: the same Agent wrote "这次是真 @ 到了——消息里已经是 reference 段,Integration Engineer 和 Code Reviewer 都能被唤醒……之前只贴 brief 没 @,是我的问题", i.e. the exact same Room only started working after the briefs carried reference segments.
  • The product's own handoff guidance passed to Agents already documents the trap: "派活必须带能触发唤醒的 reference 段;纯文本 [@Name](agent:...) 不生效", and room invite documents "The Agent joins at once with your sponsor's authority; wake it there with an Agent reference."
Area

Rooms and messages

Version

0.1.10

Environment
  • Linger 0.1.10 (release build), macOS 26.5.2, Apple Silicon, local TeamHub
  • Agent runtime: Pi (pi-coding-agent 1.5.2)
Logs

For the Room created on 2026-11-25 there is no runtime.operation.start for either invited Agent around the briefs, while the same Agents have plenty of runs in other contexts. In the 2026-11-27 Room, runs appear for both Agents within seconds of the reference-carrying message.

What would fix the silence, in order of preference:

  1. Waking rule for a Room's opening message: if the first message after creation (or after an invite) carries no reference segment, treat the invited members as addressed, or say clearly in the Room that no Agent is running and why.
  2. When a message names a member in plain text, offer to convert it into a reference (or warn before sending that no member will be woken).
  3. Surface it in the Room header: "0 of 3 Agents running — nobody was mentioned", instead of an empty, quiet Room.
Lingua principale
TypeScript
Stelle
3.8k
Fork
360
Merge medio
8h 10m
PR unite (30g)
540

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di simplexai-labs/linger

Tutte le issue di simplexai-labs/linger

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.