You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
建议同时把「回报 lead」与「本子会话最终回复投 Lark」解耦为独立 best-effort:回报失败只记日志/标记,不驱动 final_output 的重试。否则 lead 瞬态离线会把 sub 自己的完成态卡在重试中(卡片因 uuid 幂等不重发,但 dedupe 标记与 idle 结算被跳过,重启后还可能重投)。
并建议补一条测试:同一 (sessionId, turnId) 的回报重试只产生一个 lead turn。
P2-2 绑定话题内每一轮 final 都会回报 lead
deliverFinalOutput 对每个 bridge final 都触发回报,多轮 sub 会话(修一改二)会按 N sub × M 轮向 lead 注入整合 turn。projectUpdate: {} 保证不污染项目状态,但 lead 的消耗被放大。请明确这是预期语义,还是需要加收敛(安静期 / 仅末轮 / 由 lead 侧去重)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
为减少执行型 bot 的上下文干扰,新增按 bot 独立设置的零注入模式。自定义中心支持名称搜索、多选、批量开启与恢复;已有提示和技能配置保留,部分保存失败时只保留失败项供重试。
promptInjection=none只传任务正文及附件信息,跳过 Botmux 系统提示、身份信封、逐轮提醒、角色、白板、记忆和技能目录。模式随 Session 持久化冻结,配置变更仅影响新会话;恢复及 fork 沿用原模式,历史/外部 adopt 会话缺少快照时保留默认模式。影响范围:公共配置、Session 持久化、首轮/续轮/触发事件输入构建、worker/final 投递、派单回报和 Dashboard。默认模式保留既有行为;覆盖普通群/话题会话、选仓缓冲、冷恢复、fork、定时任务与文档评论入口。Linux 本地验证;macOS/Windows 和所有原生 CLI/终端后端组合未逐一实测。
限制:CLI 原生提示、项目 AGENTS.md 和用户自装技能仍由 CLI 管理,已有提示历史无法撤回。远端后端与 v3 workflow 暂不支持;仅 adopt 能采集 final 的 CLI 不据此开放整 bot 开关。共享目录仍有全局
botmux-*技能时拒绝启动,不删除其他 bot 的文件。已知派单边界:
dispatch --into向此前没有派单记录的普通消息追加任务,不会建立签名回报绑定。现场测试确认其接单成功,但完成指令仍保留、回报返回dispatch_target_unavailable;此路径不能算零注入自动回报验证通过。普通协作使用直接 @,已有签名绑定的派单路径保留自动回报功能。验证:
行为验证包括:模拟 lead 接受请求后 HTTP 响应丢失,重试仅产生一次 worker 输入;回报失败时子会话仍完成结算;开关两个方向、旧会话恢复与 fork;全部 10 个 CLI 的首轮、续轮、refork 仅保留任务及附件;选仓首轮与后续轮附件分别保存,没有重复拼接。
使用隔离配置在浏览器验证多选、批量设置、名称展示及搜索;真实名册 55 个 bot 均能解析名称。已执行
bun run switch:here && bun run daemon:restart部署测试;最新部署后 56 个服务在线,近期日志未发现错误。直接群 @ 实测创建了冻结为none的新群会话,CLI 首轮输入中未出现 Botmux 信封、提醒或自动附加的 report/send 完成指令;该轮完整最终回复仍在观察中。尚未将各 CLI 的单元测试视为原生端到端验证。页面示意(中性测试数据):