Repository navigation
feat: TASK064 M8-4..M8-8 并行子代理批次——工具聚合/命令闭环/消息复制/上下文告警/后台任务面板 - #449
Merged
Merged
Conversation
…ms/Driver/Renderer vs ReplShell/CursorBar vs EngineSession)+主智能体收编 ReplShell 落地件; M8-4=CollapsedToolItem 替换式聚合(连续 Read/Grep/Glob 第二次起原位折叠'读取 N 个文件'+最新操作⎿提示行,产生可见消息项事件断链)+DiffResultItem ToggleExpand(transcript verbose 态全展开接线); M8-5=TuiCommandCallbacks 延迟绑定容器+clearScreen/onExitRequested 透传+ReplShell 公开 ClearMessagesExceptBannerAndSpinner/RequestExit(volatile _running)+RenderAndFlush 消费块(2J+3J 清屏+scrollback+基线重置)+Csi.EraseSavedLines; M8-6=导航态 c/p 复制(ToolCallItem 超宽屏无损渲染提取)+MessageActionsBar 滚动区尾部常驻项(enter 展开·c 复制·p 复制参数·esc 返回)
…体收编,单批次交付1509行)——后续 M8-7/M8-8 沿用; M8-7 引擎侧调研结论=context_usage 新事件+ChatUsageProcessor 发射(小-中), M8-8=background_task 快照+终态混合协议+宿主层订阅绕开回合作用域通道(中), confirm/prompt 交互回调登记独立任务
liuqihonggit
enabled auto-merge (squash)
October 21, 2026 21:52
…ller.ProcessEvent onDone(权威 usage+consumer 同点可达;ChatUsageProcessor 在 ChatService 中间件链外且 Singleton/会话级作用域错配); IEventConsumer.OnContextUsage DIM 三参(promptTokens,contextWindowTokens,percentLeft)——阈值标志不进协议 UI 自判颜色; ContextUsage 协议事件双镜像(context_usage camelCase)+BridgeEventConsumer 显式实现(DIM 不可见坑防御); TUI 侧 ContextWarning 独立槽位(持续态告警 vs Notification 临时态语义分离,共存告警优先)+ResolveContextWarning 三色(≤10 error 告急/≤25 warning 不足/>25 清空防噪); promptTokens=0 不发射防 mock 噪音
…假设 Task.Run 等待者在窗口内进入排队,CI 调度延迟下等待者晚于释放才启动(等待 0ms 不超阈值漏 LOCK-WAIT-SLOW); 修复=SpinUntil 等 LOCK-WAIT-START 诊断信号(AsyncLock.cs:154 排队开始时发射的确定性邮箱信号)+信号后 Delay(100) 超阈值再释放——排队起止时序由编排保证不依赖调度运气
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
Test plan