# Conversation Session E2E Coverage Matrix SHR22 范围补充:`subagentRuntimeConfig.test.ts` 验证用户/项目扫描不进入子目录及重载隔离;`subagentRuntimeConfigWatcher.test.ts` 验证真实热更新和目录重建范围;`subagentsService.test.ts` 与 Bootstrap `subagents.test.ts` 验证 Settings/独立 CLI 第一层加载,保留插件递归发现。复用 cross-host pending 的 SHR22,断言两个 Host 的初始化及后续父轮 provider 请求不包含预置深层用户定义。 2026-09-18:实施 SHR22 目录监听修复;直接监听已有配置路径,缺失时切换已有父目录。补目录生命周期、稳定补扫及取消/I/O 测试,复用跨 Host Desktop 验证首次创建和重建。Windows 空目录移动使用随 scope 释放的原生父目录结构订阅;父目录检查不推迟已排队文件批次。六组 pending Desktop 最终 11/11 通过;macOS / Windows / 大小写敏感卷相关单测通过。既有红灯证据及平台跳过项保留,详见 `docs/subagent-runtime-refresh.md`。 2026-09-18:接受 SHR22 路径大小写边界复现;扩展现有 cross-host pending E2E,以 Settings 保存和双 Host 下一轮 provider 请求验收,真实 watcher 单测覆盖用户/项目增删改名及目录生命周期。仅补测试,不修改生产实现;验证结果单独记录,不能把复现失败标为通过。详见 `docs/subagent-runtime-refresh.md`。 2026-09-18:SHR01-SHR21 迁移到原生 watcher、Host 共享解析及逐文件读取。删除广播专属分支;文件读取失败改内置回退,文件事件恢复;RPC 故障仍终止父轮。六组继续 pending,保留 provider/轨迹/缓存断言。完整映射见 `docs/subagent-runtime-refresh.md`;以下旧日期记录为历史证据,不代表迁移已验证。 2026-09-17:SHR14/SHR16/SHR21 增补本地 session 初始化读取 Host 的一次配置 RPC,与每父轮读取分开计数;Bootstrap 覆盖初始配置来源、等待与失败,其他存储及独立 CLI/远程来源不变。复用原用例与 fixture。 2026-09-16:SHR12/SHR20/SHR21 改为配置读取失败结束父轮且零 provider 请求;输入先展示并持久化,失败/取消后仍保留,恢复请求包含该输入且不重复;删除 CLI 失败继续执行分支,Host 重载/旧快照策略不变。 2026-09-15:SHR21 生效边界调整为首次初始化等待、后台重载期间返回完整旧快照、成功发布后后续父轮使用新快照;不改变加载失败策略。跨 Host 用例在文件屏障释放前验收旧配置父子请求,释放后验收新配置及迟到结果隔离。 2026-09-15:接受 SHR18-SHR21:补齐双 Host 双向/两端下一轮、操作/state、故障和时序分支;动作、断言及证据层见 `docs/subagent-runtime-refresh.md` 的 Host 分支覆盖补充。仅修改测试与覆盖文档,不降低既有断言。 2026-09-15 补测结果:原五组 9/9;新增跨 Host 分支与冷启动均完成,保留 1 个关闭中配置 RPC 导致多发模型请求的失败断言。逐分支映射及验证产物见 `docs/subagent-runtime-refresh.md` 末节;未修改生产代码。 2026-09-15:接受 SHR16(跨窗口 Host 失效通知)与 SHR17(无关 workspace 读取故障不阻断保存),实现并通过六组 Desktop 10/10 验证(仍为 manual-review/pending);合同见 `docs/subagent-runtime-refresh.md`。复用现有用例与 helper,保留 SHR01-SHR15 覆盖,不增加生产测试钩子。 2026-09-15:SHR01-SHR15 implemented / manual review pending。五组 Desktop 用例分别覆盖 失败 child/compact、动态目录 user/MCS、单字段更新、运行/恢复/读取失败/retry、多个实际 CLI。 父子请求的完整历史、工具配对和缓存标记有独立断言;child 四段 system 的缓存问题已修复。 Guide 与 definitions 加载期间 Stop/迟到响应是 Core runtime 证据,未称为 Desktop 覆盖。 测试去重保留全部场景与 fixture 合同,最新结果和历史失败归档统一见 [subagent runtime spec](../subagent-runtime-refresh.md#测试组织与验证)。 2026-09-14:扩展已有 I21/SA subagent prompt assembly 的验收:父请求 description 无目录、 首发 agent_listing_delta 走通用 attachment 投影(MCS 合法时 system,关闭时 user reminder)、工具后不重复、child 无 Agent 不注入、UI 无伪用户消息。 保留四类 profile 的 non-MCS 父子请求,MCS 仅增加 general-purpose 代表场景;剪枝另三类 profile 的 MCS 重复,正文、wrapper、顺序和工具配对仍有明确断言。 compact/fork/rewind 与可替换 definitions 的组合通过 Core focused tests 验证,详见 `docs/subagent-listing-attachment.md`;验证结果以本次实际运行记录为准。 测试收窄后,正式 Electron `desktop-e2e-20260914124036720-p33068-abdaaec9eb6005b6` 2/2 首次通过;共 10 次父请求和 5 次 child 请求逐项验证,详见 spec 最新记录。 同日增加 SendMessage lean 文案断言:SendMessage 按 ID 续跑、定义来源、并发提示只在 listing 出现一次;正式 Electron `desktop-e2e-20260914105041342-p8117-87dcf4e0620cd911` 1/1 通过(四组场景)。 **数据库启动门禁(2026-09-14,新全局方案待 GUI 验收)** 旧 DBSTART 方案与记录保留在 Todo 144;当前以 [全局启动 spec](../desktop/database-migration-startup-gate-plan.md) 和 Todo 145 为准,Host 初始化已纳入本次。 [实施复审](../desktop/database-startup-implementation-review.md) 记录新测试与限制。真实旧库/锁/刷新、Host 锁和 CANTOPEN 手动重试用例已进入 `manual-review/pending`;Electron 在用例前崩溃,不计入正式 covered 数量。 2026-09-10 Todo104 / I13:pending spec 增加首发前后工具栏完整 title 的 Provider 名称断言,覆盖真实配置 → Registry → Selection View → Composer;继续保留原 currentValue、模型请求、回复与 idle 断言。Pro 新 Desktop/Agent `desktop-e2e-20260910-062834-748`:1/1通过,显式 max 参数及 common+case-local replay。只增强既有用例,不新增请求或自动晋级;不表示手机/SSH 实机已验证。 ## Todo103 闲时工具测试前置 OffPeakCreate 新建/冷恢复、闲时 Subagent 继承和失效 Ticket 的隔离回放,必须同时准备账号控制面与闲时网关。仅启用 `ZCODE_OFFPEAK_MOCK` 不会创建当前 Account Provider 权益;应复用现有 Coding Plan mock 并播种具体个人套餐连接,使普通 Registry 和隐藏 Off-Peak Selection View 来自正常解析。原用例的单模型白名单 GLM-5.2 通过 case-local Built-in 的 `builtinModelIds` 提供,不再从退役 client-config 字段提供;产品配置不变。不得在生产代码里绕过权益或直接塞候选来让测试通过。四类用例仍为 pending;录像依赖安装在隔离工具目录,不更改用户应用数据。 OP10 下一普通轮的默认 DeepSeek 选择必须包含 preset 的思考档位。新建闲时 Session 不继承尚未提交的 Composer 草稿;不完整的 configuredDefault 不能证明普通轮应使用 DeepSeek。仍须检查普通请求不携带闲时 Ticket、不请求闲时网关。 OP-CHAT-02 在冷恢复创建、编辑回显之后继续等待真实 scheduler 派发:已有 Session 的 `runtime/model_selection` 在创建前与闲时执行后保持一致;闲时任务的 conversationId 仍等于绑定的 Session,取票网关捕获到任务保存的闲时模型。不能用表单新建 Session 的 OP10 代替该绑定分支。 该绑定用例复用网关 foreground-subagents 场景中 `E2E_OFFPEAK_SUBAGENT_CHILD_INHERIT` 的固定文本响应,不创建子任务;marker 仅供离线 fixture 匹配。不能使用会继续代理真实上游的 capture 模式来伪装纯离线验收。 ## Todo95C 关闭档位改名 R95C-01(accepted,pending 未晋级):`conversation-session-model-provider-effective-selection.test.ts` 验证 GLM-5.2 旧 nothink 草稿冷启动显示 disabled、正文编辑不写回、发送后保存及实际关闭请求。Pro `desktop-e2e-20260909-121842-573` 通过;同组 SR87-01、SR87-06/SM96 套餐对应与后台任务回归 3/3 通过。历史记录在 pagehide 注入,避免旧页退出保存覆盖测试前置。 本文把 `docs/conversation-session-case-catalog.md` 里的形式化 case 和当前自动化断言一一对齐。默认优先使用 WDIO E2E 证明端到端 GUI 行为;对于 auto compact retry 这类 runtime 内部控制流,可使用 focused core runtime 单测作为覆盖证据。 核心口径:只有存在明确 setup、action、assert 的 case 才算自动化覆盖;仅仅在某条用户路径中经过相关状态,不算覆盖。 ## 后台 Bash 输出详情 BGV04 子会话用例补测 publisher 释放后重新订阅的冷恢复路径:旧 Bash 仍由祖先 adapter 管理, 查询不能被新 child record 截断;要求真实释放/冷恢复证据及退出前两段输出。 2026-09-11 已通过 `desktop-e2e-20260910-190613-523`:展开父会话执行历史冷恢复 child, 重新激活保留的输出 tab,验证原 workId、两段新输出和最终输出;不新增历史后台任务目录。 前台 BDO07 本轮补测:最多显示 5 行且短输出自适应、连续输出刷新/吸底、用户上滚冻结、无按钮并滚回底部恢复和终态行数上限; 使用现有真实 writer/barrier,记录文件与 DOM 时间。BGV 查询与跟随合同保持不变。 BDO02、BG14 同步验证前台只显示正文,无附加截断提示或完整文件入口;provider 摘要与真实文件保留不变。 BDO07、BGV03 通过真实滚动、输出更新验证共享渐隐的 none/top/bottom/both 状态,保持原有吸底和暂停操作。 BGV01/02 状态条移至顶部,运行状态靠左,完整文件链接在运行及终态均靠右;BGV03 覆盖底部居中的圆形悬浮图标按钮、可访问名称及原有恢复跟随操作。 BGV01/02 补充链接与运行状态同色;BGV03 补充手动滚到底部隐藏箭头并恢复跟随、再次上滚暂停和终态按钮恢复。 BGV01/02 超过 8 KiB 后不展示截断提示,中英文一致;继续验证有界尾窗、文件保留和完整文件入口。 2026-09-11 恢复简单滚动判断;BDO07/BGV03 不再声称覆盖尺寸变化钳制到底后的暂停保持或输入与输出更新同帧的竞争,这两项留待后续修复验证。 BGV01–BGV06:accepted;2026-09-10 用户确认实时演示后通过 promotion 转为正式用例,共 7 个测试。 | 范围 | 已有证据 | 尚未执行 | | ----------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------- | | BGV01/02/03/05/06 | Desktop 本地真实文件、barrier、进程与 UI;hook 单测覆盖隐藏无请求、慢响应、重试和迟到结果 | — | | BGV04 | Desktop 主/子会话及并发会话;service/tab 单测覆盖 workspaceIdentity、remoteSessionId、两种 clientMode | Desktop SSH/WSL 工作区和手机远控完整 UI E2E | | 平台读取 | macOS/Linux Node 24.14.0;Windows Git Bash/CMD Node 24.14.0、25.9.0,均实跑 adapter | Windows/Linux Desktop UI E2E | 正式 spec:`packages/desktop/test/e2e/conversation-session/conversation-session-background-bash-output.test.ts`。 BGV01 增补普通运行成功轮询不落盘断言;精简响应由 schema/adapter 单测校验,日志失败分级由 Host 单测校验。 详情与本地报告见 [后台 Bash spec](../background-bash-output-details.md#本轮验证2026-09-09)。 ## Todo88 迁移验收补充 - TSL38 追加前置:退出后注入旧模型字段、重启后由 scheduler 首次执行,核对新 Selection、本轮冻结值与保留的回滚字段。仍在原 pending spec,不转正。仅在 Host 就绪后推进本 case 的 `next_run_at`,避免启动前无 Host 的正常重试影响此迁移验收;不修改新选择列、不经过编辑保存。Pro `desktop-e2e-20260907-145947-115` 通过。 - I26/MP-R02:真实点选 Team 的非首个模型后,先验证新版连接重启,再注入同身份旧 mode/selectedKey 进行冷启动。核对模型、新版连接及旧回滚字段,最后实际发送。Pro `desktop-e2e-20260907-150508-565` 通过;只运行 I26,不代表该文件其余 case 全部通过。 ## MSD 消息流展示设置覆盖 | Case | 覆盖状态 | 自动化 | 关键断言 | | ----- | -------- | --------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | | MSD00 | covered | shared schema + Settings focused UI unit | 空配置默认 reasoning=true 且迁移标记为 true;设置页与 SessionPane fallback 同步为开启 | | MSD01 | covered | shared schema + setting service unit | 无标记的缺失/false/true 三类旧值只迁移一次,并经串行设置写队列持久化 true 与 marker | | MSD02 | covered | shared/service unit + renderer unit + pending TGE04 | marker 存在后保留用户关闭;首条 reasoning 仍可见、后续隐藏,desktop/mobile projection 与恢复边界不变 | ## CUA-SUBAGENT 覆盖 | Case | 覆盖状态 | 自动化 | 关键断言 | | --------------- | -------- | -------------------------------- | ----------------------------------------------------- | | CUA-SUBAGENT-01 | planned | core unit + manual-review/replay | wildcard child 隐藏官方 CUA,非官方 MCP/Skill 保留 | | CUA-SUBAGENT-02 | planned | core unit | explicit CUA 配置在模型请求前以稳定错误失败 | | CUA-SUBAGENT-03 | planned | zcode-cua producer unit | `runtime_scope=subagent` 在 Broker 前拒绝全部 30 工具 | | CUA-SUBAGENT-04 | planned | core integration | parent/main CUA 行为保持不变 | ## CUA-ERROR 覆盖 | Case | Status | Evidence | Assertion | | ------------ | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | CUA-ERROR-01 | partial | producer stdio + UI unit + [`conversation-session-cua-ordinary-error.test.ts`](../../packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-cua-ordinary-error.test.ts) pending replay `desktop-e2e-20260824-194204-941` | 明确权限错误是普通 ToolCallRow,无自动权限弹窗;模型仍可使用只读 `request_access` | | CUA-ERROR-02 | partial | producer error taxonomy tests;UI unit planned | foreground/UIPI/Linux 等普通失败保留原始信息且不被改写为 macOS 权限 | | CUA-ERROR-03 | partial | producer delivery-state/fault tests;Kimi planned | `possibly_sent` 不重放,native dispatch 最多一次 | | CUA-ERROR-04 | partial | CUA ordinary-error pending cold replay `desktop-e2e-20260824-194204-941`;mobile replay unit planned | continuous/replayable 恢复普通失败事实,不补造副作用、不重复 ToolCallRow | ## CUA-ACCESS 覆盖 | Case | Status | Evidence | Assertion | | ------------- | ------- | ------------------------------------------------------ | ---------------------------------------------------------------------------------------- | | CUA-ACCESS-01 | planned | core/protocol/UI unit + pending Electron manual-review | 后台本地 live official request_access 经新鲜复查只弹一次确认框 | | CUA-ACCESS-02 | covered | UI prompt unit | 取消不打开设置;同 turn 去重、并发串行,新 turn可再次提醒 | | CUA-ACCESS-03 | planned | UI/service unit + pending Electron manual-review | 确认后只引导新鲜缺失项,返回后重启 Helper/刷新,零 task command/continuation/tool replay | | CUA-ACCESS-04 | planned | core/protocol/service unit | malformed/third-party/history/recovery/mobile/remote 均无权限副作用 | | CUA-ACCESS-05 | planned | UI/service unit | Host 新鲜状态 granted/unknown/unavailable 时不弹框、不打开设置 | ## CUA-GROUP 覆盖 | Case | Status | Evidence | Assertion | | ------------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | | CUA-GROUP-01 | partial | protocol + projection + UI unit + CUA-GROUP-09 formal replay | response text 与 `request_access/list_apps` 共享 ID,并由 response 创建 Group | | CUA-GROUP-02 | planned | UI unit | 未分类 streaming message 外置且不关闭旧 Group;CUA 到达后整体入组并原位刷新 | | CUA-GROUP-03 | planned | UI unit + Electron manual | success / failed / cancelled 依次进入 Explore 式滚动摘要 | | CUA-GROUP-04 | partial | UI unit + CUA-GROUP-09 formal replay | 非 CUA tool 关闭旧 Group;text-only/mixed 细分由 unit 覆盖 | | CUA-GROUP-05 | partial | UI unit + remote manual + CUA-GROUP-09 cold replay | desktop continuous 冷恢复保持 Group;mobile replayable 仍保留 manual | | CUA-GROUP-06 | planned | UI unit | 第三方同名 MCP 不参与官方 CUA 聚合 | | CUA-GROUP-07 | partial | UI unit + CUA-GROUP-09 formal replay | 滚动仅终态 CUA;message 仍计数且展开后只在 Group 内出现 | | CUA-GROUP-08 | planned | projection + UI unit | 未分类 response 外置且不滚动;CUA 到达后升级,无 tool 完成时关闭旧 Group | | CUA-GROUP-09 | covered | formal replay [`conversation-session-cua-response-grouping.test.ts`](../../packages/desktop/test/e2e/conversation-session/conversation-session-cua-response-grouping.test.ts), case-local `desktop-e2e-20260820-072340-345`, default `desktop-e2e-20260820-072456-905` | 两段 Group、Bash 边界、展开混合时间线和 cold restore 均通过人工 review 与正式 replay | | CUA-GROUP-10 | covered | protocol + projection + UI unit + CUA-GROUP-09 replay extension | reasoning 复用 response ID 入组;覆盖可见性计数、mixed/text-only/legacy 外置,以及 live/cold restore 的边界、顺序和折叠详情 | ## CUA-RECEIPT 覆盖 | Case | Status | Evidence | Assertion | | -------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | | CUA-RECEIPT-01 | covered | core `mcp-tool-bridge.test.ts` / `tool-executor-trace.test.ts` 的 trusted synthetic receipt;UI `cuaGroupToolCallBlock.test.ts` | receipt-only 官方 action 走普通 CUA ToolCallRow;无 post-state / `refresh_required`;数字 target 使用 `Element #N` fallback | | CUA-RECEIPT-02 | pruned | receipt 没有专用持久化形态;复用 CUA-GROUP-09 的通用 ToolCallRow cold restore 合同 | 不再用缺少 producer state 的 pending E2E 误测真实 action;native dispatch 由 producer lane 负责 | ## CUA-IDENTITY 覆盖 | Case | Status | Evidence | Assertion | | --------------- | ------- | -------------------------------------------- | ----------------------------------------------------------------------- | | CUA-IDENTITY-01 | covered | CLI projection unit | `list_apps` 快照按事件顺序匹配对象/JSON `app_ref.pid`,失败不覆盖 | | CUA-IDENTITY-02 | partial | UI unit + Electron manual | 完成结果身份优先,图标失败保留 App name | | CUA-IDENTITY-03 | covered | UI unit | 数字 target 本地化为 `Element #n` / `元素 #n` | | CUA-IDENTITY-04 | partial | UI unit + Electron manual | 完整 raw、失败截图过滤与权限 action 布局 | | CUA-IDENTITY-05 | partial | protocol/CLI unit + CUA-GROUP-09 cold replay | response/app identity 协议兼容与桌面恢复;mobile replayable 保留 manual | 分支覆盖以核心产品行为为分母;当前 WDIO 没有源码 coverage instrumentation,因此不把代表路径 伪装成精确行覆盖率。新增 E2E 覆盖高风险跨层 seam,其余状态组合由协议、projection、UI unit 或 平台 manual 证明。相邻原有分组回归也已通过:TGE01 `desktop-e2e-20260820-070647-555`, TGE04/TGE05 `desktop-e2e-20260820-070521-615`。此前没有独立 CUA Group Electron E2E。 Goal 专项组合不再只看主路径 `H` 的 7 条基础语义;更细的 queue、compact、fork/edit、session/model、验证手段和环境异常拆到 [conversation-session-goal-specific-coverage-matrix.md](./conversation-session-goal-specific-coverage-matrix.md)。本文件里的 `H` 只能说明 goal 基础协议覆盖,不能代表 goal 所有组合都完成。 Fork 交叉组合不做全排列;以能否 fork、复制历史边界、继承未来 session 状态三个不变量剪枝。详见 [conversation-session-fork-cross-product-matrix.md](./conversation-session-fork-cross-product-matrix.md)。 Fork 类 E2E 的稳定断言必须同时看 UI snapshot 和 runtime 边界:`runtimeStatus=streaming` 且 `activeInputId` 存在时才发送 running held queue;edit/stop 前必须等待或断言对应 busy guard。fork 不再要求父 session completed,但 target 必须是 `completedSuccess` product turn 最后一段 completed assistant;primary/foreground subagent/goal continuation/goal verifier 运行时可 fork 更早稳定 target,当前未收口 turn 仍拒绝。running fork 必须证明 child 没有复制当前 active work、父 queue、live background work、pending background result 或 continuation inbox,不 rewind 共享 workspace,且父 session 继续。FK 的 goal 继承 case 只构造“父 session 已有 target”,不能额外发送可见 `/goal` query 来制造连续 user query。 Synthetic user message 投影边界是协议级不变量:`message.role === "user"` 只代表 provider/store 物理角色,不能直接映射为 UI `userInput` 或 transcript turn。`fork`、`rewind`、`goal-continuation`、`goal_state_change`、`background_task`、`subagent`、`todo_reminder`、compact summary 等 runtime 注入消息必须由 shared projection policy 分类;旧持久化里的 `fork user-visible synthetic + forkContext` 只能投成 `session_fork` separator,raw notice 文本不能出现在右侧用户气泡,也不能参与 v4 hydration 的 turn count 或 fork target id 推导。新持久化 fork raw notice 若作为 `model-only` provider context 保留,只能归类为 `providerContextOnly`;结构化 `session_fork` timeline part 才负责 UI separator。v4 如果一个逻辑 turn 投影出多段 assistant text row,fork action 只允许出现在该 turn 的最后一段完成态 assistant row;retry 还必须命中全时间线最后一条 assistantText row。 Session 列表标题的读写边界:新重命名必须写入 v4 `renameSession`,并在 sessions-index summary 暴露 `titleSource=custom`;旧 task-index `titleOverridden` 只作为 read-time legacy override,覆盖 `default/generated` summary,不能覆盖 `custom` summary。该兼容属于旧持久化数据读取,不新增表、不新增持久化字段。 Task 管理入口边界:重命名、归档与永久删除只从左侧 task 列表既有菜单进入;conversation pane chrome 必须不渲染 rename/delete 控件。协议层 `renameSession` / `deleteSession` 继续由列表入口和内部生命周期调用,不能因 UI 入口收敛而删除。 ## Manual Review 迁移口径 历史 conversation 主路径 spec 已先统一迁入 `packages/desktop/test/e2e/conversation-session/manual-review/pending/`。这表示它们先作为“自动操作 + 人工 review + 留 artifact”的候选 case,不再属于默认 conversation 质量门禁。已经补齐确定性 replay、产品语义确认和稳定断言的新 case,可以放回 `packages/desktop/test/e2e/conversation-session/`。 本矩阵里已有的 `covered` 仍表示这些文件保留了历史 setup/action/assert 能力,审计脚本会继续检查文件存在、测试声明和缩写引用;但只要 spec 路径仍在 `manual-review/pending`,它就不能被表述为“已经通过人工确认的默认自动化验收”。人工确认产品预期后,先补齐 UI / network / log / snapshot 的确定性断言,再把对应 spec 从 `manual-review/pending` 移回 `packages/desktop/test/e2e/conversation-session/`,同时更新本矩阵路径。 若产品或 provider transport 合同已经变化,而 pending spec 仍保留与新合同相反的断言,该 spec 即使 setup/action 仍有价值,也不能继续作为对应 case 的 `covered` 证据;应先降为 `partial` 或从该行 证据列表移除,完成断言迁移并复跑后再恢复。 本矩阵记录 spec 的**当前物理路径**。case manifest 和 case-local provider fixture 里的 `spec` 字段记录的是 `packages/desktop/test/e2e/conversation-session/` 下的 **canonical formal target**,即使当前文件仍位于 `manual-review/pending` 也不改成 pending 路径。`e2e:fixture:check` 同时接受这两种当前路径,并机械校验 fixture target;pending replay 只有显式传入 `E2E_PROVIDER_REPLAY_FIXTURE_PATH` 时才加载 case-local fixture。 2026-07-24 本批转正已完成 case-local strict 与默认 replay 双跑;artifact 作为本次物理迁移和确定性 fixture 的准入证据: staging 的 BG45 历史 focused replay artifact 为 `desktop-e2e-20260903-111126-452`;它仅覆盖 当时版本的 BG45,不替代上表原有 25-case 的 strict/default 双跑,也不代表 Todo103 整合版已验证。 | Formal spec | Case 数 | strict-case-local artifact | 默认 replay artifact | | ------------------------------------------------------------- | ------: | --------------------------------- | --------------------------------- | | `conversation-session-background.test.ts` | 26 | `desktop-e2e-20260724-154340-362` | `desktop-e2e-20260724-154720-609` | | `conversation-session-goal-run-cases.test.ts` | 22 | `desktop-e2e-20260724-142026-140` | `desktop-e2e-20260724-133653-654` | | `conversation-session-markdown-table-enhanced-scroll.test.ts` | 7 | `desktop-e2e-20260724-114042-401` | `desktop-e2e-20260724-114126-913` | | `conversation-session-markdown-table-layout.test.ts` | 6 | `desktop-e2e-20260724-111036-361` | `desktop-e2e-20260724-111104-174` | | `conversation-session-compact-auto.test.ts` | 5 | `desktop-e2e-20260724-135201-193` | `desktop-e2e-20260724-135304-443` | | `conversation-session-model-switch-restore-repro.test.ts` | 4 | `desktop-e2e-20260724-140311-511` | `desktop-e2e-20260724-140355-719` | | `conversation-session-running-guide-steer.test.ts` | 4 | `desktop-e2e-20260724-120148-911` | `desktop-e2e-20260724-120259-422` | | `conversation-session-running-send-now.test.ts` | 4 | `desktop-e2e-20260724-121921-999` | `desktop-e2e-20260724-122013-205` | ## 覆盖状态定义 | 状态 | 含义 | | ----------- | ------------------------------------------ | | `covered` | 已有独立自动化断言覆盖 | | `failing` | 已有自动化探针,但当前产品实现不满足预期 | | `partial` | 只有弱断言或覆盖了相邻语义,不能算完整证明 | | `planned` | 已有候选 spec 或步骤设计,尚未完成独立断言 | | `missing` | 产品语义已 accepted,但当前没有自动化断言 | | `undefined` | 产品语义尚未定义,不能写稳定断言 | | `pruned` | 产品已明确剪枝,不保留自动化覆盖要求 | ## 测试缩写 | 缩写 | Spec | | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `FS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-first-send.test.ts` | | `PW` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-prewarming-queue.test.ts` | | `RQ` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-running-queue.test.ts` | | `AD` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-auto-drain.test.ts` | | `RA` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-running-actions.test.ts` | | `AF` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-v4-auto-drain-running-fork.test.ts` | | `CE` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-v4-cold-failed-edit.test.ts` | | `SH` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-stop-held-queue.test.ts` | | `SE` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-stop-empty.test.ts` | | `QO` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-queue-operations.test.ts` | | `CP` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-compact.test.ts` | | `SF` | `packages/desktop/test/e2e/conversation-session/conversation-session-compact-stream-fallback.test.ts` | | `CM` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-compact-manual-queue.test.ts` | | `CA` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-compact-actions.test.ts` | | `IA` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-interrupted-actions.test.ts` | | `ED` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-edit.test.ts` | | `FK` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-fork.test.ts` | | `GL` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-goal.test.ts` | | `GR` | `packages/desktop/test/e2e/conversation-session/conversation-session-goal-run-cases.test.ts` | | `GQ` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-goal-queue.test.ts` | | `GM` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-goal-session-model.test.ts` | | `MS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-config-and-multisession.test.ts` | | `RM` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-switch-restore-repro.test.ts` | | `MC` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-model-config.test.ts` | | `OC` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-openrouter-model-id-colon.test.ts` | | `RW` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-provider-registry-prewarm.test.ts` | | `PS` | `packages/desktop/test/e2e/provider-readiness-agent-startup.test.ts` | | `TO` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-tool-history-order.test.ts` | | `RC` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-composer-recent-mode.test.ts` | | `CT` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-composer-toolbar.test.ts` | | `PL` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-plan-shortcut.test.ts` | | `MR` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-provider-restart-recovery.test.ts` | | `MT` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-provider-settings-transition.test.ts` | | `TR` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-provider-turbo-recovery.test.ts` | | `MX` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-provider-turbo-switch.test.ts` | | `OTB` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-output-token-budget.test.ts` | | `OTBS` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-output-token-preflight-smoke.test.ts` | | `OTC` | `apps/zcode-cli/packages/core/tests/runtime-output-token-continuation.test.ts` | | `OTCB` | `apps/zcode-cli/packages/core/tests/runtime-output-token-continuation-boundaries.test.ts` | | `OTCC` | `apps/zcode-cli/packages/core/tests/runtime-output-token-continuation-control-flow.test.ts` | | `OTCK` | `apps/zcode-cli/packages/core/tests/runtime-output-token-continuation-compact.test.ts` | | `OTCS` | `apps/zcode-cli/packages/core/tests/runtime-model-anomaly.test.ts` | | `OTCE` | `apps/zcode-cli/e2e/compact-microcompact/case-output-token-continuation.mjs` | | `OTCU` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-output-limit-continue-ui.test.ts` | | `OTCM` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-output-limit-continue-markdown-boundaries.test.ts` | | `OTCX` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-output-limit-continue-markdown-content-types.test.ts` | | `OTCP` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-output-limit-continue-markdown-protocols.test.ts` | | `CWR` | `packages/desktop/test/e2e/conversation-session/conversation-session-context-window-cold-resume.test.ts` | | `VT` | `apps/zcode-cli/packages/bootstrap/tests/v4-native-fork-edit-retry.test.ts` | | `GW` | `apps/zcode-cli/packages/bootstrap/tests/v4-gateway.test.ts` | | `PU` | `packages/desktop/test/e2e/conversation-session/conversation-session-plugin-reference.test.ts` | | `PUS` | `packages/desktop/test/e2e/conversation-session/conversation-session-plugin-reference-subagent.test.ts` | | `PRR` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-plugin-reference-append-only-resume.test.ts` | | `PC` | `apps/zcode-cli/packages/core/tests/plugin-reference.test.ts` | | `PG` | `apps/zcode-cli/packages/core/tests/plugin-reference-runtime.test.ts` | | `FA` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-model-availability-fallback.test.ts` | | `DS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-upstream-workspace-smoke.test.ts` | | `PA` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-provider-add-send.test.ts` | | `LF` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-model-provider-list-filtering.test.ts` | | `DM` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-draft-model-switch-first-send.test.ts` | | `NI` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-new-session-inherits-model.test.ts` | | `SI` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-model-provider-session-isolation.test.ts` | | `RI` | `packages/desktop/test/e2e/conversation-session/conversation-session-readstate-model-isolation.test.ts` | | `TI` | `packages/desktop/test/e2e/conversation-session/conversation-session-thought-level-session-isolation.test.ts` | | `CR` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-thought-level-cold-resume.test.ts` | | `SP` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-same-model-provider-identity.test.ts` | | `GZ` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-glm52-reasoning-request-shape.test.ts` | | `IS` | `packages/desktop/test/e2e/conversation-session/conversation-session-model-switch-image-strip.test.ts` | | `IP` | `packages/desktop/test/e2e/conversation-session/conversation-session-pasted-image-path-projection.test.ts` | | `IE` | `packages/desktop/test/e2e/conversation-session/conversation-session-pasted-image-path-edge-cases.test.ts` | | `DV` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-deepseek-v4-reasoning-request-shape.test.ts` | | `CL` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-claude-anthropic-reasoning-budget.test.ts` | | `GO` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-gpt-openai-compatible-reasoning-effort.test.ts` | | `OT` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-openai-compatible-thinking-toggle-request-shape.test.ts` | | `OA` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-opus47-anthropic-adaptive-reasoning.test.ts` | | `AR` | `packages/desktop/test/e2e/conversation-session/conversation-session-anthropic-reasoning-history-replay.test.ts` | | `SR` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-subagent-provider-registry-cold-start.test.ts` | | `SB` | `packages/desktop/test/e2e/conversation-session/conversation-session-built-in-subagent-model-overrides.test.ts` | | `SX` | `packages/desktop/test/e2e/conversation-session/conversation-session-subagent-runtime-catalog-reasoning.test.ts` | | `SD` | `packages/desktop/test/e2e/conversation-session/conversation-session-subagent-interaction-delegate.test.ts` | | `SA` | `packages/desktop/test/e2e/conversation-session/conversation-session-subagent-prompt-assembly.test.ts` | | `BMS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-node-repl-stateless-browser-multisession.test.ts` | | `BSB` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-browser-use-subagent-boundary.test.ts` | | `GD` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-same-model-draft-provider-identity.test.ts` | | `TE` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-tool-error-surface.test.ts` | | `TIV` | `packages/desktop/test/e2e/conversation-session/conversation-session-tool-input-validation-provider-content.test.ts` | | `MQ` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-model-switch-queue.test.ts` | | `MU` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-running-model-switch-usage.test.ts` | | `CI` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-compact-interrupted.test.ts` | | `TA` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-tool-actions.test.ts` | | `AC` | `packages/desktop/test/e2e/conversation-session/conversation-session-compact-auto.test.ts` | | `AA` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-compact-auto-actions.test.ts` | | `TP` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-compact-timeline-projection.test.ts` | | `TS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-turn-steer-probe.test.ts` | | `GS` | `packages/desktop/test/e2e/conversation-session/conversation-session-running-guide-steer.test.ts` | | `GI` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-goal-interruptions.test.ts` | | `BGS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-background-guide-steer.test.ts` | | `BFD` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-background-file-diff.test.ts` | | `BGR` | `packages/desktop/test/e2e/conversation-session/conversation-session-subagent-respond-to-coordinator.test.ts` | | `SN` | `packages/desktop/test/e2e/conversation-session/conversation-session-running-send-now.test.ts` | | `ME` | `packages/desktop/test/e2e/conversation-session/conversation-session-modified-submit-delivery.test.ts` | | `AQ` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-ask-user-question-answer-visible.test.ts` | | `AQE` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-ask-user-question-custom-enter-multi-question.test.ts` | | `AQM` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-ask-user-question-custom-click-multi-question.test.ts` | | `AQK` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-ask-user-question-custom-enter-manual-multi-question.test.ts` | | `AQX` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-ask-user-question-custom-mixed-manual-multi-question.test.ts` | | `AQS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-ask-user-question-custom-enter-single-question.test.ts` | | `PAF` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-plan-approval-feedback-user-message.test.ts` | | `PVD` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-permission.test.ts` | | `PFC` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-plan-file-compact-continuity.test.ts` | | `PP` | `packages/desktop/test/e2e/conversation-session/conversation-session-plan-approval-primary-submit.test.ts` | | `PM` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-plan-mode-capabilities.test.ts` | | `PMC` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-plan-mode-mcp-permission.test.ts` | | `PSR` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-plan-session-switch-restore.test.ts` | | `AK` | `packages/desktop/test/e2e/conversation-session/conversation-session-ask-user-question-keyboard-navigation.test.ts` | | `ADF` | `packages/desktop/test/e2e/conversation-session/conversation-session-ask-user-question-keyboard-default-focus.test.ts` | | `MG` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-model-switch-auto-compact.test.ts` | | `MF` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-model-switch-tool-edit-fork.test.ts` | | `EF` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-model-switch-edit-fork.test.ts` | | `GP` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-goal-resume-stale-target.test.ts` | | `TX` | `packages/desktop/test/e2e/conversation-session/conversation-session-tool-cross-product.test.ts` | | `CLT` | `packages/desktop/test/e2e/conversation-session/conversation-session-chat-loading-live-tail.test.ts` | | `TDT` | `packages/desktop/test/e2e/conversation-session/conversation-session-tool-detail-toggle-stability.test.ts` | | `UTL` | `packages/desktop/test/e2e/conversation-session/conversation-session-unregistered-tool-cold-snapshot.test.ts` | | `WF` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-webfetch.test.ts` | | `RS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-read-session-context-timeout.test.ts` | | `BR` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-bash-read-state.test.ts` | | `AW` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-file-tools-atomic-write.test.ts` | | `FSC` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-file-summary-cold-start.test.ts` | | `GT` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-goal-timeline.test.ts` | | `BG` | `packages/desktop/test/e2e/conversation-session/conversation-session-background.test.ts` | | `BQ` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-v4-goal-background-queue.test.ts` | | `BGE` | `packages/desktop/test/e2e/conversation-session/conversation-session-background-subagent-rate-limit.test.ts` | | `FM` | `packages/desktop/test/e2e/conversation-session/conversation-session-fork-merged-assistant.test.ts` | | `DR` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-composer-draft-switching.test.ts` | | `PR` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-composer-prefix-routing.test.ts` | | `VM` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-mention.test.ts` | | `MT` | `packages/desktop/test/e2e/conversation-session/conversation-session-markdown-table-layout.test.ts` | | `MTS` | `packages/desktop/test/e2e/conversation-session/conversation-session-markdown-table-enhanced-scroll.test.ts` | | `SPL` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-status-panel-inline-layout.test.ts` | | `MO` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-mcp-oauth-status-isolation.test.ts` | | `NF` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-native-file-picker-attachments.test.ts` | | `ST` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-title-generation-timeout.test.ts` | | `AUT` | `packages/desktop/test/e2e/conversation-session/conversation-session-automation-run-title-stable.test.ts` | | `CRC` | `packages/desktop/test/e2e/conversation-session/conversation-session-automation-cron-create.test.ts` | | `CRU` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-automation-cron-update.test.ts` | | `AMG` | `packages/desktop/test/e2e/automations-create-manage.test.ts` | | `AYS` | `packages/desktop/test/e2e/automations-custom-yearly-schedule.test.ts` | | `AML` | `packages/desktop/test/e2e/automations-custom-monthly-interval.test.ts` | | `OPF` | `packages/desktop/test/e2e/conversation-session/conversation-session-offpeak-full-flow.test.ts`(planned) | | `OPA` | `packages/desktop/test/e2e/conversation-session/conversation-session-offpeak-approval.test.ts`(planned) | | `OPP` | `packages/desktop/test/e2e/off-peak-create-manage.test.ts`(已编写:创建→回显→Pause→Continue→删除;进程内 mock 网关驱动,待 E2E 环境执行验证) | | `OPR` | `packages/desktop/test/e2e/conversation-session/conversation-session-offpeak-restart-resume.test.ts`(planned) | | `OPS` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-offpeak-subagent-model-inheritance.test.ts` | | `OPB` | `packages/desktop/test/e2e/conversation-session/conversation-session-offpeak-provider-boundary.test.ts`(planned) | | `OI` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-oversized-inline-image-attachment.test.ts` | | `VA` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-attachment.test.ts` | | `TU` | `packages/ui/test/zcodeSessionProjection.test.ts`、`packages/ui/test/v4ConversationTurnRenderUnits.test.ts`、`packages/ui/test/v4ConversationTurnGroup.test.ts`、`packages/ui/test/v4ConversationRowViewTimelineMarker.test.ts`、`packages/shared/test/zcodeSessionVisibleContent.test.ts`、`packages/ui/test/chatLoading.test.ts` | | `AI` | `packages/ui/test/v4SessionDataLayer.test.ts` | | `ER` | `packages/desktop/test/e2e/conversation-session/conversation-session-empty-completion-retry.test.ts` | | `VR` | `packages/ui/test/v4ConversationTurnRenderUnits.test.ts` | | `BP` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-node-repl-stateless-browser-multisession.test.ts` | | `RT` | `apps/zcode-cli/packages/core/tests/runtime-compact.test.ts` | | `PD` | `apps/zcode-cli/packages/core/tests/prompt-admission.test.ts` | | `ML` | `apps/zcode-cli/packages/core/tests/runtime-model-selection.test.ts` | | `TM` | `packages/desktop/test/e2e/conversation-session/manual-review/pending/conversation-session-agent-step-message-scope.test.ts` | | `VS` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-vertical-slice.test.ts` | | `VQ` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-stop-queue.test.ts` | | `QE` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-queue.test.ts` | | `QD` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-queue-drain.test.ts` | | `VK` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-fork.test.ts` | | `VF` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-fork-edit-branch.test.ts` | | `VG` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-goal.test.ts` | | `TN` | `packages/desktop/test/e2e/conversation-session/conversation-session-v4-turn-navigator.test.ts` | | `LC` | `apps/zcode-cli/packages/bootstrap/tests/catalog-cases.test.ts`、`apps/zcode-cli/packages/bootstrap/tests/product-projection.test.ts`、`apps/zcode-cli/packages/bootstrap/tests/transcript-hydration.test.ts`(reducer / projection 黄金测试,case id 在测试名中) | | `VN` | `apps/zcode-cli/packages/bootstrap/tests/v4-native-queue.test.ts`(原生命令 handler 层代表;其他 v4-native 组同属该层) | | `EA` | `apps/zcode-cli/packages/core/tests/runtime-hooks.test.ts` | > **2026-07-11 Task 2 evidence boundary**:缩写路径落在 > `manual-review/pending/` 的 spec 只表示 legacy 自动化语料或人工 review 入口,不属于当前 > V4 formal gate。下方沿用这些缩写的 `covered` 行只保留旧栈历史覆盖含义,不能据此声称 > 当前 formal replay/admission 已覆盖;现行 V4 formal 证据必须来自主目录中通过 admission 的 > V4-compatible spec,且仍需按 Task 3 补齐 manifest/fixture admission。 ## v4 验收网(2026-07-06 case catalog 战役登记) v4 硬切后默认门禁的 conversation 验收在 `conversation-session-v4-*.test.ts` 系列(此前一直未登记进本矩阵)。manual-review/pending 的旧 spec 仍是语料来源,但断言层已失效;A-J 分表里引用旧缩写的 `covered` 只代表旧栈历史证据,v4 链路的现行证据以本节 + `LC`/`VN` 为准。 | Spec(conversation-session-v4-…) | 对应 case / 语义 | 强度 | | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | vertical-slice | A01、B01(partial)、输出中刷新恢复 | M3 门禁 | | queue | A03/A04 + queue 单项 delete/edit/reorder(running 态;held 态见 stop-queue) | 命令门禁 | | sendnow | M07a | covered;core/runtime + projection focused 回归约束内部抢占的 cancelled 保持原 `autoDrain`,不产生 stopped pause/“继续” | | stop-queue(新) | **B02/B04、B06、B08、B14-B16**(暂停队列:stop 保留 queue+autoDrain=false;modal keep/clear;继续 FIFO;并发确认保护;暂停项立即发送) | B02/B04/B08 既有底层语义已覆盖;B08 保持原暂停授权,不为“立即”额外制造恢复入口;B06 正式回放迁移到正常发送按钮 → modal keep/clear;B14 正式回放覆盖 text FIFO 代表,goal/compact 混合队列仍缺;B15 正式 controlled-stream 覆盖 running 只武装;B16 跨端并发确认仍待 mobile replayable harness;B08 reservation 失败回滚见 PV4-03 missing | | queue-drain(新) | **C02** + queuedPromptMessagePreserved(drained 文本落可见 user row) | covered | | edit | C07/D01(行内 Edit → 行内 input → 行内 Send;主 composer 草稿独立;D01 覆盖普通 TurnStarted 与 queue/guide drain 来源) | covered:普通路径有 strict + CI-style full batch;drain 来源有 projection/resolver focused 回归,二者共用同一 UI command path | | retry | retry 机制(rewind 截断+原文重发;K10 latestAssistantRetryOnly) | 2026-07-15 产品裁决:桌面/Web/手机普通 assistant retry UI 入口统一隐藏;`canRetry` / `retryTurn` 命令门禁继续保留,不新增 UI E2E 组合。2026-07-16 退役仍等待 `v4-retry-*` 按钮的旧 formal spec/fixture,避免用已删除入口制造假失败 | | fork | E01(历史边界)+ E11(child 模型思考档位能力);queue 面未断言 | partial;E11 已由正式 V4 fork replay 覆盖,剩余缺口仅为 queue 面 | | fork-edit-branch(新) | **E09**(fork 使用编辑后 active branch) | covered | | refresh-permission(新) | 刷新恢复×权限挂起(环境故障 catalog 面:pendingInteractions 跨刷新恢复+批准路由) | covered | | split-stop | 分屏×stop 隔离(J04 adjacent 自拟交叉) | missing:2026-07-13 显式按钮下线时旧 spec/fixture 删除;待从 Task 列表拖拽入口重建 | | split-persist | paneLayout/workbench group 的 ratio、binding、刷新恢复和 close/GC | missing:待从 Task 列表拖拽入口重建 | | session-workbench-groups | **SWG01-SWG18**(Task 列表拖入四向分屏、右键分屏与 current/已有 group guard、draft focused pane 原位替换、draft 首发原子提升、group 恢复、跨 workspace 状态隔离、4 pane 上限与 remote gate) | partial:focused regression 覆盖 SWG07 的 Skills/Subagents `workspaceKey` 隔离和 SWG12 的 primary draft binding;SWG15-SWG18 先补 UI/store focused regression,拖拽/右键入口正式 E2E 待重建 | | subagent-navigation-directory(新) | **SAT01-SAT26**(Agent/Task 单行摘要、child 详情 tab/drawer、root/parent/ child 身份、只读当前错误、workspace-only 文件撤销、active-branch 目录投影、ended cursor 分页、summary/composer 联动、edit/retry/fork/compact 生命周期、7 child 原子计数、provider retry turn-tail、首次实际模型 live/cold marker) | partial(SAT-Q/SAT-UT 已覆盖核心 projection/reducer/UI;SAT24 由独立 pending controlled-stream replay 覆盖切换前后计数;SAT25-SAT26 已补 focused tests 与最小 pending E2E,待人工 review 后转正;SAT03/SAT04、SAT23 正式文件 fixture 与手机 drawer 仍待集成证据) | | runtime-communication-performance(新) | **PERF01-PERF02**(单 pane 高频流与 4 pane visible fanout;synthetic recorded-stream + Electron window recording;只覆盖 desktop-continuous);**PERF03**(原 2000-turn tool-heavy 持久会话,以及 PERF03-E 的 provider compact tail 939 messages / 3523 parts、UI active branch 至少 10621 messages、1805 workspace checkpoints;activation-only、usage 窄投影、不构建 legacy full snapshot,同一 V4 cold operation 单次 parent message materialization;compact 只裁 provider history,UI cold projection 保留完整 active branch);**PV4-07R**(command/query 等待已有 READY promise 后读取当前水位) | partial:PERF03 原 2000-turn fixture 已从 180s timeout 降到 1.82s,并完成 500/1000/2000 轮线性趋势记录;bootstrap 集成门禁证明 V4 冷订阅不触发 legacy snapshot;1000-turn/6671-part fixture 同机 HEAD 对照中位数 3169.5→2701.5ms(-14.8%)、initial frame bytes相同。PERF03-H 收敛 5 次完整 parent messages 读取后,同一 production fixture 历史阶段中位数 3991.9→2681.6ms(-32.8%)。2026-08-14 在该基础上采用精确 `Buffer.byteLength` 与 indexed subagent overlay 后,production fresh-process 的 `ready→complete initial frame` 中位数 1922.2→1455.7ms(-24.3%),`process→complete initial frame` 2364.9→1905.1ms(-19.4%);前后正式样本均保持 157745-byte initial frame、157547-byte snapshot、29950 total rows、60-row wire window、`seq=74164` 与相同结构 hash。focused bootstrap/gateway 覆盖单一 READY promise、READY 前零 durable query/零 admission、M0/M1 物化复用,以及 cold/strict projection、16 MiB admission、rewind/subagent 等价;不新增 UI E2E、不把墙钟写成 CI pass/fail;PERF01-PERF02 仍 planned | | goal | H01/C04;从 unified status-panel shell 读取结构化 goal 投影;H13-H16 独立暂停/继续、计时、逐轮 action/status、完成图标;H17 区分可见 control-only query 与真实 continuation work | partial:canonical shell 与 H13/H14 desktop pause/resume covered;H15/H16 有 focused/projection 覆盖,provider replay formal case 待补;H17 已由 live/cold projection 与 UI focused regression covered | | compact | C05/F08(success);marker 结构化 status/origin;当前 fast fixture 不证明 F01 running 窗口 | covered(F01 running 仍不由本 case 证明) | | permission | 权限批准链路(resolveInteraction;T02 adjacent,主会话非 subagent) | 命令门禁 | | bash-command-prefix(新) | **BPR01-BPR02**(`pnpm run