From 1a8975769bf2430272dbfac6a82b8de4422394a4 Mon Sep 17 00:00:00 2001 From: Agent Workbench Dev Date: Sat, 7 Nov 2026 20:37:50 +0800 Subject: [PATCH] docs(qa): seal native cache and provider-state acceptance --- AGENTS.md | 2 + docs/DEVELOPMENT-ROADMAP-OFFICIAL-FIRST.md | 2 + docs/PLAN-1.25.md | 2 + docs/QA-M2-NATIVE-CACHE-STATE.md | 50 ++ docs/TIANSHU-ADOPTION-PLAN.md | 2 + docs/m2-native-cache-state-2026-11-07.json | 980 +++++++++++++++++++++ findings.md | 2 + progress.md | 2 + task_plan.md | 2 + 9 files changed, 1044 insertions(+) create mode 100644 docs/QA-M2-NATIVE-CACHE-STATE.md create mode 100644 docs/m2-native-cache-state-2026-11-07.json diff --git a/AGENTS.md b/AGENTS.md index 03d41a41..29e9425f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,7 @@ # Agent Workbench项目执行规范 +M2第五批I09/I11源码与隔离验收完成:来源71f18055、核心9e1feeeb、界面ee97aaae。原生缓存块/工具元数据与状态身份绑定、会话/Task/Run/关闭保持;纯Chat混池误带首成员reasoning实际缺陷已修。最后专项16/16,首候选127/129与两改文件26/26按178后端/213测试输入SHA复用覆盖,不能称最后单轮全套全绿。最终880输入/29编译/74runtime、网页/实际Electron各8组/10图/三配色/1280及390、原metadata/cipher/存储快照/历史exact,20图SHA/8图实看、自有候选进程和记录端口监听0。5126份2008555583字节已封存,见[验收](docs/QA-M2-NATIVE-CACHE-STATE.md)与[机器记录](docs/m2-native-cache-state-2026-11-07.json);文档及既有GitAtlas普通增量推送收尾。下一I27/I28 CI,再M3实际schema2迁移增量及新处理器结果后回退,不能删除新账本或去掉逐表全等守卫。本批0真实模型/Key/正式写入,不发行/正式重启/委派或续旧工程,不作新正式health声明;默认开放/透传/持久权限及W/AD/AE/AG网络/unknown、重复读/R-W边界/Purge收益unknown保持。下方旧接续按原时点理解。 + M2第四批I14/I12源码完成:来源337d1bc9、核心f95507ab、界面26472d28;新/旧版本与认证分开、Beta/头/同源路径、冻结契约及非提示指纹,实际fetch设置与原Run推导不混同。最后相关38/38、首候选143/143后端输入未变,最终871输入/29编译/74runtime、网页和实际Electron各8组/8图/三配色/1280及390,原metadata/cipher/存储快照exact,原I13/I15封存只读一致、自有进程/已知监听0。见[验收](docs/QA-M2-REQUEST-CONTRACT.md)与[计划](docs/M2-REQUEST-CONTRACT-PLAN.md)。3207份1498866416字节已封存,源码与验收04c0556c已普通增量推送至既有GitAtlas分支、远端逐SHA一致,见[回执](docs/gitatlas-m2-request-contract-push.json);完成接续最后提交再核对。下一I09/I11缓存块/亲和/状态及CI,再M3真实schema2迁移增量和新处理器结果后的回退。0真实模型/Key/正式写入,不发行/重启/委派或续旧工程,不作新正式health声明,开放默认/持久权限与W/AD/AE/AG、重复读、R/W边界、Purge收益unknown保持。下方旧进行中说明按原时点理解。 M2 I15推送完成:0cbf14a2/ba4b4491/b5aaf1f7与验收bf07e66d已普通增量推送至既有GitAtlas feat/task-agreement-1.25,远端逐SHA一致;[回执](docs/gitatlas-m2-official-registry-push.json)与完成接续最后提交再核对。5688原件/858输入/29编译保持,正式未部署/重启。下一I14实际版本/头/指纹,随后缓存块/亲和/状态及CI,M3需真实迁移增量/激活后回退;历史unknown保持。下方进行中说明按原时点理解。 diff --git a/docs/DEVELOPMENT-ROADMAP-OFFICIAL-FIRST.md b/docs/DEVELOPMENT-ROADMAP-OFFICIAL-FIRST.md index dcda5550..cb63548e 100644 --- a/docs/DEVELOPMENT-ROADMAP-OFFICIAL-FIRST.md +++ b/docs/DEVELOPMENT-ROADMAP-OFFICIAL-FIRST.md @@ -1,5 +1,7 @@ # 官方优先开发路线(2026-11-06) +2026-11-07 M2第五批I09/I11已完成源码及隔离验收:来源71f18055/核心9e1feeeb/界面ee97aaae,原生缓存块/工具元数据保持、跨Run状态身份与四范围连接保持,纯Chat混池实际误带状态缺陷已修。最后16/16、首127/129加两文件26/26分开按SHA复用,最终880输入/29编译/74runtime、网页和实际Electron各8组/10图/三配色/1280及390、原存储/密文/历史exact,5126原件封存,见[验收](QA-M2-NATIVE-CACHE-STATE.md)。文档/授权普通增量推送收尾;下一I27/I28 CI,再M3实际schema2迁移增量和新处理器结果后的回退,不能删除新账本或直接移除逐表全等守卫。正式未部署/重启,无真实Key/模型,历史网络/unknown/重复读/R-W边界/Purge收益unknown不动;下方历史接续按原时点理解。 + 2026-11-07 M2第四批I14与I12本批指纹已完成源码337d1bc9/f95507ab/26472d28:请求版本/Beta/认证/头/路径与目录身份绑定、实际fetch参数与原Run冻结设置分别记录;原body/ordered-prefix和密文保持。最后相关38/38、首候选143/143后端输入未变,最终871输入/29编译/74runtime、两端各8组/8图/三配色通过,旧I13/I15封存只读一致,见[请求契约验收](QA-M2-REQUEST-CONTRACT.md)。3207原件已封存,源码/验收04c0556c已普通增量推送、远端逐SHA一致,见[回执](gitatlas-m2-request-contract-push.json)。完成接续最后提交再核对;下一I09/I11缓存块/跨Run亲和/原生状态和I27/I28 CI,再M3声明迁移增量与新处理器结果后回退。正式/真实Key/模型/旧实验与历史unknown不动,下方历史接续按原时点理解。 2026-11-07 M2第三批I15已完成ba4b4491/b5aaf1f7及来源0cbf14a2:26记录/13精确型号/17来源、完整目录/覆盖/原规格快照/凭据绑定保持。最终858输入/29编译、两端各6组/7图与5688原件核对,见[注册表验收](QA-M2-OFFICIAL-REGISTRY.md)。首候选62/62后端输入未变,最后UI补强另有新构建和两端证据。普通增量推送收尾中;下一先I14实际版本/供应商头/指纹,再I09/I11/I12缓存块/亲和/状态及I27/I28 CI。M2/M3与真实收益未因此完成,正式/Key/模型/历史unknown不动。 diff --git a/docs/PLAN-1.25.md b/docs/PLAN-1.25.md index 2ca29955..bef97d2b 100644 --- a/docs/PLAN-1.25.md +++ b/docs/PLAN-1.25.md @@ -1,5 +1,7 @@ # 1.25 计划:任务要求与交付复核 +M2第五批I09/I11源码71f18055/9e1feeeb/ee97aaae已完成:原生缓存块与跨Run状态身份、四范围连接保持、纯Chat混池实际状态误送修复。最后16/16,首127/129与两文件26/26按SHA分别保留,最终880输入/29编译/74runtime、网页/实际Electron各8组/10图、原metadata/cipher/snapshot/history exact,5126原件封存,见[验收](QA-M2-NATIVE-CACHE-STATE.md)。文档/授权普通增量推送收尾,下一I27/I28 CI,再M3实际schema2增量迁移及新处理器结果后回退,不能删除新账本或去掉逐表全等守卫。默认开放/透传/持久权限与W/AD/AE/AG、重复读/R-W边界/Purge收益unknown保持,正式未写入/重启。下方旧接续按原时点理解。 + M2第三批I15源码ba4b4491/b5aaf1f7与来源0cbf14a2完成:26记录/13精确型号/17来源,最终858输入/29编译、网页与实际Electron各6组/7图、原metadata/密文/存储快照exact,5688原件封存,见[注册表验收](QA-M2-OFFICIAL-REGISTRY.md)。首候选62/62的未变后端范围和原失败分开记录,文档/授权普通增量推送收尾中。下一I14版本/头/指纹与缓存块/亲和/状态、CI,M2全阶段及M3实际迁移/回退未完成。本批0真实模型/Key/正式写入,未部署/重启或新health查询,W/AD/AE/AG异常/unknown/重复读取与Purge收益unknown保持;下方旧当前按历史时点。 当前M2第二批I13源码da2e6313完成完整请求账本与逐请求增量存储,原metadata/初始记录/unknown不改。最终build-4独立39/39、网页与实际Electron各5组/7图/23页通过;830输入/29编译与candidate-app-5一致,4328原件只读验封通过,见[验收](QA-M2-REQUEST-LEDGER.md)和[机器记录](m2-request-ledger-2026-11-07.json)。相关102/102发生在最后公开数据库版本修正前,不能混称最后一轮;首失败完整保持。文档与授权GitAtlas普通增量推送收尾中。下一I15官方注册表和I09/I11/I12/I14缓存块/状态/指纹/版本、I27/I28 CI,M3统一发行须实际核验schema2安装增量及新处理器回退,不去掉数据保持守卫。本批未正式部署/重启或新health复查,历史真实异常/重复读取/Purge收益unknown保持;下方旧当前按历史时点理解。 diff --git a/docs/QA-M2-NATIVE-CACHE-STATE.md b/docs/QA-M2-NATIVE-CACHE-STATE.md new file mode 100644 index 00000000..36aa7a8d --- /dev/null +++ b/docs/QA-M2-NATIVE-CACHE-STATE.md @@ -0,0 +1,50 @@ +# M2 原生缓存块与跨 Run 状态:验收及回顾 + +2026-11-07,承接 [本批计划](M2-NATIVE-CACHE-STATE-PLAN.md) 与 [官方优先路线](DEVELOPMENT-ROADMAP-OFFICIAL-FIRST.md)。来源 `71f18055`、核心 `9e1feeeb`、界面 `ee97aaae`,分支 `feat/task-agreement-1.25`。本批完成 I09/I11 源码和隔离验收;I27/I28 CI、M3 发行、真实供应商与收益仍分别待验。 + +原生缓存注解和供应商助手状态能按原协议保持,用户可选择会话、任务、运行或关闭连接保持。旧历史与未知状态仍完整保存;连接、型号、凭据或请求范围变化后,用普通文本及原工具调用构造当前请求,保留上游原错误。连接保持、同指纹或前缀稳定不证明上游缓存命中。 + +## 实际改动 + +- Messages 系统、用户、工具和工具结果保持原生块顺序、缓存注解、独立 TTL 与元数据;Responses 保持完整 output、encrypted reasoning、phase、工具元数据和用户显式缓存参数。默认不添加缓存参数,来源见 [官方原件说明](NATIVE-CACHE-STATE-SOURCES.md)。 +- 新 schema2 状态绑定实际协议、请求 URL、精确型号、连接、凭据修订和请求头模板。不能解释或不适用的原状态保留原件、原因与 SHA;继续发送普通文本、原工具调用和结果,不执行历史工具。 +- 修复纯 Chat 混池的实际缺陷:原实现只构造首成员正文,换线只改 model,导致首成员 reasoning_content 进入后备连接。存在状态时逐成员投影,同型号但不同凭据也分别核对。 +- 新模型池默认会话保持;用户可保存 task/run/none,原池的 run/关闭设置不补写新默认。跨 Run 仅记录完成响应的连接,诊断独立、手选优先;可选亲和存储失败不把成功响应变成失败或重放请求。 +- 模型中心保存范围,账本显示本次连接状态及沿用/重选依据,上下文逐候选连接显示状态。候选连接不重复相加同一原状态;旧无元数据的 unknown 记录不补造身份或用量。复用 Orven 三配色和现有 React 流程。 + +## 验证 + +| 范围 | 原证据与结果 | 实际证明 | +| --- | --- | --- | +| 最后核心专项 | `source-5.log`,16/16;类型检查通过 | Messages/Responses JSON/SSE 原生块、混池状态、停止/同任务恢复、重启、unknown 与可选存储故障 | +| 首独立候选 | `candidate-backend-1`,127/129 | 11 相关文件;两项旧亲和假设失败原样保留 | +| 准确修正后两文件 | `candidate-backend-2`,26/26 | 跨 Run 权重测试显式选择 run;关闭保持不暗存连接,重新启用后先选择再沿用 | +| 最终输入/编译 | `build-5` → `candidate-app-5`,880 输入/29 编译/74 runtime | 300 产品源码、178 后端输入、213 测试输入及全部编译/复制逐 SHA 相符 | +| 最终网页 | `web-ui-5`,8 组/10 图,1280/390 | 真实保存重载、自动重选、手选、原 400、账本/上下文及宿主恢复 | +| 实际桌面 | `electron-ui-1`,8 组/10 图,1280/390 | Electron 原生隐藏 capturePage、正常关闭后独立宿主重启及原存储恢复 | + +最终 178 后端输入与首候选相同,213 测试输入中 211 未改,两改文件与 26/26 候选相同。因此复用 103 个原通过项并加两文件 26 项,覆盖 129 项;**没有把首轮失败改成全绿,也不宣称最终完整单轮全套运行**。源码与编译身份见 `input-identity-1.json`、`source-git-final-proof.json`,22 个变更冻结输入与提交原字节相符;8 份官方原件与 SOURCE 清单的 SHA/Git 原字节核对通过。 + +最终两端各 5 次自有 HTTP POST:3 成功、2 原 400,另保留 1 条原 unknown,最终各 6 条账本。所有原 metadata、DPAPI 密文、存储模型快照和原历史 exact;合成 Claude 凭据与原生设置在独立宿主重启后恢复,实际只执行 1 次 list_files,未重放。以上 10 次是最终两端请求数,不代替本阶段全部合成请求总数。 + +三配色实际操作与截图通过,页面错误/外部页面请求均 0,没有文档横向溢出。20 张最终图逐 SHA 核对,8 张实际打开复看;中文、长地址/状态 SHA、保存与原错误可读,被测正文与提示对比度至少 5.46。原横向标签滚动与文档溢出分别核对。 + +## 原失败与回顾 + +1. source-1 的错误夹具 API、source-2 亲和来源断言、source-3 整正文查找及 source-4 14/15 保留。收窄 source-3 断言后 source-4 确认纯 Chat 混池实际缺陷,修复后 source-5 16/16;不能把产品缺陷全归为测试问题。 +2. 首候选两失败是旧测试假设:新池默认会话保持不应按三 Run 轮询;关闭保持不应暗存连接供以后启用。测试按其真实目的显式选择 run,并核对关闭不暗存/重新启用首次选择/后续沿用,保留原失败。 +3. web-ui-1 精确标签匹配失败,实看下拉存在后补 aria-label;web-ui-2 宽屏打开检视再缩至手机触发既有隐藏行为,改为先设窄屏再打开入口。 +4. web-ui-3 已按失效亲和正确选 B,驱动误期待 A 的修改头;按原 requests 核对自动重选,并新增真实 UI 手选 A 的原头/原错检查。web-ui-4 在手机抽屉打开时点击后方工具箱,被可见检视区拦住;先 Escape 返回后继续,不强行点击后方控件。 +5. 所有轮次的驱动输入、日志、图和原请求保留。两次错误文档锚点使 patch 整体未应用、只读路径/glob 与输出截断均记录为开发操作错误;文本规范化末轮检查为 0 项。官方原文 6 处尾空白保持原字节,没有修剪来源。 + +`final-review.json`、`final-ui-proof.json`、`prior-seals-1.json`、`owned-processes-final.json` 保存回顾、结果与清理依据。I10/I13/I15/I14 四个旧根共 16171 原件及原 MANIFEST SHA 只读复核一致,构建依赖 junction 不递归。自有候选 Node/Electron 进程和记录中的非正式端口监听均 0,未查询正式 4318。 + +## 封存与后续 + +新根 `.qa/m2-native-cache-state-2026-11-07/` 已封存 5126 份、2008555583 字节。MANIFEST SHA256 `c887364e54fe3f68e5f432155db87517fb8413966f5786156bedceddadbf2217`;五个构建依赖 junction 只登记、不递归。封存后本根只读,推送和后续回执写独立新根。 + +完整机器记录:[m2-native-cache-state-2026-11-07.json](m2-native-cache-state-2026-11-07.json)。来源/核心/界面已本地分阶段提交,验收记录及普通 GitAtlas 增量推送接续完成;不用 force。 + +本批只有源码和隔离验收,0 真实模型/真实 Key 读取/正式写入,不委派、不续旧实验或用户项目、不发行/安装/重启正式服务。正式仅沿 F 的 1.25.12/PID71628 历史记录,不作新的健康声明。默认 unrestricted/passthrough/preserve 与持久 ask/auto/full 保持。 + +W/AD/AE/AG 网络/unknown、重复读取普遍改善未证明、R/W v2 真实排除边界未触达、Purge 收益 unknown 均保留。下一 I27/I28 CI,然后 M3 统一独立源码/程序发行,必须核对实际 schema2 迁移增量及新处理器产生结果后的回退;不能删除新账本或直接移除逐表全等守卫。之后另冻 M4 新真实供应商与工程基线,再按可比结果开展收益验证。 diff --git a/docs/TIANSHU-ADOPTION-PLAN.md b/docs/TIANSHU-ADOPTION-PLAN.md index ba37e490..2095bb9a 100644 --- a/docs/TIANSHU-ADOPTION-PLAN.md +++ b/docs/TIANSHU-ADOPTION-PLAN.md @@ -1,5 +1,7 @@ # Tianshu 研究后的 Agent Workbench 采用计划 +M2 I09/I11原生缓存块/状态与四范围连接保持已完成源码71f18055/9e1feeeb/ee97aaae及两端各8组/10图隔离验收,原存储/密文/历史exact,见[验收](QA-M2-NATIVE-CACHE-STATE.md)。5126原件封存,首失败与16专项/两文件26项按SHA分别保留;文档/普通GitAtlas增量推送收尾。下一I27/I28 CI及M3实际schema2增量/新处理器结果后回退,后续新真实供应商/工程与收益另冻样本。原A–F机制及真实AD/AE成功、W/AG网络/unknown、重复读/R-W边界和Purge收益unknown均保持,正式本批未写入/重启。下方旧当前按原时点理解。 + M2第三批I15来源/纯注册表及现有Orven来源/冲突/推理/兼容覆盖已完成,源码ba4b4491/b5aaf1f7;最终858输入/29编译、两端各6组/7图及原metadata/cipher/存储快照exact,5688原件封存,见[注册表验收](QA-M2-OFFICIAL-REGISTRY.md)。首候选62/62只证明未变后端,原失败保持;文档/授权增量推送收尾中。下一I14版本/头/指纹、I09/I11/I12缓存块/亲和/状态与CI;M3真实迁移增量/新处理器回退待验。本批不部署/重启或触真实Key/模型/正式数据,不续旧实验,历史网络/unknown/重复读取/Purge收益unknown保持。下方按原时点理解。 当前M2第二批I13源码da2e6313完成完整请求账本与逐请求增量存储,原metadata/初始记录/unknown不改。最终build-4独立39/39、网页与实际Electron各5组/7图/23页通过;830输入/29编译与candidate-app-5一致,4328原件只读验封通过,见[验收](QA-M2-REQUEST-LEDGER.md)和[机器记录](m2-request-ledger-2026-11-07.json)。相关102/102发生在最后公开数据库版本修正前,不能混称最后一轮;首失败完整保持。文档与授权GitAtlas普通增量推送收尾中。下一I15官方注册表和I09/I11/I12/I14缓存块/状态/指纹/版本、I27/I28 CI,M3统一发行须实际核验schema2安装增量及新处理器回退,不去掉数据保持守卫。本批未正式部署/重启或新health复查,历史真实异常/重复读取/Purge收益unknown保持;下方旧当前按历史时点理解。 diff --git a/docs/m2-native-cache-state-2026-11-07.json b/docs/m2-native-cache-state-2026-11-07.json new file mode 100644 index 00000000..c2095efa --- /dev/null +++ b/docs/m2-native-cache-state-2026-11-07.json @@ -0,0 +1,980 @@ +{ + "schemaVersion": 1, + "checkedAt": "2026-11-07T12:35:16.944Z", + "milestone": "M2 I09/I11 source acceptance", + "baseline": "bdfeb29c85b3231bfd7bc24b8b5f49d40a3beebf", + "sourceCommits": { + "sources": "71f1805561e6082011ed4f0c70bb38f4546413c5", + "core": "9e1feeebb3eca5c82bfa9efb4f32e68a73628df4", + "ui": "ee97aaae7389e0aff7f89eced8d06ecce7d4f982" + }, + "productVersion": "1.25.12", + "node": { + "executable": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe", + "version": "v24.22.1" + }, + "sourceAcceptanceComplete": true, + "sourceReview": { + "schemaVersion": 1, + "baseline": "bdfeb29c85b3231bfd7bc24b8b5f49d40a3beebf", + "sources": [ + { + "id": "openai-conversation-state", + "provider": "openai", + "url": "https://developers.openai.com/api/docs/guides/conversation-state", + "checkedAt": "2026-11-07", + "file": "sources/openai-conversation-state.md", + "sha256": "8a62162c2ef6ff7e94dfdad5ba06f417f5a6c00ea6521e6466d462ff2fcd9b96", + "bytes": 24788, + "captureSha256": "df7776f8ac54a84b55cbc0d42bc2b80192428921d96b2e272d21754e2f3d5f8b", + "representation": "official-docs-mcp-markdown-utf8", + "scope": "complete-captured-page", + "reusedReadOnly": true + }, + { + "id": "openai-prompt-caching", + "provider": "openai", + "url": "https://developers.openai.com/api/docs/guides/prompt-caching", + "checkedAt": "2026-11-07", + "file": "sources/openai-prompt-caching.md", + "sha256": "01e57dacc2e5c0fb881b2d1909649983e9e327a5d6c17a98bb1183ee00e9d334", + "bytes": 56425, + "captureSha256": "ed312ad7e34d4de7f5861317481ae82b1bc3b9a1ae78d525c916a0d94231d522", + "representation": "official-docs-mcp-markdown-utf8", + "scope": "complete-captured-page", + "reusedReadOnly": true + }, + { + "id": "claude-build-with-claude__prompt-caching", + "provider": "anthropic", + "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching", + "checkedAt": "2026-11-06", + "sha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d", + "file": "../official-model-registry/sources/claude-build-with-claude-prompt-caching.md", + "originalSha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d", + "representation": "extracted-official-markdown", + "scope": "complete-captured-source", + "bytes": 164465, + "reusedReadOnly": true + }, + { + "id": "deepseek-create", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/api/create-chat-completion", + "checkedAt": "2026-11-06", + "sha256": "b43ca950bd04ae7f6f537b42e6cb729f543d942dcd848ec43ad4e9bfe059fe1f", + "file": "../official-model-registry/sources/deepseek-create.body", + "originalSha256": "b43ca950bd04ae7f6f537b42e6cb729f543d942dcd848ec43ad4e9bfe059fe1f", + "representation": "received-html-bytes", + "scope": "complete-captured-source", + "bytes": 129498, + "reusedReadOnly": true + }, + { + "id": "deepseek-thinking", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/guides/thinking_mode", + "checkedAt": "2026-11-06", + "sha256": "42151b5f86827bff663a61693080a61cdbf99074dee94af756c9fce855baa7cd", + "file": "../official-model-registry/sources/deepseek-thinking.body", + "originalSha256": "42151b5f86827bff663a61693080a61cdbf99074dee94af756c9fce855baa7cd", + "representation": "received-html-bytes", + "scope": "complete-captured-source", + "bytes": 117778, + "reusedReadOnly": true + }, + { + "id": "deepseek-cache", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/guides/kv_cache", + "checkedAt": "2026-11-06", + "sha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081", + "file": "../official-model-registry/sources/deepseek-cache.body", + "originalSha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081", + "representation": "received-html-bytes", + "scope": "complete-captured-source", + "bytes": 35850, + "reusedReadOnly": true + }, + { + "id": "deepseek-response", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/api/create-response.md", + "checkedAt": "2026-11-07", + "sha256": "5e56e45d25db47f2b6966bbb0b2471d324035c33f0c8f81eaaf8fc444e6869da", + "file": "../official-model-registry/sources/deepseek-response.md", + "originalSha256": "5e56e45d25db47f2b6966bbb0b2471d324035c33f0c8f81eaaf8fc444e6869da", + "representation": "received-document-bytes", + "scope": "complete-captured-source", + "bytes": 33870, + "reusedReadOnly": true + }, + { + "id": "deepseek-message", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/api/create-message.md", + "checkedAt": "2026-11-07", + "sha256": "46b31d10f429910bf93ea2166537fb803cd2f49f7c5b4ad2ee4f08257b2e17e8", + "file": "../official-model-registry/sources/deepseek-message.md", + "originalSha256": "46b31d10f429910bf93ea2166537fb803cd2f49f7c5b4ad2ee4f08257b2e17e8", + "representation": "received-document-bytes", + "scope": "complete-captured-source", + "bytes": 51134, + "reusedReadOnly": true + } + ], + "newRealModelRequests": 0, + "previousEvidenceRootsWritten": 0, + "scope": "request-block-fidelity-provider-state-and-affinity-contracts-not-live-cache-benefit", + "retainedEarlierRounds": [ + "source-1", + "source-2", + "source-3" + ], + "sourceReview": [ + "Messages cache_control and TTL stay on their original system/user/tool blocks.", + "OpenAI explicit cache breakpoints and independent retention controls are passed only when supplied.", + "Responses complete output items, encrypted reasoning and phase must survive applicable manual history.", + "DeepSeek assistant reasoning_content remains with every applicable historical assistant turn.", + "Affinity and scope fingerprints are local continuity observations, never supplier cache-hit evidence." + ] + }, + "inputIdentity": { + "schemaVersion": 1, + "checkedAt": "2026-11-07T12:24:22.125Z", + "finalBuild": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\build-5", + "app": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-5", + "inputFiles": 880, + "compiledFiles": 29, + "runtimeFiles": 74, + "inputsExact": true, + "compiledCopiesExact": true, + "runtimeCopiesExact": true, + "productFiles": 300, + "productMatchesLatestBackendCandidate": true, + "backendFiles": 178, + "backendMatchesFirstCandidate": true, + "testInputs": 213, + "unchangedTestInputs": 211, + "correctedTestFiles": [ + "tests/model-center.test.mjs", + "tests/model-routing-permission.test.mjs" + ], + "coverage": { + "firstCandidate": { + "build": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\build-1", + "app": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-1", + "node": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe", + "files": [ + "tests/native-cache-state.test.mjs", + "tests/model-protocols.test.mjs", + "tests/model-stream.test.mjs", + "tests/model-parameter-fidelity.test.mjs", + "tests/model-request-contract.test.mjs", + "tests/model-center.test.mjs", + "tests/model-routing-capabilities.test.mjs", + "tests/model-routing-permission.test.mjs", + "tests/task-context.test.mjs", + "tests/model-identity.test.mjs", + "tests/model-capacity.test.mjs" + ], + "startedAt": "2026-11-07T12:06:32.105Z", + "finishedAt": "2026-11-07T12:09:47.462Z", + "durationMs": 195356, + "code": 1, + "signal": null, + "totals": { + "tests": 129, + "pass": 127, + "fail": 2, + "cancelled": 0, + "skipped": 0, + "todo": 0, + "duration_ms": 195312.8855 + }, + "success": false + }, + "correctedFiles": { + "build": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\build-3", + "app": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-3", + "node": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe", + "files": [ + "tests/model-center.test.mjs", + "tests/model-routing-permission.test.mjs" + ], + "startedAt": "2026-11-07T12:17:59.645Z", + "finishedAt": "2026-11-07T12:18:49.887Z", + "durationMs": 50242, + "code": 0, + "signal": null, + "totals": { + "tests": 26, + "pass": 26, + "fail": 0, + "cancelled": 0, + "skipped": 0, + "todo": 0, + "duration_ms": 50205.9558 + }, + "success": true + }, + "unchangedPassedTestsReused": 103, + "compositeCoveredTests": 129, + "singleFinalFullSuiteClaim": false + }, + "sourceManifestSha256": "ced3703c4afb174c5b939ffb3dd8572f22ff8e5f3fb8489f627f45880315b799", + "officialSources": [ + { + "id": "openai-conversation-state", + "provider": "openai", + "url": "https://developers.openai.com/api/docs/guides/conversation-state", + "checkedAt": "2026-11-07", + "file": "sources/openai-conversation-state.md", + "sha256": "8a62162c2ef6ff7e94dfdad5ba06f417f5a6c00ea6521e6466d462ff2fcd9b96", + "bytes": 24788, + "captureSha256": "df7776f8ac54a84b55cbc0d42bc2b80192428921d96b2e272d21754e2f3d5f8b", + "representation": "official-docs-mcp-markdown-utf8", + "scope": "complete-captured-page", + "reusedReadOnly": true, + "repositoryPath": "tests/fixtures/native-cache-state/sources/openai-conversation-state.md", + "bytesExact": true, + "committedBytesExact": true + }, + { + "id": "openai-prompt-caching", + "provider": "openai", + "url": "https://developers.openai.com/api/docs/guides/prompt-caching", + "checkedAt": "2026-11-07", + "file": "sources/openai-prompt-caching.md", + "sha256": "01e57dacc2e5c0fb881b2d1909649983e9e327a5d6c17a98bb1183ee00e9d334", + "bytes": 56425, + "captureSha256": "ed312ad7e34d4de7f5861317481ae82b1bc3b9a1ae78d525c916a0d94231d522", + "representation": "official-docs-mcp-markdown-utf8", + "scope": "complete-captured-page", + "reusedReadOnly": true, + "repositoryPath": "tests/fixtures/native-cache-state/sources/openai-prompt-caching.md", + "bytesExact": true, + "committedBytesExact": true + }, + { + "id": "claude-build-with-claude__prompt-caching", + "provider": "anthropic", + "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching", + "checkedAt": "2026-11-06", + "sha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d", + "file": "../official-model-registry/sources/claude-build-with-claude-prompt-caching.md", + "originalSha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d", + "representation": "extracted-official-markdown", + "scope": "complete-captured-source", + "bytes": 164465, + "reusedReadOnly": true, + "repositoryPath": "tests/fixtures/official-model-registry/sources/claude-build-with-claude-prompt-caching.md", + "bytesExact": true, + "committedBytesExact": true + }, + { + "id": "deepseek-create", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/api/create-chat-completion", + "checkedAt": "2026-11-06", + "sha256": "b43ca950bd04ae7f6f537b42e6cb729f543d942dcd848ec43ad4e9bfe059fe1f", + "file": "../official-model-registry/sources/deepseek-create.body", + "originalSha256": "b43ca950bd04ae7f6f537b42e6cb729f543d942dcd848ec43ad4e9bfe059fe1f", + "representation": "received-html-bytes", + "scope": "complete-captured-source", + "bytes": 129498, + "reusedReadOnly": true, + "repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-create.body", + "bytesExact": true, + "committedBytesExact": true + }, + { + "id": "deepseek-thinking", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/guides/thinking_mode", + "checkedAt": "2026-11-06", + "sha256": "42151b5f86827bff663a61693080a61cdbf99074dee94af756c9fce855baa7cd", + "file": "../official-model-registry/sources/deepseek-thinking.body", + "originalSha256": "42151b5f86827bff663a61693080a61cdbf99074dee94af756c9fce855baa7cd", + "representation": "received-html-bytes", + "scope": "complete-captured-source", + "bytes": 117778, + "reusedReadOnly": true, + "repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-thinking.body", + "bytesExact": true, + "committedBytesExact": true + }, + { + "id": "deepseek-cache", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/guides/kv_cache", + "checkedAt": "2026-11-06", + "sha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081", + "file": "../official-model-registry/sources/deepseek-cache.body", + "originalSha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081", + "representation": "received-html-bytes", + "scope": "complete-captured-source", + "bytes": 35850, + "reusedReadOnly": true, + "repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-cache.body", + "bytesExact": true, + "committedBytesExact": true + }, + { + "id": "deepseek-response", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/api/create-response.md", + "checkedAt": "2026-11-07", + "sha256": "5e56e45d25db47f2b6966bbb0b2471d324035c33f0c8f81eaaf8fc444e6869da", + "file": "../official-model-registry/sources/deepseek-response.md", + "originalSha256": "5e56e45d25db47f2b6966bbb0b2471d324035c33f0c8f81eaaf8fc444e6869da", + "representation": "received-document-bytes", + "scope": "complete-captured-source", + "bytes": 33870, + "reusedReadOnly": true, + "repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-response.md", + "bytesExact": true, + "committedBytesExact": true + }, + { + "id": "deepseek-message", + "provider": "deepseek", + "url": "https://api-docs.deepseek.com/api/create-message.md", + "checkedAt": "2026-11-07", + "sha256": "46b31d10f429910bf93ea2166537fb803cd2f49f7c5b4ad2ee4f08257b2e17e8", + "file": "../official-model-registry/sources/deepseek-message.md", + "originalSha256": "46b31d10f429910bf93ea2166537fb803cd2f49f7c5b4ad2ee4f08257b2e17e8", + "representation": "received-document-bytes", + "scope": "complete-captured-source", + "bytes": 51134, + "reusedReadOnly": true, + "repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-message.md", + "bytesExact": true, + "committedBytesExact": true + } + ], + "realModelRequests": 0, + "productionWrites": 0 + }, + "committedInputs": { + "checkedAt": "2026-11-07T12:32:35.873Z", + "base": "bdfeb29c85b3231bfd7bc24b8b5f49d40a3beebf", + "head": "ee97aaae7389e0aff7f89eced8d06ecce7d4f982", + "sourceCommits": [ + "71f1805561e6082011ed4f0c70bb38f4546413c5", + "9e1feeebb3eca5c82bfa9efb4f32e68a73628df4", + "ee97aaae7389e0aff7f89eced8d06ecce7d4f982" + ], + "rows": [ + { + "path": "scripts/verify-native-cache-state-ui.mjs", + "bytes": 26680, + "sha256": "5a40f1a284174e2d7e3394441e6f091d23fc75eb5c495fcd5353d54b9624596d", + "committedWorkingFrozenExact": true + }, + { + "path": "src/client/ModelCenter.css", + "bytes": 18118, + "sha256": "8e10c42d67393805ed2a3b64fa10303381d90d9e08eba8f6c2c0d5074a478fc1", + "committedWorkingFrozenExact": true + }, + { + "path": "src/client/ModelCenter.tsx", + "bytes": 50355, + "sha256": "7f01e7e59b50a009d6a32dfdb573e6a83637020649a4b4921a017afbe75c150e", + "committedWorkingFrozenExact": true + }, + { + "path": "src/client/ModelProviderStateDetails.css", + "bytes": 1404, + "sha256": "1c1f5c2c124b004b68d20affd4c9bad9594d0bc00ab63a0e569b922f49ce1417", + "committedWorkingFrozenExact": true + }, + { + "path": "src/client/ModelProviderStateDetails.tsx", + "bytes": 3118, + "sha256": "4172ab798b7afe9dbb2ecb50c6eb0e399b8fe9c7a759c3f78f7d0bbb2ae8e1f8", + "committedWorkingFrozenExact": true + }, + { + "path": "src/client/ModelRequestLedger.tsx", + "bytes": 11836, + "sha256": "e35dab71c350b758e2c0878f439665190bce6ff422ad91b395f89171e65bc626", + "committedWorkingFrozenExact": true + }, + { + "path": "src/client/ModelRoutingDetails.tsx", + "bytes": 4801, + "sha256": "a3b93157e305954076fa78e62a285a01eb58a307a8c6cf27a2338e89a653e338", + "committedWorkingFrozenExact": true + }, + { + "path": "src/client/RequestContextPanel.tsx", + "bytes": 13414, + "sha256": "b2c6152198eba74aa1c4d0cbfb29d9ca354b71bab2cf34309b2929beb2723e1e", + "committedWorkingFrozenExact": true + }, + { + "path": "src/client/types.ts", + "bytes": 49501, + "sha256": "b45fc5851ae0d8620f503cb00b338cbde9dc76c8e9d2b3b3a374bebb1c10e95e", + "committedWorkingFrozenExact": true + }, + { + "path": "src/core/context/request-plan.mjs", + "bytes": 56816, + "sha256": "3f56d3cc7c0757c62133a086f6b2743398a16be4cf87ecff1bce472fbadab6e1", + "committedWorkingFrozenExact": true + }, + { + "path": "src/core/models/model-affinity.mjs", + "bytes": 3384, + "sha256": "fd642ecfb4c8a2e085812a1a03f5fc63784103758d4482b842555e2dada7a717", + "committedWorkingFrozenExact": true + }, + { + "path": "src/core/models/model-hub.mjs", + "bytes": 47089, + "sha256": "e9c8fdc19e1076ef993c23ddf3d101c2a1a9a3bc2824c1733e6d0785a38f11cc", + "committedWorkingFrozenExact": true + }, + { + "path": "src/core/models/protocols.mjs", + "bytes": 12242, + "sha256": "2f071a2e0c8308d55fde1913ee4980b6a181f935cd4836951a196af7ab165ce2", + "committedWorkingFrozenExact": true + }, + { + "path": "src/shared/contracts/anthropic-messages.mjs", + "bytes": 6732, + "sha256": "7e245ba13e98fef31f5aef5f430e7b9691c46ca4c91ad1c90c1d4864f3a1afa9", + "committedWorkingFrozenExact": true + }, + { + "path": "src/shared/contracts/model-provider-state.mjs", + "bytes": 3660, + "sha256": "8de752e559e32cb6cab6820a54001affde3996c07fb9e1636a2a1a189012c471", + "committedWorkingFrozenExact": true + }, + { + "path": "src/shared/contracts/model-request.mjs", + "bytes": 9247, + "sha256": "b0a2b6cdb7939785eee61fb188e536a0886b8281ae9e9e403dc990ec12c2f0c8", + "committedWorkingFrozenExact": true + }, + { + "path": "tests/fixtures/native-cache-state/SOURCE.json", + "bytes": 4883, + "sha256": "ced3703c4afb174c5b939ffb3dd8572f22ff8e5f3fb8489f627f45880315b799", + "committedWorkingFrozenExact": true + }, + { + "path": "tests/fixtures/native-cache-state/sources/openai-conversation-state.md", + "bytes": 24788, + "sha256": "8a62162c2ef6ff7e94dfdad5ba06f417f5a6c00ea6521e6466d462ff2fcd9b96", + "committedWorkingFrozenExact": true + }, + { + "path": "tests/fixtures/native-cache-state/sources/openai-prompt-caching.md", + "bytes": 56425, + "sha256": "01e57dacc2e5c0fb881b2d1909649983e9e327a5d6c17a98bb1183ee00e9d334", + "committedWorkingFrozenExact": true + }, + { + "path": "tests/model-center.test.mjs", + "bytes": 16904, + "sha256": "c3aa558bdc79a9dc4181c3df85a598c94c3345081a12b7cca0a638cc9bb43af9", + "committedWorkingFrozenExact": true + }, + { + "path": "tests/model-routing-permission.test.mjs", + "bytes": 21169, + "sha256": "b9339274c946a33e60928c9aa90fce2c894e32b5dd176ea982da0b355a735fde", + "committedWorkingFrozenExact": true + }, + { + "path": "tests/native-cache-state.test.mjs", + "bytes": 29644, + "sha256": "ce063484e154f072aa024dd20a49fb0c9ea5846ed8b78f45baa12fb40e93567c", + "committedWorkingFrozenExact": true + } + ], + "allowedChangedInputs": true, + "byteExact": true, + "productWorktreeClean": true + }, + "finalUI": { + "checkedAt": "2026-11-07T12:32:35.904Z", + "ends": [ + { + "stage": "web-ui-5", + "resultFile": "web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/result.json", + "success": true, + "appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-5", + "actualElectron": false, + "hostUrl": "http://127.0.0.1:51514", + "checks": [ + "Existing pools retain their original Run/disabled scope without saving new defaults or issuing model requests", + "All four pool scopes save through the real form and survive reload; new pools start with session affinity and explicit selection persists", + "The request ledger shows completed-response affinity and applicable native states separately from the retained original unknown state and cache usage", + "The actual task inspector exposes the frozen state projection and upstream-owned context limits at 390px", + "Changed provider scope reselects the next eligible pool member, retains old states and one original upstream 400, and fabricates no old metadata", + "Manual model selection takes precedence, transmits its changed header and preserves the original 400 once without applying old opaque history or replaying tools", + "State details and scope settings remain readable and usable in the three existing palettes without narrow-screen document overflow", + "Candidate host restart retains saved scope, original pools, native cache settings, original metadata/cipher/snapshot and history; no tool or request is replayed" + ], + "screenshots": [ + { + "file": "existing-pools-1280.png", + "sha256": "76421e822001fcd91efc5ba380723b8aa928a4ead63a2ae90f88ea68d2b68445", + "method": "playwright-page" + }, + { + "file": "new-session-pool-1280.png", + "sha256": "7026f014adc9301bfc94f76d36d891b1d64528accd7f39a8035168592efbb80d", + "method": "playwright-page" + }, + { + "file": "task-pool-390.png", + "sha256": "80c91f796599e7db989792a8ea93172b366f33973d1e46f2a2b827eeded643f7", + "method": "playwright-page" + }, + { + "file": "continued-history-1280.png", + "sha256": "36a122de9da3a7dea868cde6e20198f127c2044addd89cb18b946e4a517f6333", + "method": "playwright-page" + }, + { + "file": "context-state-390.png", + "sha256": "9212ea44c965134340d596528511ce4057131ccbf7524b3446fa852daf5097ec", + "method": "playwright-page" + }, + { + "file": "changed-state-original-error-390.png", + "sha256": "df74718897986f6f911ad0b4620048e97e48ca85650cbf4f525edb91b278f6a9", + "method": "playwright-page" + }, + { + "file": "manual-selection-original-error-390.png", + "sha256": "664827ca950d238a6512056d903c6f0b3b1a0ef61b39edc63fa70aa0fe69c61c", + "method": "playwright-page" + }, + { + "file": "state-green-390.png", + "sha256": "6c682a50caf511a41d2468ad955b8b91c38d34f1ed7a0d40419fe12d11f1d930", + "method": "playwright-page" + }, + { + "file": "state-blue-390.png", + "sha256": "d93ee1edecff973a47c059a1ae8a70f8b6762e426d2bc1add72149e874790570", + "method": "playwright-page" + }, + { + "file": "state-purple-390.png", + "sha256": "49c700c76dc3164c2e97738e53e6958ed14f1c17713c0ac215474b700dee9794", + "method": "playwright-page" + } + ], + "contrast": [ + { + "label": "green summary", + "color": "rgb(40, 56, 47)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 12.375218151996188 + }, + { + "label": "green note", + "color": "rgb(85, 107, 135)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 5.469902501657171 + }, + { + "label": "blue summary", + "color": "rgb(36, 51, 75)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 12.7261609258878 + }, + { + "label": "blue note", + "color": "rgb(85, 107, 135)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 5.469902501657171 + }, + { + "label": "purple summary", + "color": "rgb(55, 51, 63)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 12.296868538533582 + }, + { + "label": "purple note", + "color": "rgb(85, 107, 135)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 5.469902501657171 + } + ], + "errors": [], + "externalBlocked": [], + "syntheticRequests": 5, + "originalUnknownAttempts": 1, + "originalMetadataExact": true, + "originalCipherExact": true, + "originalSnapshotExact": true, + "originalHistoryExact": true, + "realModelRequests": 0, + "realCredentialsRead": 0, + "productionWrites": 0, + "viewportWidths": [ + 1280, + 390 + ] + }, + { + "stage": "electron-ui-1", + "resultFile": "electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/result.json", + "success": true, + "appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-5", + "actualElectron": true, + "hostUrl": "http://127.0.0.1:49470", + "checks": [ + "Existing pools retain their original Run/disabled scope without saving new defaults or issuing model requests", + "All four pool scopes save through the real form and survive reload; new pools start with session affinity and explicit selection persists", + "The request ledger shows completed-response affinity and applicable native states separately from the retained original unknown state and cache usage", + "The actual task inspector exposes the frozen state projection and upstream-owned context limits at 390px", + "Changed provider scope reselects the next eligible pool member, retains old states and one original upstream 400, and fabricates no old metadata", + "Manual model selection takes precedence, transmits its changed header and preserves the original 400 once without applying old opaque history or replaying tools", + "State details and scope settings remain readable and usable in the three existing palettes without narrow-screen document overflow", + "Candidate host restart retains saved scope, original pools, native cache settings, original metadata/cipher/snapshot and history; no tool or request is replayed" + ], + "screenshots": [ + { + "file": "existing-pools-1280.png", + "sha256": "28cf8b907206581c360332aa4b20c6e7b035a985a1d2ac6b9ee67e8c0871bb19", + "method": "electron-native-stay-hidden", + "size": { + "width": 1280, + "height": 960 + } + }, + { + "file": "new-session-pool-1280.png", + "sha256": "c0db064b9079b100149d71d62e63b41a30a025aeb0551f593531224c2ee08e71", + "method": "electron-native-stay-hidden", + "size": { + "width": 1280, + "height": 960 + } + }, + { + "file": "task-pool-390.png", + "sha256": "dc80d6680a3c95e1c3008dc555e77250cb69475e7ac7c6f5af604c9f474409a5", + "method": "electron-native-stay-hidden", + "size": { + "width": 390, + "height": 844 + } + }, + { + "file": "continued-history-1280.png", + "sha256": "ac66c9a0f476b46ac10302c310cf1e1328839d7408033297a1ef64a79aefe820", + "method": "electron-native-stay-hidden", + "size": { + "width": 1280, + "height": 960 + } + }, + { + "file": "context-state-390.png", + "sha256": "8a59a8897f23201cc93ef633ad4cdfd7febd6aeb1d02723be1fcd26bf21995f8", + "method": "electron-native-stay-hidden", + "size": { + "width": 390, + "height": 844 + } + }, + { + "file": "changed-state-original-error-390.png", + "sha256": "a74278d90550e334bcf34492bf9887268a936a36c0a3e36b05366e499e33a52a", + "method": "electron-native-stay-hidden", + "size": { + "width": 390, + "height": 844 + } + }, + { + "file": "manual-selection-original-error-390.png", + "sha256": "faf88e5559ba552d749fd8df559eb7f6ae45a73482b426a68d5133153c96367f", + "method": "electron-native-stay-hidden", + "size": { + "width": 390, + "height": 844 + } + }, + { + "file": "state-green-390.png", + "sha256": "beeb74a2e0aa01b5751523addf4ee9d98361b8e540885f4a5877479b540fd702", + "method": "electron-native-stay-hidden", + "size": { + "width": 390, + "height": 844 + } + }, + { + "file": "state-blue-390.png", + "sha256": "b5fef93757654577f56bfbd058192d9d3e94f506ff605aeecf9501669f2d88e0", + "method": "electron-native-stay-hidden", + "size": { + "width": 390, + "height": 844 + } + }, + { + "file": "state-purple-390.png", + "sha256": "fa9f551ad43bd5e8f38f8fb3eaf4a51c28a5af04b988c48ff455daa1024d8a0b", + "method": "electron-native-stay-hidden", + "size": { + "width": 390, + "height": 844 + } + } + ], + "contrast": [ + { + "label": "green summary", + "color": "rgb(40, 56, 47)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 12.375218151996188 + }, + { + "label": "green note", + "color": "rgb(85, 107, 135)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 5.469902501657171 + }, + { + "label": "blue summary", + "color": "rgb(36, 51, 75)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 12.7261609258878 + }, + { + "label": "blue note", + "color": "rgb(85, 107, 135)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 5.469902501657171 + }, + { + "label": "purple summary", + "color": "rgb(55, 51, 63)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 12.296868538533582 + }, + { + "label": "purple note", + "color": "rgb(85, 107, 135)", + "background": "rgb(255, 255, 255)", + "fontSize": "12px", + "ratio": 5.469902501657171 + } + ], + "errors": [], + "externalBlocked": [], + "syntheticRequests": 5, + "originalUnknownAttempts": 1, + "originalMetadataExact": true, + "originalCipherExact": true, + "originalSnapshotExact": true, + "originalHistoryExact": true, + "realModelRequests": 0, + "realCredentialsRead": 0, + "productionWrites": 0, + "viewportWidths": [ + 1280, + 390 + ] + } + ], + "realModelRequests": 0, + "realCredentialsRead": 0, + "productionWrites": 0, + "totalFinalEndToEndRequests": 10, + "allEndToEndRequestsNotWholeStageTotal": true, + "success": true + }, + "review": { + "schemaVersion": 1, + "milestone": "M2 I09/I11 native cache blocks and cross-Run provider state", + "sourceCommits": { + "sources": "71f1805561e6082011ed4f0c70bb38f4546413c5", + "core": "9e1feeebb3eca5c82bfa9efb4f32e68a73628df4", + "ui": "ee97aaae7389e0aff7f89eced8d06ecce7d4f982" + }, + "implementationReview": [ + "Messages system/user/tool/tool_result block order, cache_control, independent TTLs and native extensions retain their original positions.", + "Responses complete output items, encrypted reasoning, phase, native tool metadata and explicit cache controls retain supplied upstream fields.", + "Schema2 native assistant state is bound to protocol, actual request URL, exact model, connection, credential revision and request header template. Unknown or incompatible original state remains stored; the request uses ordinary text and original tool calls/results.", + "Plain Chat pools now project history for every member when provider state exists, including same-model members with different credentials; switching only the model field no longer sends the first member's opaque reasoning to another route.", + "New pools default to session affinity, with persisted task/run/none choices; original pools keep their original run/disabled settings. Optional affinity persistence failure does not turn a completed upstream response into an error or cause replay.", + "Model center saves actual scope; ledger shows selected-route state and affinity provenance; context shows candidate connection count without adding the same state across projections.", + "Default unrestricted/passthrough/preserve, persisted ask/auto/full, user native parameters and complete history remain unchanged. No cache controls or optional output-token fields are automatically added.", + "Only completed response affinity is stored across Runs; manual selection wins and independent diagnostics do not overwrite main-task continuity. Completed/interrupted tools are not replayed by these metadata paths." + ], + "validation": { + "sourceFinal": "source-5.log: 16/16, original source-1..4 preserved", + "firstCandidate": "candidate-backend-1: 127/129, two outdated affinity assumptions failed", + "correctedCandidateFiles": "candidate-backend-2: 26/26 for both affected test files", + "coverage": "103 unchanged passed tests reused by exact backend/test SHA plus 26 corrected-file tests; no single final full-suite claim", + "finalCandidate": "build-5/candidate-app-5: 880 inputs, 300 product sources, 178 backend inputs, 213 test inputs, 29 compiled outputs, 74 runtime files", + "finalWeb": "web-ui-5: 8 groups, 10 screenshots, 5 owned HTTP requests", + "finalElectron": "electron-ui-1: 8 groups, 10 native hidden-window screenshots, 5 owned HTTP requests", + "retention": "Original metadata, DPAPI ciphertext, stored model snapshot and original history exact on both ends; saved synthetic credentials/native parameters survive independent host restart; one executed list_files tool, no replay", + "sourceIdentity": "22 changed frozen inputs match current Git blobs and working bytes; 8 official captures and source manifest match their original SHA", + "oldSeals": "16171 original entries across I10/I13/I15/I14 roots checked read-only, original manifest SHA exact", + "cleanup": "No current candidate node/Electron processes or listeners at recorded nonformal ports; formal 4318 excluded" + }, + "visualReview": { + "workflow": "Existing Orven React model center and task inspector, Chinese programming workflow, persistent scope and request provenance; no new console", + "reviewedScreenshots": [ + "web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/new-session-pool-1280.png", + "web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/state-green-390.png", + "web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/state-blue-390.png", + "web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/state-purple-390.png", + "electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/new-session-pool-1280.png", + "electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/context-state-390.png", + "electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/manual-selection-original-error-390.png", + "electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/state-purple-390.png" + ], + "observations": "Real Chinese text, saved fields, long request URLs/state SHA and original 400 remain readable at 1280/390. Existing horizontal tab scrolling is separate from document overflow. All 20 final screenshots SHA-checked, 8 opened for visual review; measured summary/note contrasts are at least 5.46.", + "failuresPreserved": "web-ui-1 label matching; web-ui-2 viewport transition hides existing narrow inspector; web-ui-3 expected A after automatic reselection chose B; web-ui-4 attempted background tools while narrow inspector was open. Drivers corrected from observed UI/request evidence; no force clicks." + }, + "historical": [ + "W/AD/AE/AG network failures and unknown usage retain original classifications and receipts.", + "Repeated-reading general improvement is unproven; R/W reserve-v2 live exclusion boundary remains untested.", + "Purge benefit remains unknown; this batch sends no real model requests and does not resume old experiments or user projects.", + "Mobile metadata performance, original host identity observation failure/late lifecycle cause and physical-device paths remain open." + ], + "remaining": [ + "I27/I28 CI with separate runnable checks and artifact/source binding.", + "M3 final independent source/program release, actual schema2 migration deltas and rollback after the new handler has produced records; do not remove new ledger entries or the existing per-table equality guard.", + "M4 new official/compatible-provider live compatibility and autonomous Node/React/Python samples, each frozen separately after M3.", + "M5 remaining native provider/media/server-tool protocols; M6 real engineering/computer/interactive-host paths; M7 performance/physical-phone/ecosystem; M8 comparable actual benefit and Purge AB/BA." + ], + "productionDeployed": false, + "officialServiceHealthRechecked": false, + "realModelRequests": 0, + "realCredentialsRead": 0, + "productionWrites": 0, + "installed": false, + "restartedProduction": false, + "delegated": false, + "sourceAcceptanceComplete": true, + "wholeSystemOrLiveBenefitComplete": false + }, + "priorSeals": { + "checkedAt": "2026-11-07T12:28:30.311Z", + "records": [ + { + "root": ".qa/m2-cache-usage-2026-11-07", + "entries": 2948, + "bytes": 1018919970, + "manifestSha256": "b3438146114a6c0f0f303f5fa025ec11c647d560188beb14ae0405aaa9a202f7", + "entriesExact": true, + "dependencyLinksNotTraversed": 3, + "writes": 0 + }, + { + "root": ".qa/m2-request-ledger-2026-11-07", + "entries": 4328, + "bytes": 1620432307, + "manifestSha256": "6ed883ec1fb3e2147795f696802b575e4508e15775c4b764bc8aea166aa34035", + "entriesExact": true, + "dependencyLinksNotTraversed": 4, + "writes": 0 + }, + { + "root": ".qa/m2-official-registry-2026-11-07", + "entries": 5688, + "bytes": 1037272654, + "manifestSha256": "fbe078468917d79b280aecd4038e537b87ec5de212a772449ba000d7e507d763", + "entriesExact": true, + "dependencyLinksNotTraversed": 6, + "writes": 0 + }, + { + "root": ".qa/m2-request-contract-2026-11-07", + "entries": 3207, + "bytes": 1498866416, + "manifestSha256": "3963ad9e02d3f62c1ae4d5fefcb59fdc0bcdc63682be1c72109542a60a2b408c", + "entriesExact": true, + "dependencyLinksNotTraversed": 3, + "writes": 0 + } + ], + "realCredentialsRead": 0, + "productionWrites": 0, + "success": true + }, + "cleanup": { + "checkedAt": "2026-11-07T12:33:10.4367296Z", + "root": "m2-native-cache-state-2026-11-07", + "count": 0, + "listenCount": 0, + "processes": [], + "listeners": [], + "portsChecked": [ + 11434, + 49470, + 49869, + 51514, + 56527, + 56542, + 56544, + 62945, + 63879 + ], + "formalPortExcluded": 4318, + "realCredentialsRead": 0, + "productionWrites": 0 + }, + "evidence": { + "path": ".qa/m2-native-cache-state-2026-11-07/MANIFEST.json", + "files": 5126, + "bytes": 2008555583, + "manifestSha256": "c887364e54fe3f68e5f432155db87517fb8413966f5786156bedceddadbf2217", + "dependencyLinksRecordedNotTraversed": 5, + "sealedReadOnlyFromNow": true, + "subsequentPushReceiptsSeparate": true + }, + "productionDeployed": false, + "officialServiceHealthRechecked": false, + "realModelRequests": 0, + "realCredentialsRead": 0, + "productionWrites": 0, + "installed": false, + "restartedProduction": false, + "delegated": false, + "scope": "Source and independent deterministic candidate only; no live-provider, delivery or cache/Purge benefit claim", + "historicalUnknown": [ + "W/AD/AE/AG network failures and unknown usage retain original classifications and receipts.", + "Repeated-reading general improvement is unproven; R/W reserve-v2 live exclusion boundary remains untested.", + "Purge benefit remains unknown; this batch sends no real model requests and does not resume old experiments or user projects.", + "Mobile metadata performance, original host identity observation failure/late lifecycle cause and physical-device paths remain open." + ], + "remaining": [ + "I27/I28 CI with separate runnable checks and artifact/source binding.", + "M3 final independent source/program release, actual schema2 migration deltas and rollback after the new handler has produced records; do not remove new ledger entries or the existing per-table equality guard.", + "M4 new official/compatible-provider live compatibility and autonomous Node/React/Python samples, each frozen separately after M3.", + "M5 remaining native provider/media/server-tool protocols; M6 real engineering/computer/interactive-host paths; M7 performance/physical-phone/ecosystem; M8 comparable actual benefit and Purge AB/BA." + ] +} diff --git a/findings.md b/findings.md index cc7cdb0b..d0261dac 100644 --- a/findings.md +++ b/findings.md @@ -1,5 +1,7 @@ # 汇总发现 +I09/I11封存收口:5126原件、2008555583字节、5依赖junction不递归;原四M2根16171原件/manifest只读一致,22源码Git字节一致,实际候选进程/记录非正式端口监听0。源码/隔离验收完成与正式部署/真实缓存/Purge收益分别记录;下一CI后M3必须验证迁移增量与新结果回退。封存后误用Tianshu文档标题的失败patch只记录在新close/当前进展,不回写原证据根。 + I09/I11最终Electron通过且实际复看1280新池编辑与390任务上下文:现有Orven布局/中文/长SHA/下拉与真实保存保留,输出“本次不限/不附加上限/由上游处理”与冻结状态分别呈现。网页绿/紫状态图亦复看,三配色和窄屏保持一致。两个端各5本机POST、3成功/2原400,6账本含原unknown;完成工具1、不重放,原metadata/cipher/snapshot/history全部exact。本批不证明真实缓存命中/上游普遍兼容。 最终网页两图实看:web-ui-5 new-session-pool-1280的连接保持下拉、真实成员及保存动作布局完整;state-blue-390原400/状态数量/地址可读且无文档横溢,顶部当前A与历史B请求分别保留,没有倒改旧请求型号。手机横向导航为既有必要滚动,不误记为文档溢出。实际Electron仍在独立运行,桌面及紫/绿色最终图另验。 diff --git a/progress.md b/progress.md index 0cc9570e..9e4eb152 100644 --- a/progress.md +++ b/progress.md @@ -1,5 +1,7 @@ # 统一执行进度 +I09/I11 UI源码ee97aaae已限定提交,22变更冻结输入/Git原字节复核通过;5126份2008555583字节封存,MANIFEST c887364e54fe3f68e5f432155db87517fb8413966f5786156bedceddadbf2217,旧四根16171项只读exact,自有进程及记录非正式端口监听0。当前验收/机器记录/接续入口提交及普通GitAtlas增量推送收尾;新封存根只读,后续写独立close根。一次接续文档patch误用Tianshu标题整体未应用,按实际标题重做,不追加原封存。 + I09/I11实际Electron独立8组/10图完成:5本机请求、原metadata/cipher/snapshot/history exact、合成Claude凭据重载、1工具不重放;窗口保持隐藏,原生capturePage,正常关闭并独立宿主重启,三配色/1280及390和外部/页面错误0。已复看网页绿/紫及Electron宽表单/窄上下文,真实字体与结构可读;最终源/界面审查、限定提交与封存收尾,正式未写入/重启。 I09/I11 web-ui-5完成8组/10图,5本机请求及6账本、所有原metadata/cipher/snapshot/history exact、1工具未重放;外部页面/错误0,三配色/1280及390通过。最终880输入/300源码/178后端/213测试/29编译/74runtime首身份复核通过,规范化0项;source-5为16/16,原127/129加两文件26/26按SHA覆盖129(103未变复用)。实际Electron独立运行中;随后限定UI/回归提交及最终封存,不作正式部署/缓存/Purge收益声明。 diff --git a/task_plan.md b/task_plan.md index 6955f076..99813369 100644 --- a/task_plan.md +++ b/task_plan.md @@ -1,5 +1,7 @@ # Agent Workbench:核心代理能力研究与产品计划 +M2 I09/I11阶段1–4完成:来源71f18055/核心9e1feeeb/界面ee97aaae,见[验收](docs/QA-M2-NATIVE-CACHE-STATE.md)。880输入/29编译/74runtime、两端各8组/10图、原metadata/cipher/snapshot/history exact,5126原件已封存;source-5为16/16,首127/129与两文件26/26按SHA分别保留。阶段5文档/普通GitAtlas增量推送收尾,下一I27/I28 CI,后续M3实际schema2迁移增量及新处理器结果后回退,不删除新账本或移除原保持守卫。正式/真实Key/模型/旧实验/历史unknown不动。 + M2第五批I09/I11已从bdfeb29c干净基线开始,见[原生缓存与状态计划](docs/M2-NATIVE-CACHE-STATE-PLAN.md):保留Messages块/工具注解及原生历史,配置会话/Task/Run亲和,状态按实际协议/地址/型号/凭据/版本身份核对;旧历史不改写,亲和/同指纹不当作缓存命中。随后CI及M3真实迁移增量/结果后回退。无真实模型/Key/正式写入/委派,历史unknown保持。 I14/I12阶段1–4完成:来源337d1bc9/核心f95507ab/界面26472d28,最后相关38/38和首候选143/143后端输入未变;最终871输入/29编译/74runtime、网页与实际Electron各8组/8图/三配色/1280及390,原metadata/cipher/存储快照exact、原I13/I15原件只读一致、自有进程/已知监听0。原失败与验收器错误保持。阶段5已完成封存/回顾/授权普通GitAtlas增量推送,源码与验收04c0556c远端逐SHA一致,回执及完成接续最后提交再核对,见[请求契约计划](docs/M2-REQUEST-CONTRACT-PLAN.md)和[验收](docs/QA-M2-REQUEST-CONTRACT.md)。下一I09/I11/CI、M3真实迁移增量及新处理器结果后回退,真实收益和Purge unknown保持。