Skip to content

After a Bot Social server switch, old face-to-face rooms still accept lines that go nowhere #729

Closed

Description

@HugoXK

Written-by: Dev (via HugoXK)

What happened

Switching the Bot Social server (Settings → Bot Social → Change server) disposes the old social layer, but the face-to-face rooms it hosted stay in core state with face.status: 'open'. The new layer has none of them in its settings.faceRooms, so nothing polls them, and its faceApi belongs to the new server: a line typed into such a room is appended locally and the fanout fails (face_room_not_found / no speaker identity), which room-membership.js only warns about. The room still shows as open with its composer, so the person keeps typing and every line is silently lost.

docs/subsystems/social.md says old rooms "stay as local transcripts, but nothing polls them" — they should be read-only, not an open room.

Expected

After a successful server switch, the previous server's face-to-face rooms are marked left locally (a read-only past room; switching back re-polls and reopens them on the old server). A line sent to an ended room is refused with a clear message instead of being appended and lost.

Change scope

plugins/social/src/server-config.js (mark the previous server's hosted face rooms left after a successful switch), core/src/host/channel.js (send / room-post refuse a face room whose status is left / closed), tests in plugins/social/test/social.test.js and core/test/remote-room.test.js, docs/subsystems/social.md and docs/subsystems/core-host.md.

Activity

  1. added
    area:socialFriends, invites, grants, Bot Social
    bugSomething isn't working
    on Oct 22, 2026
  2. Birfy commented on Oct 22, 2026

    @Birfy
    Collaborator

    Written-by: Dev

    #736 lives in a fork (HugoXK/FlyBot) and cannot take a new tip from us — we have no push access to that fork — so the review's two fixes went into a new pull request from this repository: #776. #736 is closed as superseded and Fixes #729 now points at #776.

  3. added
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Oct 22, 2026
  4. removed
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Oct 22, 2026
  5. added a commit that references this issue on Oct 23, 2026
    d5256ff
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

    area:socialFriends, invites, grants, Bot SocialbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions