Repository navigation
fix: /btw 隔离 fork 代理对齐基准 Claude Code(runSideQuestion 语义) - #447
Merged
Merged
Conversation
liuqihonggit
enabled auto-merge (squash)
October 21, 2026 19:47
liuqihonggit
added a commit
that referenced
this pull request
Oct 21, 2026
….SendMessageAsync 被调(旧共享管道语义),fork 改造后走 IQueryEngine(对齐基准 runForkedAgent)不再调 ChatService——改断言 fork 调用计数+prompt 捕获(CaptureQueryEngine 假体),异常路径用例改 QueryEngine 抛异常仍 Continue;非回归是预期行为变化(CI 日志实证唯一失败项)
…btw 空响应复现调查实证——CLI 同命令链正常(209字符)+TUI 探针先主对话再 /btw 也正常(513字符),链路无确定性 bug;疑似偶发流式取消(TASK043 白名单已知)或主对话回合边界态污染,暂不改引擎,基准差异(fork 隔离代理 vs 共享管道)已向用户汇报待决策
…义——AgentBase+InitialMessageList(主历史副本+system-reminder包裹问题)+MaxIterations=1(对齐maxTurns:1)+ContextManager不注入(天然隔离不写回主上下文),替代原 ChatService 共享管道路径(受主对话会话态影响偶发空响应的架构gap);system-reminder 模板照抄基准(隔离代理身份/无工具约束/单次回复);CLI 真机实证 2510 字符完整回答+composition 278 全绿
….SendMessageAsync 被调(旧共享管道语义),fork 改造后走 IQueryEngine(对齐基准 runForkedAgent)不再调 ChatService——改断言 fork 调用计数+prompt 捕获(CaptureQueryEngine 假体),异常路径用例改 QueryEngine 抛异常仍 Continue;非回归是预期行为变化(CI 日志实证唯一失败项)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary