Bug 描述
Manager Agent 容器重启后,Matrix 会话成功重建,但 hiclaw-controller 没有自动将 Manager 重新邀请回 Worker 的私有房间和 Team 房间,导致 Manager 无法直接 @mention 通知 Worker。
复现步骤
- 创建 Team(如 infra-team)和多个 Worker
- hiclaw-controller 自动创建 Worker 私有房间和 Team 房间
- Manager 被邀请到所有房间
- 重启 hiclaw-controller 或 Manager 容器
- Manager Matrix 会话重建(token 刷新或重新注册)
- Manager 成功加入部分房间(项目房间、Admin DM)
- 但 Manager 未被重新邀请回 Worker 私有房间和 Team 房间
预期行为
Manager 会话恢复后,hiclaw-controller 应该自动同步房间成员资格,确保 Manager 被重新邀请回所有必要的房间。
实际行为
Manager 只被邀请到部分房间(项目房间、Admin DM),缺失 5 个 Worker 私有房间和 Team 房间。
环境信息
- HiClaw 版本: dev (embedded mode)
- Matrix 服务器: Tuwunel 1.5.0-48
- Manager: 虾仔 (qwen3.6-plus)
- Workers: infra-team (6 个成员)
已尝试的恢复方法(均失败)
- Worker 容器重启
- Team 更新 API
- hiclaw-controller 重启
- Tuwunel Admin API
- hiclaw-controller API
建议修复方案
- 短期:在 hiclaw-controller 启动时增加房间成员资格同步逻辑
- 长期:提供 Room Re-invitation API 供 Manager 主动触发同步
Bug Description
After the Manager Agent container was restarted, the Matrix session was successfully reestablished, but hiclaw-controller did not automatically re-invite the Manager back to the Worker's private room and Team room, resulting in the Manager being unable to directly notify the Worker with @mention.
Reproduction steps
- Create a Team (such as infra-team) and multiple Workers
- hiclaw-controller automatically creates Worker private rooms and Team rooms
- Manager is invited to all rooms
- Restart hiclaw-controller or Manager container
- Manager Matrix session reconstruction (token refresh or re-register)
- Manager successfully joined some rooms (project rooms, Admin DM)
- But the Manager was not re-invited back to the Worker private room and Team room
expected behavior
After the Manager session is restored, the hiclaw-controller should automatically synchronize room memberships, ensuring that the Manager is re-invited back to all necessary rooms.
Actual behavior
Manager is only invited to some rooms (project room, Admin DM), and 5 Worker private rooms and Team rooms are missing.
Environment information
- HiClaw version: dev (embedded mode)
- Matrix Server: Tuwunel 1.5.0-48
- Manager: Xiazai (qwen3.6-plus)
- Workers: infra-team (6 members)
Recovery methods attempted (all failed)
- Worker container restart
- Team update API
- hiclaw-controller restart
- Tuwunel Admin API
- hiclaw-controller API
Suggested fixes
- Short term: Add room membership synchronization logic when hiclaw-controller starts
- Long-term: Provide Room Re-invitation API for Manager to actively trigger synchronization
Bug 描述
Manager Agent 容器重启后,Matrix 会话成功重建,但 hiclaw-controller 没有自动将 Manager 重新邀请回 Worker 的私有房间和 Team 房间,导致 Manager 无法直接 @mention 通知 Worker。
复现步骤
预期行为
Manager 会话恢复后,hiclaw-controller 应该自动同步房间成员资格,确保 Manager 被重新邀请回所有必要的房间。
实际行为
Manager 只被邀请到部分房间(项目房间、Admin DM),缺失 5 个 Worker 私有房间和 Team 房间。
环境信息
已尝试的恢复方法(均失败)
建议修复方案
Bug Description
After the Manager Agent container was restarted, the Matrix session was successfully reestablished, but hiclaw-controller did not automatically re-invite the Manager back to the Worker's private room and Team room, resulting in the Manager being unable to directly notify the Worker with @mention.
Reproduction steps
expected behavior
After the Manager session is restored, the hiclaw-controller should automatically synchronize room memberships, ensuring that the Manager is re-invited back to all necessary rooms.
Actual behavior
Manager is only invited to some rooms (project room, Admin DM), and 5 Worker private rooms and Team rooms are missing.
Environment information
Recovery methods attempted (all failed)
Suggested fixes