release: complete 1.18 vision delivery and retrospective
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Agent Workbench项目执行规范
|
||||
|
||||
1.17.0完整本地交付:Chat/Responses实际协议、有界SSE、完整工具组核验、能力选池、显式检测与原请求证据已实现。独立源码558/558、25类191组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点及两套父Node8/8、React9/9、Python10/10通过;源码与便携各7组伴随端/5组新协议界面、同载荷隔离安装/重启/卸载7组、正式20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件,全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。公开模型中心仅增加逐项核对的默认能力字段,原存储不迁移。正式手机网关继续关闭、无设备/证书,未迁入QA身份。真实模型工程/Purge收益继续按用户选择单列待验,本轮真实模型请求0;1.17没有新增iPhone实机流式结论。不可变Agent-Workbench-1.17.0-win-x64-20261031150548103,产品/QA输入来源a72dc0fbc1f3430f46b12ba0b1dbbe2c457056d8。原始证据见docs/model-protocols-f-release-evidence/manifest.json及docs/model-protocols-release-identity.json;下一PLAN-1.18仅方案,不把计划当已实现。
|
||||
1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。不可变Agent-Workbench-1.18.0-win-x64-20261031165241971,产品/QA输入来源01c427e749c33bcbd02df5138da5e8a023b73eaa。原件见docs/vision-inputs-f-release-evidence/manifest.json和docs/vision-inputs-release-identity.json,下一PLAN-1.19仅方案。
|
||||
|
||||
## 范围与目标
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
## 当前本地服务与Windows
|
||||
|
||||
- 正式服务入口http://127.0.0.1:4318,当前1.17.0,沿用用户手动启动的PID36552与原Provider;当前运行目录及数据身份以docs/model-protocols-release-identity.json为准。1.15期间旧内存Key丢失是历史记录;本轮原连接配置和当前Provider均保持。普通源码/规划/Git工作不重启服务、不读取或复制Key。
|
||||
- 正式服务入口http://127.0.0.1:4318,当前1.18.0,沿用用户手动启动的PID36552与原Provider;当前运行目录及数据身份以docs/vision-inputs-release-identity.json为准。1.15期间旧内存Key丢失是历史记录;本轮原连接配置和当前Provider均保持。普通源码/规划/Git工作不重启服务、不读取或复制Key。
|
||||
- 浏览器/fixture验证使用独立端口与数据目录;用户项目与研究对象的登录/会话配置不用于测试凭据。
|
||||
- Windows执行环境以实测shell为准。现有工具使用PowerShell 5.1和UTF-8;不用&&/||拼接命令,使用换行和$LASTEXITCODE核对结果。
|
||||
- 桌面与移动共用执行宿主。手机127.0.0.1指手机,远程接入通过未来经验证的配对网关。
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# Agent Workbench 更新记录
|
||||
|
||||
## 1.18.0 · 工程截图、视觉选路与预算续接
|
||||
|
||||
- 支持完整解码PNG/JPEG、方向归正、有界发送副本、原图/副本SHA和Task所属引用;手机按观察权限核对/下载。
|
||||
- Chat/Responses发送实际图像输入,在模型租约前排除不兼容成员;视觉检测绑定连接和凭据修订。
|
||||
- 预算暂停显示输入/图像/工具/输出与累计额度分解,通过冻结预览明确续接同Task,保留完成和未知工具。
|
||||
- 修复预算预览显示被视觉排除成员、时间单位及窄屏触控;576项独立源码、196组历史UI、三类截图工程和保留状态升级通过。真实视觉推理收益及新增iPhone实机另行验收。
|
||||
|
||||
## 1.17.0 · 模型协议、流式与能力路由
|
||||
|
||||
- 增加Responses实际请求/原工具ID/用量、Chat及Responses有界SSE、同线路reasoning续接和完整参数终结校验。
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# 本地 Agent 工作台
|
||||
|
||||
1.17.0已完成本地正式升级。现在可配置Chat/Responses、流式连接和按能力筛选的模型池,直接核对原请求、拒绝原因、断流及停止结果。模型声明和实际检测分别显示;视觉/语音输入仍属后续开发。见[工作台](http://127.0.0.1:4318/?release=1.17.0)、[验收](docs/QA-1.17.md)、[发行身份](docs/model-protocols-release-identity.json)和[下一阶段](docs/PLAN-1.18.md)。
|
||||
1.18.0已完成本地正式升级。可为工程任务添加PNG/JPEG截图,核对实际视觉选路及原图/发送副本;预算暂停会显示具体分解,预览确认后继续同一Task。独立源码576项、196组历史UI及截图Node/React/Python工程通过,原项目、会话和模型连接保持。见[工作台](http://127.0.0.1:4318/?release=1.18.0)、[截图与续接](docs/INPUT-ATTACHMENTS.md)、[验收](docs/QA-1.18.md)、[发行身份](docs/vision-inputs-release-identity.json)和[下一阶段](docs/PLAN-1.19.md)。
|
||||
|
||||
1.17.0历史交付模型协议、流式和能力路由。现在可配置Chat/Responses、流式连接和按能力筛选的模型池,直接核对原请求、拒绝原因、断流及停止结果。该版本的模型声明和实际检测分别显示;视觉输入由1.18补齐,语音仍为后续能力。见[工作台](http://127.0.0.1:4318/?release=1.17.0)、[验收](docs/QA-1.17.md)、[发行身份](docs/model-protocols-release-identity.json)和[下一阶段](docs/PLAN-1.18.md)。
|
||||
|
||||
Agent Workbench 将 Claude Code 与 Cursor 的机制研究整合为独立的本地 AI 编程工作台,并内置模型池、项目记忆、Skills/MCP、REA 工件研究、受控DeepSeek Harness工程引擎、实际页面验收和有依赖的执行计划。工程索引、精确补丁、多文件整批审查、Node/Python实际检查、浏览器交互、本地Git提交及交付报告可以在同一个Task中完成。
|
||||
|
||||
@@ -28,7 +30,7 @@ Agent Workbench 将 Claude Code 与 Cursor 的机制研究整合为独立的本
|
||||
|
||||
## 后续产品与能力建设
|
||||
|
||||
1.12包含模型中心/池路由、[项目记忆](docs/PROJECT-MEMORY.md)、[任务恢复检查点](docs/TASK-CHECKPOINTS.md)、[Skills](docs/SKILLS.md)和[项目MCP](docs/MCP.md)。记忆只在来源复核、脱敏且请求预算允许时使用;恢复检查点绑定完整要求和原结果,核对后显式续接同一任务。1.13两个受限worker与1.14受控引擎/提示实验均已完成发行;1.15桌面和本机加密完整发行已验收,具体结果以[QA-1.15](docs/QA-1.15.md)为准;1.16手机伴随端及1.17两协议/流式/能力路由均已交付;下一[1.18工程附件、视觉输入与长任务续接](docs/PLAN-1.18.md)按完整工程流程推进。
|
||||
1.12包含模型中心/池路由、[项目记忆](docs/PROJECT-MEMORY.md)、[任务恢复检查点](docs/TASK-CHECKPOINTS.md)、[Skills](docs/SKILLS.md)和[项目MCP](docs/MCP.md)。记忆只在来源复核、脱敏且请求预算允许时使用;恢复检查点绑定完整要求和原结果,核对后显式续接同一任务。1.13两个受限worker与1.14受控引擎/提示实验均已完成发行;1.15桌面和本机加密完整发行已验收,具体结果以[QA-1.15](docs/QA-1.15.md)为准;1.16手机伴随端及1.17两协议/流式/能力路由均已交付;1.18工程截图、视觉选路与预算续接已完整本地交付;下一[1.19项目上下文缓存与长任务效率](docs/PLAN-1.19.md)先测量已有复用机制,再按工程证据扩展。
|
||||
|
||||
当前Git项目可以先预览已提交版本,再创建独立目录和分支;来源已有暂存、未提交及未跟踪文件保留在原项目。子工作区有自己的项目、会话和实际执行目录,创建中断后显式核对。模型准备Git交付预览后停止请求,确认这份预览后由内核完成提交和报告。具体范围见[独立工作区](docs/WORKSPACES.md)及[1.6验收](docs/QA-1.6.md)。
|
||||
|
||||
@@ -45,7 +47,7 @@ Agent Workbench 将 Claude Code 与 Cursor 的机制研究整合为独立的本
|
||||
|
||||
## 直接运行
|
||||
|
||||
Windows x64 1.15桌面/便携包自带Node.js 24.22.1、npm、Electron 45.2.0、REA 6.8.0、Playwright 1.64.1及锁定生产依赖。页面验收使用本机Microsoft Edge。安装版双击安装目录的AgentWorkbench.exe,便携版双击Start-Desktop.cmd打开桌面;Start-Workbench.cmd仍可打开浏览器入口http://127.0.0.1:4318。最终1.15安装/发行状态见[QA-1.15](docs/QA-1.15.md)。
|
||||
Windows x64 1.18桌面/便携包自带Node.js 24.22.1、npm、Electron 45.2.0、REA 6.8.0、Playwright 1.64.1及锁定生产依赖。页面验收使用本机Microsoft Edge。安装版双击安装目录的AgentWorkbench.exe,便携版双击Start-Desktop.cmd打开桌面;Start-Workbench.cmd仍可打开浏览器入口http://127.0.0.1:4318。当前安装/发行状态见[QA-1.18](docs/QA-1.18.md)。
|
||||
|
||||
启动不需要安装 npm 依赖或管理员权限。窗口关闭后本地服务仍运行,任务与会话继续保存。再次打开相同地址即可查看记录。
|
||||
|
||||
@@ -63,11 +65,11 @@ Windows x64 1.15桌面/便携包自带Node.js 24.22.1、npm、Electron 45.2.0、
|
||||
12. 点击顶部「REA 工件研究」,登记ASAR、EXE或DLL的本地绝对路径与研究问题。选择JavaScript/Electron、PE导入或资源分析后,可查看原字段、限制、连接记录和完整Evidence Bundle。完成的同版本结果先核验再复用;新版本需重新登记,未完成分析由用户明确重新发起。
|
||||
13. Web工程构建完成后,在任务记录「页面验收」中选构建目录、页面路径和视口,添加填写、点击或断言并封存计划,核对后运行。步骤为空时先观察页面与实际元素,再准备有断言的新计划。可查看原步骤结果、分页JSON及原始PNG;构建或源码变化后准备新计划。
|
||||
|
||||
REA首批为静态分析,研究工件不会自动运行。原结果与项目、Task、Run和目标SHA256绑定,模型只能分析已登记工件。具体范围见[REA集成契约](docs/REA-INTEGRATION.md);桌面安装端、手机配对及其他外部引擎按后续阶段继续建设。
|
||||
REA首批为静态分析,研究工件不会自动运行。原结果与项目、Task、Run和目标SHA256绑定,模型只能分析已登记工件。具体范围见[REA集成契约](docs/REA-INTEGRATION.md);Windows桌面与手机伴随端已交付,其他REA工具及引擎适配按后续契约推进。
|
||||
|
||||
## 模型连接
|
||||
|
||||
支持 Chat Completions 的 `tools/tool_calls/tool_call_id` 契约。填写服务实际提供的接口根地址:例如 Ollama `http://127.0.0.1:11434/v1`、vLLM `http://127.0.0.1:8000/v1`;部分兼容服务直接使用域名根地址。工作台在其后请求 `/models` 或 `/chat/completions`,不会强制添加 `/v1`。所选模型和服务需支持工具调用,可以读取模型列表或直接填写模型名。
|
||||
支持Chat Completions的tools/tool_calls/tool_call_id和Responses的实际工具Items/call_id,按连接协议请求/chat/completions或/responses。填写服务实际提供的接口根地址,例如Ollama http://127.0.0.1:11434/v1、vLLM http://127.0.0.1:8000/v1,工作台不强制添加/v1。可读取模型列表或直接填写名称;工具/流式/视觉能力按声明及明确范围的实际检测分别显示。1.18工程截图经PNG/JPEG校验及派生后发送,视觉任务在租约前排除不兼容模型;见[截图输入契约](docs/INPUT-ATTACHMENTS.md)。
|
||||
|
||||
模型网络故障、DNS、证书、超时、身份、限额和接口响应错误分别记录。可恢复请求最多尝试三次,尊重服务的 Retry-After,并限制总时长;401/403 和无效或过大的 JSON 不自动重试。停止任务会取消请求和退避。错误卡片的「重试模型请求」沿用已完成工具结果。
|
||||
|
||||
|
||||
+65
-2
@@ -2842,6 +2842,40 @@ The above copyright notice and this permission notice shall be included in all c
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
========================================================================
|
||||
jpeg-js 0.4.4
|
||||
License: BSD-3-Clause
|
||||
Source package: node_modules/jpeg-js
|
||||
|
||||
LICENSE
|
||||
|
||||
Copyright (c) 2014, Eugene Ware
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of Eugene Ware nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY EUGENE WARE ''AS IS'' AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL EUGENE WARE BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
========================================================================
|
||||
js-tokens 4.0.0
|
||||
License: MIT
|
||||
@@ -3661,13 +3695,13 @@ LICENSE
|
||||
|
||||
|
||||
========================================================================
|
||||
pngjs 5.0.0
|
||||
pngjs 7.0.0
|
||||
License: MIT
|
||||
Source package: node_modules/pngjs
|
||||
|
||||
LICENSE
|
||||
|
||||
pngjs2 original work Copyright (c) 2015 Luke Page & Original Contributors
|
||||
pngjs original work Copyright (c) 2015 Luke Page & Original Contributors
|
||||
pngjs derived work Copyright (c) 2012 Kuba Niegowski
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
@@ -3768,6 +3802,35 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
|
||||
|
||||
|
||||
========================================================================
|
||||
pngjs 5.0.0
|
||||
License: MIT
|
||||
Source package: node_modules/qrcode/node_modules/pngjs
|
||||
|
||||
LICENSE
|
||||
|
||||
pngjs2 original work Copyright (c) 2015 Luke Page & Original Contributors
|
||||
pngjs derived work Copyright (c) 2012 Kuba Niegowski
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
========================================================================
|
||||
react 19.3.1
|
||||
License: MIT
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Agent Workbench 能力目标与验收矩阵
|
||||
|
||||
1.17当前完整交付:Chat/Responses实际协议、有界SSE、完整工具组核验、能力选池、显式检测与原请求证据已实现。独立源码558/558、25类191组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点及两套父Node8/8、React9/9、Python10/10通过;源码与便携各7组伴随端/5组新协议界面、同载荷隔离安装/重启/卸载7组、正式20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件,全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。公开模型中心仅增加逐项核对的默认能力字段,原存储不迁移。正式手机网关继续关闭、无设备/证书,未迁入QA身份。真实模型工程/Purge收益继续按用户选择单列待验,本轮真实模型请求0;1.17没有新增iPhone实机流式结论。 见[1.17验收](QA-1.17.md)、[回顾](RETROSPECTIVE-1.17.md)与[发行身份](model-protocols-release-identity.json)。
|
||||
1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。 见[1.18验收](QA-1.18.md)、[回顾](RETROSPECTIVE-1.18.md)与[发行身份](vision-inputs-release-identity.json)。
|
||||
|
||||
1.17历史交付:Chat/Responses实际协议、有界SSE、完整工具组核验、能力选池、显式检测与原请求证据已实现。独立源码558/558、25类191组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点及两套父Node8/8、React9/9、Python10/10通过;源码与便携各7组伴随端/5组新协议界面、同载荷隔离安装/重启/卸载7组、正式20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件,全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。公开模型中心仅增加逐项核对的默认能力字段,原存储不迁移。正式手机网关继续关闭、无设备/证书,未迁入QA身份。真实模型工程/Purge收益继续按用户选择单列待验,本轮真实模型请求0;1.17没有新增iPhone实机流式结论。 见[1.17验收](QA-1.17.md)、[回顾](RETROSPECTIVE-1.17.md)与[发行身份](model-protocols-release-identity.json)。
|
||||
|
||||
日期:2026-10-31。1.0.0为基础里程碑,1.1.0实现M1,1.2.0增加内置Git交付,1.3.0增加工程索引和精确补丁,1.4.0增加可恢复多文件变更集,1.5.0/1.5.1增加有界请求与可用工件分页,1.6.0增加独立Git工作区和审查收尾,1.6.1增加实际Task工作依据和文件预算分页。下表保留1.0.0缺口与完整产品目标;每项完成范围以实际验证记录为准。
|
||||
|
||||
@@ -138,8 +140,8 @@
|
||||
| C11 真实检查与TestRunner | 实际Node/React/Python检查计划、测试数量/退出码/原日志、源码/范围绑定已交付;零测试/跳过不能算通过 | 识别真实项目检查;计划绑定planId,执行返回jobId;保存退出码、测试数和报告 | DS-3 / tools / M2 | 构建失败、零测试、拒绝/取消均不算通过;结果绑定相同工作区与ChangeSet |
|
||||
| C12 修复与代码审查 | 实际失败反馈、有界修改/修复、无进展暂停、审查/Git门槛已交付;独立多模型复核与稳定自主完成率待验 | 从真实失败定位并有限轮修复;核对需求、diff、回归与风险;保留失败历史 | CX-1、DS-3 / tasks、workspaces / M2–M4 | 能复现的失败先出现再修复;实际重跑通过;审查不能用“模型说成功”代替 |
|
||||
| C13 可交付成果 | Task所属diff/Git/检查/浏览器原工件与交付报告已交付;完整真实任务基准与专业交付指标待做 | 需求与结果对应、diff/commit、测试报告、运行方法、限制与工件引用 | WB-1 / artifacts / M2–M6 | 用户按交付说明能启动并验证;报告与实际文件、检查及commit一致 |
|
||||
| C14 模型协议与路由 | 1.17已交付Chat/Responses、两协议有界SSE、按声明能力选池、显式范围检测、Run固定路由及已验证格式导入;保留轮询/权重/租约/冷却与原请求证据。视觉/语音实际输入待做 | ModelProvider能力声明与实测、流式文本/工具参数、模型配置快照、按任务角色路由与可解释回退 | CX-2、DS-1 / models / M1、M3 | 支持/不支持的工具/流式能力可见;Run绑定实际模型;故障不串结果或重放工具 |
|
||||
| C15 预算与用量 | 完整请求预检、Run/Task累计预算与unknown usage已交付;父/子分配、累计步数/token/工具/时限及迟到/未知请求保守记账保持。1.17逐协议变体核验输出预留,保存实际原usage;价格与实际费用待做 | 时间、token、费用、步骤、重试与worker总预算;无进展检测;可配置价格与未知usage标记 | CC-2、DS-2 / models、tasks / M1–M4 | 子任务/重试纳入总预算;耗尽时保存检查点;缺失usage不伪造准确费用 |
|
||||
| C14 模型协议与路由 | Chat/Responses、有界SSE、能力筛选/检测、固定Run路由与已验证格式导入保持;1.18新增实际PNG/JPEG输入、视觉前选池和修订绑定probe,语音待做 | ModelProvider能力声明与实测、流式文本/工具参数、模型配置快照、按任务角色路由与可解释回退 | CX-2、DS-1 / models / M1、M3 | 支持/不支持的工具/流式/视觉能力可见;Run绑定实际模型;故障不串结果或重放工具 |
|
||||
| C15 预算与用量 | 完整请求预检、Run/Task/worker累计预算、unknown usage保持;1.18新增具体输入/图像/响应分解、冻结预览及同Task单Run续接。图像为本地预留,实际价格/费用待做 | 时间、token、费用、步骤、重试与worker总预算;无进展检测;可配置价格与未知usage标记 | CC-2、DS-2 / models、tasks / M1–M4 | 子任务/重试纳入总预算;耗尽时保存检查点;缺失usage不伪造准确费用 |
|
||||
| C16 多代理协作 | 1.13已交付两个受限worker、独立worktree、父子累计预算/停止恢复、当前成果与具体冲突、父工程审查合并;任意规模/OS沙箱待做 | 独立问题分工、上下文/预算隔离、独立worktree、结果与证据汇总、冲突合并 | CC-1、CU-3、DS-2、WB-1 / tasks、workspaces / M4 | 两个独立任务并行完成可合并;重叠编辑被发现;父任务停止可传播 |
|
||||
| C17 REA能力研究 | 固定REA6.8.0的ASAR/PE三项静态操作、所属job/目标SHA256/原Evidence已交付;其余工具与运行trace待做 | 目标清单、版本/hash、inventory/analyze/trace、分析job、Evidence查看与研究结论登记 | 全部目标 / tools、artifacts / M3 | 从能力结论能追到确切工件与Evidence;静态/运行证据和未知范围分别显示 |
|
||||
| C18 Purge增强实验 | 1.14来源锁定的两版本提示实验、开关/失效拒绝和同题夹具对照已交付;原完整插件与真实模型收益未验证 | 独立实验profile、兼容版本、策略分类、开关/回退和同题对照;有效机制按接口采纳 | PG-1 / engines、models、tasks / M3 | 同模型/任务/预算重复比较成功率、成本与错误修改;插件失效可恢复基线 |
|
||||
@@ -148,7 +150,7 @@
|
||||
| C21 桌面产品 | 1.15真实Electron窗口/后台宿主拆分、单实例、原生入口、安装/更新/回退/卸载完整发行和正式保留状态部署已交付 | Electron Windows安装/升级、后台执行宿主、工程/终端/diff/成果区和任务通知 | 产品方案 / desktop、gateway / M5 | 关闭窗口后可再查看任务;安装/升级保留数据;宿主进程生命周期明确 |
|
||||
| C22 手机伴随端 | 1.16默认关闭HTTPS、一次性配对、项目/操作授权、原Task/Run审批/停止及SHA报告、PWA壳和断线恢复已实现;真实iPhone核心与完整独立发行通过。iPhone 14 Pro Max/iOS 27.2为用户提供,原生操作由用户确认、原审计/进程/文件另验 | PWA任务/进度/审查入口;配对网关与设备撤销;共用Run与事件游标 | 产品方案 / mobile、gateway / M5 | 实际手机连电脑并审查同一任务;断线补发不重复执行;失效设备不能授权 |
|
||||
| C23 数据、配置与发布迁移 | 临时Key默认内存;1.15新增显式DPAPI保存/关闭/删除、同事务回退和安装根入口/指针回退已实际验收;正式发行已通过,1.16设备配对/撤销已验收 | 用户主动配置凭据、系统凭据存储、数据库迁移/回退、版本兼容和日志导出 | CX-2、DS-1 / storage、gateway、desktop / M1、M5–M6 | 升级副本与回退可验证;导出无Key;任务和来源不丢失 |
|
||||
| C24 工程能力评测 | 固定40份工程基准及Node/React/Python实际工具链、父审查/Git和失败记录已封存,1.17新增同题Responses SSE真实执行门槛;真实模型自主完成率、多模型收益与重复推理评测待验 | 封存真实工程任务、独立验收、重复运行和错误分类;追踪人工介入/成本/恢复 | 全部目标 / evaluation、artifacts / M1–M6 | 发布能力可链接实际任务记录;报告含失败样本与环境,固定回答不替代模型推理评测 |
|
||||
| C24 工程能力评测 | 固定40份基准、Node/React/Python真实工具链、父审查/Git和失败保持;1.18新增截图工程7节点,两视口React各12步及8/8、9/9、10/10;真实模型自主完成率和视觉/Purge收益待验 | 封存真实工程任务、独立验收、重复运行和错误分类;追踪人工介入/成本/恢复 | 全部目标 / evaluation、artifacts / M1–M6 | 发布能力可链接实际任务记录;报告含失败样本与环境,固定回答不替代模型推理评测 |
|
||||
|
||||
### 1.6.1 M2实际工作依据切片
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 工程截图输入契约
|
||||
|
||||
1.18开发中。每个Task先支持一张PNG/JPEG,单图2MiB、解码上限16Mi像素。只接受用户主动选择的文件内容,不接受本机路径或远程URL。图片完整解码、PNG CRC/结束结构与尺寸通过,JPEG按EXIF方向归正;拒绝动态PNG和尾随负载。原字节/SHA与去元数据、最长边1024像素/768KiB的PNG发送副本分别保存。界面明确显示副本尺寸,原文件可下载。草稿属于会话/项目,发送时创建新的Task/Run引用,保留原draft与工件所属;同事务保存。移除仅作用于草稿,已发送的历史不会改写。
|
||||
1.18已完整本地交付,实际验收见[QA-1.18](QA-1.18.md)。每个Task先支持一张PNG/JPEG,单图2MiB、解码上限16Mi像素。只接受用户主动选择的文件内容,不接受本机路径或远程URL。图片完整解码、PNG CRC/结束结构与尺寸通过,JPEG按EXIF方向归正;拒绝动态PNG和尾随负载。原字节/SHA与去元数据、最长边1024像素/768KiB的PNG发送副本分别保存。界面明确显示副本尺寸,原文件可下载。草稿属于会话/项目,发送时创建新的Task/Run引用,保留原draft与工件所属;同事务保存。移除仅作用于草稿,已发送的历史不会改写。
|
||||
|
||||
实际请求在当前Task注入一次发送副本,历史只存原附件引用;后续同Task请求保持同一图像身份。Chat使用image_url,Responses使用input_image,detail为high。所需vision能力从实际图像块推导,声明不替代验证;不兼容成员不能取得租约。图片不进入项目记忆和PWA壳缓存。
|
||||
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
# 里程碑回顾与修复审查
|
||||
|
||||
## 当前节点:1.17完整本地交付
|
||||
## 当前节点:1.18完整本地交付
|
||||
|
||||
1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。 见[1.18验收](QA-1.18.md)、[回顾](RETROSPECTIVE-1.18.md)与[发行身份](vision-inputs-release-identity.json)。 下一[1.19方案](PLAN-1.19.md)聚焦已有工程上下文复用、失效与长任务效率,尚未实现。以下旧节点保留。
|
||||
|
||||
## 1.17历史节点:完整本地交付
|
||||
|
||||
1.17.0完整本地交付:Chat/Responses实际协议、有界SSE、完整工具组核验、能力选池、显式检测与原请求证据已实现。独立源码558/558、25类191组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点及两套父Node8/8、React9/9、Python10/10通过;源码与便携各7组伴随端/5组新协议界面、同载荷隔离安装/重启/卸载7组、正式20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件,全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。公开模型中心仅增加逐项核对的默认能力字段,原存储不迁移。正式手机网关继续关闭、无设备/证书,未迁入QA身份。真实模型工程/Purge收益继续按用户选择单列待验,本轮真实模型请求0;1.17没有新增iPhone实机流式结论。 见[1.17验收](QA-1.17.md)、[回顾](RETROSPECTIVE-1.17.md)与[发行身份](model-protocols-release-identity.json)。 下一[1.18方案](PLAN-1.18.md)先审查截图附件、实际视觉选路和同Task预算续接;以下1.12.1审查及1.16节点保留为历史记录。
|
||||
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
# 后续执行计划
|
||||
|
||||
更新:2026-10-31。1.17.0完整本地交付:Chat/Responses实际协议、有界SSE、完整工具组核验、能力选池、显式检测与原请求证据已实现。独立源码558/558、25类191组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点及两套父Node8/8、React9/9、Python10/10通过;源码与便携各7组伴随端/5组新协议界面、同载荷隔离安装/重启/卸载7组、正式20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件,全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。公开模型中心仅增加逐项核对的默认能力字段,原存储不迁移。正式手机网关继续关闭、无设备/证书,未迁入QA身份。真实模型工程/Purge收益继续按用户选择单列待验,本轮真实模型请求0;1.17没有新增iPhone实机流式结论。 见[1.17验收](QA-1.17.md)、[回顾](RETROSPECTIVE-1.17.md)与[发行身份](model-protocols-release-identity.json)。
|
||||
更新:2026-10-31。1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。 见[1.18验收](QA-1.18.md)、[回顾](RETROSPECTIVE-1.18.md)与[发行身份](vision-inputs-release-identity.json)。
|
||||
|
||||
产品目标是让用户给出需求后,工作台能保留项目基线,完成定位、计划、修改、检查、必要修复、审查和Git交付,并在停止、故障、断线后明确保留已完成结果。桌面与手机共享同一执行宿主、任务和证据。
|
||||
|
||||
当前接续:1.17 A–F已完成。下一[1.18工程附件、视觉输入与长任务可恢复性](PLAN-1.18.md)只记录后续方案;先复核1.17原失败、实际能力和待验边界,再按A–F完成一张截图到工程交付的路径。iPhone新增流式/附件实机与真实模型工程分别验收,不用模拟视口和固定回答替代。
|
||||
当前接续:1.18 A–F本地开发/发行已完成,真实模型视觉工程及新增iPhone实机单列待验。下一[1.19项目上下文缓存与长任务效率](PLAN-1.19.md)先记录当前SHA解析复用、冷/热/失效实测,再决定扩展;不把缓存命中等同于token节省,不缓存工具副作用或凭据。每切片保留原失败、完成回顾和本地Git。
|
||||
|
||||
## 执行顺序与完成门槛
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
| 2b:其它引擎与真实收益(后续独立切片) | Codex实际适配;Claude Code/Cursor/WorkBuddy机制研究;Purge真实模型对照 | 实际版本、审批/取消/模型与工具契约;已验证的受限桥和所属工作区 | 指定工程有实际原协议/工具/检查/Git与停止结果;真实有无实验同模型同题同预算,记录失败和人工介入,不用连接或固定回答夹具推断成功率 |
|
||||
| 3:Windows桌面(1.15完成) | 单实例、后台宿主、项目/终端/审查入口、安装包与保留数据更新 | 宿主与客户端生命周期拆分;本机凭据加密;稳定迁移契约 | 关闭/重开窗口不丢任务;重复启动复用宿主;安装/升级/卸载的数据行为可核验;崩溃后显式恢复;旧版本可回退 |
|
||||
| 4:手机伴随端(1.16完成) | PWA、一次性配对、设备身份、撤销、同Run观察/审批、断线游标补发 | 设备认证、加密传输、审批身份/幂等、速率限制;阶段3宿主 | 在真实手机完成配对和撤销;断线后按seq恢复;旧Run/过期/重复审批拒绝;手机和桌面显示同一结果;手机不直接执行宿主文件与命令 |
|
||||
| 5:模型与多模态(1.17协议/流式完成,1.18附件/视觉待做) | 两协议、流式取消、能力选路已交付;下一为图像附件、同Task续接,语音及项目缓存后续分步实现 | 每种协议的工具调用/用量/取消实测;凭据和附件隔离 | 图像、语音、文本各有真实样本;不兼容成员零请求;故障不重复副作用;缓存绑定项目/权限/源码版本并可清除;原失败可核查 |
|
||||
| 5:模型与多模态(1.17协议/流式、1.18截图/视觉完成) | 工程截图、视觉选路、预算分解与同Task续接已交付;下一1.19研究已有上下文复用/失效;语音后续独立实现 | 每种协议的工具调用/用量/取消实测;凭据和附件隔离 | 截图工程有实际协议/测试/Git,真实视觉推理与iPhone新增流程单列;缓存绑定项目/权限/源码版本并可关闭/清除;原失败可核查 |
|
||||
| 6:自我迭代与专业交付 | 隔离分支生成候选、固定评测集、多模型复核、质量/成本对照、升级候选和回滚 | 可复现工程基准、完整质量门槛、阶段1隔离和阶段3更新 | 工作台可提出并验证自身改进;候选不直接改运行中的发行;回归或独立验收失败不能发布;保存原差异、指标和回退点;采纳须经用户已有权限规则 |
|
||||
|
||||
阶段间可并行完成只读研究和文档,涉及项目写入、权限、发行的实现按依赖推进。每个切片提交真实功能、失败分类、验收证据和本地Git提交;不自动推送远端。
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
# 1.18 后续方案:工程附件、视觉输入与长任务可恢复性
|
||||
# 1.18 实施方案与交付范围:工程附件、视觉输入与长任务可恢复性
|
||||
|
||||
本文件是后续方案,未标成已实现。先完成1.17的独立源码、便携、安装和正式状态保留验收,封存原失败与阶段回顾,再按下表分步实施。继续使用现有React、Task/Run、原请求工件、模型中心、Git审查及桌面/伴随端,不扩成另一套执行系统。
|
||||
A–F已完成本地实现、完整独立验收、保留状态升级和回顾,实际结论见[QA-1.18](QA-1.18.md)。本文保留原范围及门槛:E原先列出的iPhone文件选择/旋转/弱网实机并未在本轮完成;最终手机范围为原observe权限下的图片读取/SHA/下载,上传及预算管理留在电脑端。Edge390视口/自有TLS与真实模型视觉推理分别记录,不替代实机或真实收益。下一[1.19](PLAN-1.19.md)仍仅方案。
|
||||
|
||||
## 用户能完成的任务
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# 1.19 后续方案:项目上下文缓存与可核对的长任务效率
|
||||
|
||||
本文件只记录下一阶段方案。必须先完成1.18独立源码、全部历史界面、便携、同载荷安装、保留状态升级和原生回看,再实施本阶段。真实模型视觉工程与Purge收益继续作为独立验收,不用固定回答或缓存指标代替。
|
||||
|
||||
当前ProjectIndex已按文件SHA在进程内复用解析结果,并对同项目刷新去重;项目记忆已逐请求核对来源;请求工件校验已有局部缓存。本阶段先测量这些已有能力,避免再建一套相同缓存。目标是使重复工程观察和长任务依据准备更快,并清楚显示哪些内容是当前核对、哪些仅为旧记录。
|
||||
|
||||
## 用户能完成的任务
|
||||
|
||||
用户在同一工程连续执行定位、修改和检查时,工作台可以复用已核对的代码解析材料。新增、删除、重命名、源码变化、分支切换和解析器版本变化立即使相关内容失效。用户能查看缓存范围、实际命中/重建、大小及清除结果;缓存损坏或关闭时仍能按原流程完成任务。缓存不产生“已执行工具”或“检查已通过”的新结果。
|
||||
|
||||
| 切片 | 工作内容 | 验收门槛 |
|
||||
| --- | --- | --- |
|
||||
| A:测量与范围审查 | 对照当前索引/记忆/请求验证的复用点,记录冷启动、同源码、单文件修改的实际耗时和读取/解析量 | 固定Node/React/Python输入、原SHA、原步骤与独立计时;先确定瓶颈,未测量不宣称加速 |
|
||||
| B:有界项目缓存 | 对确有收益的解析/检索材料增加项目所属、来源SHA、解析器/格式版本和容量/淘汰契约 | 不以mtime/大小单独证明来源;不缓存Key、设备身份、工具副作用或用户未选工程;损坏和异常路径回退实际重建 |
|
||||
| C:失效与上下文依据 | 请求只引用本次重新核对来源的材料;不完整扫描、跨分支、权限变化及并发修改显式降级 | 同大小/相同mtime修改、删除、重命名、解析器更新、越项目和目录联接均有拒绝/失效证据;原冻结请求与完成工具保持 |
|
||||
| D:产品入口 | 在既有工程索引和运行诊断中显示当前核对时间、命中范围、失效原因、容量、开关和清除 | 中文桌面/390px、关闭/清除/刷新/恢复真实流程;清除只影响派生缓存,不删除工程、会话或原工件;手机观察不扩成管理权限 |
|
||||
| E:同题工程比较 | 固定冷/热/失效三组,核对原需求、请求语义、测试、页面和Git交付 | 报告实际解析量/耗时及回退开销;Node8/8、React9/9、Python10/10及实际构建/编译、页面/原修改保护;未测出收益也如实记录 |
|
||||
| F:完整发行与回顾 | 独立源码/便携/安装/升级、全部历史回归与原生回看;记录保留数据和回退 | 原PID/Provider、所有表/会话导出/工件字节保持;缓存可失效重建,不能成为恢复唯一来源;冻结输入和失败原件、本地Git收尾 |
|
||||
|
||||
## 继续保持的边界
|
||||
|
||||
本地解析复用、服务商prompt缓存命中、请求token计费是三件事。只有上游实际返回缓存用量时才能登记为已报告用量;不能把本地命中折算成节省token。图像原图/发送副本、Task/Run归属和SHA核对沿用1.18;缓存不能使撤销权限后的内容继续可读。
|
||||
|
||||
自我迭代继续采用候选分支、固定输入、差异审查、完整回归、不可变发行和可恢复升级。多模型复核是建议来源,模型不能改写当前运行版本、批准自身工具或将测试夹具结论登记成真实收益。语音输入/转写、通用浏览器与电脑操作、其他引擎适配分别立项;每项先核对实际协议与权限,再按完整任务交付验收。
|
||||
|
||||
1.17回顾提出的安装耗时与真实阶段进度仍需单独测量。本阶段只在已有身份约束下研究派生上下文复用,不以“缓存已通过”跳过安装清单、来源变化、原进程或持久数据核对。
|
||||
@@ -1,6 +1,6 @@
|
||||
# Agent Workbench 后续产品与执行开发方案
|
||||
|
||||
更新:2026-10-31。当前正式基线1.17.0。1.17.0完整本地交付:Chat/Responses实际协议、有界SSE、完整工具组核验、能力选池、显式检测与原请求证据已实现。独立源码558/558、25类191组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点及两套父Node8/8、React9/9、Python10/10通过;源码与便携各7组伴随端/5组新协议界面、同载荷隔离安装/重启/卸载7组、正式20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件,全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。公开模型中心仅增加逐项核对的默认能力字段,原存储不迁移。正式手机网关继续关闭、无设备/证书,未迁入QA身份。真实模型工程/Purge收益继续按用户选择单列待验,本轮真实模型请求0;1.17没有新增iPhone实机流式结论。 见[1.17验收](QA-1.17.md)、[回顾](RETROSPECTIVE-1.17.md)与[发行身份](model-protocols-release-identity.json)。 下一[1.18工程附件、视觉与长任务方案](PLAN-1.18.md)仍仅方案,先审查再按切片实施。
|
||||
更新:2026-10-31。当前正式基线1.18.0。1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。 见[1.18验收](QA-1.18.md)、[回顾](RETROSPECTIVE-1.18.md)与[发行身份](vision-inputs-release-identity.json)。 下一[1.19缓存与效率](PLAN-1.19.md)仅方案,先测量当前机制再开发。
|
||||
|
||||
## 1. 产品目标
|
||||
|
||||
|
||||
+17
-1
@@ -1,6 +1,8 @@
|
||||
# 1.18 工程截图、视觉路由与同Task续接
|
||||
|
||||
开发基线0d1ab74,分支feat/vision-attachments-1.18。正式1.17/PID36552保持,所有新请求仅使用自有loopback固定响应服务。当前仍在验收,完整回归、独立发行、保留状态正式部署分别记录,不能用前置专项代替。
|
||||
开发基线0d1ab74,分支feat/vision-attachments-1.18。最终已完整本地交付:1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。 不可变Agent-Workbench-1.18.0-win-x64-20261031165241971,产品/QA输入来源01c427e749c33bcbd02df5138da5e8a023b73eaa;见[身份](vision-inputs-release-identity.json)。
|
||||
|
||||
以下切片记录保留当时的失败/待验描述,最终状态以文末F正式交付及发行身份为准。
|
||||
|
||||
## A–C:附件输入与实际协议
|
||||
|
||||
@@ -31,3 +33,17 @@ Chat image_url/Responses input_image实际HTTP每请求恰有一次图像,原p
|
||||
版本与独立发行验收入口已接入1.18。新截图Task工程7节点通过:Node8/8、React9/9、Python10/10及实际构建/编译,React实际Edge两视口各12步通过;原失败、审批、完整图像请求SHA与原图/副本保持,Git只提交所选任务文件并保留原暂存/未暂存/未跟踪内容。固定Responses SSE夹具证明执行与协议,不证明视觉推理,也不假定外部Harness支持图像。工程原件见.qa/vision-engineering-location.json及独立结果。
|
||||
|
||||
F首轮QA将canonical messages中的字符串图像当成原wire图像,断言触发自有服务断开;改为核对原input后通过。首次构建误用工程内不存在的npm路径,改为固定Node发行自带npm后通过。Git证据原CRLF导致diff空白检查拒绝,添加仅原日志binary属性,保留40原件字节核对后提交96a7ed1。所有原失败保留。完整历史回归和独立发行继续,未提前登记为交付。
|
||||
|
||||
|
||||
## F最终独立发行和正式交付
|
||||
|
||||
1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。
|
||||
|
||||
399输入/22构建/40原基准冻结保持;372输入与Git原blob严格一致,22仅仓库声明CRLF/LF差异,5个示例生成文件逐字节对应已提交生成器。源码归档14,598文件同卷改短物理路径后逐一SHA保持,独立离线安装/构建、576项完整整轮和全部原生/工程门槛通过。便携14,293文件原ZIP、实际随包Node/REA/SDK/Edge及受控工程通过;安装使用同载荷独立QA登记,正式产品安装器另外stage,原处理器只升级一次。
|
||||
|
||||
原失败、完整成功及原字节见[封存清单](vision-inputs-f-release-evidence/manifest.json)。首次完整UI漏两个Purge来源环境变量为验收执行器失败,原结果独立保留;修正后整轮26类196组通过。卸载日志延迟终结若有追加,仅接受与原SHA严格对应的前缀和固定199字节四行,前缀与最终日志分别封存,不改原收据。包内说明保留构建时快照,最终本地Git/验收由独立ACCEPTANCE绑定,不回写原包。
|
||||
|
||||
|
||||
## 正式安装期间的并行使用与续验
|
||||
|
||||
正式stage首次核对保留原失败:安装期间原1.17工作台发生一次已完成模型运行及配置修订/模型池移除旧默认成员,新增7记录、14事件、3工件文件,旧记录/消息/事件/工件保持。没有覆盖原配置或重跑安装;对全部差异逐项核对后,保留最新空闲全量快照与私有备份,再从已安装候选续验,后续比较仍严格逐字段/逐行/逐字节。原调用不是本轮验收器发起,也不作为1.18视觉收益结论。续验首轮误将legacy摘要事件数组当完整事件表,原失败保持;改按实际一条摘要及数据库14条原事件分别核对后完成。 证据见发行身份formal.baselineReconciliation和原件清单。
|
||||
|
||||
@@ -12,6 +12,26 @@
|
||||
|
||||
新Edge/窄屏/自有TLS流程与iPhone实机是不同证据;固定模型只检验协议和工程执行,不检验视觉推理水平。正式原任务只读复核,没有启动、改写或补造旧预算分解。
|
||||
|
||||
## F:尚待完成
|
||||
## F:发行前的门槛记录
|
||||
|
||||
完整历史回归、含附件工程交付、独立源码/便携/同载荷安装、原PID与所有数据保持升级、原生回看及证据封存仍是发行门槛。下一阶段计划应依据本阶段实际结果书写,不能把未完成项标成已交付。
|
||||
|
||||
|
||||
## F最终回顾及下一阶段
|
||||
|
||||
1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。
|
||||
|
||||
本阶段保持原持久记录归属、原工具执行与已封存请求,扩展真实截图输入及可解释的预算续接。工程通过证明协议和实际工具交付,未证明任意模型的视觉能力、所有客户端格式或自主成功率。原生回看观察到1.18截图入口,旧任务仍保持原预算错误;没有启动正式原任务或补造其分解。
|
||||
|
||||
正式stage实际666秒,包含完整候选清单、原数据库/导出和工件核对。下一[PLAN-1.19](PLAN-1.19.md)先测已有工程索引的SHA解析复用,再扩有界缓存、严格失效及可见效率;完整性核验仍保持。语音、通用电脑控制、更多引擎适配及受控自我迭代继续分别推进。新增iPhone流程与真实模型视觉/Purge收益仍待验,原1.16用户实机结论保持。
|
||||
|
||||
|
||||
## 并行使用的真实边界
|
||||
|
||||
正式stage首次核对保留原失败:安装期间原1.17工作台发生一次已完成模型运行及配置修订/模型池移除旧默认成员,新增7记录、14事件、3工件文件,旧记录/消息/事件/工件保持。没有覆盖原配置或重跑安装;对全部差异逐项核对后,保留最新空闲全量快照与私有备份,再从已安装候选续验,后续比较仍严格逐字段/逐行/逐字节。原调用不是本轮验收器发起,也不作为1.18视觉收益结论。续验首轮误将legacy摘要事件数组当完整事件表,原失败保持;改按实际一条摘要及数据库14条原事件分别核对后完成。 安装日志“成功”与安装进程退出是两个时点,不能用其中一个冒充完整阶段结束;本次同时记录原日志、结束码、逐文件验证及明确续验基线。前述stage耗时是首次尝试时间,包含并行使用导致的核对拒绝。
|
||||
|
||||
## 封存与文档回看
|
||||
|
||||
封存首轮在写入归档之前拒绝:模型中心报告中的截图名是相对于其原EVIDENCE目录,而非仓库目录。保留原脚本/日志/失败收据,续封存只在原日志明确声明的唯一目录解析相对名;未搜索同名截图冒充原件,也未重跑产品验收。最终803份原件/126,744,471字节,包含原失败与实际原生截图。仍在写入的本次封存日志等待结束后作为独立收尾收据保存。
|
||||
|
||||
文档回看更新README中旧的仅Chat协议、视觉待做及桌面/手机未交付描述,历史版本报告仍保留;两份新增图像解码依赖的许可证按原字节保存。正式激活实际约631秒,重复全清单验证及阶段进度不足已记录为后续测量项;本轮没有为提速放宽任何来源或持久数据比较。
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Agent Workbench 验收记录
|
||||
|
||||
## 1.18 · 工程截图、视觉输入与同Task续接(完整本地交付)
|
||||
|
||||
1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,17项目/30全部会话/2614记录/4701事件,全部表每行/会话导出/模型中心/工件原字节保持;1466条工件和1376个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。 见[1.18验收](QA-1.18.md)、[回顾](RETROSPECTIVE-1.18.md)与[发行身份](vision-inputs-release-identity.json)。
|
||||
|
||||
## 1.17 · 模型协议、流式执行与能力路由(完整本地交付)
|
||||
|
||||
1.17.0完整本地交付:Chat/Responses实际协议、有界SSE、完整工具组核验、能力选池、显式检测与原请求证据已实现。独立源码558/558、25类191组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点及两套父Node8/8、React9/9、Python10/10通过;源码与便携各7组伴随端/5组新协议界面、同载荷隔离安装/重启/卸载7组、正式20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件,全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。公开模型中心仅增加逐项核对的默认能力字段,原存储不迁移。正式手机网关继续关闭、无设备/证书,未迁入QA身份。真实模型工程/Purge收益继续按用户选择单列待验,本轮真实模型请求0;1.17没有新增iPhone实机流式结论。 见[1.17验收](QA-1.17.md)、[回顾](RETROSPECTIVE-1.17.md)与[发行身份](model-protocols-release-identity.json)。
|
||||
|
||||
@@ -0,0 +1,217 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"at": "2026-10-31T17:06:12.366Z",
|
||||
"groups": 196,
|
||||
"results": [
|
||||
{
|
||||
"script": "verify-vision-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 5,
|
||||
"durationMs": 15140,
|
||||
"evidence": "docs/vision-inputs-vision-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-vision-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-model-protocols-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 5,
|
||||
"durationMs": 15070,
|
||||
"evidence": "docs/vision-inputs-model-protocols-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-model-protocols-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-companion-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 7,
|
||||
"durationMs": 18854,
|
||||
"evidence": "docs/vision-inputs-companion-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-companion-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-controlled-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 59148,
|
||||
"evidence": "docs/vision-inputs-controlled-final-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-controlled-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-purge-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 27643,
|
||||
"evidence": "docs/vision-inputs-purge-final-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-purge-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-workers-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 128934,
|
||||
"evidence": "docs/vision-inputs-workers-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-workers-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-task-plans-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 8,
|
||||
"durationMs": 16212,
|
||||
"evidence": "docs/vision-inputs-task-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-task-plans-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-browser-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 24213,
|
||||
"evidence": "docs/vision-inputs-browser-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-browser-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 18982,
|
||||
"evidence": "docs/vision-inputs-basic-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-diagnostics-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 21604,
|
||||
"evidence": "docs/vision-inputs-diagnostics-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-diagnostics-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-execution-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 7,
|
||||
"durationMs": 29743,
|
||||
"evidence": "docs/vision-inputs-execution-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-execution-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-delivery-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 57563,
|
||||
"evidence": "docs/vision-inputs-delivery-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-delivery-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-index-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 8,
|
||||
"durationMs": 8504,
|
||||
"evidence": "docs/vision-inputs-index-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-index-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-change-sets-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 11,
|
||||
"durationMs": 18656,
|
||||
"evidence": "docs/vision-inputs-change-sets-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-change-sets-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-context-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 11,
|
||||
"durationMs": 27840,
|
||||
"evidence": "docs/vision-inputs-context-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-context-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-workspaces-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 33214,
|
||||
"evidence": "docs/vision-inputs-workspaces-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-workspaces-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-python-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 7,
|
||||
"durationMs": 25235,
|
||||
"evidence": "docs/vision-inputs-python-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-python-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-react-delivery.mjs",
|
||||
"success": true,
|
||||
"groups": 6,
|
||||
"durationMs": 41109,
|
||||
"evidence": "docs/vision-inputs-react-delivery-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-react-delivery.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-research-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 11,
|
||||
"durationMs": 29147,
|
||||
"evidence": "docs/vision-inputs-research-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-research-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-engines-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 14754,
|
||||
"evidence": "docs/vision-inputs-engines-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-engines-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-model-center-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 6,
|
||||
"durationMs": 9853,
|
||||
"evidence": "docs/vision-inputs-model-center-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-model-center-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-project-memory-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 4,
|
||||
"durationMs": 8540,
|
||||
"evidence": "docs/vision-inputs-project-memory-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-project-memory-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-task-checkpoints-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 3,
|
||||
"durationMs": 9775,
|
||||
"evidence": "docs/vision-inputs-task-checkpoints-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-task-checkpoints-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-skills-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 4,
|
||||
"durationMs": 9809,
|
||||
"evidence": "docs/vision-inputs-skills-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-skills-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-mcp-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 6,
|
||||
"durationMs": 11635,
|
||||
"evidence": "docs/vision-inputs-mcp-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-mcp-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-mcp-recovery-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 2,
|
||||
"durationMs": 8237,
|
||||
"evidence": "docs/vision-inputs-mcp-recovery-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-mcp-recovery-ui.log"
|
||||
}
|
||||
],
|
||||
"scope": "Every verifier owns an independent port and synthetic data directory. Synthetic provider fixtures verify protocols; configured-model acceptance is separate. No production service or real key read/copied."
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"success": true,
|
||||
"url": "http://127.0.0.1:60668",
|
||||
"browser": "Microsoft Edge 156.0.4314.50",
|
||||
"date": "2026-10-31T17:00:05.926Z",
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\ui-8a343e5d-87db-4d0d-828d-f12cfb58a7d7\\ui-project",
|
||||
"viewports": [
|
||||
1440,
|
||||
780,
|
||||
390
|
||||
],
|
||||
"passed": [
|
||||
"project selection and real file preview",
|
||||
"real command consent, execution and stale snapshot rejection",
|
||||
"diff review and verified file application",
|
||||
"manual editor creates a reviewable proposal",
|
||||
"file responses stay with the current selection",
|
||||
"denial, session selection, reload, stale response rejection and export",
|
||||
"project inventory responses cannot replace another project",
|
||||
"780 and 390 px: project drawer, file, diff and trace controls, no page overflow",
|
||||
"unified and detailed research reports render",
|
||||
"model list, ephemeral key, compatible fixture tool loop and return to offline mode"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"modelValidation": "controlled local HTTP fixture; no real model"
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"testedAt": "2026-10-31T17:02:22.595Z",
|
||||
"cases": [
|
||||
"Desktop batch scope, per-file diffs, sealed single-write guard and pre-apply bytes",
|
||||
"Three-file reviewed application preserves exact BOM/CRLF/LF and creates the new file",
|
||||
"Explicit batch rollback restores exact originals and removes only the reviewed new file",
|
||||
"A last-file owner conflict blocks the whole batch and shows the real recovery direction",
|
||||
"Durable partial recovery reads actual hashes and preserves owner content during rollback",
|
||||
"Changed observation fingerprints reject stale acknowledgement without releasing the project",
|
||||
"Explicit owner-content acknowledgement ends recovery without claiming successful application",
|
||||
"Switching projects clears the previous task notification while retaining its durable error and recovery history",
|
||||
"390px step-limit review, same-task continuation entry, rollback confirmation and keyboard close fit the viewport",
|
||||
"A delayed preparation response never opens a different project or changes its selected session",
|
||||
"A failed batch response after its component unmounts cannot display an error in the newly selected project"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"screenshots": [
|
||||
".qa/screenshots/vision-inputs-batch-desktop-review.png",
|
||||
".qa/screenshots/vision-inputs-batch-desktop-conflict.png",
|
||||
".qa/screenshots/vision-inputs-batch-desktop-recovery.png",
|
||||
".qa/screenshots/vision-inputs-batch-mobile-review.png",
|
||||
".qa/screenshots/vision-inputs-batch-mobile-rollback.png"
|
||||
],
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-77859b69-553a-4b44-a7d1-8180a40d6da5",
|
||||
"scope": "Real independent demo host and durable batch states; UI fixtures include actual owner conflict/rollback results. No real model credentials or user project were used."
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"testedAt": "2026-10-31T16:59:46.805Z",
|
||||
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-0976b2cc-50ec-4b48-83da-0a778693a296",
|
||||
"passed": [
|
||||
"actual step editor seals the chosen build, viewport and three CSS interactions without opening the page",
|
||||
"review shows exact build identity and planned assertions; cancelling executes no browser work",
|
||||
"real inner Edge clicks the intended element and the two counted assertions display with original Task/Run/build identity",
|
||||
"original large JSON is paged in the UI and downloads the complete hash-identical result",
|
||||
"the original screenshot renders at its actual resolution and downloads identical PNG bytes",
|
||||
"a real failed assertion retains actual count one and requires a newly reviewed plan instead of replaying",
|
||||
"390px forms and result records remain usable and the inner browser captures its real 390px layout",
|
||||
"stopping an actual in-flight assertion closes its owned browser and preserves prior successful and failed jobs",
|
||||
"a delayed original-record failure stays with its source and does not appear in a newly selected task",
|
||||
"actual host restart preserves the four original browser jobs and PNGs without model requests or execution replay"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"screenshots": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-0976b2cc-50ec-4b48-83da-0a778693a296\\browser-desktop-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-0976b2cc-50ec-4b48-83da-0a778693a296\\browser-desktop-original-image.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-0976b2cc-50ec-4b48-83da-0a778693a296\\browser-mobile-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-0976b2cc-50ec-4b48-83da-0a778693a296\\browser-mobile-original-image.png"
|
||||
],
|
||||
"taskId": "f06d9d38-5fdd-4dba-97ae-11cf71982c2c",
|
||||
"sessionId": "dabf657d-d083-45c6-bc38-30a5f2d61b26",
|
||||
"jobs": [
|
||||
{
|
||||
"id": "17a05317-0795-4e87-b5d7-f7b8a4c9e7b2",
|
||||
"status": "passed",
|
||||
"planId": "e42570c4-4293-44ec-8018-eccfb0e9106d",
|
||||
"assertions": {
|
||||
"total": 2,
|
||||
"passed": 2,
|
||||
"failed": 0
|
||||
},
|
||||
"resultSha256": "fab74530eb34d191c1edd1cb56f70a08a7ea626dd762cb0ca42a395df6600efa",
|
||||
"cleanup": {
|
||||
"pid": 31448,
|
||||
"exited": true,
|
||||
"exitCode": 0,
|
||||
"signal": null,
|
||||
"finishedAt": "2026-10-31T16:59:29.824Z",
|
||||
"previewClosed": true,
|
||||
"snapshotDisposed": true
|
||||
},
|
||||
"screenshots": [
|
||||
{
|
||||
"artifactId": "b17c9254-b2c9-4ccd-999b-4c6c622194bf",
|
||||
"sha256": "74f2387b837f5f74bd7e8eef7631865a3b5bb24601c4bbaa93b2478a9e94c6ef",
|
||||
"bytes": 101061,
|
||||
"width": 1280,
|
||||
"height": 900,
|
||||
"label": "initial"
|
||||
},
|
||||
{
|
||||
"artifactId": "c921b8ec-46ec-4679-856b-412c15d58716",
|
||||
"sha256": "b1de525bcf042bc1724e8a9c6670042ab3035bed394ff76cf2a934a443ae98f7",
|
||||
"bytes": 85261,
|
||||
"width": 1280,
|
||||
"height": 900,
|
||||
"label": "final"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "1838704b-9696-49d4-966f-c5f0f2ef6bab",
|
||||
"status": "failed",
|
||||
"planId": "0e7f7d1b-4ef9-4be6-a39e-15cac883fc38",
|
||||
"assertions": {
|
||||
"total": 2,
|
||||
"passed": 1,
|
||||
"failed": 1
|
||||
},
|
||||
"resultSha256": "104811579ffd57cfbe08bf2f31a1aaa6e1cd8fbbb3afb45fddf692e0412d0071",
|
||||
"cleanup": {
|
||||
"pid": 16932,
|
||||
"exited": true,
|
||||
"exitCode": 0,
|
||||
"signal": null,
|
||||
"finishedAt": "2026-10-31T16:59:37.011Z",
|
||||
"previewClosed": true,
|
||||
"snapshotDisposed": true
|
||||
},
|
||||
"screenshots": [
|
||||
{
|
||||
"artifactId": "e01fb946-deda-40a9-af83-e65494ae52c0",
|
||||
"sha256": "74f2387b837f5f74bd7e8eef7631865a3b5bb24601c4bbaa93b2478a9e94c6ef",
|
||||
"bytes": 101061,
|
||||
"width": 1280,
|
||||
"height": 900,
|
||||
"label": "initial"
|
||||
},
|
||||
{
|
||||
"artifactId": "d6c385ed-4340-4ab9-9113-3c7667a72cd0",
|
||||
"sha256": "b1de525bcf042bc1724e8a9c6670042ab3035bed394ff76cf2a934a443ae98f7",
|
||||
"bytes": 85261,
|
||||
"width": 1280,
|
||||
"height": 900,
|
||||
"label": "failure"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "e7309beb-b0ed-408a-ad1a-078781ac8c24",
|
||||
"status": "passed",
|
||||
"planId": "2e6531d5-d004-4f30-84c8-a811a74d84c0",
|
||||
"assertions": {
|
||||
"total": 2,
|
||||
"passed": 2,
|
||||
"failed": 0
|
||||
},
|
||||
"resultSha256": "81b9c0760645c220b487e9dde588c7f7ae953b325f7617a89742ee197cd3cff5",
|
||||
"cleanup": {
|
||||
"pid": 10960,
|
||||
"exited": true,
|
||||
"exitCode": 0,
|
||||
"signal": null,
|
||||
"finishedAt": "2026-10-31T16:59:40.331Z",
|
||||
"previewClosed": true,
|
||||
"snapshotDisposed": true
|
||||
},
|
||||
"screenshots": [
|
||||
{
|
||||
"artifactId": "00e803bf-b366-48ee-9968-f3935a642c37",
|
||||
"sha256": "93969f1954eec1f7fa4736d7a3035631c6066b6727132ff1179180eadb745602",
|
||||
"bytes": 11011,
|
||||
"width": 390,
|
||||
"height": 844,
|
||||
"label": "initial"
|
||||
},
|
||||
{
|
||||
"artifactId": "d31aef2c-9feb-45e1-b0b6-dd515e03c1f4",
|
||||
"sha256": "a6908ecfcfd239721ec6bbb916a5054d2f61183b6dea3f014db89216d371d0e3",
|
||||
"bytes": 18832,
|
||||
"width": 390,
|
||||
"height": 844,
|
||||
"label": "final"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "f6499727-d9e1-424d-a149-a2c6988694ce",
|
||||
"status": "interrupted",
|
||||
"planId": "f8aa9a66-1ebd-4d07-8e2e-4d6187b94262",
|
||||
"assertions": {
|
||||
"total": 3,
|
||||
"passed": 2,
|
||||
"failed": 1
|
||||
},
|
||||
"resultSha256": "1fe0e4a3337cb0eeb7d491be4813566f3a0bb1b1e318a196d3cd0a4bf83f38c1",
|
||||
"cleanup": {
|
||||
"pid": 17552,
|
||||
"exited": true,
|
||||
"exitCode": 0,
|
||||
"signal": null,
|
||||
"finishedAt": "2026-10-31T16:59:43.554Z",
|
||||
"previewClosed": true,
|
||||
"snapshotDisposed": true
|
||||
},
|
||||
"screenshots": [
|
||||
{
|
||||
"artifactId": "fa426fa4-7d91-4455-b229-537df49c169f",
|
||||
"sha256": "93969f1954eec1f7fa4736d7a3035631c6066b6727132ff1179180eadb745602",
|
||||
"bytes": 11011,
|
||||
"width": 390,
|
||||
"height": 844,
|
||||
"label": "initial"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"scope": "Actual independent Workbench UI plus real Edge static-build executions. The configured production Provider, other projects and keys are not accessed."
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"testedAt": "2026-10-31T17:02:22.595Z",
|
||||
"cases": [
|
||||
"Desktop batch scope, per-file diffs, sealed single-write guard and pre-apply bytes",
|
||||
"Three-file reviewed application preserves exact BOM/CRLF/LF and creates the new file",
|
||||
"Explicit batch rollback restores exact originals and removes only the reviewed new file",
|
||||
"A last-file owner conflict blocks the whole batch and shows the real recovery direction",
|
||||
"Durable partial recovery reads actual hashes and preserves owner content during rollback",
|
||||
"Changed observation fingerprints reject stale acknowledgement without releasing the project",
|
||||
"Explicit owner-content acknowledgement ends recovery without claiming successful application",
|
||||
"Switching projects clears the previous task notification while retaining its durable error and recovery history",
|
||||
"390px step-limit review, same-task continuation entry, rollback confirmation and keyboard close fit the viewport",
|
||||
"A delayed preparation response never opens a different project or changes its selected session",
|
||||
"A failed batch response after its component unmounts cannot display an error in the newly selected project"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"screenshots": [
|
||||
".qa/screenshots/vision-inputs-batch-desktop-review.png",
|
||||
".qa/screenshots/vision-inputs-batch-desktop-conflict.png",
|
||||
".qa/screenshots/vision-inputs-batch-desktop-recovery.png",
|
||||
".qa/screenshots/vision-inputs-batch-mobile-review.png",
|
||||
".qa/screenshots/vision-inputs-batch-mobile-rollback.png"
|
||||
],
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-77859b69-553a-4b44-a7d1-8180a40d6da5",
|
||||
"scope": "Real independent demo host and durable batch states; UI fixtures include actual owner conflict/rollback results. No real model credentials or user project were used."
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench",
|
||||
"nodePath": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
|
||||
"nodeSha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5",
|
||||
"containedRuntime": false,
|
||||
"passed": [
|
||||
"desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust",
|
||||
"390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop",
|
||||
"phone UI confirms original Task/Run approval and the existing Runtime executes one command",
|
||||
"original paginated diff and counted check/report display verified content from the same Task",
|
||||
"disconnect and refresh recover from persistent seq without submitting a new command or Run",
|
||||
"PWA service worker stores the shell and no API/project response",
|
||||
"desktop revocation removes mobile project content immediately on the next read while preserving the original completed tool"
|
||||
],
|
||||
"screenshots": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\desktop-certificate.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\desktop-pairing.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\mobile-task-list.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\mobile-original-approval.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\mobile-original-diff.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\mobile-original-report.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\mobile-disconnected.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\tablet-task-list.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\desktop-management-narrow.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-b3e31058-2362-47ed-9cd3-aa47fb88a44c\\mobile-revoked.png"
|
||||
],
|
||||
"errors": [],
|
||||
"viewports": [
|
||||
1440,
|
||||
390,
|
||||
768
|
||||
],
|
||||
"browser": "Microsoft Edge via Playwright; owned loopback QA relay with actual CA verification",
|
||||
"nativeSafariTrustCookiePWA": "pending-real-iPhone",
|
||||
"osTrustChanged": false,
|
||||
"certificateWarningsBypassed": false,
|
||||
"realModelRequests": 0,
|
||||
"taskId": "2b87f02a-5fa9-49e2-ad52-3dc1114307cf",
|
||||
"runId": "af0d8b0c-8ff7-4313-9217-0f9ea17e4a62"
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"testedAt": "2026-10-31T17:02:49.462Z",
|
||||
"passed": [
|
||||
"desktop request estimate, actual usage, complete goal and history identity are visible",
|
||||
"paged complete history opens actual tool result artifacts without executing tools",
|
||||
"historical and resumed Runs retain their own request records",
|
||||
"390px history, original JSON and sent-body dialogs fit and retain close controls",
|
||||
"late old history failure stays in its original scope after switching projects",
|
||||
"late old Run failure stays in its original scope after switching projects",
|
||||
"late old request-body failure stays in its original scope after switching projects",
|
||||
"context-limit pause explains the intact requirement and explicit continuation",
|
||||
"390px repeated-read pause explains the cause and explicit continuation retains the same Task",
|
||||
"desktop working evidence shows actual code, original result provenance and the current Task",
|
||||
"390px working evidence and sent request stay readable and closing the artifact retains task navigation"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"screenshots": [
|
||||
".qa/screenshots/vision-inputs-desktop-plan.png",
|
||||
".qa/screenshots/vision-inputs-desktop-history.png",
|
||||
".qa/screenshots/vision-inputs-mobile-history.png",
|
||||
".qa/screenshots/vision-inputs-mobile-original.png",
|
||||
".qa/screenshots/vision-inputs-mobile-request-body.png",
|
||||
".qa/screenshots/vision-inputs-mobile-read-pause.png",
|
||||
".qa/screenshots/vision-inputs-desktop-working-evidence.png",
|
||||
".qa/screenshots/vision-inputs-mobile-working-evidence.png"
|
||||
],
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-2dd30c54-ff76-4e1f-93b3-375781699b1c",
|
||||
"data": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-2dd30c54-ff76-4e1f-93b3-375781699b1c\\data",
|
||||
"mode": "saved synthetic context evidence; no real model or project commands executed by this UI verifier",
|
||||
"browser": "156.0.4314.50"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"testedAt": "2026-10-31T17:01:54.892Z",
|
||||
"browser": "156.0.4314.50",
|
||||
"passed": [
|
||||
"actual failing tests and four source proposals retain the original project and task",
|
||||
"reviewed changes continue the same Task through 14 real tests and model-prepared Git review",
|
||||
"review shows actual paths, diffs, tests, author and policy; cancelling leaves Git unchanged",
|
||||
"an index change after confirmation preview refuses the stale job and preserves both staged owners",
|
||||
"390px confirmation keeps file hashes, diffs and actions inside the modal",
|
||||
"double confirmation creates one four-file commit, retains owner bytes and publishes report with completion",
|
||||
"report viewing and Markdown/JSON downloads preserve verified artifact bytes and truthful acceptance limits",
|
||||
"mobile report preview closes cleanly and keeps the task input fixed",
|
||||
"unknown Git results block new submission and the explicit reconcile action restores the existing commit"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\delivery-ui-4726cb56-db05-426f-a72c-d9156145b19b\\四模块交付工程",
|
||||
"projectId": "e7862576-1c3e-4227-a902-d5051a9fb053",
|
||||
"sessionId": "afd4e81a-228f-4bc9-9fb8-d71addf50072",
|
||||
"taskId": "50e80a15-5654-4d3a-bcda-179a17805c04",
|
||||
"commit": "c302f2800db2926511a74c90538e2044176905d4",
|
||||
"recoveryCommit": "6f277a47f1173922a39d7cbdebf52c978ab741d8",
|
||||
"testCounts": {
|
||||
"baselineFailed": 13,
|
||||
"passed": 14
|
||||
},
|
||||
"model": "controlled local HTTP fixture",
|
||||
"confirmations": 2
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"url": "http://127.0.0.1:61680",
|
||||
"date": "2026-10-31T17:00:27.809Z",
|
||||
"passed": [
|
||||
"model response validation checks the tentative connection before saving",
|
||||
"a model failure after successful tools shows source, attempts and local runtime diagnosis",
|
||||
"explicit retry preserves the completed tool result without replaying the task",
|
||||
"an error question receives the actual session diagnosis and formatted answer",
|
||||
"review state exposes the review action and prevents application during a running request",
|
||||
"approved Unicode commands execute in the declared shell and retain Chinese output",
|
||||
"authentication errors do not retry and error/diagnostic controls fit a 390 px viewport",
|
||||
"stop cancels pending retry and clears running model state",
|
||||
"a transient service failure recovers within the bounded retry policy"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"modelValidation": "controlled local HTTP fixture; actual configured model is verified separately"
|
||||
}
|
||||
@@ -0,0 +1,232 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"testedAt": "2026-10-31T17:05:14.035Z",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-38cba26d-0b96-496d-bfdc-2aba8f5765d2",
|
||||
"browser": "156.0.4314.50",
|
||||
"passed": [
|
||||
"independent desktop engine entry detects the declared installation and clearly separates connection from project execution",
|
||||
"missing installations and edited directories cannot launch a check until detection succeeds",
|
||||
"UI launch seals the selected installation into the current Task/Run and renders actual startup and process-close facts",
|
||||
"original record paging, full download SHA256 and nested-dialog keyboard close preserve the exact evidence",
|
||||
"an explicit new check creates a different process and record while retaining the original check unchanged",
|
||||
"declared pending-initialize fixture stops its owned process and explicit retry preserves the stopped result",
|
||||
"the same product UI verifies the actual installed DeepSeek SDK without a prompt or configured-model call",
|
||||
"390px installation paths, source chain, original record, paging and keyboard close remain readable without page overflow",
|
||||
"late detection failure from a closed panel cannot appear in a different task or reveal its prior engine records",
|
||||
"actual host restart preserves all native and declared-fixture records with no protocol replay or project modification"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"expectedRequestFailures": [],
|
||||
"screenshots": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-38cba26d-0b96-496d-bfdc-2aba8f5765d2\\screenshots\\engines-native-desktop.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-38cba26d-0b96-496d-bfdc-2aba8f5765d2\\screenshots\\engines-record-mobile.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-38cba26d-0b96-496d-bfdc-2aba8f5765d2\\screenshots\\engines-native-mobile.png"
|
||||
],
|
||||
"starts": [
|
||||
{
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-38cba26d-0b96-496d-bfdc-2aba8f5765d2\\本地 SDK #",
|
||||
"identitySha256": "9a13d2c43568c39d67056bf84b88429066b2c6470bced7af1c90aedc7e04b209"
|
||||
},
|
||||
{
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-38cba26d-0b96-496d-bfdc-2aba8f5765d2\\本地 SDK #",
|
||||
"retry": true
|
||||
},
|
||||
{
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-38cba26d-0b96-496d-bfdc-2aba8f5765d2\\本地 SDK #",
|
||||
"identitySha256": "9a13d2c43568c39d67056bf84b88429066b2c6470bced7af1c90aedc7e04b209"
|
||||
},
|
||||
{
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-38cba26d-0b96-496d-bfdc-2aba8f5765d2\\本地 SDK #",
|
||||
"retry": true
|
||||
},
|
||||
{
|
||||
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
|
||||
"identitySha256": "65483d7f8aa644d890100a22bc52555ce91c009ba2d213b510f3da1a9ede7ff3"
|
||||
}
|
||||
],
|
||||
"nativeJob": {
|
||||
"schemaVersion": 1,
|
||||
"id": "23f586c6-64aa-4380-974f-dfa73d412127",
|
||||
"sessionId": "bce0b9f5-5d04-4589-a268-0e161cf91041",
|
||||
"projectId": "6e0ead46-ae47-403e-9226-6f3742802dc0",
|
||||
"taskId": "c29a2f05-15d7-40fe-995c-08f7ae607a0f",
|
||||
"runId": "3244423a-c1d0-4262-9e2a-f341af285ea7",
|
||||
"engineId": "deepseek-harness",
|
||||
"scope": "deepseek-sdk-connection-probe",
|
||||
"source": "user",
|
||||
"installation": {
|
||||
"engineId": "deepseek-harness",
|
||||
"name": "DeepSeek Harness",
|
||||
"profile": "sdk-minimal",
|
||||
"expectedVersion": "0.2.1-rc.2",
|
||||
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
|
||||
"capabilities": {
|
||||
"connectionProbe": true,
|
||||
"projectExecution": false,
|
||||
"prompt": false,
|
||||
"singleSessionCancel": false,
|
||||
"protocolVersionNegotiation": false,
|
||||
"cancellationUnit": "owned-process",
|
||||
"tokenStreaming": false
|
||||
},
|
||||
"limitations": [
|
||||
"当前接入核验启动、会话目录、协议错误和关闭;工程执行接入开发中。",
|
||||
"SDK没有单会话cancel或close;停止以所属独立进程为单位。",
|
||||
"SDK serverInfo.version与发行包版本分别核对,没有有效协议版本协商。",
|
||||
"SDK事件覆盖运行时会话树,idle事件不能直接判项目交付完成。"
|
||||
],
|
||||
"status": "available",
|
||||
"version": "0.2.1-rc.2",
|
||||
"entry": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\lib\\bin.js",
|
||||
"inputs": [
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\package.json",
|
||||
"bytes": 8138,
|
||||
"sha256": "d42efe9f3ff424f602f11598af8805ad25039953ebbbd3c163d67875f7e8658b",
|
||||
"relative": "apps/cli/package.json"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\lib\\bin.js",
|
||||
"bytes": 11772,
|
||||
"sha256": "80112efe368efb1a39720c7ada0af00442e5131fb2744edaaff8a3e8bb499e6f",
|
||||
"relative": "apps/cli/lib/bin.js"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\boot\\cmdline\\lib\\index.js",
|
||||
"bytes": 6973,
|
||||
"sha256": "7253190611566485f8b6f836fae6e0f2a7abbc59bb807c42e874844016e6d3a0",
|
||||
"relative": "packages/boot/cmdline/lib/index.js"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-app\\lib\\index.js",
|
||||
"bytes": 1921,
|
||||
"sha256": "cc7e6c38b0b38c0e92a0dffb45210c1dac6ef518547436e805e84b772f91a475",
|
||||
"relative": "packages/bundle/sdk-app/lib/index.js"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-minimal\\package.json",
|
||||
"bytes": 2920,
|
||||
"sha256": "0e177cbca85148207343db5afd7f12829723cf3f2afedfa8e85a5c5dcd58f604",
|
||||
"relative": "packages/bundle/sdk-minimal/package.json"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-minimal\\cordis.patch.yml",
|
||||
"bytes": 5636,
|
||||
"sha256": "464ea07c03d3639c2c387fa3a684f5d4001e7ca39f8257b361c604f19487af66",
|
||||
"relative": "packages/bundle/sdk-minimal/cordis.patch.yml"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\server\\package.json",
|
||||
"bytes": 2155,
|
||||
"sha256": "2690f99763c3e1e7bd57f680f26e53010c2a3d7c4dffe06ff64a07ae3928cb17",
|
||||
"relative": "packages/sdk/server/package.json"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\server\\lib\\index.js",
|
||||
"bytes": 16454,
|
||||
"sha256": "55412923f9f7c279f7e0b2a1e2853eaf238f390b3d84046cb9c94dc5f22a1e4a",
|
||||
"relative": "packages/sdk/server/lib/index.js"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\protocol\\package.json",
|
||||
"bytes": 1237,
|
||||
"sha256": "b030b0431d69723b5424dc2519cd4b381ec91acd22b73e0b30d6b8a19f1f2f94",
|
||||
"relative": "packages/sdk/protocol/package.json"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\protocol\\lib\\index.js",
|
||||
"bytes": 7336,
|
||||
"sha256": "371c38ca3514797d86df5f4bb78a56c40a2637294b83aababe8145bec6a20253",
|
||||
"relative": "packages/sdk/protocol/lib/index.js"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\client\\package.json",
|
||||
"bytes": 1325,
|
||||
"sha256": "ff33f2ecec2d48bb8a24397cc664fc2dd50ba49d5288eb11fea1cb12931e5d5f",
|
||||
"relative": "packages/sdk/client/package.json"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\pnpm-lock.yaml",
|
||||
"bytes": 1090222,
|
||||
"sha256": "4637cca3b89c4c8d5a147321710e597aa62ec2444a3772ab542be5690893dfe4",
|
||||
"relative": "pnpm-lock.yaml"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\vendor\\cordis\\lib\\index.js",
|
||||
"bytes": 60361,
|
||||
"sha256": "6a9394c0877ff45218818c6e815edd038f8057e1a1deb390a8d43ec81c57691e",
|
||||
"relative": "vendor/cordis/lib/index.js"
|
||||
}
|
||||
],
|
||||
"node": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
|
||||
"bytes": 93915464,
|
||||
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5",
|
||||
"version": "24.22.1"
|
||||
},
|
||||
"identitySha256": "65483d7f8aa644d890100a22bc52555ce91c009ba2d213b510f3da1a9ede7ff3",
|
||||
"serverInfo": {
|
||||
"name": "deepseek-harness-sdk-runtime",
|
||||
"version": "0.0.1"
|
||||
},
|
||||
"message": "已找到匹配版本,可验证原程序的连接与停止。"
|
||||
},
|
||||
"sdkSessionId": "0449e28f-c8c7-4c91-8682-5dc53af3c14b",
|
||||
"directory": "C:\\Users\\wangy\\AppData\\Local\\Temp\\AgentWorkbench-Engines\\23f586c6-64aa-4380-974f-dfa73d412127",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-31T17:05:08.684Z",
|
||||
"finishedAt": "2026-10-31T17:05:09.977Z",
|
||||
"requiresVerification": false,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"installationSha256": "65483d7f8aa644d890100a22bc52555ce91c009ba2d213b510f3da1a9ede7ff3",
|
||||
"readySignal": "appReady",
|
||||
"sdkSessionId": "0449e28f-c8c7-4c91-8682-5dc53af3c14b",
|
||||
"connectionId": "f7488131-3f6f-45a9-9fc8-87d6993da23c",
|
||||
"rootExited": true,
|
||||
"modelRequests": 0
|
||||
},
|
||||
"summary": "连接通过,启动、协议返回、会话目录与进程结束均已核对。",
|
||||
"contractArtifactId": "8fba128e-5c08-4c34-b8aa-9bc9e31b3ee3",
|
||||
"contractSha256": "160fde90c11a22c17c4621f1a1b1bbeaa3e7291c840edac44b5b9256cb5bc686",
|
||||
"eventId": "4e4e0ed6-dd77-4521-b485-b20b15321032",
|
||||
"pid": 25216,
|
||||
"connectionId": "f7488131-3f6f-45a9-9fc8-87d6993da23c",
|
||||
"readiness": {
|
||||
"schemaVersion": 1,
|
||||
"nonce": "9951d0dc-229a-4b35-babd-4ac1d98b301a",
|
||||
"pid": 25216,
|
||||
"signal": "appReady",
|
||||
"readyAt": "2026-10-31T17:05:09.632Z",
|
||||
"artifact": {
|
||||
"path": "C:\\Users\\wangy\\AppData\\Local\\Temp\\AgentWorkbench-Engines\\23f586c6-64aa-4380-974f-dfa73d412127\\ready.json",
|
||||
"bytes": 135,
|
||||
"sha256": "01936ebda8f001e0473123277b84eefca4d6e59c6995a86031020ab6323a8e88"
|
||||
}
|
||||
},
|
||||
"serverInfo": {
|
||||
"name": "deepseek-harness-sdk-runtime",
|
||||
"version": "0.0.1"
|
||||
},
|
||||
"reportArtifactId": "36b08f88-7d36-4b67-ac0a-d724d5e6a1c5",
|
||||
"reportSha256": "307b2b49f97f67b3a4e73972560904ce9e98b576a2dd284f1a82ae89ef42153f",
|
||||
"reportSummary": {
|
||||
"status": "verified",
|
||||
"modelRequests": 0,
|
||||
"providerRequests": 0,
|
||||
"observedResponses": 6,
|
||||
"rootExited": true
|
||||
}
|
||||
},
|
||||
"actualSdk": {
|
||||
"version": "0.2.1-rc.2",
|
||||
"identitySha256": "65483d7f8aa644d890100a22bc52555ce91c009ba2d213b510f3da1a9ede7ff3",
|
||||
"nativeMethods": 6,
|
||||
"modelRequests": 0,
|
||||
"rootExited": true
|
||||
},
|
||||
"stopScope": "declared private SDK pending-initialize fixture",
|
||||
"scope": "Independent service and data. Original 4318 Provider, tasks and credentials were not accessed."
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"testedAt": "2026-10-31T17:00:57.740Z",
|
||||
"browser": "156.0.4314.50",
|
||||
"passed": [
|
||||
"model-selected checks wait for approval and display actual counted results",
|
||||
"verified artifact preview shows the real check log and hash",
|
||||
"changed source invalidates old checks and manual confirmation runs the new plan",
|
||||
"390px task drawer, log preview, close controls and fixed composer remain operable",
|
||||
"reconnection synchronizes missed session changes in other projects",
|
||||
"budget controls pause before tools and preserve the goal across recorded runs",
|
||||
"applied proposals continue the original task into actual engineering verification"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\execution-ui-15b3b856-6727-4356-9b02-e31841c001c8\\project",
|
||||
"model": "controlled local HTTP fixture"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
* -text -whitespace
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "archives",
|
||||
"startedAt": "2026-10-31T16:56:01.349Z",
|
||||
"finishedAt": "2026-10-31T16:56:40.682Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-archives.log",
|
||||
"logBytes": 815,
|
||||
"logSha256": "ef94b986283b7873ed5acaa1cb7bf36ceb95b940da0dfe4176fe704494931f28",
|
||||
"pointer": {
|
||||
"path": ".qa/archives-validation.json",
|
||||
"sha256": "9056729e732f87754f62d649242d1c40cb5a4ae157fa434bf1acbcfa9c863f3a"
|
||||
},
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"success": true, "version": "1.18.0", "testedAt": "2026-10-31T16:56:40.626614+00:00", "archives": [{"kind": "portable", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971.zip", "files": 14293, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "ce4e15e9cde7094484993b9c6e8e337da9a819c2ef5de5321a2d0ed916b1f093"}, {"kind": "source", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971.zip", "files": 14598, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "c2c3f88c46827bf52bdd9ac635e89cec12817094179693ce1dce259b8ea40a7c"}], "extractionRoot": "D:\\AWQA18\\source-check-50e256cee80a43d3986c0482d1ca5d76\\Agent-Workbench-1.18.0-source-20261031165241971"}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "source",
|
||||
"startedAt": "2026-10-31T16:58:43.130Z",
|
||||
"finishedAt": "2026-10-31T17:35:00.720Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-source.log",
|
||||
"logBytes": 1563,
|
||||
"logSha256": "66f2c89e086ac65d4ef177680f0e1d6afed2a5f07da8ab01bdc9391f8892c521",
|
||||
"pointer": {
|
||||
"path": ".qa/source-package-validation.json",
|
||||
"sha256": "a74561c141608df0eb63f4fd138692c3cd8eda15da1f6744ff31c87b940ae764"
|
||||
},
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{"sourceRoot":"D:\\AWQA18\\s-220cfc5b","directory":"D:\\AWQA18\\s-220cfc5b\\.qa\\package-validation-df634d7b-dc52-4b61-a3cf-4d0d748c788c","nodeVersion":"v24.22.1","python":{"version":"3.10.11","pytest":"8.4.2","path":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\dev-task-plans\\.qa\\python-3.10\\Scripts\\python.exe"}}
|
||||
Source package: install
|
||||
Source package: build
|
||||
Source package: contained REA
|
||||
Source package: native DeepSeek SDK
|
||||
Source package: contained browser runtime
|
||||
Source package: compiled controlled-engine delivery
|
||||
Source package: contained companion gateway and UI
|
||||
Source package: contained model protocols and mobile streams
|
||||
Source package: contained screenshot inputs and exact Task budget resume
|
||||
Source package: tests
|
||||
Source package: actual contained Electron window
|
||||
Source package: actual contained Electron engine UI
|
||||
Source package: actual contained Electron engineering projects
|
||||
Source package: Responses SSE actual Node React Python engineering
|
||||
Source package: screenshot Task Node React Python engineering
|
||||
{"success":true,"version":"1.18.0","sourceRoot":"D:\\AWQA18\\s-220cfc5b","directory":"D:\\AWQA18\\s-220cfc5b\\.qa\\package-validation-df634d7b-dc52-4b61-a3cf-4d0d748c788c","tests":{"tests":576,"pass":576,"fail":0,"cancelled":0,"skipped":0,"todo":0},"nodeVersion":"v24.22.1","python":{"version":"3.10.11","pytest":"8.4.2","path":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\dev-task-plans\\.qa\\python-3.10\\Scripts\\python.exe"},"inputFiles":399,"buildMatchedFiles":22,"rea":true,"engine":true,"browser":true,"controlled":true}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "portable",
|
||||
"startedAt": "2026-10-31T16:56:46.844Z",
|
||||
"finishedAt": "2026-10-31T16:58:37.997Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-portable.log",
|
||||
"logBytes": 1166940,
|
||||
"logSha256": "2ab063480b37cb0f041d26d3bbb48afdf5f2bbf5ee1cdace60be208bdc1defbe",
|
||||
"pointer": {
|
||||
"path": ".qa/release-validation.json",
|
||||
"sha256": "617c30d24c741eac3c9db3599859d537d6e37f7c13ac512a6353aff5a356e00b"
|
||||
},
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "portable-companion",
|
||||
"startedAt": "2026-10-31T16:58:38.114Z",
|
||||
"finishedAt": "2026-10-31T16:58:57.276Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-portable-companion.log",
|
||||
"logBytes": 806,
|
||||
"logSha256": "253fd2a94be1784250192649772214a21ac2a1f324e294b81c4dcc5c8cf62ab3",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
PASS desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust
|
||||
PASS 390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop
|
||||
PASS phone UI confirms original Task/Run approval and the existing Runtime executes one command
|
||||
PASS original paginated diff and counted check/report display verified content from the same Task
|
||||
PASS disconnect and refresh recover from persistent seq without submitting a new command or Run
|
||||
PASS PWA service worker stores the shell and no API/project response
|
||||
PASS desktop revocation removes mobile project content immediately on the next read while preserving the original completed tool
|
||||
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\companion-ui-0791e476-493a-4d1f-961f-6c1aa084a044
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "portable-protocols",
|
||||
"startedAt": "2026-10-31T16:58:57.358Z",
|
||||
"finishedAt": "2026-10-31T16:59:12.284Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-portable-protocols.log",
|
||||
"logBytes": 715,
|
||||
"logSha256": "90e7149103adf9aa4b9dde1771e48bcf09e84c7cf1e2bf30528a41871b577fcd",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
PASS actual form saves Responses and declared stream, refresh preserves both and narrow editor remains operable
|
||||
PASS separate text, nonce tool and actual SSE probes bind only their requested capability and own attempts
|
||||
PASS actual pooled task excludes text-only before dispatch, executes original tool once and downloads SHA-matched original SSE
|
||||
PASS desktop and actual paired gateway show same bounded stream; mobile stops original HTTP with zero fragment tool dispatch or replay
|
||||
PASS truncated output keeps explicit unknown ledger, partial evidence and no automatic failover or incomplete tool execution
|
||||
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\model-protocols-ui-3d558fcd-0aec-4164-a7f0-75597641ecef
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "portable-vision",
|
||||
"startedAt": "2026-10-31T16:59:12.354Z",
|
||||
"finishedAt": "2026-10-31T16:59:29.248Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-portable-vision.log",
|
||||
"logBytes": 618,
|
||||
"logSha256": "3727f21301771f1ce696434ab99e821fc55699b6ca11c53620c80a2d476dfb32",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
PASS desktop upload, explicit route, refreshed draft, original download SHA, one paired tool and narrow task history
|
||||
PASS forged image rejects without losing task text or sending a model request
|
||||
PASS explicit budget preview and confirmation retain Task, attachment and completed tool while global capacity stays unchanged
|
||||
PASS paired TLS companion verifies same screenshot, refresh restores it and revoke clears project/image content
|
||||
PASS stopping screenshot SSE closes original HTTP and dispatches zero partial tools
|
||||
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\vision-ui-c7756327-3d6a-4992-9710-c0bc9514c460
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "prepare-install",
|
||||
"startedAt": "2026-10-31T16:56:57.035Z",
|
||||
"finishedAt": "2026-10-31T16:58:09.008Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-prepare-install.log",
|
||||
"logBytes": 256,
|
||||
"logSha256": "429e2f8ffe349f8e7726187221bc4d66a47ef8e6106331fd7eacd6ebcbb420ec",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"success":true,"appId":"3e059b93-f40c-49ec-ba16-bc05cfb65f1a","installerSha256":"939e82dfdd25c61b6b15133214fad9ffcf145e26020ddeba58f6e7a15fd6eba9","productSetupSha256":"bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6","samePayload":true}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "install",
|
||||
"startedAt": "2026-10-31T17:00:27.070Z",
|
||||
"finishedAt": "2026-10-31T17:06:27.463Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-install.log",
|
||||
"logBytes": 566,
|
||||
"logSha256": "5aef1c9a48a6b620c9fc6b76fdd1423362ab3c88b366348615fbd3967a7b38ed",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
PASS exact final installer
|
||||
PASS actual installed native bootstrap and bundled execution host
|
||||
PASS actual installed owned DPAPI credential and HTTP authentication
|
||||
PASS actual installed owned approval and bundled npm project check
|
||||
PASS actual owned Electron crash preserves final installed host and data
|
||||
PASS actual installed host restart preserves every row and loads owned saved connection
|
||||
PASS actual exact final installer uninstall preserves all owned user data
|
||||
{"success":true,"version":"1.18.0","root":"C:\\AWQA18\\i-ae83160bbada412688db38e2a36ec708","cases":7}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "formal-stage-reconcile-retry",
|
||||
"startedAt": "2026-10-31T17:49:19.620Z",
|
||||
"finishedAt": "2026-10-31T17:51:37.147Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-formal-stage-reconcile-retry.log",
|
||||
"logBytes": 218,
|
||||
"logSha256": "0ccb6593cf4b4d990b6f145a5eeaa0180cc0e55f9dea543ac5a05496a99f2b3e",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"success":true,"baseline":".qa/vision-f-formal-reconciled-before.json","staged":".qa/vision-f-formal-stage-reconcile.json","originalRowsAndArtifactsRetained":true,"newRecords":7,"newEvents":14,"installerRerun":false}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "formal-upgrade",
|
||||
"startedAt": "2026-10-31T17:51:46.066Z",
|
||||
"finishedAt": "2026-10-31T17:53:59.694Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-formal-upgrade.log",
|
||||
"logBytes": 99,
|
||||
"logSha256": "610110c10e939a6d90f1e8a0132de3d2cb65dfce2d139942b827cec0d3e5b6e2",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"success":true,"phase":"upgraded","version":"1.18.0","output":".qa/vision-f-formal-upgrade.json"}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "formal-activate",
|
||||
"startedAt": "2026-10-31T17:54:11.026Z",
|
||||
"finishedAt": "2026-10-31T18:04:42.367Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-formal-activate.log",
|
||||
"logBytes": 101,
|
||||
"logSha256": "3d8d76b55511c12e78ca45505f9f5736b32e96431a3aadfa44a6fc3fc2c57126",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"success":true,"phase":"activated","version":"1.18.0","output":".qa/vision-f-formal-activate.json"}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "formal-ui",
|
||||
"startedAt": "2026-10-31T18:04:49.153Z",
|
||||
"finishedAt": "2026-10-31T18:04:54.030Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-formal-ui.log",
|
||||
"logBytes": 266,
|
||||
"logSha256": "9886b02536725e0bf925dd76b1a4af2e9d9daeab73716940390e01379262e2fd",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{"width":1280,"passedPanels":10}
|
||||
{"width":390,"passedPanels":10}
|
||||
{"success":true,"directory":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-f-formal-ui-2ed93e46-6f94-418e-95e6-eaef94bfb46e","panels":20,"pageErrors":0,"requestFailures":0,"blockedWrites":0}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "formal-verify",
|
||||
"startedAt": "2026-10-31T18:04:59.544Z",
|
||||
"finishedAt": "2026-10-31T18:07:14.403Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-formal-verify.log",
|
||||
"logBytes": 98,
|
||||
"logSha256": "e83a5971d30a84f56054685460fb9abb97600db78b0cb4946fdef96ab3a0085e",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"success":true,"phase":"verified","version":"1.18.0","output":".qa/vision-f-formal-verify.json"}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "formal-artifacts",
|
||||
"startedAt": "2026-10-31T18:07:21.337Z",
|
||||
"finishedAt": "2026-10-31T18:07:26.753Z",
|
||||
"exitCode": 0,
|
||||
"logPath": ".qa/vision-f-formal-artifacts.log",
|
||||
"logBytes": 138,
|
||||
"logSha256": "77b507d097a906425a2f49843a9ab907f139da6756dfc2f1994162b83d17d256",
|
||||
"pointer": null,
|
||||
"unchangedInputs": true,
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"release": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"success":true,"total":1466,"checked":1466,"pages":15,"reportSha256":"39ea0b0b86230e4c99265c32ab88d4df53840dd2b4efe9574d372f091aa1f04c"}
|
||||
@@ -0,0 +1,32 @@
|
||||
import fs from 'node:fs';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { execFileSync } from 'node:child_process';
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const git = args => execFileSync('git', args, { windowsHide: true, maxBuffer: 20000000 });
|
||||
const baseline = JSON.parse(fs.readFileSync('docs/vision-inputs-release-code-baseline.json', 'utf8'));
|
||||
const tree = new Map(git(['ls-tree', '-r', '-z', baseline.codeCommit]).toString('utf8').split('\0').filter(Boolean).map(line => { const [header, name] = line.split('\t'); return [name, header.split(' ')[2]]; }));
|
||||
const exact = [], normalized = [], generated = [];
|
||||
const generator = 'examples/delivery-report/scripts/build.mjs'; assert.deepEqual(fs.readFileSync(generator), git(['show', baseline.codeCommit + ':' + generator]));
|
||||
for (const item of baseline.inputs) {
|
||||
const bytes = fs.readFileSync(item.path); assert.equal(hash(bytes), item.sha256); assert.equal(bytes.length, item.bytes);
|
||||
if (tree.has(item.path)) {
|
||||
const committed = git(['show', baseline.codeCommit + ':' + item.path]);
|
||||
if (bytes.equals(committed)) exact.push(item.path);
|
||||
else {
|
||||
const normalizedBytes = Buffer.from(bytes.toString('utf8').replaceAll('\r\n', '\n'));
|
||||
assert.deepEqual(Buffer.from(bytes.toString('utf8')), bytes, 'Only valid UTF-8 text may normalize.'); assert.deepEqual(normalizedBytes, committed, 'Difference beyond CRLF/LF: ' + item.path);
|
||||
const attr = git(['check-attr', 'text', 'eol', '--', item.path]).toString('utf8'); assert.doesNotMatch(attr, /: text: unset/); assert.match(attr, /: eol: (lf|crlf)/);
|
||||
normalized.push({ ...item, gitBytes: committed.length, gitSha256: hash(committed), attributes: attr.trim().split('\n'), scope: 'Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob.' });
|
||||
}
|
||||
} else {
|
||||
assert.ok(/^examples\/delivery-report\/dist\/(?:[^/]+\.mjs|package\.json)$/.test(item.path), 'Unexpected uncommitted frozen input: ' + item.path);
|
||||
const source = item.path.endsWith('/package.json') ? null : item.path.replace('/dist/', '/src/');
|
||||
const expected = source ? git(['show', baseline.codeCommit + ':' + source]) : Buffer.from('{"type":"module"}\n'); assert.deepEqual(bytes, expected);
|
||||
generated.push({ ...item, source, generator, generatorSha256: hash(fs.readFileSync(generator)) });
|
||||
}
|
||||
}
|
||||
assert.equal(generated.length, 5);
|
||||
const result = { success: true, at: new Date().toISOString(), codeCommit: baseline.codeCommit, inputFiles: baseline.inputs.length, exactInputs: exact.length, normalized, generated, scope: 'Every frozen source/QA/build input tied to the committed source or exact generated example derivation; unchanged build bytes independently recorded.' };
|
||||
fs.writeFileSync('.qa/vision-f-code-git-audit.json', JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, inputs: baseline.inputs.length, exact: exact.length, normalized: normalized.map(item => item.path), generated: generated.length }));
|
||||
@@ -0,0 +1,33 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
|
||||
const install = read(read('.qa/vision-f-install-location.json').result);
|
||||
assert.equal(install.success, true);
|
||||
const references = install.cases.flatMap(item => ['processLog', 'setupLog', 'uninstallLog'].filter(key => item[key]).map(key => ({ key, path: item[key], sha256: item[key + 'Sha256'] })));
|
||||
const formal = read(read('.qa/vision-f-formal-baseline-location.json').staged); assert.equal(formal.success, true);
|
||||
references.push({ key: 'setupLog', path: formal.setupLog, sha256: formal.setupLogSha256 });
|
||||
const directory = '.qa/vision-f-log-completions'; assert.equal(fs.existsSync(directory), false);
|
||||
const checked = [], completions = [];
|
||||
for (const item of references) {
|
||||
const bytes = fs.readFileSync(item.path), current = hash(bytes);
|
||||
if (current === item.sha256) { checked.push({ ...item, bytes: bytes.length, exact: true }); continue; }
|
||||
assert.equal(item.key, 'uninstallLog', 'Only the declared uninstall completion trailer may append.');
|
||||
const prefix = bytes.subarray(0, bytes.length - 199), tail = bytes.subarray(bytes.length - 199);
|
||||
assert.equal(hash(prefix), item.sha256, 'The original receipt must match the exact prefix.');
|
||||
const lines = tail.toString('utf8').split('\r\n'); assert.equal(lines.pop(), '');
|
||||
assert.deepEqual(lines.map(line => { assert.match(line, /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3} /); return line.slice(26); }),
|
||||
['Uninstallation process succeeded.', 'Removed all? Yes', 'Need to restart Windows? No', 'Log closed.']);
|
||||
const archived = path.join(directory, String(completions.length + 1) + '-original-receipt-prefix-log.txt');
|
||||
completions.push({ source: path.resolve(item.path), original: { path: archived, bytes: prefix.length, sha256: item.sha256 },
|
||||
completed: { path: path.resolve(item.path), bytes: bytes.length, sha256: current }, appendedBytes: 199, appendedText: tail.toString('utf8'), prefix });
|
||||
checked.push({ ...item, bytes: bytes.length, exact: false, exactOriginalPrefix: true });
|
||||
}
|
||||
fs.mkdirSync(directory);
|
||||
for (const item of completions) { fs.writeFileSync(item.original.path, item.prefix, { flag: 'wx' }); delete item.prefix; }
|
||||
const result = { success: true, at: new Date().toISOString(), checked, completions,
|
||||
scope: 'All declared installer/process logs match their original SHA, or the uninstall receipt matches the exact original prefix followed solely by the four fixed 199-byte success/removed-all/no-restart/closed lines. Preserve both original prefix and final log; never rewrite the original receipt.' };
|
||||
fs.writeFileSync(path.join(directory, 'index.json'), JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, references: checked.length, exact: checked.filter(item => item.exact).length, completions: completions.length }));
|
||||
@@ -0,0 +1,49 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { execFileSync } from 'node:child_process';
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
|
||||
const git = args => execFileSync('git', args, { windowsHide: true, maxBuffer: 64 * 1024 * 1024 });
|
||||
const baseline = read('docs/vision-inputs-release-code-baseline.json');
|
||||
const checked = [], manifests = [];
|
||||
for (const item of [...baseline.inputs, ...baseline.builds, ...baseline.benchmarks]) {
|
||||
const bytes = fs.readFileSync(item.path); assert.equal(bytes.length, item.bytes); assert.equal(hash(bytes), item.sha256, item.path);
|
||||
}
|
||||
function verifyIndex(file, expected) {
|
||||
const bytes = fs.readFileSync(file), indexed = git(['show', ':' + file.replaceAll('\\', '/')]);
|
||||
assert.deepEqual(indexed, bytes, 'Git index must retain original evidence bytes: ' + file);
|
||||
if (expected) { assert.equal(bytes.length, expected.bytes); assert.equal(hash(bytes), expected.sha256, file); }
|
||||
checked.push({ path: file, bytes: bytes.length, sha256: hash(bytes) });
|
||||
if(checked.length%100===0)console.log(JSON.stringify({phase:'git-index-original-bytes',verified:checked.length}));
|
||||
}
|
||||
for (const [directory, key] of [['docs/vision-inputs-ae-evidence', 'entries'], ['docs/vision-inputs-f-release-evidence', 'files']]) {
|
||||
const file = directory + '/manifest.json', manifest = read(file); verifyIndex(file);
|
||||
for (const row of manifest[key]) verifyIndex(key === 'entries' ? directory + '/' + row.file : row.archived, row);
|
||||
manifests.push({path:file,files:manifest[key].length,sha256:hash(fs.readFileSync(file))});
|
||||
}
|
||||
const documents = git(['diff','--cached','--name-only','-z']).toString('utf8').split('\0').filter(Boolean);
|
||||
for (const file of documents.filter(file => /^docs\/vision-inputs-.*\.json$/.test(file))) {
|
||||
read(file); if (!checked.some(row => row.path === file)) verifyIndex(file);
|
||||
}
|
||||
for (const file of ['licenses/jpeg-js-0.4.4-LICENSE.txt', 'licenses/pngjs-7.0.0-LICENSE.txt']) verifyIndex(file);
|
||||
const licenseAudit = read('.qa/vision-f-license-audit.json');
|
||||
for (const item of licenseAudit.records) { const bytes = fs.readFileSync(item.archived); assert.equal(bytes.length, item.bytes); assert.equal(hash(bytes), item.sha256, item.archived); }
|
||||
assert.equal(hash(fs.readFileSync('THIRD_PARTY_NOTICES.txt')), licenseAudit.notices.sha256);
|
||||
const links = [];
|
||||
for (const file of documents.filter(value => value.endsWith('.md'))) {
|
||||
const text = fs.readFileSync(file, 'utf8');
|
||||
for (const match of text.matchAll(/\[[^\]\n]*\]\(([^)\n]+)\)/g)) {
|
||||
const target = match[1].replace(/^<|>$/g, '');
|
||||
if (/^(?:https?:|codex:|app:|plugin:|mailto:|#)/.test(target)) continue;
|
||||
const local = decodeURIComponent(target.split('#')[0]); if (!local) continue;
|
||||
const resolved = path.resolve(path.dirname(file), local); assert.ok(fs.existsSync(resolved), file + ': missing local link ' + target);
|
||||
links.push({file,target});
|
||||
}
|
||||
}
|
||||
const identity = read('docs/vision-inputs-release-identity.json'); assert.equal(identity.success, true);
|
||||
const result = {success:true,at:new Date().toISOString(),codeCommit:identity.codeCommit,frozen:{inputs:baseline.inputs.length,builds:baseline.builds.length,benchmarks:baseline.benchmarks.length},manifests,indexFiles:checked.length,indexBytes:checked.reduce((total,row)=>total+row.bytes,0),checked,markdownDocuments:documents.filter(file=>file.endsWith('.md')).length,localLinks:links.length,licenseFiles:licenseAudit.availableLicenseFiles,scope:'Both evidence manifests and original evidence/index bytes verified, frozen code/builds/benchmarks unchanged, all license copies exact, modified Markdown local links resolve. This receipt is added separately to avoid self-referential hashing.'};
|
||||
const output = 'docs/vision-inputs-git-index-validation.json'; assert.equal(fs.existsSync(output), false);
|
||||
fs.writeFileSync(output, JSON.stringify(result,null,2)+'\n',{flag:'wx'});
|
||||
console.log(JSON.stringify({success:true,indexFiles:result.indexFiles,indexBytes:result.indexBytes,markdownDocuments:result.markdownDocuments,localLinks:result.localLinks,output}));
|
||||
@@ -0,0 +1,26 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const lock = JSON.parse(fs.readFileSync('package-lock.json', 'utf8')), release = JSON.parse(fs.readFileSync('releases/latest.json', 'utf8'));
|
||||
const records = [];
|
||||
for (const [location] of Object.entries(lock.packages)) {
|
||||
if (!location.startsWith('node_modules/') || !fs.existsSync(location)) continue;
|
||||
const meta = JSON.parse(fs.readFileSync(path.join(location, 'package.json'), 'utf8'));
|
||||
for (const name of fs.readdirSync(location).filter(name => /^(licen[cs]e|copying)([.-].*)?$/i.test(name) && fs.statSync(path.join(location, name)).isFile())) {
|
||||
const original = path.join(location, name), archived = path.join('licenses', (meta.name + '-' + meta.version + '-' + name).replace(/[^a-z0-9_.-]/gi, '_') + '.txt');
|
||||
const expected = Buffer.from(fs.readFileSync(original, 'utf8')); assert.deepEqual(fs.readFileSync(archived), expected);
|
||||
for (const root of [release.portableRoot, release.sourceRoot]) assert.deepEqual(fs.readFileSync(path.join(root, archived)), expected);
|
||||
records.push({ original, archived, bytes: expected.length, sha256: hash(expected) });
|
||||
}
|
||||
}
|
||||
const notices = fs.readFileSync('THIRD_PARTY_NOTICES.txt');
|
||||
for (const root of [release.portableRoot, release.sourceRoot]) {
|
||||
assert.deepEqual(fs.readFileSync(path.join(root, 'THIRD_PARTY_NOTICES.txt')), notices);
|
||||
for (const name of fs.readdirSync('licenses')) { const bytes = fs.readFileSync(path.join('licenses', name)); assert.deepEqual(fs.readFileSync(path.join(root, 'licenses', name)), bytes); }
|
||||
}
|
||||
const result = { success: true, at: new Date().toISOString(), dependencyLicenseCopies: records.length, availableLicenseFiles: fs.readdirSync('licenses').length,
|
||||
notices: { bytes: notices.length, sha256: hash(notices) }, records, scope: 'Generated dependency license texts match each installed locked package; every available license and notice exactly matches both immutable package directories. Original upstream whitespace is preserved, with a scoped Git whitespace exemption for those verbatim texts.' };
|
||||
fs.writeFileSync('.qa/vision-f-license-audit.json', JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, dependencyLicenseCopies: result.dependencyLicenseCopies, availableLicenseFiles: result.availableLicenseFiles, noticesSha256: result.notices.sha256 }));
|
||||
@@ -0,0 +1,88 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import net from 'node:net';
|
||||
import assert from 'node:assert/strict';
|
||||
import { execFile } from 'node:child_process';
|
||||
import { promisify } from 'node:util';
|
||||
import { DatabaseSync, backup } from 'node:sqlite';
|
||||
import { publicSnapshot, compareOriginalState, hash } from './vision-f-state.mjs';
|
||||
import { InstallationManager, validateInstalledVersion } from '../src/core/desktop/install-manager.mjs';
|
||||
import { HostController } from '../src/core/desktop/host-controller.mjs';
|
||||
import { observeWindowsProcess } from '../src/core/desktop/process-identity.mjs';
|
||||
import { projectEnvironment } from '../src/core/process-environment.mjs';
|
||||
import { upgradeRunning } from '../scripts/upgrade-running.mjs';
|
||||
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
|
||||
const save = (file, value) => fs.writeFileSync(file, JSON.stringify(value, null, 2) + '\n', { flag: 'wx' });
|
||||
const mode = process.argv[2]; assert.ok(['stage', 'upgrade', 'activate', 'verify'].includes(mode));
|
||||
const release = read('releases/latest.json'); assert.equal(release.installer.version, '1.18.0'); assert.equal(release.installer.qaFixture, null);
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
for (const phase of ['archives', 'source', 'portable', 'portable-companion', 'portable-protocols', 'portable-vision', 'install']) {
|
||||
const result = read('.qa/vision-f-' + phase + '-result.json'); assert.equal(result.success, true, phase);
|
||||
assert.equal(result.unchangedInputs, true); assert.equal(result.release.setupSha256, release.installer.sha256);
|
||||
}
|
||||
const source = read('.qa/vision-f-source-original-validation.json'); assert.equal(source.success, true); assert.ok(source.tests.tests >= 576); assert.equal(source.tests.pass, source.tests.tests); for (const key of ['fail', 'cancelled', 'skipped', 'todo']) assert.equal(source.tests[key], 0);
|
||||
const allUi = read('docs/vision-inputs-all-ui-validation.json'); assert.equal(allUi.success, true); assert.equal(allUi.version, '1.18.0'); assert.equal(allUi.results.length, 26); assert.equal(allUi.groups, 196);
|
||||
assert.equal(source.actualVision.success, true); assert.equal(source.actualVision.passed.length, 5); assert.equal(source.actualVisionEngineering.success, true);
|
||||
assert.deepEqual(source.actualVisionEngineering.results.map(value => value.check.results[0].tests.passed), [8, 9, 10]);
|
||||
const location = read('.qa/vision-f-install-location.json'), installed = read(location.result);
|
||||
assert.equal(installed.success, true); assert.equal(installed.cases.length, 7); assert.equal(installed.installer.productSetup.sha256, release.installer.sha256);
|
||||
const installRoot = 'C:/Users/wangy/AppData/Local/Programs/AgentWorkbench';
|
||||
const originalPointer = read(path.join(installRoot, 'current.json')), dataRoot = fs.realpathSync.native(originalPointer.dataRoot);
|
||||
const candidate = path.resolve(installRoot, 'versions', release.installer.candidateDirectory), url = 'http://127.0.0.1:4318', port = 4318, expectedPid = 36552;
|
||||
const baselineLocation=fs.existsSync('.qa/vision-f-formal-baseline-location.json')?read('.qa/vision-f-formal-baseline-location.json'):null;
|
||||
const output = '.qa/vision-f-formal-' + mode + '.json', beforeFile = baselineLocation?.before??'.qa/vision-f-formal-before.json'; assert.equal(fs.existsSync(output), false, 'Preserve a phase result instead of repeating the operation.');
|
||||
const startedAt = new Date().toISOString();
|
||||
const originalProcess = () => { const value = observeWindowsProcess(expectedPid); assert.ok(value); assert.equal(value.createdAt, '2026-10-31T06:30:34.359Z'); assert.equal(hash(fs.readFileSync(value.executable)), 'd702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5'); return value; };
|
||||
async function inspectorClosed() { return new Promise((resolve, reject) => { const socket = net.createConnection({ host: '127.0.0.1', port: 9229 }); socket.setTimeout(1500); socket.once('connect', () => { socket.destroy(); reject(Error('An inspector is already open.')); }); socket.once('timeout', () => { socket.destroy(); reject(Error('Inspector state could not be verified.')); }); socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve(true) : reject(error); }); }); }
|
||||
let result;
|
||||
try {
|
||||
originalProcess(); await inspectorClosed();
|
||||
if (mode === 'stage') {
|
||||
assert.equal(fs.existsSync(candidate), false); assert.equal(fs.existsSync(beforeFile), false);
|
||||
const before = await publicSnapshot(url, dataRoot); assert.equal(before.version, '1.17.0'); assert.equal(before.pid, expectedPid); assert.deepEqual(before.active, []);
|
||||
const controller = new HostController({ appRoot: before.runtimeRoot, dataRoot, port, nodePath: process.execPath }); assert.ok(await controller.connect());
|
||||
const status = await controller.status(); assert.equal(status.desktopWindows.count, 0); assert.equal(status.activity.active, false);
|
||||
save(beforeFile, before); save('.qa/vision-f-formal-original-pointer.json', originalPointer);
|
||||
const db = new DatabaseSync(path.join(dataRoot, 'workbench.sqlite'), { readOnly: true });
|
||||
const backupPath = path.resolve('.qa/vision-f-formal-original.sqlite'); assert.equal(fs.existsSync(backupPath), false);
|
||||
try { await backup(db, backupPath); } finally { db.close(); }
|
||||
const copy = new DatabaseSync(backupPath, { readOnly: true });
|
||||
try { assert.equal(copy.prepare('PRAGMA quick_check').get().quick_check, 'ok'); } finally { copy.close(); }
|
||||
save('.qa/vision-f-formal-private-backup-receipt.json', { path: backupPath, bytes: fs.statSync(backupPath).size, sha256: hash(fs.readFileSync(backupPath)), credentialsExtracted: false, committed: false });
|
||||
compareOriginalState(before, await publicSnapshot(url, dataRoot));
|
||||
const log = path.resolve('.qa/vision-f-formal-setup.log'); assert.equal(fs.existsSync(log), false);
|
||||
const execution = await promisify(execFile)(release.installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/TASKS=desktopicon', '/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=' + port, '/STAGE_ONLY=1', '/LOG=' + log],
|
||||
{ windowsHide: true, env: projectEnvironment(), timeout: 900000, maxBuffer: 1024 * 1024 });
|
||||
const identity = validateInstalledVersion(candidate), after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after);
|
||||
assert.equal(after.version, '1.17.0'); assert.deepEqual(read(path.join(installRoot, 'current.json')), originalPointer);
|
||||
result = { success: true, phase: 'staged', version: '1.18.0', candidateIdentity: identity.identitySha256, manifestSha256: identity.manifestSha256, retained, setupLog: log, setupLogSha256: hash(fs.readFileSync(log)), setupOutputEmpty: execution.stdout === '' };
|
||||
} else {
|
||||
const staged = read(baselineLocation?.staged??'.qa/vision-f-formal-stage.json'), before = read(beforeFile); assert.equal(staged.success, true); assert.equal(staged.setupSha256, release.installer.sha256);
|
||||
const identity = validateInstalledVersion(candidate); assert.equal(identity.identitySha256, staged.candidateIdentity);
|
||||
const current = await publicSnapshot(url, dataRoot); compareOriginalState(before, current); assert.deepEqual(current.active, []);
|
||||
if (mode === 'upgrade') {
|
||||
assert.equal(current.version, '1.17.0');
|
||||
const info = read(path.join(dataRoot, 'service-info.json')); assert.equal(info.pid, expectedPid);
|
||||
const upgraded = await upgradeRunning({ url, pid: expectedPid, currentRoot: info.appRoot, handlerRoot: current.runtimeRoot, newRoot: candidate });
|
||||
assert.equal(upgraded.connectionPreserved, true);
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after); assert.equal(after.version, '1.18.0'); assert.equal(after.runtimeRoot, candidate);
|
||||
await inspectorClosed(); save('.qa/vision-f-formal-after-upgrade.json', after);
|
||||
result = { success: true, phase: 'upgraded', version: '1.18.0', upgraded, retained, currentProviderPreserved: true };
|
||||
} else {
|
||||
assert.equal(read('.qa/vision-f-formal-upgrade.json').success, true); assert.equal(current.version, '1.18.0'); assert.equal(current.runtimeRoot, candidate);
|
||||
let activated = null;
|
||||
if (mode === 'activate') { activated = await new InstallationManager({ installRoot, dataRoot, candidateRoot: candidate, port }).activate(); assert.equal(activated.phase, 'activated'); assert.equal(activated.hostRetained, false, 'Activation must not upgrade the already migrated handler again.'); }
|
||||
const controller = new HostController({ appRoot: candidate, dataRoot, port, nodePath: process.execPath }); assert.ok(await controller.connect()); const status = await controller.status();
|
||||
assert.equal(status.identity.pid, expectedPid); assert.equal(status.activity.active, false);
|
||||
const gateway = await controller.api('/companion'); assert.equal(gateway.enabled, false); assert.deepEqual(gateway.devices, []); assert.equal(gateway.certificate, null);
|
||||
const pointer = read(path.join(installRoot, 'current.json')); assert.equal(pointer.active.directory, release.installer.candidateDirectory); assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
|
||||
assert.equal(fs.realpathSync.native(pointer.dataRoot), dataRoot); assert.equal(hash(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe'))), hash(fs.readFileSync(path.join(release.portableRoot, 'AgentWorkbench.exe'))));
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after); await inspectorClosed(); save('.qa/vision-f-formal-after-' + mode + '.json', after);
|
||||
result = { success: true, phase: mode === 'activate' ? 'activated' : 'verified', version: '1.18.0', activated, identity: status.identity, pointer, retained, companion: { enabled: gateway.enabled, devices: gateway.devices.length, certificate: gateway.certificate }, currentProviderPreserved: true,
|
||||
counts: { projects: after.projects, sessions: after.database.sessionIds.length, records: after.database.tables.records.count, events: after.database.tables.events.count, artifacts: after.persistent.artifacts.length }, inspectorClosed: true };
|
||||
}
|
||||
}
|
||||
} catch (error) { result = { success: false, phase: mode, error: error.stack }; process.exitCode = 1; }
|
||||
save(output, { ...result, startedAt, finishedAt: new Date().toISOString(), installRoot, dataRoot, candidate, setupSha256: release.installer.sha256, originalProcess: originalProcess(), realModelRequests: 0,
|
||||
scope: 'Accepted product setup stages the existing install, one in-memory handler upgrade preserves the original PID/Provider, pointer activation and final read-only validation. Every original table/row, all session exports and artifact bytes compared; no model Key extraction or QA certificate/device migration.' });
|
||||
console.log(JSON.stringify({ success: result.success, phase: result.phase, version: result.version, output, ...(result.error ? { error: result.error } : {}) }));
|
||||
@@ -0,0 +1,65 @@
|
||||
import fs from 'node:fs';
|
||||
import assert from 'node:assert/strict';
|
||||
const read = file => fs.readFileSync(file, 'utf8');
|
||||
const identity = JSON.parse(read('docs/vision-inputs-release-identity.json'));
|
||||
assert.equal(identity.success, true); assert.equal(identity.version, '1.18.0');
|
||||
assert.equal(identity.independentSource.tests.pass, 576); assert.equal(identity.ui.groups, 196);
|
||||
const c = identity.formal.counts;
|
||||
const summary = `1.18.0完整本地交付:PNG/JPEG工程截图、原图/发送副本SHA、Chat/Responses实际视觉输入、按任务能力选池、独立视觉检测和具体预算诊断已实现;冻结预览确认后在同Task新建Run续接,原完成/未知工具不重放。独立源码576/576、26类196组历史UI、随包原生窗口7项/原生流程9组/桌面三工程16节点、Responses三工程13节点、新截图三工程7节点及Node8/8、React9/9、Python10/10通过;源码/便携各7组伴随端、5组协议和5组视觉流程,同载荷隔离安装/重启/卸载7组、正式20页及原生回看通过。正式PID36552/Provider保持,${c.projects}项目/${c.sessions}全部会话/${c.records}记录/${c.events}事件,全部表每行/会话导出/模型中心/工件原字节保持;${identity.formal.artifactRecords}条工件和${identity.formal.blobFiles}个去重文件核对通过,9229关闭。手机新增截图只读观察/SHA/下载,正式网关保持关闭、无QA设备或证书迁入。本轮验收发起真实模型请求0;安装期间工作台新增的原1.17调用单独保留,不计为1.18视觉验收。真实模型视觉工程/Purge收益及新增iPhone流程实机仍分别待验。`;
|
||||
const links = '见[1.18验收](QA-1.18.md)、[回顾](RETROSPECTIVE-1.18.md)与[发行身份](vision-inputs-release-identity.json)。';
|
||||
const edits = new Map();
|
||||
const current = file => edits.get(file) ?? read(file);
|
||||
const put = (file, text) => edits.set(file, text);
|
||||
function paragraph(file, prefix, text) {
|
||||
const parts = current(file).split(/\r?\n\r?\n/), i = parts.findIndex(p => p.startsWith(prefix));
|
||||
assert.ok(i >= 0, file + ': ' + prefix); parts[i] = text; put(file, parts.join('\n\n'));
|
||||
}
|
||||
function replace(file, from, to) { const text = current(file); assert.ok(text.includes(from), file + ': missing text'); put(file, text.replace(from, to)); }
|
||||
function prepend(file, text) { const value = current(file), end = value.indexOf('\n'); put(file, value.slice(0, end + 1) + '\n' + text + '\n' + value.slice(end + 1)); }
|
||||
function row(file, prefix, text) { const rows = current(file).split(/\r?\n/), i = rows.findIndex(p => p.startsWith(prefix)); assert.ok(i >= 0, file + ': ' + prefix); rows[i] = text; put(file, rows.join('\n')); }
|
||||
function append(file, text) { put(file, current(file) + '\n\n' + text + '\n'); }
|
||||
replace('README.md', '1.17.0已完成本地正式升级。', '1.17.0历史交付模型协议、流式和能力路由。');
|
||||
replace('README.md', '模型声明和实际检测分别显示;视觉/语音输入仍属后续开发。', '该版本的模型声明和实际检测分别显示;视觉输入由1.18补齐,语音仍为后续能力。');
|
||||
prepend('README.md', '1.18.0已完成本地正式升级。可为工程任务添加PNG/JPEG截图,核对实际视觉选路及原图/发送副本;预算暂停会显示具体分解,预览确认后继续同一Task。独立源码576项、196组历史UI及截图Node/React/Python工程通过,原项目、会话和模型连接保持。见[工作台](http://127.0.0.1:4318/?release=1.18.0)、[截图与续接](docs/INPUT-ATTACHMENTS.md)、[验收](docs/QA-1.18.md)、[发行身份](docs/vision-inputs-release-identity.json)和[下一阶段](docs/PLAN-1.19.md)。');
|
||||
replace('README.md', '下一[1.18工程附件、视觉输入与长任务续接](docs/PLAN-1.18.md)按完整工程流程推进。', '1.18工程截图、视觉选路与预算续接已完整本地交付;下一[1.19项目上下文缓存与长任务效率](docs/PLAN-1.19.md)先测量已有复用机制,再按工程证据扩展。');
|
||||
replace('README.md', 'Windows x64 1.15桌面/便携包自带', 'Windows x64 1.18桌面/便携包自带');
|
||||
replace('README.md', '最终1.15安装/发行状态见[QA-1.15](docs/QA-1.15.md)。', '当前安装/发行状态见[QA-1.18](docs/QA-1.18.md)。');
|
||||
replace('README.md', ';桌面安装端、手机配对及其他外部引擎按后续阶段继续建设。', ';Windows桌面与手机伴随端已交付,其他REA工具及引擎适配按后续契约推进。');
|
||||
paragraph('README.md', '支持 Chat Completions 的', '支持Chat Completions的tools/tool_calls/tool_call_id和Responses的实际工具Items/call_id,按连接协议请求/chat/completions或/responses。填写服务实际提供的接口根地址,例如Ollama http://127.0.0.1:11434/v1、vLLM http://127.0.0.1:8000/v1,工作台不强制添加/v1。可读取模型列表或直接填写名称;工具/流式/视觉能力按声明及明确范围的实际检测分别显示。1.18工程截图经PNG/JPEG校验及派生后发送,视觉任务在租约前排除不兼容模型;见[截图输入契约](docs/INPUT-ATTACHMENTS.md)。');
|
||||
prepend('CHANGELOG.md', '## 1.18.0 · 工程截图、视觉选路与预算续接\n\n- 支持完整解码PNG/JPEG、方向归正、有界发送副本、原图/副本SHA和Task所属引用;手机按观察权限核对/下载。\n- Chat/Responses发送实际图像输入,在模型租约前排除不兼容成员;视觉检测绑定连接和凭据修订。\n- 预算暂停显示输入/图像/工具/输出与累计额度分解,通过冻结预览明确续接同Task,保留完成和未知工具。\n- 修复预算预览显示被视觉排除成员、时间单位及窄屏触控;576项独立源码、196组历史UI、三类截图工程和保留状态升级通过。真实视觉推理收益及新增iPhone实机另行验收。');
|
||||
prepend('docs/VALIDATION.md', '## 1.18 · 工程截图、视觉输入与同Task续接(完整本地交付)\n\n' + summary + ' ' + links);
|
||||
paragraph('docs/CAPABILITIES.md', '1.17当前完整交付:', '1.17历史交付:' + current('docs/CAPABILITIES.md').split(/\r?\n\r?\n/).find(p => p.startsWith('1.17当前完整交付:')).slice('1.17当前完整交付:'.length));
|
||||
prepend('docs/CAPABILITIES.md', summary + ' ' + links);
|
||||
row('docs/CAPABILITIES.md', '| C14 ', '| C14 模型协议与路由 | Chat/Responses、有界SSE、能力筛选/检测、固定Run路由与已验证格式导入保持;1.18新增实际PNG/JPEG输入、视觉前选池和修订绑定probe,语音待做 | ModelProvider能力声明与实测、流式文本/工具参数、模型配置快照、按任务角色路由与可解释回退 | CX-2、DS-1 / models / M1、M3 | 支持/不支持的工具/流式/视觉能力可见;Run绑定实际模型;故障不串结果或重放工具 |');
|
||||
row('docs/CAPABILITIES.md', '| C15 ', '| C15 预算与用量 | 完整请求预检、Run/Task/worker累计预算、unknown usage保持;1.18新增具体输入/图像/响应分解、冻结预览及同Task单Run续接。图像为本地预留,实际价格/费用待做 | 时间、token、费用、步骤、重试与worker总预算;无进展检测;可配置价格与未知usage标记 | CC-2、DS-2 / models、tasks / M1–M4 | 子任务/重试纳入总预算;耗尽时保存检查点;缺失usage不伪造准确费用 |');
|
||||
row('docs/CAPABILITIES.md', '| C24 ', '| C24 工程能力评测 | 固定40份基准、Node/React/Python真实工具链、父审查/Git和失败保持;1.18新增截图工程7节点,两视口React各12步及8/8、9/9、10/10;真实模型自主完成率和视觉/Purge收益待验 | 封存真实工程任务、独立验收、重复运行和错误分类;追踪人工介入/成本/恢复 | 全部目标 / evaluation、artifacts / M1–M6 | 发布能力可链接实际任务记录;报告含失败样本与环境,固定回答不替代模型推理评测 |');
|
||||
replace('docs/MILESTONE-AUDIT.md', '## 当前节点:1.17完整本地交付', '## 1.17历史节点:完整本地交付');
|
||||
prepend('docs/MILESTONE-AUDIT.md', '## 当前节点:1.18完整本地交付\n\n' + summary + ' ' + links + ' 下一[1.19方案](PLAN-1.19.md)聚焦已有工程上下文复用、失效与长任务效率,尚未实现。以下旧节点保留。');
|
||||
paragraph('docs/PRODUCT-PLAN.md', '更新:', '更新:2026-10-31。当前正式基线1.18.0。' + summary + ' ' + links + ' 下一[1.19缓存与效率](PLAN-1.19.md)仅方案,先测量当前机制再开发。');
|
||||
paragraph('docs/NEXT-STEPS.md', '更新:', '更新:2026-10-31。' + summary + ' ' + links);
|
||||
paragraph('docs/NEXT-STEPS.md', '当前接续:', '当前接续:1.18 A–F本地开发/发行已完成,真实模型视觉工程及新增iPhone实机单列待验。下一[1.19项目上下文缓存与长任务效率](PLAN-1.19.md)先记录当前SHA解析复用、冷/热/失效实测,再决定扩展;不把缓存命中等同于token节省,不缓存工具副作用或凭据。每切片保留原失败、完成回顾和本地Git。');
|
||||
row('docs/NEXT-STEPS.md', '| 5:', '| 5:模型与多模态(1.17协议/流式、1.18截图/视觉完成) | 工程截图、视觉选路、预算分解与同Task续接已交付;下一1.19研究已有上下文复用/失效;语音后续独立实现 | 每种协议的工具调用/用量/取消实测;凭据和附件隔离 | 截图工程有实际协议/测试/Git,真实视觉推理与iPhone新增流程单列;缓存绑定项目/权限/源码版本并可关闭/清除;原失败可核查 |');
|
||||
paragraph('docs/PLAN-1.18.md', '本文件是后续方案', 'A–F已完成本地实现、完整独立验收、保留状态升级和回顾,实际结论见[QA-1.18](QA-1.18.md)。本文保留原范围及门槛:E原先列出的iPhone文件选择/旋转/弱网实机并未在本轮完成;最终手机范围为原observe权限下的图片读取/SHA/下载,上传及预算管理留在电脑端。Edge390视口/自有TLS与真实模型视觉推理分别记录,不替代实机或真实收益。下一[1.19](PLAN-1.19.md)仍仅方案。');
|
||||
replace('docs/PLAN-1.18.md', '# 1.18 后续方案:', '# 1.18 实施方案与交付范围:');
|
||||
replace('docs/INPUT-ATTACHMENTS.md', '1.18开发中。', '1.18已完整本地交付,实际验收见[QA-1.18](QA-1.18.md)。');
|
||||
paragraph('docs/QA-1.18.md', '开发基线0d1ab74', '开发基线0d1ab74,分支feat/vision-attachments-1.18。最终已完整本地交付:' + summary + ' 不可变' + identity.immutableRelease + ',产品/QA输入来源' + identity.codeCommit + ';见[身份](vision-inputs-release-identity.json)。');
|
||||
replace('docs/QA-1.18.md', '## A–C:', '以下切片记录保留当时的失败/待验描述,最终状态以文末F正式交付及发行身份为准。\n\n## A–C:');
|
||||
append('docs/QA-1.18.md', '## F最终独立发行和正式交付\n\n' + summary + '\n\n399输入/22构建/40原基准冻结保持;372输入与Git原blob严格一致,22仅仓库声明CRLF/LF差异,5个示例生成文件逐字节对应已提交生成器。源码归档14,598文件同卷改短物理路径后逐一SHA保持,独立离线安装/构建、576项完整整轮和全部原生/工程门槛通过。便携14,293文件原ZIP、实际随包Node/REA/SDK/Edge及受控工程通过;安装使用同载荷独立QA登记,正式产品安装器另外stage,原处理器只升级一次。\n\n原失败、完整成功及原字节见[封存清单](vision-inputs-f-release-evidence/manifest.json)。首次完整UI漏两个Purge来源环境变量为验收执行器失败,原结果独立保留;修正后整轮26类196组通过。卸载日志延迟终结若有追加,仅接受与原SHA严格对应的前缀和固定199字节四行,前缀与最终日志分别封存,不改原收据。包内说明保留构建时快照,最终本地Git/验收由独立ACCEPTANCE绑定,不回写原包。');
|
||||
replace('docs/RETROSPECTIVE-1.18.md', '## F:尚待完成', '## F:发行前的门槛记录');
|
||||
const stage = JSON.parse(read('.qa/vision-f-formal-stage.json'));
|
||||
const seconds = Math.round((Date.parse(stage.finishedAt) - Date.parse(stage.startedAt)) / 1000);
|
||||
const reconciliation = JSON.parse(read(identity.formal.baselineReconciliation.receipt));
|
||||
assert.equal(reconciliation.success,true);assert.equal(reconciliation.installerRerun,false);
|
||||
const concurrent = '正式stage首次核对保留原失败:安装期间原1.17工作台发生一次已完成模型运行及配置修订/模型池移除旧默认成员,新增7记录、14事件、3工件文件,旧记录/消息/事件/工件保持。没有覆盖原配置或重跑安装;对全部差异逐项核对后,保留最新空闲全量快照与私有备份,再从已安装候选续验,后续比较仍严格逐字段/逐行/逐字节。原调用不是本轮验收器发起,也不作为1.18视觉收益结论。续验首轮误将legacy摘要事件数组当完整事件表,原失败保持;改按实际一条摘要及数据库14条原事件分别核对后完成。';
|
||||
append('docs/QA-1.18.md','## 正式安装期间的并行使用与续验\n\n'+concurrent+' 证据见发行身份formal.baselineReconciliation和原件清单。');
|
||||
append('docs/RETROSPECTIVE-1.18.md', '## F最终回顾及下一阶段\n\n' + summary + '\n\n本阶段保持原持久记录归属、原工具执行与已封存请求,扩展真实截图输入及可解释的预算续接。工程通过证明协议和实际工具交付,未证明任意模型的视觉能力、所有客户端格式或自主成功率。原生回看观察到1.18截图入口,旧任务仍保持原预算错误;没有启动正式原任务或补造其分解。\n\n正式stage实际' + seconds + '秒,包含完整候选清单、原数据库/导出和工件核对。下一[PLAN-1.19](PLAN-1.19.md)先测已有工程索引的SHA解析复用,再扩有界缓存、严格失效及可见效率;完整性核验仍保持。语音、通用电脑控制、更多引擎适配及受控自我迭代继续分别推进。新增iPhone流程与真实模型视觉/Purge收益仍待验,原1.16用户实机结论保持。');
|
||||
append('docs/RETROSPECTIVE-1.18.md', '## 并行使用的真实边界\n\n'+concurrent+' 安装日志“成功”与安装进程退出是两个时点,不能用其中一个冒充完整阶段结束;本次同时记录原日志、结束码、逐文件验证及明确续验基线。前述stage耗时是首次尝试时间,包含并行使用导致的核对拒绝。');
|
||||
paragraph('AGENTS.md', '1.17.0完整本地交付:', summary + '不可变' + identity.immutableRelease + ',产品/QA输入来源' + identity.codeCommit + '。原件见docs/vision-inputs-f-release-evidence/manifest.json和docs/vision-inputs-release-identity.json,下一PLAN-1.19仅方案。');
|
||||
replace('AGENTS.md', '当前1.17.0,沿用用户手动启动的PID36552与原Provider', '当前1.18.0,沿用用户手动启动的PID36552与原Provider');
|
||||
replace('AGENTS.md', '当前运行目录及数据身份以docs/model-protocols-release-identity.json为准', '当前运行目录及数据身份以docs/vision-inputs-release-identity.json为准');
|
||||
replace('task_plan.md', '6. [in_progress] F:含附件工程、完整历史回归、独立发行及保留状态升级、原生回看/证据/Git。', '6. [complete] F:' + summary + '399输入/22构建/40基准及原失败/成功原件封存,独立ACCEPTANCE绑定最终Git;下一PLAN-1.19仅方案。');
|
||||
append('findings.md', '## 1.18最终结论\n\n' + summary + '\n\n输入引用需要遵循持久归属,能力排除先于租约,预算预览显示实际候选;本地图像预留、上游计费和视觉推理质量分别记录。下一阶段先测量ProjectIndex现有SHA复用,不重复造缓存,也不把解析命中当token节省。');
|
||||
append('progress.md', '## 1.18 A–F完整本地交付\n\n' + summary + '\n\n不可变' + identity.immutableRelease + ',输入来源' + identity.codeCommit + ',封存' + identity.evidence.files + '份/' + identity.evidence.bytes + '字节。阶段回顾、能力矩阵及下一1.19方案已同步;准备最后原字节/链接/索引核对及本地Git,不推送远端。');
|
||||
assert.ok(!summary.includes('undefined'));
|
||||
for (const [file, text] of edits) fs.writeFileSync(file, text);
|
||||
console.log(JSON.stringify({ success: true, version: identity.version, edited: [...edits.keys()], summary }));
|
||||
@@ -0,0 +1,19 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { execFileSync } from 'node:child_process';
|
||||
const folders = ['src', 'tests', 'scripts', 'benchmarks', 'public', 'examples', 'research'];
|
||||
const top = ['package.json', 'package-lock.json', 'vite.config.ts', 'tsconfig.json', 'index.html', 'mobile.html', '.gitattributes', '.gitignore', 'Start-Desktop.cmd', 'Start-Workbench.cmd', 'Stop-Workbench.cmd'];
|
||||
assert.equal(execFileSync('git', ['status', '--porcelain', '--', ...folders, ...top], { encoding: 'utf8', windowsHide: true }).trim(), '', 'All executable and QA inputs must be committed.');
|
||||
const files = (root, relative = '') => fs.readdirSync(path.join(root, relative), { withFileTypes: true }).sort((a, b) => a.name.localeCompare(b.name)).flatMap(entry => {
|
||||
const file = path.join(relative, entry.name); return entry.isDirectory() ? files(root, file) : [path.join(root, file)];
|
||||
});
|
||||
const rows = names => names.sort().map(file => { const bytes = fs.readFileSync(file); return { path: file.replaceAll('\\', '/'), bytes: bytes.length, sha256: createHash('sha256').update(bytes).digest('hex') }; });
|
||||
const version = JSON.parse(fs.readFileSync('package.json')).version; assert.equal(version, '1.18.0');
|
||||
const codeCommit = execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8', windowsHide: true }).trim();
|
||||
const inputs = rows(folders.flatMap(folder => files(folder)).concat(top)), builds = rows(['dist-client', 'dist-server', 'dist-desktop'].flatMap(folder => files(folder))), benchmarks = rows(files('benchmarks'));
|
||||
const result = { success: true, version, codeCommit, capturedAt: new Date().toISOString(), inputs, builds, benchmarks,
|
||||
scope: 'All executable source/test/QA/build inputs including mobile.html, all client/mobile/server/desktop build bytes and original benchmark inputs. Current workspace regression and current Responses engineering and native observation evidence are separate from final independently extracted source and contained release acceptance.' };
|
||||
for (const file of ['docs/vision-inputs-release-code-baseline.json', '.qa/vision-inputs-release-code-baseline.json']) fs.writeFileSync(file, JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, version, codeCommit, inputs: inputs.length, builds: builds.length, benchmarks: benchmarks.length }));
|
||||
@@ -0,0 +1,18 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { spawn } from 'node:child_process';
|
||||
import { projectEnvironment } from '../src/core/process-environment.mjs';
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const baseline = JSON.parse(fs.readFileSync('docs/vision-inputs-release-code-baseline.json'));
|
||||
function unchanged() { for (const item of [...baseline.inputs, ...baseline.builds, ...baseline.benchmarks]) assert.equal(hash(fs.readFileSync(item.path)), item.sha256, item.path); }
|
||||
assert.equal(baseline.version, '1.18.0'); unchanged();
|
||||
const logPath='.qa/vision-f-package.log'; assert.equal(fs.existsSync(logPath), false);
|
||||
fs.writeFileSync('.qa/vision-f-prior-latest.json', fs.readFileSync('releases/latest.json'), {flag:'wx'});
|
||||
const startedAt=new Date().toISOString(), log=fs.createWriteStream(logPath,{flags:'wx'});
|
||||
const child=spawn(process.execPath,['scripts/package.mjs','--immutable'], {windowsHide:true, env:projectEnvironment({PATH:path.dirname(process.execPath)+path.delimiter+process.env.PATH}),stdio:['ignore','pipe','pipe']});
|
||||
child.stdout.on('data',b=>log.write(b)); child.stderr.on('data',b=>log.write(b));
|
||||
const exitCode=await new Promise((resolve,reject)=>{child.once('error',reject);child.once('close',resolve)}); await new Promise(resolve=>log.end(resolve)); unchanged();
|
||||
const result={success:exitCode===0,exitCode,startedAt,finishedAt:new Date().toISOString(),codeCommit:baseline.codeCommit,logPath,logSha256:hash(fs.readFileSync(logPath)),unchangedInputs:true};
|
||||
fs.writeFileSync('.qa/vision-f-package-result.json',JSON.stringify(result,null,2)+'\n',{flag:'wx'}); console.log(JSON.stringify(result)); if(exitCode!==0)process.exitCode=1;
|
||||
@@ -0,0 +1,24 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { randomUUID, createHash } from 'node:crypto';
|
||||
import { buildWindowsInstaller } from '../scripts/build-installer.mjs';
|
||||
const release = JSON.parse(fs.readFileSync('releases/latest.json', 'utf8')); assert.equal(release.installer.version, '1.18.0');
|
||||
const appId = randomUUID(), destination = '.qa/vision-f-qa-installer.json'; assert.equal(fs.existsSync(destination), false);
|
||||
const installer = buildWindowsInstaller({ root: process.cwd(), portableRoot: release.portableRoot, outputRoot: path.resolve('.qa'),
|
||||
name: 'vision-installer-qa-' + appId, qaFixture: { appId, fault: 'none' } });
|
||||
const source = fs.readFileSync(installer.source, 'utf8'), product = fs.readFileSync(release.installer.source, 'utf8');
|
||||
const body = value => value.split('\n').filter(line => !line.startsWith('#define OutputRoot ') && !line.startsWith('#define OutputName ')).join('\n');
|
||||
assert.equal(body(source).replaceAll(appId, 'E914E883-46F9-4B82-B27F-BDB2B40DCC90')
|
||||
.replace('DefaultGroupName=Agent Workbench QA E914E883-46F9-4B82-B27F-BDB2B40DCC90', 'DefaultGroupName=Agent Workbench'), body(product));
|
||||
fs.writeFileSync(destination, JSON.stringify({ ...installer, productSetup: release.installer,
|
||||
samePayloadManifestSha256: createHash('sha256').update(fs.readFileSync(path.join(release.portableRoot, 'MANIFEST.json'))).digest('hex'),
|
||||
sourceComparison: 'Only isolated QA AppId/group and output destination/name differ; entire product payload and installation behavior are exact. Product setup will separately stage the existing formal installation.' }, null, 2) + '\n', { flag: 'wx' });
|
||||
let code = fs.readFileSync('.qa/verify-desktop-f-canonical-storage-guard-install.mjs', 'utf8');
|
||||
for (const [before, after] of [['desktop-host-f-canonical-storage-guard-qa-installer.json', 'vision-f-qa-installer.json'],
|
||||
['desktop-host-f-canonical-storage-install-location.json', 'vision-f-install-location.json'],
|
||||
['ff4e7d22-f233-4021-829a-6f5c71933c46', appId], ['1.15.0', '1.18.0'], ['AWQA15', 'AWQA18'], ['timeout = 300000', 'timeout = 900000']]) {
|
||||
assert.ok(code.includes(before), before); code = code.replaceAll(before, after);
|
||||
}
|
||||
fs.writeFileSync('.qa/verify-vision-install.mjs', code, { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, appId, installerSha256: installer.sha256, productSetupSha256: release.installer.sha256, samePayload: true }));
|
||||
@@ -0,0 +1,85 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { DatabaseSync, backup } from 'node:sqlite';
|
||||
import { publicSnapshot, compareOriginalState, hash } from './vision-f-state.mjs';
|
||||
import { validateInstalledVersion } from '../src/core/desktop/install-manager.mjs';
|
||||
import { HostController } from '../src/core/desktop/host-controller.mjs';
|
||||
const read = file => JSON.parse(fs.readFileSync(file));
|
||||
const save = (file,value) => fs.writeFileSync(file,JSON.stringify(value,null,2)+'\n',{flag:'wx'});
|
||||
const failed = read('.qa/vision-f-formal-stage.json'), receipt = read('.qa/vision-f-formal-stage-result.json');
|
||||
assert.equal(failed.success,false); assert.match(failed.error,/configSha256/); assert.equal(receipt.unchangedInputs,true);
|
||||
const release = read('releases/latest.json'); assert.equal(failed.setupSha256,release.installer.sha256);
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)),release.installer.sha256);
|
||||
const log=fs.readFileSync('.qa/vision-f-formal-setup.log','utf8'); assert.match(log,/Installation process succeeded\./); assert.match(log,/Log closed\./);
|
||||
const baselinePath='.qa/vision-f-formal-reconciled-before.json', output='.qa/vision-f-formal-stage-reconcile.json';
|
||||
for(const file of [baselinePath,output,'.qa/vision-f-formal-baseline-location.json']) assert.equal(fs.existsSync(file),false);
|
||||
const startedAt=new Date().toISOString(), original=read('.qa/vision-f-formal-before.json'), observed=read('.qa/vision-f-formal-stage-failure-after.json');
|
||||
const current=await publicSnapshot('http://127.0.0.1:4318',failed.dataRoot);
|
||||
assert.equal(current.version,'1.17.0');assert.equal(current.pid,36552);assert.deepEqual(current.active,[]);compareOriginalState(observed,current);
|
||||
const sessionId='f8a5a714-183d-4d6c-af27-ed56c60225b2',taskId='d924c8f6-b55f-4ea7-af9c-ae0ee97c1764',runId='71c83576-672e-4815-a513-c74010f625c7';
|
||||
const tableChanges=[];
|
||||
for(const [name,before] of Object.entries(original.database.tables)){
|
||||
const after=current.database.tables[name];assert.equal(after.schemaSha256,before.schemaSha256);
|
||||
const ids=new Map(before.rows.map(r=>[r.id,r])), next=new Map(after.rows.map(r=>[r.id,r]));
|
||||
const removed=before.rows.filter(r=>!next.has(r.id)),changed=after.rows.filter(r=>ids.has(r.id)&&ids.get(r.id).sha256!==r.sha256),added=after.rows.filter(r=>!ids.has(r.id));
|
||||
const expected={events:{added:14,changed:[],removed:0},outbox:{added:14,changed:[],removed:0},records:{added:7,changed:[],removed:0},sessions:{added:0,changed:[sessionId],removed:0},metadata:{added:0,changed:['config','modelRegistry','modelAttempts'],removed:0},sqlite_sequence:{added:1,changed:[],removed:1}}[name]??{added:0,changed:[],removed:0};
|
||||
assert.equal(added.length,expected.added,name);assert.deepEqual(changed.map(r=>r.id).sort(),expected.changed.slice().sort(),name);assert.equal(removed.length,expected.removed,name);
|
||||
if(name==='records')assert.deepEqual(added.map(r=>r.kind).sort(),['artifact','artifact','artifact','context_plan','run','step','task']);
|
||||
tableChanges.push({table:name,retainedRows:before.rows.length-removed.length-changed.length,added,changed,removed});
|
||||
}
|
||||
const oldDb=new DatabaseSync('.qa/vision-f-formal-original.sqlite',{readOnly:true}),db=new DatabaseSync(path.join(failed.dataRoot,'workbench.sqlite'),{readOnly:true});
|
||||
let sessionAudit,events,configAudit;
|
||||
try{
|
||||
const oldConfig=JSON.parse(oldDb.prepare("SELECT value FROM metadata WHERE key='config'").get().value),newConfig=JSON.parse(db.prepare("SELECT value FROM metadata WHERE key='config'").get().value);
|
||||
assert.equal(oldConfig.configRevision,12);assert.equal(newConfig.configRevision,13);newConfig.configRevision=12;assert.deepEqual(newConfig,oldConfig);configAudit={onlyField:'configRevision',before:12,after:13};
|
||||
const oldSessionRow=oldDb.prepare('SELECT * FROM sessions WHERE id=?').get(sessionId),nextSessionRow=db.prepare('SELECT * FROM sessions WHERE id=?').get(sessionId);
|
||||
const before=JSON.parse(oldSessionRow.payload),after=JSON.parse(nextSessionRow.payload);
|
||||
for(const field of ['messages','providerMessages','events']) assert.deepEqual(after[field].slice(0,before[field].length),before[field],'Original session '+field);
|
||||
// The legacy session.events array stores one summary; all fourteen durable
|
||||
// Task/Run events are independently checked below in the events table.
|
||||
assert.equal(after.messages.length-before.messages.length,2);assert.equal(after.events.length-before.events.length,1);
|
||||
const mutable=['updatedAt','messages','providerMessages','events','estimatedTokens','usage','revision','eventSeq','taskId','runId'];
|
||||
for(const key of new Set([...Object.keys(before),...Object.keys(after)]))if(!mutable.includes(key))assert.deepEqual(after[key],before[key],key);
|
||||
assert.equal(after.taskId,taskId);assert.equal(after.runId,runId);assert.equal(after.status,'completed');assert.equal(after.eventSeq-before.eventSeq,14);
|
||||
assert.equal(nextSessionRow.project_id,oldSessionRow.project_id);assert.equal(nextSessionRow.revision,after.revision);
|
||||
sessionAudit={id:sessionId,originalMessages:before.messages.length,newMessages:after.messages.length,originalMessagesAndProviderHistoryAndEvents:'exact-prefix',taskId,runId};
|
||||
const last=oldDb.prepare('SELECT MAX(seq) AS seq FROM events').get().seq;
|
||||
events=db.prepare('SELECT seq,id,type,session_id,task_id,run_id,created_at FROM events WHERE seq>? ORDER BY seq').all(last);
|
||||
assert.equal(events.length,14);assert.equal(events[0].type,'run.started');assert.equal(events.at(-1).type,'run.finished');
|
||||
for(const event of events){assert.equal(event.session_id,sessionId);if(event.task_id)assert.equal(event.task_id,taskId);if(event.run_id)assert.equal(event.run_id,runId);assert.ok(event.created_at>=failed.startedAt);assert.ok(event.created_at<=failed.finishedAt);}
|
||||
const seqBefore=oldDb.prepare('SELECT * FROM sqlite_sequence').all(),seqAfter=db.prepare('SELECT * FROM sqlite_sequence').all();
|
||||
assert.equal(seqBefore.length,1);assert.equal(seqAfter.length,1);assert.equal(seqBefore[0].name,seqAfter[0].name);assert.equal(seqAfter[0].seq-seqBefore[0].seq,14);
|
||||
}finally{oldDb.close();db.close();}
|
||||
const beforeCenter=structuredClone(original.modelCenter),afterCenter=structuredClone(current.modelCenter);
|
||||
assert.equal(beforeCenter.revision,17);assert.equal(afterCenter.revision,19);afterCenter.revision=17;
|
||||
const originalAttempts=beforeCenter.attempts,actualAttempts=afterCenter.attempts;
|
||||
for(const attempt of originalAttempts)assert.deepEqual(actualAttempts.find(r=>r.id===attempt.id),attempt);
|
||||
const addedAttempts=actualAttempts.filter(r=>!originalAttempts.some(v=>v.id===r.id));assert.equal(addedAttempts.length,1);
|
||||
assert.equal(addedAttempts[0].taskId,taskId);assert.equal(addedAttempts[0].runId,runId);assert.equal(addedAttempts[0].status,'completed');
|
||||
afterCenter.attempts=originalAttempts;
|
||||
const legacy=afterCenter.connections.find(r=>r.id==='legacy-default');assert.equal(legacy.revision,13);legacy.revision=12;
|
||||
const connectionId='5b4daed9-b2f7-4de0-b949-573eba70c7b3',connection=afterCenter.connections.find(r=>r.id===connectionId);
|
||||
assert.equal(connection.health.lastSuccessAt,addedAttempts[0].finishedAt);connection.health.lastSuccessAt=beforeCenter.connections.find(r=>r.id===connectionId).health.lastSuccessAt;
|
||||
const pool=afterCenter.pools.find(r=>r.id==='68e30376-b799-445b-a858-db2dba9920a0'),oldPool=beforeCenter.pools.find(r=>r.id===pool.id);
|
||||
assert.equal(pool.revision,4);assert.deepEqual(pool.members,oldPool.members.filter(r=>r.connectionId!=='legacy-default'));pool.revision=3;pool.members=oldPool.members;
|
||||
assert.deepEqual(afterCenter,beforeCenter,'All other connection fields, credentials-present/revision/storage, routes and request histories exact');
|
||||
assert.equal(current.projectsSha256,original.projectsSha256);assert.deepEqual(current.database.sessionIds,original.database.sessionIds);
|
||||
for(const old of original.exports){const next=current.exports.find(r=>r.id===old.id);assert.ok(next);if(old.id!==sessionId)assert.deepEqual(next,old);else assert.equal(next.project,old.project);}
|
||||
const blobs=new Map(current.persistent.artifacts.map(r=>[r.path,r]));for(const old of original.persistent.artifacts)assert.deepEqual(blobs.get(old.path),old);
|
||||
assert.equal(current.persistent.artifacts.length-original.persistent.artifacts.length,3);
|
||||
for(const file of original.persistent.files)if(file.path!=='config.json')assert.deepEqual(current.persistent.files.find(r=>r.path===file.path),file);
|
||||
const pointer=read(path.join(failed.installRoot,'current.json'));assert.deepEqual(pointer,read('.qa/vision-f-formal-original-pointer.json'));
|
||||
const controller=new HostController({appRoot:current.runtimeRoot,dataRoot:failed.dataRoot,port:4318,nodePath:process.execPath});assert.ok(await controller.connect());
|
||||
const status=await controller.status();assert.equal(status.desktopWindows.count,0);assert.equal(status.activity.active,false);
|
||||
const identity=validateInstalledVersion(failed.candidate);
|
||||
assert.equal(identity.manifestSha256,hash(fs.readFileSync(path.join(release.portableRoot,'MANIFEST.json'))));
|
||||
compareOriginalState(current,await publicSnapshot('http://127.0.0.1:4318',failed.dataRoot));
|
||||
const backupPath=path.resolve('.qa/vision-f-formal-reconciled-original.sqlite');assert.equal(fs.existsSync(backupPath),false);
|
||||
const sourceDb=new DatabaseSync(path.join(failed.dataRoot,'workbench.sqlite'),{readOnly:true});try{await backup(sourceDb,backupPath);}finally{sourceDb.close();}
|
||||
const copy=new DatabaseSync(backupPath,{readOnly:true});try{assert.equal(copy.prepare('PRAGMA quick_check').get().quick_check,'ok');}finally{copy.close();}
|
||||
compareOriginalState(current,await publicSnapshot('http://127.0.0.1:4318',failed.dataRoot));save(baselinePath,current);
|
||||
save('.qa/vision-f-formal-reconciled-private-backup-receipt.json',{path:backupPath,bytes:fs.statSync(backupPath).size,sha256:hash(fs.readFileSync(backupPath)),credentialsExtracted:false,committed:false});
|
||||
const result={success:true,phase:'staged-from-original-install',startedAt,finishedAt:new Date().toISOString(),version:'1.18.0',candidateIdentity:identity.identitySha256,manifestSha256:identity.manifestSha256,setupSha256:release.installer.sha256,setupLog:failed.setupLog??path.resolve('.qa/vision-f-formal-setup.log'),setupLogSha256:hash(fs.readFileSync('.qa/vision-f-formal-setup.log')),baseline:baselinePath,originalFailure:'.qa/vision-f-formal-stage.json',originalBaseline:'.qa/vision-f-formal-before.json',tableChanges,sessionAudit,events,configAudit,modelCenter:{registryRevision:[17,19],poolRevision:[3,4],removedPoolMember:'legacy-default',originalAttempts:'exact',newAttempt:addedAttempts[0],allOtherConnectionFields:'exact'},originalArtifactFiles:original.persistent.artifacts.length,newArtifactFiles:3,installerRerun:false,realModelRequests:0,concurrentWorkbenchModelRequests:1,scope:'An original 1.17 workbench run and exact configuration revision/pool edit occurred while the installer ran; original records/events/history/artifacts remain intact. Preserve all original failure bytes and installer once, validate the already installed candidate and freeze the complete latest idle state for strict upgrade comparisons. No model request, config change or credential extraction performed by this validator.'};
|
||||
save(output,result);save('.qa/vision-f-formal-baseline-location.json',{success:true,before:baselinePath,staged:output,reason:'Exact concurrent workbench activity accounted; no installer retry or rollback of user state.'});
|
||||
console.log(JSON.stringify({success:true,baseline:baselinePath,staged:output,originalRowsAndArtifactsRetained:true,newRecords:7,newEvents:14,installerRerun:false}));
|
||||
@@ -0,0 +1,16 @@
|
||||
import fs from 'node:fs';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { publicSnapshot, compareOriginalState } from './vision-f-state.mjs';
|
||||
import { HostController } from '../src/core/desktop/host-controller.mjs';
|
||||
const read=file=>JSON.parse(fs.readFileSync(file,'utf8'));
|
||||
const deployed=read('.qa/vision-f-formal-verify.json');assert.equal(deployed.success,true);
|
||||
const current=await publicSnapshot('http://127.0.0.1:4318',deployed.dataRoot),retained=compareOriginalState(read(read('.qa/vision-f-formal-baseline-location.json').before),current);
|
||||
assert.equal(current.version,'1.18.0');assert.equal(current.pid,36552);assert.equal(current.runtimeRoot,deployed.candidate);
|
||||
const controller=new HostController({appRoot:deployed.candidate,dataRoot:deployed.dataRoot,port:4318,nodePath:process.execPath});
|
||||
assert.ok(await controller.connect());const status=await controller.status();assert.equal(status.desktopWindows.count,1);assert.equal(status.activity.active,false);
|
||||
const observed=read('.qa/vision-native-after/observed.json');assert.equal(observed.success,true);assert.equal(observed.versionObserved,'1.18.0');
|
||||
for(const row of observed.files){const bytes=fs.readFileSync(row.path);assert.equal(bytes.length,row.bytes);assert.equal(createHash('sha256').update(bytes).digest('hex'),row.sha256);}
|
||||
const result={success:true,version:current.version,at:new Date().toISOString(),current,retained,hostPid:36552,currentProviderPreserved:true,desktopWindows:status.desktopWindows,observed,realModelRequests:0,
|
||||
scope:'Actual formal native window inspected via Windows sky. User project and existing connection observed, no task or configuration changes; all stored rows, session exports and original artifacts remain exact.'};
|
||||
fs.writeFileSync('.qa/vision-f-formal-native.json',JSON.stringify(result,null,2)+'\n',{flag:'wx'});console.log(JSON.stringify({success:true,version:current.version,nativeWindows:1,originalStateRetained:true}));
|
||||
@@ -0,0 +1,55 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { spawn } from 'node:child_process';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { projectEnvironment } from '../src/core/process-environment.mjs';
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const phase = process.argv[2];
|
||||
const python = 'D:/Ai-project/REA逆向/Agent-Workbench/.qa/dev-task-plans/.qa/python-3.10/Scripts/python.exe';
|
||||
const release = JSON.parse(fs.readFileSync('releases/latest.json', 'utf8'));
|
||||
const choices = {
|
||||
archives: { executable: python, args: ['scripts/verify-archives.py', '--extract-source'], pointer: '.qa/archives-validation.json' },
|
||||
source: { args: ['scripts/verify-source-package.mjs', '--native-engines'], pointer: '.qa/source-package-validation.json' },
|
||||
'source-retry': { args: ['scripts/verify-source-package.mjs', '--native-engines'], pointer: '.qa/source-package-validation.json' },
|
||||
portable: { args: ['scripts/verify-release.mjs', '--native-engines'], pointer: '.qa/release-validation.json' },
|
||||
'portable-companion': { args: ['scripts/verify-companion-ui.mjs', '--app-root', release.portableRoot] },
|
||||
'portable-vision': { args: ['scripts/verify-vision-ui.mjs', '--app-root', release.portableRoot] },
|
||||
'portable-protocols': { args: ['scripts/verify-model-protocols-ui.mjs', '--app-root', release.portableRoot] },
|
||||
'prepare-install': { args: ['.qa/prepare-vision-installer.mjs'] },
|
||||
install: { args: ['.qa/verify-vision-install.mjs'] },
|
||||
'formal-stage': { args: ['.qa/deploy-vision-formal.mjs', 'stage'] },
|
||||
'formal-stage-reconcile': { args: ['.qa/reconcile-vision-stage.mjs'] },
|
||||
'formal-stage-reconcile-retry': { args: ['.qa/reconcile-vision-stage.mjs'] },
|
||||
'formal-upgrade': { args: ['.qa/deploy-vision-formal.mjs', 'upgrade'] },
|
||||
'formal-activate': { args: ['.qa/deploy-vision-formal.mjs', 'activate'] },
|
||||
'formal-verify': { args: ['.qa/deploy-vision-formal.mjs', 'verify'] },
|
||||
'formal-ui': { args: ['.qa/verify-vision-formal-ui.mjs'] },
|
||||
'formal-artifacts': { args: ['.qa/verify-vision-formal-artifacts.mjs', '.qa/vision-f-formal-verify.json', '.qa/vision-f-formal-artifacts.json'] },
|
||||
seal: { args: ['.qa/seal-vision-release.mjs'] },
|
||||
'seal-retry': { args: ['.qa/seal-vision-release.mjs'] },
|
||||
};
|
||||
const choice = choices[phase]; assert.ok(choice, 'Select a defined isolated acceptance phase.');
|
||||
const prefix = '.qa/vision-f-' + phase, logPath = prefix + '.log', receiptPath = prefix + '-result.json';
|
||||
for (const file of [logPath, receiptPath]) assert.equal(fs.existsSync(file), false, 'Keep existing evidence: ' + file);
|
||||
const baseline = JSON.parse(fs.readFileSync('docs/vision-inputs-release-code-baseline.json', 'utf8'));
|
||||
function unchanged() { for (const item of [...baseline.inputs, ...baseline.builds, ...baseline.benchmarks]) { const bytes = fs.readFileSync(item.path); assert.equal(bytes.length, item.bytes, item.path); assert.equal(hash(bytes), item.sha256, item.path); } }
|
||||
unchanged();
|
||||
const startedAt = new Date().toISOString(), log = fs.createWriteStream(logPath, { flags: 'wx' });
|
||||
const env = projectEnvironment({ PATH: path.dirname(process.execPath) + path.delimiter + process.env.PATH, AGENT_WORKBENCH_TEST_PYTHON: python,
|
||||
AGENT_WORKBENCH_ARCHIVE_QA_ROOT: 'D:/AWQA18',
|
||||
AGENT_WORKBENCH_DEEPSEEK_ROOT: 'D:/Ai-project/DeepSeek-Harness-Desktop/deepseek-harness',
|
||||
AGENT_WORKBENCH_PURGE_ROOT: 'D:/Ai-project/DeepSeek-Harness-Desktop/plugins/dsh-purge' });
|
||||
const child = spawn(choice.executable || process.execPath, choice.args, { cwd: process.cwd(), env, windowsHide: true, stdio: ['ignore', 'pipe', 'pipe'] });
|
||||
child.stdout.on('data', bytes => log.write(bytes)); child.stderr.on('data', bytes => log.write(bytes));
|
||||
const exitCode = await new Promise((resolve, reject) => { child.once('error', reject); child.once('close', resolve); });
|
||||
await new Promise(resolve => log.end(resolve));
|
||||
let pointer = null;
|
||||
if (choice.pointer && fs.existsSync(choice.pointer)) { const bytes = fs.readFileSync(choice.pointer); pointer = { path: choice.pointer, sha256: hash(bytes) }; fs.writeFileSync(prefix + '-original-validation.json', bytes, { flag: 'wx' }); }
|
||||
let unchangedInputs = true, error;
|
||||
try { unchanged(); } catch (failure) { unchangedInputs = false; error = failure.stack; }
|
||||
const receipt = { success: exitCode === 0 && unchangedInputs, phase, startedAt, finishedAt: new Date().toISOString(), exitCode, logPath,
|
||||
logBytes: fs.statSync(logPath).size, logSha256: hash(fs.readFileSync(logPath)), pointer, unchangedInputs,
|
||||
codeCommit: baseline.codeCommit, release: { portableRoot: release.portableRoot, sourceRoot: release.sourceRoot, setupSha256: release.installer.sha256 }, ...(error ? { error } : {}) };
|
||||
fs.writeFileSync(receiptPath, JSON.stringify(receipt, null, 2) + '\n', { flag: 'wx' });
|
||||
console.log(JSON.stringify(receipt)); if (!receipt.success) process.exitCode = 1;
|
||||
@@ -0,0 +1,8 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import {createHash} from 'node:crypto';
|
||||
const root='docs/vision-inputs-ae-evidence';fs.mkdirSync(root,{recursive:true});
|
||||
const sources=['vision-core-first.log','vision-core-second.log','vision-budget-first.log','vision-budget-third.log','vision-compat-second.log','vision-ad-final.log','vision-ui-first.log','vision-ui-second.log','vision-ui-third.log','vision-e-build.log'].map(name=>'.qa/'+name);
|
||||
for(const id of ['69df73a3-f93c-47fe-af3a-aa7f336d0e54','b2426469-35ac-4e5a-83ef-2f8c0260276f','0354cc03-2cb2-4456-ac32-f87cd11b63cb'])for(const name of fs.readdirSync('.qa/vision-ui-'+id).filter(name=>name==='result.json'||name.endsWith('.png')))sources.push('.qa/vision-ui-'+id+'/'+name);
|
||||
const entries=[];for(const source of sources){const bytes=fs.readFileSync(source),name=source.slice(4).replaceAll('/','--');fs.writeFileSync(path.join(root,name),bytes,{flag:'wx'});entries.push({source,file:name,bytes:bytes.length,sha256:createHash('sha256').update(bytes).digest('hex')});}
|
||||
fs.writeFileSync(path.join(root,'manifest.json'),JSON.stringify({stage:'1.18 A-E',realModelRequests:0,entries},null,2),{flag:'wx'});console.log('Sealed '+entries.length+' original artifacts');
|
||||
@@ -0,0 +1,123 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { publicSnapshot, compareOriginalState } from './vision-f-state.mjs';
|
||||
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const baseline = read('docs/vision-inputs-release-code-baseline.json'), release = read('releases/latest.json');
|
||||
assert.equal(baseline.version, '1.18.0'); assert.equal(release.installer.version, '1.18.0');
|
||||
const phases = ['archives', 'source', 'portable', 'portable-companion', 'portable-protocols', 'portable-vision', 'prepare-install', 'install', 'formal-stage-reconcile-retry', 'formal-upgrade', 'formal-activate', 'formal-ui', 'formal-verify', 'formal-artifacts'];
|
||||
const receipts = phases.map(phase => { const file = '.qa/vision-f-' + phase + '-result.json', value = read(file); assert.equal(value.success, true, phase); assert.equal(value.unchangedInputs, true); assert.equal(value.release.setupSha256, release.installer.sha256); return { file, value }; });
|
||||
const source = read('.qa/vision-f-source-original-validation.json'), portable = read('.qa/vision-f-portable-original-validation.json');
|
||||
assert.equal(source.success, true); assert.equal(source.tests.tests, 576); assert.equal(source.tests.pass, 576);
|
||||
for (const key of ['fail', 'cancelled', 'skipped', 'todo']) assert.equal(source.tests[key], 0);
|
||||
const sorted = rows => rows.slice().sort((a, b) => a.path.localeCompare(b.path));
|
||||
assert.deepEqual(sorted(source.inputs), sorted(baseline.inputs));
|
||||
assert.deepEqual(sorted(source.buildFiles), sorted(baseline.builds.map(({ path, sha256 }) => ({ path, sha256 }))));
|
||||
assert.equal(source.actualDesktop.window.results.length, 7); assert.equal(source.actualDesktop.ui.assertions.length, 9); assert.equal(source.actualDesktop.projects.cases.length, 16);
|
||||
for (const projects of [source.actualDesktop.projects, source.actualProtocolEngineering]) assert.deepEqual(projects.results.map(value => value.parentCheck.results[0].tests.passed), [8, 9, 10]);
|
||||
assert.deepEqual(source.actualVisionEngineering.results.map(value => value.check.results[0].tests.passed), [8, 9, 10]);
|
||||
assert.equal(source.actualCompanion.passed.length, 7); assert.equal(source.actualProtocols.passed.length, 5); assert.equal(source.actualVision.passed.length, 5);
|
||||
assert.equal(source.actualVisionEngineering.cases.length, 7); assert.equal(source.actualProtocolEngineering.cases.length, 13);
|
||||
assert.equal(portable.appRoot, release.portableRoot); assert.equal(portable.actualControlled.success, true);
|
||||
const ui = read('docs/vision-inputs-all-ui-validation.json'); assert.equal(ui.success, true); assert.equal(ui.results.length, 26); assert.equal(ui.groups, 196);
|
||||
const installLocation = read('.qa/vision-f-install-location.json'), install = read(installLocation.result);
|
||||
assert.equal(install.success, true); assert.equal(install.cases.length, 7); assert.equal(install.installer.productSetup.sha256, release.installer.sha256);
|
||||
assert.equal(install.installer.samePayloadManifestSha256, hash(fs.readFileSync(path.join(release.portableRoot, 'MANIFEST.json'))));
|
||||
const baselineLocation=read('.qa/vision-f-formal-baseline-location.json');
|
||||
assert.equal(read('.qa/vision-f-formal-stage-result.json').success,false);assert.equal(read(baselineLocation.staged).installerRerun,false);
|
||||
const formal = read('.qa/vision-f-formal-verify.json'), before = read(baselineLocation.before);
|
||||
assert.equal(formal.success, true); assert.equal(formal.identity.pid, 36552); assert.equal(formal.currentProviderPreserved, true); assert.equal(formal.inspectorClosed, true);
|
||||
const current = await publicSnapshot('http://127.0.0.1:4318', formal.dataRoot), retained = compareOriginalState(before, current);
|
||||
assert.equal(current.version, '1.18.0'); assert.equal(current.runtimeRoot, formal.candidate);
|
||||
const smoke = read('.qa/vision-f-formal-ui-validation.json'), artifacts = read('.qa/vision-f-formal-artifacts.json'), native = read('.qa/vision-f-formal-native.json');
|
||||
assert.equal(smoke.success, true); assert.equal(smoke.results.length, 20); assert.equal(artifacts.success, true); assert.equal(artifacts.checked, artifacts.total);
|
||||
assert.equal(native.success, true); assert.equal(native.version, '1.18.0'); assert.equal(native.hostPid, 36552);
|
||||
for (const key of ['pageErrors', 'requestFailures', 'httpErrors', 'blockedWrites']) assert.deepEqual(smoke[key], []);
|
||||
for (const item of [...baseline.inputs, ...baseline.builds, ...baseline.benchmarks]) { const bytes = fs.readFileSync(item.path); assert.equal(bytes.length, item.bytes); assert.equal(hash(bytes), item.sha256, item.path); }
|
||||
for (const item of [release.portable, release.source, release.installer]) assert.equal(hash(fs.readFileSync(item.path)), item.sha256);
|
||||
const gitAudit = read('.qa/vision-f-code-git-audit.json'), licenses = read('.qa/vision-f-license-audit.json'), completed = read('.qa/vision-f-log-completions/index.json');
|
||||
assert.equal(gitAudit.success, true); assert.equal(gitAudit.codeCommit, baseline.codeCommit); assert.equal(gitAudit.inputFiles, baseline.inputs.length); assert.equal(licenses.success, true); assert.equal(completed.success, true);
|
||||
assert.ok(licenses.records.some(row => /jpeg-js-0\.4\.4/.test(row.archived))); assert.ok(licenses.records.some(row => /pngjs-7\.0\.0/.test(row.archived)));
|
||||
const directory = 'docs/vision-inputs-f-release-evidence'; assert.equal(fs.existsSync(directory), false);
|
||||
const queue = [], seen = new Map();
|
||||
function copy(file, expected = {}) {
|
||||
const absolute = path.resolve(file), old = seen.get(absolute); if (old) { if (expected.sha256) assert.equal(old.sha256, expected.sha256); return old; }
|
||||
assert.doesNotMatch(file, /(?:\.sqlite(?:-(?:wal|shm))?|\.(?:db|key|pem|pfx|p12))$/i, 'No private databases, credentials or certificates');
|
||||
const stat = fs.lstatSync(file); assert.equal(stat.isSymbolicLink(), false); assert.equal(stat.isFile(), true);
|
||||
const bytes = fs.readFileSync(file), sha256 = hash(bytes); if (expected.sha256) assert.equal(sha256, expected.sha256, file); if (expected.bytes !== undefined) assert.equal(bytes.length, expected.bytes, file);
|
||||
const name = String(queue.length + 1).padStart(4, '0') + '-' + path.basename(file).replace(/\.log$/, '-log.txt');
|
||||
const row = { original: absolute, archived: directory + '/' + name, bytes: bytes.length, sha256 }; queue.push({ row, bytes }); seen.set(absolute, row); return row;
|
||||
}
|
||||
function logCopy(file, sha256) {
|
||||
if (hash(fs.readFileSync(file)) === sha256) return copy(file, { sha256 });
|
||||
const item = completed.completions.find(value => value.source === path.resolve(file)); assert.ok(item); assert.equal(item.original.sha256, sha256); copy(item.original.path, item.original); return copy(file, item.completed);
|
||||
}
|
||||
function surface(root) {
|
||||
if (!root || !fs.existsSync(root)) return;
|
||||
for (const entry of fs.readdirSync(root, { withFileTypes: true })) if (entry.isFile() && /\.(?:json|png|jpg|html|txt|log|tap|mjs|cjs|sse)$/.test(entry.name)) copy(path.join(root, entry.name));
|
||||
}
|
||||
function projectTree(root) {
|
||||
if (!root || !fs.existsSync(root)) return;
|
||||
for (const entry of fs.readdirSync(root, { withFileTypes: true })) {
|
||||
if (['.git', 'node_modules', '__pycache__', '.pytest_cache', '.venv'].includes(entry.name)) continue;
|
||||
const file = path.join(root, entry.name); if (entry.isDirectory()) projectTree(file); else copy(file);
|
||||
}
|
||||
}
|
||||
function screenshots(value, bases=[]) {
|
||||
if (!value || typeof value !== 'object') return; if (Array.isArray(value)) { value.forEach(item=>screenshots(item,bases)); return; }
|
||||
const ownedBases=['root','directory'].map(key=>value[key]).filter(item=>typeof item==='string'&&fs.existsSync(item)&&fs.statSync(item).isDirectory());
|
||||
if(ownedBases.length)bases=ownedBases;
|
||||
const resolved=file=>{
|
||||
if(path.isAbsolute(file)||fs.existsSync(file))return file;
|
||||
const candidates=[...new Set(bases.map(root=>path.resolve(root,file)).filter(file=>fs.existsSync(file)))];
|
||||
assert.equal(candidates.length,1,'Resolve a relative screenshot only within its declared original EVIDENCE directory: '+file);
|
||||
return candidates[0];
|
||||
};
|
||||
if (typeof value.file === 'string' && /\.(png|jpg)$/.test(value.file)) copy(resolved(value.file), value.sha256 ? { sha256: value.sha256 } : {});
|
||||
for (const [key, item] of Object.entries(value)) {
|
||||
if (typeof item === 'string' && /screenshot$/i.test(key) && /\.(png|jpg)$/.test(item)) copy(resolved(item), value.screenshotSha256 ? { sha256: value.screenshotSha256 } : {});
|
||||
if (key === 'screenshots' && Array.isArray(item)) for (const file of item) if (typeof file === 'string') copy(resolved(file));
|
||||
if (item && typeof item === 'object') screenshots(item,bases);
|
||||
}
|
||||
}
|
||||
for (const { file, value } of receipts) { copy(file); copy(value.logPath, { bytes: value.logBytes, sha256: value.logSha256 }); }
|
||||
for (const name of fs.readdirSync('.qa')) {
|
||||
// The parent closes this attempt's log only after this process exits. Archive
|
||||
// completed attempts, but do not mislabel this still-open log as final evidence.
|
||||
if (/^vision-f-seal(?:-retry)?\.log$/.test(name) && !fs.existsSync(path.join('.qa', name.replace(/\.log$/, '-result.json')))) continue;
|
||||
if (/^(?:vision-.*\.(?:json|log|tap|mjs)|(?:prepare|freeze|package|run|shorten|deploy|verify|audit|seal|record|reconcile|finalize|write)-vision-.*\.mjs)$/.test(name)) copy(path.join('.qa', name));
|
||||
}
|
||||
for (const name of fs.readdirSync('docs')) if (/^vision-inputs-.*\.(?:json|txt)$/.test(name)) copy(path.join('docs', name));
|
||||
copy('releases/latest.json'); copy(path.join(release.portableRoot, 'MANIFEST.json')); copy(path.join(release.sourceRoot, 'MANIFEST.json'));
|
||||
for (const row of source.logs) { copy(row.path, row); const text = fs.readFileSync(row.path, 'utf8'); for (const match of text.matchAll(/^EVIDENCE (.+)\r?$/gm)) surface(match[1].trim()); }
|
||||
copy(path.join(source.directory, 'inputs.json')); copy(path.join(source.directory, 'result.json'));
|
||||
for (const row of ui.results) {
|
||||
copy(row.evidence); copy(row.log); const text = fs.readFileSync(row.log, 'utf8'); const roots=[...text.matchAll(/^EVIDENCE (.+)\r?$/gm)].map(match=>match[1].trim()); for(const root of roots)surface(root);
|
||||
screenshots(read(row.evidence),roots);
|
||||
}
|
||||
for (const row of install.cases) { if (row.processLog) copy(row.processLog, { sha256: row.processLogSha256 }); if (row.setupLog) logCopy(row.setupLog, row.setupLogSha256); if (row.uninstallLog) logCopy(row.uninstallLog, row.uninstallLogSha256); }
|
||||
copy(installLocation.result); copy(release.installer.source); copy(path.join(path.dirname(release.installer.source), 'compile.txt')); copy(install.installer.source); copy(path.join(path.dirname(install.installer.source), 'compile.txt'));
|
||||
copy('.qa/vision-f-formal-setup.log', { sha256: read(baselineLocation.staged).setupLogSha256 });
|
||||
for (const root of ['.qa/vision-native-before', '.qa/vision-native-after', '.qa/vision-all-ui-first-failure', '.qa/vision-f-log-completions']) surface(root);
|
||||
for (const entry of fs.readdirSync('.qa', { withFileTypes: true })) if (entry.isDirectory() && /^(?:vision-ui-|vision-projects-)/.test(entry.name)) { const root = path.join('.qa', entry.name); surface(root); for (const kind of ['node', 'react', 'python']) { surface(path.join(root, kind)); projectTree(path.join(root, kind, 'original-fixture/project')); } }
|
||||
surface(source.actualDesktop.window.root); projectTree(path.join(source.actualDesktop.window.root, 'owned-project'));
|
||||
for (const name of ['desktop-controlled-ui', 'desktop-projects', 'responses-engineering', 'vision-engineering']) {
|
||||
const file = path.join(source.sourceRoot, '.qa', name + '-location.json'), location = read(file); copy(file); copy(location.result); surface(location.directory);
|
||||
if (name === 'desktop-controlled-ui') projectTree(path.join(location.directory, 'original-fixture/project'));
|
||||
else for (const kind of ['node', 'react', 'python']) { const root = path.join(location.directory, kind); surface(root); projectTree(path.join(root, 'original-fixture/project')); }
|
||||
}
|
||||
for (const value of [source.actualDesktop, source.actualCompanion, source.actualProtocols, source.actualVision, smoke, native]) screenshots(value);
|
||||
for (const phase of ['portable-companion', 'portable-protocols', 'portable-vision']) { const text = fs.readFileSync('.qa/vision-f-' + phase + '.log', 'utf8'), root = text.match(/EVIDENCE ([^\r\n]+)/)?.[1]; assert.ok(root); surface(root); }
|
||||
const manifest = { success: true, version: '1.18.0', codeCommit: baseline.codeCommit, sealedAt: new Date().toISOString(), files: queue.map(value => value.row), bytes: queue.reduce((sum, value) => sum + value.bytes.length, 0), sourceTests: source.tests, ui: { classes: 26, groups: 196 }, scope: 'Original release/failure/success bytes. Formal snapshots contain public hashes; no private SQLite, model Key, certificate or QA device identity.' };
|
||||
fs.mkdirSync(directory); fs.writeFileSync(directory + '/.gitattributes', '* -text -whitespace\n', { flag: 'wx' });
|
||||
for (const { row, bytes } of queue) fs.writeFileSync(row.archived, bytes, { flag: 'wx' }); fs.writeFileSync(directory + '/manifest.json', JSON.stringify(manifest, null, 2) + '\n', { flag: 'wx' });
|
||||
const identity = { success: true, version: '1.18.0', codeCommit: baseline.codeCommit, immutableRelease: path.basename(release.portableRoot), release,
|
||||
frozen: { inputs: baseline.inputs.length, builds: baseline.builds.length, benchmarks: baseline.benchmarks.length, gitAudit },
|
||||
independentSource: { sourceRoot: source.sourceRoot, tests: source.tests, inputs: source.inputFiles, buildMatchedFiles: source.buildMatchedFiles, desktopWindow: 7, desktopUi: 9, desktopEngineering: 16, responsesEngineering: 13, screenshotEngineering: 7, parentTests: [8, 9, 10], containedCompanion: 7, containedProtocols: 5, containedVision: 5 },
|
||||
ui: { classes: 26, groups: 196, formalPanels: 20 }, samePayloadInstall: { cases: 7, setupSha256: install.installer.sha256, productSetupSha256: release.installer.sha256 },
|
||||
formal: { pid: formal.identity.pid, runtimeRoot: formal.candidate, dataRoot: formal.dataRoot, counts: formal.counts, artifactRecords: artifacts.artifactRecords, blobFiles: artifacts.blobFiles, currentProviderPreserved: true, retained, inspectorClosed: true, companion: formal.companion, native, baselineReconciliation:{receipt:baselineLocation.staged,originalFailure:'.qa/vision-f-formal-stage.json',installerRerun:false,concurrentWorkbenchModelRequests:1} },
|
||||
evidence: { manifest: directory + '/manifest.json', files: queue.length, bytes: manifest.bytes }, realModelRequests: 0, concurrentWorkbenchModelRequests:1,
|
||||
limitations: ['Real configured-model visual engineering and Purge benefit remain separately deferred.', 'No new iPhone screenshot/stream result; Edge/TLS viewports are separate from user-confirmed 1.16 iPhone evidence.', 'Image token values are local reservations, not provider billing or a universal capacity guarantee.', 'Mobile input remains read-only observe access; uploads and budget changes use desktop.', 'Audio, general computer control, unknown WorkBuddy formats and controlled self-improvement remain later work.'], sealedAt: manifest.sealedAt };
|
||||
fs.writeFileSync('docs/vision-inputs-release-identity.json', JSON.stringify(identity, null, 2) + '\n', { flag: 'wx' }); console.log(JSON.stringify({ success: true, files: queue.length, bytes: manifest.bytes, identity: 'docs/vision-inputs-release-identity.json' }));
|
||||
@@ -0,0 +1,18 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash, randomUUID } from 'node:crypto';
|
||||
const pointerFile = '.qa/archives-validation.json', report = JSON.parse(fs.readFileSync(pointerFile, 'utf8'));
|
||||
assert.equal(report.success, true); assert.equal(report.version, '1.18.0'); assert.equal(report.shortPhysicalPath, undefined);
|
||||
const qaRoot = fs.realpathSync.native('D:/AWQA18'), original = fs.realpathSync.native(report.extractionRoot);
|
||||
assert.ok(original.startsWith(qaRoot + path.sep));
|
||||
const destination = path.resolve(qaRoot, 's-' + randomUUID().slice(0, 8)); assert.ok(destination.startsWith(qaRoot + path.sep)); assert.equal(fs.existsSync(destination), false);
|
||||
const originalManifest = fs.readFileSync(path.join(original, 'MANIFEST.json')), manifest = JSON.parse(originalManifest);
|
||||
fs.renameSync(original, destination);
|
||||
assert.deepEqual(fs.readFileSync(path.join(destination, 'MANIFEST.json')), originalManifest);
|
||||
for (const item of manifest.files) { const file = path.resolve(destination, item.path); assert.ok(file.startsWith(destination + path.sep)); const bytes = fs.readFileSync(file); assert.equal(bytes.length, item.bytes); assert.equal(createHash('sha256').update(bytes).digest('hex'), item.sha256, item.path); }
|
||||
report.extractionRoot = destination;
|
||||
report.shortPhysicalPath = { original, destination, sameVolumeRename: true, verifiedFiles: manifest.files.length, originalManifestSha256: createHash('sha256').update(originalManifest).digest('hex'), reason: 'Avoid the known Git management path byte limit in nested engineering fixtures; every extracted byte remains unchanged.' };
|
||||
fs.writeFileSync('.qa/vision-f-source-short-path.json', JSON.stringify(report, null, 2) + '\n', { flag: 'wx' });
|
||||
fs.writeFileSync(pointerFile, JSON.stringify(report, null, 2) + '\n');
|
||||
console.log(JSON.stringify({ success: true, ...report.shortPhysicalPath }));
|
||||
@@ -0,0 +1,61 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { DatabaseSync } from 'node:sqlite';
|
||||
import { canonical, databaseSnapshot, digest } from './desktop-f-state.mjs';
|
||||
import { snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
|
||||
const deployed = JSON.parse(fs.readFileSync(process.argv[2] ?? '.qa/desktop-host-f-formal-start.json')); assert.equal(deployed.success, true);
|
||||
const output = process.argv[3] ?? '.qa/desktop-host-f-formal-artifacts.json';
|
||||
const before = JSON.parse(fs.readFileSync(JSON.parse(fs.readFileSync('.qa/vision-f-formal-baseline-location.json')).before));
|
||||
const database = new DatabaseSync(path.join(deployed.dataRoot, 'workbench.sqlite'), { readOnly: true });
|
||||
let originalRecords;
|
||||
try { originalRecords = database.prepare("SELECT * FROM records WHERE kind='artifact' ORDER BY rowid").all(); }
|
||||
finally { database.close(); }
|
||||
const original = new Map(), producers = [], referenced = new Map();
|
||||
for (const row of originalRecords) {
|
||||
const artifact = JSON.parse(row.payload);
|
||||
assert.equal(artifact.id, row.id); assert.equal(original.has(row.id), false);
|
||||
for (const [column, field] of [['session_id', 'sessionId'], ['project_id', 'projectId'], ['task_id', 'taskId'], ['run_id', 'runId']]) {
|
||||
assert.equal(row[column] ?? null, artifact[field] ?? null, artifact.id + ': ' + field);
|
||||
}
|
||||
assert.match(artifact.sha256, /^[a-f0-9]{64}$/);
|
||||
assert.equal(artifact.relative, artifact.sha256.slice(0, 2) + '/' + artifact.sha256 + '.blob');
|
||||
const blob = { path: artifact.relative, bytes: artifact.bytes, sha256: artifact.sha256 };
|
||||
if (referenced.has(blob.path)) assert.deepEqual(referenced.get(blob.path), blob);
|
||||
referenced.set(blob.path, blob); original.set(row.id, artifact);
|
||||
producers.push({ id: row.id, sessionId: row.session_id, projectId: row.project_id, taskId: row.task_id, runId: row.run_id,
|
||||
rowSha256: digest(row), metadataSha256: digest(artifact) });
|
||||
}
|
||||
assert.deepEqual(canonical(databaseSnapshot(deployed.dataRoot).tables.records), canonical(before.database.tables.records));
|
||||
const physical = snapshotPersistentData(deployed.dataRoot).artifacts;
|
||||
assert.deepEqual(physical, before.persistent.artifacts, 'Every original physical blob byte remains exact.');
|
||||
const physicalByPath = new Map(physical.map(value => [value.path, value]));
|
||||
for (const blob of referenced.values()) assert.deepEqual(physicalByPath.get(blob.path), blob, 'Original referenced blob: ' + blob.path);
|
||||
assert.equal(physical.length, deployed.counts.artifacts);
|
||||
const base = 'http://127.0.0.1:4318';
|
||||
const bootstrap = await (await fetch(base + '/api/bootstrap', { headers: { Connection: 'close' } })).json(); assert.equal(bootstrap.version, '1.18.0');
|
||||
const health = await (await fetch(base + '/api/health', { headers: { Connection: 'close' } })).json(); assert.equal(health.pid, deployed.identity.pid);
|
||||
const pages = [], ids = new Set(); let offset = 0, total = null;
|
||||
while (total === null || offset < total) {
|
||||
const response = await fetch(base + '/api/operations?artifactOffset=' + offset + '&artifactLimit=100',
|
||||
{ headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' }, signal: AbortSignal.timeout(30000) }); assert.equal(response.status, 200);
|
||||
const report = await response.json(), page = report.artifacts; assert.equal(report.version, '1.18.0'); assert.equal(page.offset, offset);
|
||||
if (total === null) total = page.total; assert.equal(page.total, total); assert.equal(page.checked, page.results.length);
|
||||
for (const row of page.results) {
|
||||
assert.equal(row.passed, true, row.id + ': ' + row.error); assert.equal(ids.has(row.id), false);
|
||||
const artifact = original.get(row.id); assert.ok(artifact, 'Inspection returned an unknown original artifact ID.');
|
||||
assert.equal(row.sha256, artifact.sha256); assert.equal(row.bytes, artifact.bytes); ids.add(row.id);
|
||||
}
|
||||
pages.push({ offset, checked: page.checked, total, results: page.results, checks: report.checks, checkedAt: report.checkedAt });
|
||||
offset += page.checked; assert.ok(page.checked > 0 || total === 0);
|
||||
}
|
||||
assert.equal(ids.size, total); assert.equal(total, original.size);
|
||||
assert.deepEqual([...ids].sort(), [...original.keys()].sort());
|
||||
assert.deepEqual(canonical(databaseSnapshot(deployed.dataRoot).tables.records), canonical(before.database.tables.records));
|
||||
const result = { success: true, version: '1.18.0', pid: health.pid, checked: ids.size, total, pages,
|
||||
artifactRecords: original.size, blobFiles: physical.length, referencedBlobFiles: referenced.size,
|
||||
unreferencedBlobFiles: physical.filter(value => !referenced.has(value.path)), producers, physical,
|
||||
checkedAt: new Date().toISOString(), realModelRequests: 0, scope: 'Each API inspection ID/hash/byte length matched its original SQLite artifact metadata and recorded producer identity. All referenced deduplicated blobs matched physical byte hashes; every physical blob matched the user-started snapshot. Record and physical-file counts are separate. No source/tool/model/credential or persistent user-state mutation; unknown/source attention remains recorded in each original inspection.' };
|
||||
const bytes = Buffer.from(JSON.stringify(result, null, 2)); fs.writeFileSync(output, bytes, { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, total, checked: ids.size, pages: pages.length, reportSha256: createHash('sha256').update(bytes).digest('hex') }));
|
||||
@@ -0,0 +1,122 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash, randomUUID } from 'node:crypto';
|
||||
import { chromium, expect } from 'playwright/test';
|
||||
|
||||
const base = 'http://127.0.0.1:4318', directory = path.resolve('.qa', 'vision-f-formal-ui-' + randomUUID());
|
||||
fs.mkdirSync(directory);
|
||||
const health = await (await fetch(base + '/api/health')).json();
|
||||
const deployed = JSON.parse(fs.readFileSync(process.argv[2] ?? '.qa/vision-f-formal-activate.json', 'utf8'));
|
||||
const output = process.argv[3] ?? '.qa/vision-f-formal-ui-validation.json';
|
||||
assert.equal(deployed.success, true); assert.equal(health.version, '1.18.0'); assert.equal(health.pid, deployed.identity.pid);
|
||||
const bootstrap = await (await fetch(base + '/api/bootstrap')).json();
|
||||
const existingSession = bootstrap.sessions.find(value => value.status === 'completed' && bootstrap.projects.some(project => project.id === value.projectId));
|
||||
assert.ok(existingSession, 'Read-only history inspection requires an existing completed session.');
|
||||
const readApi = async route => { const response = await fetch(base + '/api' + route, { headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' }, signal: AbortSignal.timeout(10000) }); assert.equal(response.ok, true); return response.json(); };
|
||||
const controlledAvailability = await readApi('/engines/deepseek/controlled-availability'), purgeSource = await readApi('/engines/purge/source');
|
||||
assert.equal(controlledAvailability.controlledStatus, 'available'); assert.equal(purgeSource.status, 'available'); assert.equal(purgeSource.defaultEnabled, false);
|
||||
const pageErrors = [], requestFailures = [], httpErrors = [], blockedWrites = [], results = [];
|
||||
const record = { success: false, version: health.version, pid: health.pid, directory,
|
||||
selectedHistory: { projectId: existingSession.projectId, sessionId: existingSession.id, selection: 'Actual current-project selector; no task created.' }, results };
|
||||
const browser = await chromium.launch({ channel: 'msedge', headless: true });
|
||||
const screenshot = async (page, filename) => {
|
||||
const file = path.join(directory, filename); await page.screenshot({ path: file, fullPage: true });
|
||||
return { screenshot: file, screenshotSha256: createHash('sha256').update(fs.readFileSync(file)).digest('hex') };
|
||||
};
|
||||
try {
|
||||
for (const [width, height] of [[1280, 900], [390, 844]]) {
|
||||
const context = await browser.newContext({ viewport: { width, height }, reducedMotion: 'reduce' });
|
||||
let closing = false;
|
||||
try {
|
||||
const page = await context.newPage();
|
||||
page.on('pageerror', error => pageErrors.push(error.message));
|
||||
page.on('requestfailed', request => { if (!closing) requestFailures.push({ url: request.url(), error: request.failure()?.errorText }); });
|
||||
page.on('response', response => { if (response.status() >= 400) httpErrors.push({ url: response.url(), status: response.status() }); });
|
||||
await page.route('**/api/**', route => {
|
||||
if (!['GET', 'HEAD', 'OPTIONS'].includes(route.request().method())) {
|
||||
blockedWrites.push({ method: route.request().method(), url: route.request().url() }); return route.abort();
|
||||
}
|
||||
return route.continue();
|
||||
});
|
||||
await Promise.all([page.waitForResponse(response => response.url().endsWith('/api/bootstrap') && response.status() === 200),
|
||||
page.goto(base + '/?release=1.18.0', { waitUntil: 'domcontentloaded' })]);
|
||||
await expect(page.locator('.connection small')).toHaveText('v1.18.0');
|
||||
await expect(page.locator('.connection')).toContainText('本地服务已连接');
|
||||
const projectSelector = page.getByRole('combobox', { name: '当前项目', exact: true });
|
||||
if (!await projectSelector.isVisible()) await page.getByRole('button', { name: '展开项目栏', exact: true }).click();
|
||||
await projectSelector.selectOption(existingSession.projectId);
|
||||
if (!await projectSelector.isVisible()) await page.getByRole('button', { name: '展开项目栏', exact: true }).click();
|
||||
await expect(projectSelector).toHaveValue(existingSession.projectId);
|
||||
if (width <= 940) await page.getByRole('button', { name: '收起项目栏', exact: true }).click();
|
||||
await expect(page.getByRole('button', { name: '隔离协作', exact: true })).toBeEnabled();
|
||||
await page.getByRole('button', { name: '查看任务记录', exact: true }).click();
|
||||
const plan = page.getByLabel('执行计划', { exact: true }); await expect(plan).toBeVisible();
|
||||
await expect(plan).not.toHaveAttribute('aria-busy', 'true', { timeout: 15000 });
|
||||
await expect(plan).not.toContainText('正在核对任务计划', { timeout: 15000 });
|
||||
await expect(plan.getByRole('heading', { name: '执行计划', exact: true })).toBeVisible();
|
||||
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
|
||||
results.push({ width, height, panel: '执行计划', readOnly: true, ...await screenshot(page, 'plan-' + width + '.png') });
|
||||
if (width <= 940) await page.getByRole('button', { name: '关闭检视区', exact: true }).click();
|
||||
for (const [launcher, title, suffix] of [['打开模型中心', '模型中心', '/api/model-center'], ['项目技能', '项目技能', '/skills'], ['项目MCP工具', '项目 MCP 工具', '/mcp']]) {
|
||||
await Promise.all([page.waitForResponse(response => response.url().endsWith(suffix) && response.status() === 200),
|
||||
page.getByRole('button', { name: launcher, exact: true }).click()]);
|
||||
const dialog = page.getByRole('dialog', { name: title, exact: true }); await expect(dialog).toBeVisible();
|
||||
await expect(dialog.getByRole('heading', { name: title, exact: true })).toBeVisible();
|
||||
for (const loading of ['正在读取实际连接状态', '正在核对已登记技能', '正在读取项目注册']) await expect(dialog).not.toContainText(loading);
|
||||
const bounds = await dialog.boundingBox(); assert.ok(bounds.x >= 0 && bounds.x + bounds.width <= width + 1);
|
||||
results.push({ width, height, panel: title, readOnly: true, ...await screenshot(page, suffix.split('/').at(-1) + '-' + width + '.png') });
|
||||
if (title === '模型中心') {
|
||||
await Promise.all([page.waitForResponse(response => response.url().endsWith('/api/model-center/credentials') && response.status() === 200),
|
||||
dialog.getByRole('button', { name: '凭据保存', exact: true }).click()]);
|
||||
await expect(dialog.getByRole('heading', { name: '本机加密凭据', exact: true })).toBeVisible();
|
||||
await expect(dialog).not.toContainText('正在核对本机保存状态');
|
||||
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
|
||||
results.push({ width, height, panel: '本机加密凭据只读状态', readOnly: true, ...await screenshot(page, 'credentials-' + width + '.png') });
|
||||
await dialog.getByRole('button', { name: '运行巡检', exact: true }).click();
|
||||
await Promise.all([page.waitForResponse(response => response.url().includes('/api/operations') && response.status() === 200),
|
||||
dialog.getByRole('button', { name: '开始本地巡检', exact: true }).click()]);
|
||||
await expect(dialog.getByLabel('历史工件巡检分页', { exact: true })).toBeVisible();
|
||||
await expect(dialog.getByRole('checkbox', { name: '在此页面每30秒检查,离开即停止', exact: true })).not.toBeChecked();
|
||||
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
|
||||
results.push({ width, height, panel: '运行巡检及实际覆盖范围', readOnly: true, ...await screenshot(page, 'operations-' + width + '.png') });
|
||||
}
|
||||
await dialog.getByRole('button', { name: '关闭窗口', exact: true }).click(); await expect(dialog).toHaveCount(0);
|
||||
}
|
||||
await page.getByRole('button', { name: '隔离协作', exact: true }).click();
|
||||
const workers = page.getByRole('dialog', { name: '隔离协作', exact: true }); await expect(workers).toBeVisible();
|
||||
await expect(workers.getByRole('heading', { name: '隔离协作', exact: true })).toBeVisible();
|
||||
await expect(workers.getByLabel('父目标', { exact: true })).toBeVisible();
|
||||
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
|
||||
results.push({ width, height, panel: '隔离协作', readOnly: true, ...await screenshot(page, 'controlled-engine-' + width + '.png') });
|
||||
await workers.getByLabel('执行方式', { exact: true }).selectOption('deepseek');
|
||||
await workers.getByLabel('Harness 安装目录', { exact: true }).fill(controlledAvailability.root);
|
||||
await workers.getByRole('button', { name: '检测受控安装', exact: true }).click(); await expect(workers).toContainText('受控安装可用');
|
||||
const experiment = workers.getByLabel('Purge 提示实验', { exact: true }), toggle = experiment.getByRole('checkbox', { name: '启用 Purge 提示实验', exact: true });
|
||||
await expect(toggle).not.toBeChecked(); assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
|
||||
results.push({ width, height, panel: '受控引擎安装与默认关闭策略', readOnly: true, ...await screenshot(page, 'controlled-native-' + width + '.png') });
|
||||
await toggle.check(); await experiment.getByLabel('Purge 源码目录', { exact: true }).fill(purgeSource.root);
|
||||
await experiment.getByRole('button', { name: '检测 Purge 来源', exact: true }).click(); await expect(experiment).toContainText('已核对 Purge ' + purgeSource.version);
|
||||
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
|
||||
results.push({ width, height, panel: 'Purge来源只读核对', readOnly: true, ...await screenshot(page, 'controlled-purge-' + width + '.png') });
|
||||
await toggle.uncheck(); await workers.getByRole('button', { name: '关闭窗口', exact: true }).click();
|
||||
await page.getByRole('button', { name: '手机连接', exact: true }).click();
|
||||
const companion = page.getByRole('dialog', { name: '手机连接', exact: true }); await expect(companion).toBeVisible();
|
||||
await expect(companion).toContainText('默认关闭');
|
||||
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
|
||||
results.push({ width, height, panel: '默认关闭的手机网关与设备管理', readOnly: true, ...await screenshot(page, 'companion-' + width + '.png') });
|
||||
await companion.getByRole('button', { name: '关闭窗口', exact: true }).click();
|
||||
console.log(JSON.stringify({ width, passedPanels: 10 }));
|
||||
} finally { closing = true; await context.close(); }
|
||||
}
|
||||
assert.deepEqual(pageErrors, []); assert.deepEqual(requestFailures, []); assert.deepEqual(httpErrors, []); assert.deepEqual(blockedWrites, []);
|
||||
record.success = true;
|
||||
} catch (error) { record.error = error.stack; throw error; }
|
||||
finally {
|
||||
await browser.close();
|
||||
Object.assign(record, { testedAt: new Date().toISOString(), pageErrors, requestFailures, httpErrors, blockedWrites, modelRequests: 0,
|
||||
scope: 'Read-only smoke of deployed host in actual Edge desktop/390px; API mutations are blocked, no task/tool/model/configuration/project writes.' });
|
||||
fs.writeFileSync(path.join(directory, 'result.json'), JSON.stringify(record, null, 2) + '\n');
|
||||
fs.writeFileSync(output, JSON.stringify(record, null, 2) + '\n');
|
||||
console.log(JSON.stringify({ success: record.success, directory, panels: results.length, pageErrors: pageErrors.length, requestFailures: requestFailures.length, blockedWrites: blockedWrites.length }));
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import net from 'node:net';
|
||||
import http from 'node:http';
|
||||
import { execFile, spawn } from 'node:child_process';
|
||||
import { promisify } from 'node:util';
|
||||
import { randomUUID } from 'node:crypto';
|
||||
import { HostController } from '../src/core/desktop/host-controller.mjs';
|
||||
import { validateInstalledVersion, snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
|
||||
import { observeWindowsProcess } from '../src/core/desktop/process-identity.mjs';
|
||||
import { projectEnvironment } from '../src/core/process-environment.mjs';
|
||||
import { hash } from './desktop-f-state.mjs';
|
||||
const release = JSON.parse(fs.readFileSync('releases/latest.json'));
|
||||
const installer = JSON.parse(fs.readFileSync('.qa/vision-f-qa-installer.json')); assert.equal(installer.version, '1.18.0'); assert.equal(installer.qaFixture.fault, 'none');
|
||||
assert.equal(hash(fs.readFileSync(installer.path)), installer.sha256);
|
||||
// Keep the actual cross-drive install, with an exclusive short directory so
|
||||
// inherited TEMP depth does not exceed the installer's Windows path limit.
|
||||
const qaParent = 'C:\\AWQA18';
|
||||
fs.mkdirSync(qaParent, { recursive: true });
|
||||
assert.equal(fs.lstatSync(qaParent).isSymbolicLink(), false);
|
||||
const root = path.join(qaParent, 'i-' + randomUUID().replaceAll('-', '')), installRoot = path.join(root, 'program'), dataRoot = path.join(root, 'data');
|
||||
assert.equal(fs.existsSync(root), false); fs.mkdirSync(root);
|
||||
const run = promisify(execFile), env = projectEnvironment(), cases = [];
|
||||
const registryKey = 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{3e059b93-f40c-49ec-ba16-bc05cfb65f1a}_is1';
|
||||
let registryExists = false; try { await run('reg.exe', ['query', registryKey], { windowsHide: true, env, timeout: 10000 }); registryExists = true; } catch (error) { assert.equal(error.code, 1); }
|
||||
assert.equal(registryExists, false, 'The isolated QA registration must be absent; never replace the user product registration.');
|
||||
const probe = net.createServer(); await new Promise(resolve => probe.listen(0, '127.0.0.1', resolve)); const port = probe.address().port; await new Promise(resolve => probe.close(resolve));
|
||||
const candidate = path.join(installRoot, 'versions', installer.candidateDirectory);
|
||||
let stage = 'exact final installer', controller, model, report, original, authenticated = 0;
|
||||
const record = (name, detail = {}) => { cases.push({ name, success: true, ...detail }); console.log('PASS ' + name); };
|
||||
async function until(action, timeout = 90000) { const end = Date.now() + timeout; while (!await action()) { if (Date.now() > end) throw Error('Timeout: ' + stage); await new Promise(resolve => setTimeout(resolve, 100)); } }
|
||||
async function processRun(binary, args, label, timeout = 900000) {
|
||||
const bootstrap = path.basename(binary).toLowerCase() === 'agentworkbench.exe';
|
||||
const chunks = [], child = spawn(binary, args, { cwd: path.dirname(binary), env, windowsHide: true, stdio: bootstrap ? 'ignore' : ['ignore', 'pipe', 'pipe'] });
|
||||
child.stdout?.on('data', bytes => chunks.push(bytes)); child.stderr?.on('data', bytes => chunks.push(bytes));
|
||||
const timer = setTimeout(() => child.kill(), timeout);
|
||||
const code = await new Promise((resolve, reject) => { child.once('error', reject); child.once(bootstrap ? 'exit' : 'close', resolve); }); clearTimeout(timer);
|
||||
const bytes = Buffer.concat(chunks), file = path.join(root, label + '-process.txt'); fs.writeFileSync(file, bytes);
|
||||
assert.equal(code, 0, label + ' process exit'); return { exitCode: code, processLog: file, processLogSha256: hash(bytes) };
|
||||
}
|
||||
async function nativeStart(label) {
|
||||
await processRun(path.join(installRoot, 'AgentWorkbench.exe'), ['--hidden-window'], label, 30000);
|
||||
controller = new HostController({ appRoot: candidate, dataRoot, port, nodePath: path.join(candidate, 'runtime/node.exe') });
|
||||
await until(async () => { try { const value = await controller.connect(); return !!value; } catch { return false; } });
|
||||
await until(async () => (await controller.status()).desktopWindows.count === 1);
|
||||
return (await controller.status()).identity;
|
||||
}
|
||||
async function crashOwnedWindow() {
|
||||
const status = await controller.status(); assert.equal(status.desktopWindows.count, 1);
|
||||
const entry = status.desktopWindows.entries[0], actual = observeWindowsProcess(entry.pid);
|
||||
assert.ok(actual); assert.equal(actual.createdAt, entry.createdAt);
|
||||
assert.equal(fs.realpathSync.native(actual.executable), fs.realpathSync.native(path.join(candidate, 'desktop/AgentWorkbench.exe')));
|
||||
// Simulate this authenticated Electron process crashing. /T would explicitly
|
||||
// kill the detached backend descendant as well, a different failure mode.
|
||||
const result = await run('taskkill.exe', ['/PID', String(entry.pid), '/F'], { windowsHide: true, env, timeout: 30000 });
|
||||
fs.writeFileSync(path.join(root, 'owned-window-crash-' + entry.pid + '.txt'), result.stdout + result.stderr);
|
||||
await until(async () => (await controller.status()).desktopWindows.count === 0);
|
||||
assert.equal(observeWindowsProcess(entry.pid), null); return { pid: entry.pid, createdAt: entry.createdAt, scope: 'Explicit owned Electron process crash fixture; authenticated original PID/path/creation verified before taskkill /PID /F, without /T. Forced termination of the entire process tree is not window-process crash isolation.' };
|
||||
}
|
||||
try {
|
||||
const setupLog = path.join(root, 'exact-setup.log');
|
||||
const installed = await processRun(installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/NOICONS', '/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=' + port, '/LOG=' + setupLog], 'exact-setup');
|
||||
const identity = validateInstalledVersion(candidate), pointer = JSON.parse(fs.readFileSync(path.join(installRoot, 'current.json')));
|
||||
assert.equal(pointer.active.directory, installer.candidateDirectory); assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
|
||||
assert.equal(hash(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe'))), hash(fs.readFileSync(path.join(release.portableRoot, 'AgentWorkbench.exe'))));
|
||||
record(stage, { installerSha256: installer.sha256, ...installed, setupLog, setupLogSha256: hash(fs.readFileSync(setupLog)), manifestSha256: identity.manifestSha256, loadedIdentity: identity.identitySha256 });
|
||||
stage = 'actual installed native bootstrap and bundled execution host'; original = await nativeStart('native-start');
|
||||
assert.equal(original.version, '1.18.0'); assert.equal(original.runtimeRoot, candidate); assert.equal(original.executable.path, path.join(candidate, 'runtime/node.exe'));
|
||||
const detectedEngine = await controller.api('/engines/deepseek/availability'), detectedPurge = await controller.api('/engines/purge/source');
|
||||
assert.equal(detectedEngine.status, 'available'); assert.equal(detectedPurge.status, 'available'); assert.equal(detectedPurge.defaultEnabled, false);
|
||||
record(stage, { identity: original, desktopWindow: (await controller.status()).desktopWindows.entries[0],
|
||||
relocatedSources: { engine: { root: detectedEngine.root, version: detectedEngine.version, identitySha256: detectedEngine.identitySha256 },
|
||||
purge: { root: detectedPurge.root, version: detectedPurge.version, sourceSha256: detectedPurge.sourceSha256 } },
|
||||
sourceEnvironmentOverrides: false, sourceScope: 'Read-only installed default lookup in a source-neutral child environment; actual third-party critical inputs checked, no SDK/plugin/model execution.' });
|
||||
const key = 'owned-final-install-key-' + randomUUID();
|
||||
model = http.createServer(async (request, response) => {
|
||||
for await (const bytes of request) void bytes;
|
||||
if (request.headers.authorization !== 'Bearer ' + key) { response.writeHead(401); response.end('{}'); return; }
|
||||
authenticated++; response.writeHead(200, { 'Content-Type': 'application/json' }); response.end(JSON.stringify({ choices: [{ message: { role: 'assistant', content: 'Owned final installer connection' }, finish_reason: 'stop' }], usage: { prompt_tokens: 4, completion_tokens: 1, total_tokens: 5 } }));
|
||||
}); await new Promise(resolve => model.listen(0, '127.0.0.1', resolve));
|
||||
stage = 'actual installed owned DPAPI credential and HTTP authentication';
|
||||
const created = await controller.api('/model-center/connections', { method: 'POST', input: { name: 'Owned final installer', baseUrl: 'http://127.0.0.1:' + model.address().port + '/v1', model: 'owned', apiKey: key, persistKey: true } });
|
||||
const connectionId = created.connection?.id ?? created.id ?? created.center?.connections.at(-1).id; assert.ok(connectionId);
|
||||
await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 1);
|
||||
const saved = (await controller.api('/model-center')).connections.find(value => value.id === connectionId); assert.equal(saved.hasKey, true);
|
||||
record(stage, { connectionId, authenticatedRequests: authenticated, savedCredential: saved.savedCredential });
|
||||
stage = 'actual installed owned approval and bundled npm project check';
|
||||
const bootstrap = await controller.api('/bootstrap'), project = bootstrap.projects.find(value => value.id === bootstrap.exampleProjectId);
|
||||
assert.equal(project.root, path.join(dataRoot, 'projects', 'starter-project'));
|
||||
const session = await controller.api('/sessions', { method: 'POST', input: { projectId: project.id } });
|
||||
await controller.api('/sessions/' + session.id + '/messages', { method: 'POST', input: { content: 'Owned exact installer offline demonstration and bundled Node check' } });
|
||||
let current; await until(async () => { current = await controller.api('/sessions/' + session.id); return current.status === 'awaiting_approval'; });
|
||||
const approval = current.approvals.find(value => value.status === 'pending'); assert.equal(approval.command, 'node --version');
|
||||
await controller.api('/sessions/' + session.id + '/approvals/' + approval.id, { method: 'POST', input: { allow: true } });
|
||||
await until(async () => { current = await controller.api('/sessions/' + session.id); return current.status === 'needs_review'; });
|
||||
for (const change of current.changes.filter(value => value.status === 'pending')) await controller.api('/sessions/' + session.id + '/changes/' + change.id + '/reject', { method: 'POST', input: {} });
|
||||
const planned = await controller.api('/sessions/' + session.id + '/check-plans', { method: 'POST', input: { names: ['test'] } }), plan = planned.execution.plans.at(-1);
|
||||
const started = await controller.api('/sessions/' + session.id + '/check-jobs', { method: 'POST', input: { planId: plan.id } }), checkId = started.execution.checks.at(-1).id;
|
||||
let checked; await until(async () => { checked = await controller.api('/sessions/' + session.id + '/check-jobs/' + checkId); return !['queued', 'running'].includes(checked.status); });
|
||||
assert.equal(checked.status, 'passed'); assert.equal(checked.results[0].tests.passed, 4); assert.equal(checked.results[0].tests.total, 4);
|
||||
record(stage, { sessionId: session.id, originalApprovalId: approval.id, checkId, actualTests: checked.results[0].tests, originalLogArtifactId: checked.results[0].logArtifactId });
|
||||
stage = 'actual owned Electron crash preserves final installed host and data';
|
||||
const beforeCrash = snapshotPersistentData(dataRoot), crash = await crashOwnedWindow();
|
||||
assert.equal((await controller.status()).identity.pid, original.pid); assert.deepEqual(snapshotPersistentData(dataRoot), beforeCrash);
|
||||
record(stage, { ...crash, originalHostPid: original.pid, originalDataRetained: true });
|
||||
stage = 'actual installed host restart preserves every row and loads owned saved connection';
|
||||
const beforeRestart = snapshotPersistentData(dataRoot); await controller.stop(); assert.equal(observeWindowsProcess(original.pid), null);
|
||||
const restarted = await nativeStart('native-restart'); assert.notEqual(restarted.pid, original.pid);
|
||||
assert.deepEqual(snapshotPersistentData(dataRoot), beforeRestart);
|
||||
const restored = (await controller.api('/model-center')).connections.find(value => value.id === connectionId);
|
||||
assert.equal(restored.hasKey, true); assert.equal(restored.revision, saved.revision); assert.equal(restored.credentialRevision, saved.credentialRevision);
|
||||
await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 2);
|
||||
record(stage, { previousPid: original.pid, pid: restarted.pid, originalPersistentDataRetained: true, ownedCredentialAuthenticatedAfterRestart: true });
|
||||
await crashOwnedWindow();
|
||||
stage = 'actual exact final installer uninstall preserves all owned user data';
|
||||
const beforeUninstall = snapshotPersistentData(dataRoot), uninstallLog = path.join(root, 'uninstall.log');
|
||||
const uninstalled = await processRun(path.join(installRoot, 'unins000.exe'), ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + uninstallLog], 'uninstall');
|
||||
assert.equal(observeWindowsProcess(restarted.pid), null); assert.deepEqual(snapshotPersistentData(dataRoot), beforeUninstall);
|
||||
assert.equal(fs.existsSync(path.join(installRoot, 'AgentWorkbench.exe')), false); assert.equal(fs.existsSync(path.join(installRoot, 'current.json')), false);
|
||||
record(stage, { ...uninstalled, uninstallLog, uninstallLogSha256: hash(fs.readFileSync(uninstallLog)), originalDataRoot: dataRoot, originalDataRetained: true });
|
||||
report = { success: true, version: '1.18.0', root, installRoot, dataRoot, installer, cases, ownedModelRequests: authenticated, realModelRequests: 0, isolatedQaRegistrationWasAbsent: true, scope: 'Final candidate payload and installer logic, using an isolated QA AppId (explicitly different setup SHA). The product setup is separately staged on the formal installation. Exclusive owned install/data/port, /NOICONS and an absent isolated QA registration prevent replacing user installation or shortcuts. Actual native bootstrap, host/owned credential/check/restart/uninstall; crash fixture stated explicitly.' };
|
||||
} catch (error) { report = { success: false, version: '1.18.0', root, installRoot, dataRoot, stage, error: error.stack, cases, installer, ownedModelRequests: authenticated, realModelRequests: 0 }; process.exitCode = 1; }
|
||||
finally {
|
||||
if (!report?.success && controller) try { const status = await controller.status(); if (!status.desktopWindows.count && !status.activity.active) await controller.stop(); } catch {}
|
||||
model?.closeAllConnections?.(); if (model) await new Promise(resolve => model.close(resolve));
|
||||
fs.writeFileSync(path.join(root, 'result.json'), JSON.stringify(report, null, 2)); fs.writeFileSync('.qa/vision-f-install-location.json', JSON.stringify({ root, result: path.join(root, 'result.json') }));
|
||||
console.log(JSON.stringify({ success: report.success, version: report.version, root, cases: cases.length, ...(report.error ? { stage, error: report.error } : {}) }));
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
✔ a budget pause persists concrete text/tool/history/image breakdown and never dispatches an oversized request (3199.9803ms)
|
||||
✔ explicit frozen preview resumes the same Task in a new Run, preserves completed tools and does not change global config or selected model (4197.9668ms)
|
||||
✔ insufficient budgets, silently clamped capacity and arbitrary config fields reject without a physical request or mutating task budget (2584.9962ms)
|
||||
✔ changed session, changed registry, expiry and altered frozen preview all require a new explicit preview (3142.2672ms)
|
||||
✔ preview preserves unknown invocation status and increasing Task allowance is committed only with confirmed new Run (3974.6054ms)
|
||||
✔ PNG bytes are fully decoded, metadata-free and bounded; JPEG EXIF orientation is applied to the sent PNG (103.3543ms)
|
||||
✔ forged type, short headers, CRC damage, incomplete chunks, trailing payloads, animation and dimension bombs reject (23.9248ms)
|
||||
✔ draft image ownership, withdrawal, reload and atomic Task binding retain original SHA and original bytes (1592.5941ms)
|
||||
✔ a failed session transaction restores draft status and cannot leave a Run consuming the attachment (1137.8139ms)
|
||||
✔ draft limits, duplicate selection, source changes and cross-Task association reject before dispatch (2041.3517ms)
|
||||
✔ demo and legacy paths refuse image dispatch without creating a Task or consuming the draft (887.0133ms)
|
||||
✔ chat-completions sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (3034.6431ms)
|
||||
✔ responses sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (2892.3659ms)
|
||||
✔ mixed pool excludes unknown vision before lease and sends zero HTTP to the incompatible member (2345.6865ms)
|
||||
✔ vision probe requires correct randomized pixel order and evidence expires when the connection revision changes (1253.9727ms)
|
||||
✔ HTTP upload/read/withdraw uses session authorization, returns byte SHA and refuses unknown ownership (1103.0949ms)
|
||||
✔ image accounting excludes Base64 as text but seals every original request byte and reserves image input separately (2.3442ms)
|
||||
ℹ tests 17
|
||||
ℹ suites 0
|
||||
ℹ pass 17
|
||||
ℹ fail 0
|
||||
ℹ cancelled 0
|
||||
ℹ skipped 0
|
||||
ℹ todo 0
|
||||
ℹ duration_ms 17227.4962
|
||||
@@ -0,0 +1,67 @@
|
||||
UI regression: verify-vision-ui.mjs
|
||||
PASS verify-vision-ui.mjs: 5 groups
|
||||
UI regression: verify-model-protocols-ui.mjs
|
||||
PASS verify-model-protocols-ui.mjs: 5 groups
|
||||
UI regression: verify-companion-ui.mjs
|
||||
PASS verify-companion-ui.mjs: 7 groups
|
||||
UI regression: verify-controlled-ui.mjs
|
||||
PASS verify-controlled-ui.mjs: 9 groups
|
||||
UI regression: verify-purge-ui.mjs
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-all-ui.mjs:77
|
||||
child.once('close', code => { clearTimeout(timer); code === 0 && !timedOut ? resolve(tail) : reject(new Error(script + (timedOut ? ' timed out' : ' failed (' + code + ')') + ': ' + tail)); });
|
||||
^
|
||||
|
||||
Error: verify-purge-ui.mjs failed (1): node:internal/modules/run_main:107
|
||||
|
||||
triggerUncaughtException(
|
||||
|
||||
^
|
||||
|
||||
|
||||
|
||||
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
|
||||
|
||||
|
||||
|
||||
assert.ok(root && path.isAbsolute(root))
|
||||
|
||||
|
||||
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-purge-ui.mjs:20:119
|
||||
|
||||
at Array.map (<anonymous>)
|
||||
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-purge-ui.mjs:19:38
|
||||
|
||||
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
|
||||
at async node:internal/modules/esm/loader:647:26
|
||||
|
||||
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
|
||||
|
||||
generatedMessage: true,
|
||||
|
||||
code: 'ERR_ASSERTION',
|
||||
|
||||
actual: undefined,
|
||||
|
||||
expected: true,
|
||||
|
||||
operator: '==',
|
||||
|
||||
diff: 'simple'
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
|
||||
at ChildProcess.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-all-ui.mjs:77:107)
|
||||
at ChildProcess.wrapper (node:events:639:12)
|
||||
at ChildProcess.emit (node:events:514:28)
|
||||
at maybeClose (node:internal/child_process:1172:16)
|
||||
at ChildProcess._handle.onexit (node:internal/child_process:335:5)
|
||||
|
||||
Node.js v24.22.1
|
||||
@@ -0,0 +1,269 @@
|
||||
UI regression: verify-vision-ui.mjs
|
||||
PASS verify-vision-ui.mjs: 5 groups
|
||||
UI regression: verify-model-protocols-ui.mjs
|
||||
PASS verify-model-protocols-ui.mjs: 5 groups
|
||||
UI regression: verify-companion-ui.mjs
|
||||
PASS verify-companion-ui.mjs: 7 groups
|
||||
UI regression: verify-controlled-ui.mjs
|
||||
PASS verify-controlled-ui.mjs: 9 groups
|
||||
UI regression: verify-purge-ui.mjs
|
||||
PASS verify-purge-ui.mjs: 9 groups
|
||||
UI regression: verify-workers-ui.mjs
|
||||
PASS verify-workers-ui.mjs: 10 groups
|
||||
UI regression: verify-task-plans-ui.mjs
|
||||
PASS verify-task-plans-ui.mjs: 8 groups
|
||||
UI regression: verify-browser-ui.mjs
|
||||
PASS verify-browser-ui.mjs: 10 groups
|
||||
UI regression: verify-ui.mjs
|
||||
PASS verify-ui.mjs: 10 groups
|
||||
UI regression: verify-diagnostics-ui.mjs
|
||||
PASS verify-diagnostics-ui.mjs: 9 groups
|
||||
UI regression: verify-execution-ui.mjs
|
||||
PASS verify-execution-ui.mjs: 7 groups
|
||||
UI regression: verify-delivery-ui.mjs
|
||||
PASS verify-delivery-ui.mjs: 9 groups
|
||||
UI regression: verify-index-ui.mjs
|
||||
PASS verify-index-ui.mjs: 8 groups
|
||||
UI regression: verify-change-sets-ui.mjs
|
||||
PASS verify-change-sets-ui.mjs: 11 groups
|
||||
UI regression: verify-context-ui.mjs
|
||||
PASS verify-context-ui.mjs: 11 groups
|
||||
UI regression: verify-workspaces-ui.mjs
|
||||
PASS verify-workspaces-ui.mjs: 9 groups
|
||||
UI regression: verify-python-ui.mjs
|
||||
PASS verify-python-ui.mjs: 7 groups
|
||||
UI regression: verify-react-delivery.mjs
|
||||
PASS verify-react-delivery.mjs: 6 groups
|
||||
UI regression: verify-research-ui.mjs
|
||||
PASS verify-research-ui.mjs: 11 groups
|
||||
UI regression: verify-engines-ui.mjs
|
||||
PASS verify-engines-ui.mjs: 10 groups
|
||||
UI regression: verify-model-center-ui.mjs
|
||||
PASS verify-model-center-ui.mjs: 6 groups
|
||||
UI regression: verify-project-memory-ui.mjs
|
||||
PASS verify-project-memory-ui.mjs: 4 groups
|
||||
UI regression: verify-task-checkpoints-ui.mjs
|
||||
PASS verify-task-checkpoints-ui.mjs: 3 groups
|
||||
UI regression: verify-skills-ui.mjs
|
||||
PASS verify-skills-ui.mjs: 4 groups
|
||||
UI regression: verify-mcp-ui.mjs
|
||||
PASS verify-mcp-ui.mjs: 6 groups
|
||||
UI regression: verify-mcp-recovery-ui.mjs
|
||||
PASS verify-mcp-recovery-ui.mjs: 2 groups
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"at": "2026-10-31T17:06:12.366Z",
|
||||
"groups": 196,
|
||||
"results": [
|
||||
{
|
||||
"script": "verify-vision-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 5,
|
||||
"durationMs": 15140,
|
||||
"evidence": "docs/vision-inputs-vision-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-vision-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-model-protocols-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 5,
|
||||
"durationMs": 15070,
|
||||
"evidence": "docs/vision-inputs-model-protocols-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-model-protocols-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-companion-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 7,
|
||||
"durationMs": 18854,
|
||||
"evidence": "docs/vision-inputs-companion-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-companion-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-controlled-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 59148,
|
||||
"evidence": "docs/vision-inputs-controlled-final-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-controlled-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-purge-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 27643,
|
||||
"evidence": "docs/vision-inputs-purge-final-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-purge-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-workers-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 128934,
|
||||
"evidence": "docs/vision-inputs-workers-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-workers-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-task-plans-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 8,
|
||||
"durationMs": 16212,
|
||||
"evidence": "docs/vision-inputs-task-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-task-plans-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-browser-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 24213,
|
||||
"evidence": "docs/vision-inputs-browser-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-browser-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 18982,
|
||||
"evidence": "docs/vision-inputs-basic-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-diagnostics-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 21604,
|
||||
"evidence": "docs/vision-inputs-diagnostics-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-diagnostics-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-execution-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 7,
|
||||
"durationMs": 29743,
|
||||
"evidence": "docs/vision-inputs-execution-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-execution-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-delivery-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 57563,
|
||||
"evidence": "docs/vision-inputs-delivery-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-delivery-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-index-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 8,
|
||||
"durationMs": 8504,
|
||||
"evidence": "docs/vision-inputs-index-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-index-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-change-sets-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 11,
|
||||
"durationMs": 18656,
|
||||
"evidence": "docs/vision-inputs-change-sets-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-change-sets-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-context-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 11,
|
||||
"durationMs": 27840,
|
||||
"evidence": "docs/vision-inputs-context-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-context-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-workspaces-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 33214,
|
||||
"evidence": "docs/vision-inputs-workspaces-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-workspaces-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-python-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 7,
|
||||
"durationMs": 25235,
|
||||
"evidence": "docs/vision-inputs-python-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-python-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-react-delivery.mjs",
|
||||
"success": true,
|
||||
"groups": 6,
|
||||
"durationMs": 41109,
|
||||
"evidence": "docs/vision-inputs-react-delivery-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-react-delivery.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-research-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 11,
|
||||
"durationMs": 29147,
|
||||
"evidence": "docs/vision-inputs-research-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-research-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-engines-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 14754,
|
||||
"evidence": "docs/vision-inputs-engines-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-engines-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-model-center-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 6,
|
||||
"durationMs": 9853,
|
||||
"evidence": "docs/vision-inputs-model-center-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-model-center-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-project-memory-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 4,
|
||||
"durationMs": 8540,
|
||||
"evidence": "docs/vision-inputs-project-memory-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-project-memory-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-task-checkpoints-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 3,
|
||||
"durationMs": 9775,
|
||||
"evidence": "docs/vision-inputs-task-checkpoints-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-task-checkpoints-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-skills-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 4,
|
||||
"durationMs": 9809,
|
||||
"evidence": "docs/vision-inputs-skills-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-skills-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-mcp-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 6,
|
||||
"durationMs": 11635,
|
||||
"evidence": "docs/vision-inputs-mcp-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-mcp-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-mcp-recovery-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 2,
|
||||
"durationMs": 8237,
|
||||
"evidence": "docs/vision-inputs-mcp-recovery-ui-validation.json",
|
||||
"log": ".qa/vision-inputs-verify-mcp-recovery-ui.log"
|
||||
}
|
||||
],
|
||||
"scope": "Every verifier owns an independent port and synthetic data directory. Synthetic provider fixtures verify protocols; configured-model acceptance is separate. No production service or real key read/copied."
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
✖ a budget pause persists concrete text/tool/history/image breakdown and never dispatches an oversized request (942.5897ms)
|
||||
✖ explicit frozen preview resumes the same Task in a new Run, preserves completed tools and does not change global config or selected model (961.5493ms)
|
||||
✖ insufficient budgets, silently clamped capacity and arbitrary config fields reject without a physical request or mutating task budget (1207.5803ms)
|
||||
✖ changed session, changed registry, expiry and altered frozen preview all require a new explicit preview (1071.5479ms)
|
||||
✖ preview preserves unknown invocation status and increasing Task allowance is committed only with confirmed new Run (1018.3573ms)
|
||||
✔ PNG bytes are fully decoded, metadata-free and bounded; JPEG EXIF orientation is applied to the sent PNG (103.2372ms)
|
||||
✔ forged type, short headers, CRC damage, incomplete chunks, trailing payloads, animation and dimension bombs reject (23.8496ms)
|
||||
✔ draft image ownership, withdrawal, reload and atomic Task binding retain original SHA and original bytes (1743.7451ms)
|
||||
✔ a failed session transaction restores draft status and cannot leave a Run consuming the attachment (1205.6103ms)
|
||||
✔ draft limits, duplicate selection, source changes and cross-Task association reject before dispatch (2101.2044ms)
|
||||
✔ demo and legacy paths refuse image dispatch without creating a Task or consuming the draft (687.6118ms)
|
||||
✔ chat-completions sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (2167.6013ms)
|
||||
✔ responses sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1945.9025ms)
|
||||
✔ mixed pool excludes unknown vision before lease and sends zero HTTP to the incompatible member (1614.9053ms)
|
||||
✔ vision probe requires correct randomized pixel order and evidence expires when the connection revision changes (836.9181ms)
|
||||
✔ HTTP upload/read/withdraw uses session authorization, returns byte SHA and refuses unknown ownership (703.0134ms)
|
||||
✔ image accounting excludes Base64 as text but seals every original request byte and reserves image input separately (2.942ms)
|
||||
ℹ tests 17
|
||||
ℹ suites 0
|
||||
ℹ pass 12
|
||||
ℹ fail 5
|
||||
ℹ cancelled 0
|
||||
ℹ skipped 0
|
||||
ℹ todo 0
|
||||
ℹ duration_ms 13384.0766
|
||||
|
||||
✖ failing tests:
|
||||
|
||||
test at tests\budget-resume.test.mjs:19:1
|
||||
✖ a budget pause persists concrete text/tool/history/image breakdown and never dispatches an oversized request (942.5897ms)
|
||||
TypeError [Error]: f.store.updateConfig is not a function
|
||||
at paused (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:10:60)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:20:11)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
|
||||
|
||||
test at tests\budget-resume.test.mjs:27:1
|
||||
✖ explicit frozen preview resumes the same Task in a new Run, preserves completed tools and does not change global config or selected model (961.5493ms)
|
||||
TypeError [Error]: f.store.updateConfig is not a function
|
||||
at paused (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:10:60)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:28:11)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
|
||||
test at tests\budget-resume.test.mjs:38:1
|
||||
✖ insufficient budgets, silently clamped capacity and arbitrary config fields reject without a physical request or mutating task budget (1207.5803ms)
|
||||
TypeError [Error]: f.store.updateConfig is not a function
|
||||
at paused (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:10:60)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:39:11)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
|
||||
test at tests\budget-resume.test.mjs:44:1
|
||||
✖ changed session, changed registry, expiry and altered frozen preview all require a new explicit preview (1071.5479ms)
|
||||
TypeError [Error]: f.store.updateConfig is not a function
|
||||
at paused (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:10:60)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:45:11)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
|
||||
test at tests\budget-resume.test.mjs:56:1
|
||||
✖ preview preserves unknown invocation status and increasing Task allowance is committed only with confirmed new Run (1018.3573ms)
|
||||
TypeError [Error]: f.store.updateConfig is not a function
|
||||
at paused (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:10:60)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:57:11)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
@@ -0,0 +1,13 @@
|
||||
✔ a budget pause persists concrete text/tool/history/image breakdown and never dispatches an oversized request (1877.4029ms)
|
||||
✔ explicit frozen preview resumes the same Task in a new Run, preserves completed tools and does not change global config or selected model (2631.6384ms)
|
||||
✔ insufficient budgets, silently clamped capacity and arbitrary config fields reject without a physical request or mutating task budget (1691.6229ms)
|
||||
✔ changed session, changed registry, expiry and altered frozen preview all require a new explicit preview (2369.3845ms)
|
||||
✔ preview preserves unknown invocation status and increasing Task allowance is committed only with confirmed new Run (2533.6439ms)
|
||||
ℹ tests 5
|
||||
ℹ suites 0
|
||||
ℹ pass 5
|
||||
ℹ fail 0
|
||||
ℹ cancelled 0
|
||||
ℹ skipped 0
|
||||
ℹ todo 0
|
||||
ℹ duration_ms 11274.7023
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
> local-agent-workbench@1.17.0 build
|
||||
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
|
||||
|
||||
You are using Node.js 16.13.1. Vite requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/node_modules/vite/dist/node/chunks/config.js:8
|
||||
import fsp, { constants } from "node:fs/promises";
|
||||
^^^^^^^^^
|
||||
SyntaxError: The requested module 'node:fs/promises' does not provide an export named 'constants'
|
||||
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
|
||||
at async ModuleJob.run (node:internal/modules/esm/module_job:181:5)
|
||||
at async Promise.all (index 0)
|
||||
at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
|
||||
at async CAC.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/node_modules/vite/dist/node/cli.js:626:28)
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
> local-agent-workbench@1.17.0 build
|
||||
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
|
||||
|
||||
vite v7.3.7 building client environment for production...
|
||||
transforming...
|
||||
✓ 1728 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
dist-client/.vite/manifest.json 0.55 kB │ gzip: 0.22 kB
|
||||
dist-client/index.html 0.58 kB │ gzip: 0.40 kB
|
||||
dist-client/mobile.html 0.82 kB │ gzip: 0.46 kB
|
||||
dist-client/assets/mobile-BOUNcCmV.css 11.42 kB │ gzip: 3.04 kB
|
||||
dist-client/assets/desktop-BXuwyxRk.css 138.41 kB │ gzip: 26.51 kB
|
||||
dist-client/assets/mobile-Dz6Bo2B9.js 21.74 kB │ gzip: 7.75 kB
|
||||
dist-client/assets/x-Cc3T3VuL.js 225.51 kB │ gzip: 70.77 kB
|
||||
dist-client/assets/desktop-_fxkIc9d.js 294.06 kB │ gzip: 83.32 kB
|
||||
✓ built in 1.16s
|
||||
Mobile shell built: 3 allowed assets; API and project data are never cached.
|
||||
Server bundle built.
|
||||
@@ -0,0 +1,101 @@
|
||||
✔ a budget pause persists concrete text/tool/history/image breakdown and never dispatches an oversized request (2997.0554ms)
|
||||
✖ explicit frozen preview resumes the same Task in a new Run, preserves completed tools and does not change global config or selected model (3513.8586ms)
|
||||
✔ insufficient budgets, silently clamped capacity and arbitrary config fields reject without a physical request or mutating task budget (3520.4991ms)
|
||||
✔ changed session, changed registry, expiry and altered frozen preview all require a new explicit preview (3275.0687ms)
|
||||
✖ preview preserves unknown invocation status and increasing Task allowance is committed only with confirmed new Run (3247.2136ms)
|
||||
✔ pairing is short lived, single-use, generation-bound and validates exact permissions (965.5924ms)
|
||||
✔ device transaction failure neither consumes the ticket nor leaves a credential (789.0047ms)
|
||||
✔ devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority (1114.822ms)
|
||||
✔ persistent registry stores hashes and a bounded audit, never raw credentials (1040.811ms)
|
||||
✔ real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint (1273.6199ms)
|
||||
✔ TLS sealing failure leaves listener closed and no plaintext or successful TLS registration (742.8388ms)
|
||||
✔ HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks (1093.9074ms)
|
||||
✔ gateway never exposes management routes, arbitrary assets or unpaired project data (1121.7398ms)
|
||||
✔ authorized project events paginate from original seq without leaking other project events or payloads (2176.9958ms)
|
||||
✔ remote task projection excludes raw model history, host configuration, tool input and credentials (1064.2894ms)
|
||||
✔ permission checks apply to direct remote mutation, not only UI controls (1064.1012ms)
|
||||
✔ approval fingerprint and exact task/revision are bound; duplicate requests never execute twice (977.3428ms)
|
||||
✔ unknown original operation is recorded and never replayed after response failure (1294.444ms)
|
||||
✔ revocation and gateway closure reject old access without invoking runtime stop (1194.679ms)
|
||||
✔ rate limits reject pairing brute force and do not persist candidate secrets (988.1917ms)
|
||||
✔ real Windows CurrentUser DPAPI persists only a sealed CA and reopens it (2135.293ms)
|
||||
✔ mobile approval executes the original Runtime command exactly once and rejects the later desktop decision (3246.1573ms)
|
||||
✔ desktop rejection wins a concurrent mobile request and original command remains unexecuted (2258.763ms)
|
||||
✔ phone stop waits for the original process exit and prevents later heartbeats and command replay (3645.9035ms)
|
||||
✔ Run replacement during parent-stop wait is rejected rather than stopping the new Run (937.9841ms)
|
||||
✔ diff pages preserve source SHA; report reads verify blobs and exclude unrelated artifact kinds (1484.4431ms)
|
||||
✔ hot upgrade refuses an active gateway and restores closed gateway ownership on failure (923.7663ms)
|
||||
✔ damaged device permissions or expiry fail closed and never overwrite the original registry (1138.4868ms)
|
||||
✔ device revocation destroys its actual authenticated TLS connection (1193.174ms)
|
||||
✔ companion observes only current Task screenshots, verifies original PNG bytes and loses access immediately on revoke (1513.6405ms)
|
||||
✔ schema1 connections remain readable without inventing observed capabilities or migrating original state (1054.5251ms)
|
||||
✔ protocol, unsupported capabilities and stream choice persist; client claims cannot forge verified evidence (794.7377ms)
|
||||
✔ ability evidence belongs to exact connection and credential revision; unknown and unsupported reject required routing (0.2757ms)
|
||||
✔ invalid declarations and inconsistent stream settings reject before registry, revision and credentials mutate (610.7537ms)
|
||||
✔ saved engine budgets verify all Chat/Responses route variants and reject a mismatched output allowance (1215.7279ms)
|
||||
✔ owned CC Switch SQLite imports the selected TOML Responses wire_api and leaves unknown clients untouched (1072.1526ms)
|
||||
✔ Responses executes one original tool through Runtime, carries encrypted Items, reports raw usage and seals exact wire bytes (3025.5661ms)
|
||||
✔ mixed-protocol pool keeps both actual variants and changes route on 429 without re-executing completed tools (3517.0097ms)
|
||||
▶ Responses incomplete, failed, missing call identity and unsupported hosted outputs never dispatch a tool
|
||||
✔ Reject {"body":{"id":"resp_owned","status":"incomplete","output":[{"type":"function_call","id":"fc_partial" (2101.2162ms)
|
||||
✔ Reject {"body":{"id":"resp_owned","status":"failed","output":[{"type":"function_call","id":"fc_failed","cal (2247.4826ms)
|
||||
✔ Reject {"body":{"id":"resp_owned","status":"completed","output":[{"type":"function_call","id":"fc_bad","cal (2081.4415ms)
|
||||
✔ Reject {"body":{"id":"resp_owned","status":"completed","output":[{"type":"computer_call","id":"not-supporte (1807.2339ms)
|
||||
✔ Responses incomplete, failed, missing call identity and unsupported hosted outputs never dispatch a tool (8238.5498ms)
|
||||
▶ invalid JSON in a nonstream Chat or Responses tool group prevents every tool and pool replay
|
||||
✔ chat-completions (1856.2509ms)
|
||||
✔ responses (1984.9552ms)
|
||||
✔ invalid JSON in a nonstream Chat or Responses tool group prevents every tool and pool replay (3841.6985ms)
|
||||
✔ wire adapter preserves tool IDs but never passes Responses-private Items to Chat or another endpoint (0.1784ms)
|
||||
✔ connection JSON import accepts explicit Responses protocol and continues to reject unknown protocols without reading client sessions (698.2482ms)
|
||||
✔ HTTP download preserves original malformed SSE bytes and artifact SHA instead of decoding invalid UTF8 (2671.5639ms)
|
||||
✔ real Chat SSE carries UTF8 and split tool JSON; Runtime executes only after DONE, stores partial progress and original usage (3549.964ms)
|
||||
✔ Responses typed SSE validates original item identity, terminal data, raw usage and tool result pair (2055.8266ms)
|
||||
✔ incomplete network stream retains unknown attempt and never automatically switches pool or dispatches fragment tools (1591.9915ms)
|
||||
✔ stopping an active HTTP stream closes only original request and keeps partial text without executing tools (1387.9026ms)
|
||||
✔ explicit streaming probe uses actual SSE despite unknown declaration and binds its own original attempt (634.4211ms)
|
||||
✔ coalesced initial SSE events publish the latest partial state even when the upstream stays idle (1562.436ms)
|
||||
✔ stream timeout closes the original HTTP response, preserves redacted capture and never retries (1006.5371ms)
|
||||
✔ SSE accepts CR-only final event boundaries and retains exact invalid UTF8 bytes without dispatch (1.5802ms)
|
||||
▶ stream parser rejects truncation, finish length, malformed JSON, duplicate sequence, changed final item and oversized data
|
||||
✔ reject 0 (0.4007ms)
|
||||
✔ reject 1 (0.2435ms)
|
||||
✔ reject 2 (0.2688ms)
|
||||
✔ reject 3 (5.7145ms)
|
||||
✔ reject 4 (0.1532ms)
|
||||
✔ reject 5 (0.1481ms)
|
||||
✔ stream parser rejects truncation, finish length, malformed JSON, duplicate sequence, changed final item and oversized data (7.7568ms)
|
||||
ℹ tests 64
|
||||
ℹ suites 0
|
||||
ℹ pass 62
|
||||
ℹ fail 2
|
||||
ℹ cancelled 0
|
||||
ℹ skipped 0
|
||||
ℹ todo 0
|
||||
ℹ duration_ms 50232.4162
|
||||
|
||||
✖ failing tests:
|
||||
|
||||
test at tests\budget-resume.test.mjs:27:1
|
||||
✖ explicit frozen preview resumes the same Task in a new Run, preserves completed tools and does not change global config or selected model (3513.8586ms)
|
||||
Error: 原任务、连接或预算预览已变化,请重新准备后确认。
|
||||
at fail (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/budget-resume.mjs:6:48)
|
||||
at BudgetResume.verify (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/budget-resume.mjs:57:198)
|
||||
at Runtime.resumeBudget (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/runtime.mjs:126:89)
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:30:13)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
status: 409
|
||||
}
|
||||
|
||||
test at tests\budget-resume.test.mjs:56:1
|
||||
✖ preview preserves unknown invocation status and increasing Task allowance is committed only with confirmed new Run (3247.2136ms)
|
||||
Error: 原任务、连接或预算预览已变化,请重新准备后确认。
|
||||
at fail (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/budget-resume.mjs:6:48)
|
||||
at BudgetResume.verify (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/budget-resume.mjs:57:198)
|
||||
at Runtime.resumeBudget (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/runtime.mjs:126:89)
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/budget-resume.test.mjs:61:13)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
status: 409
|
||||
}
|
||||
@@ -0,0 +1,158 @@
|
||||
✔ PNG bytes are fully decoded, metadata-free and bounded; JPEG EXIF orientation is applied to the sent PNG (104.6542ms)
|
||||
✖ forged type, short headers, CRC damage, incomplete chunks, trailing payloads, animation and dimension bombs reject (23.5584ms)
|
||||
✖ draft image ownership, withdrawal, reload and atomic Task binding retain original SHA and original bytes (1095.482ms)
|
||||
✔ a failed session transaction restores draft status and cannot leave a Run consuming the attachment (1074.7241ms)
|
||||
✔ draft limits, duplicate selection, source changes and cross-Task association reject before dispatch (2223.6267ms)
|
||||
✔ demo and legacy paths refuse image dispatch without creating a Task or consuming the draft (1187.2725ms)
|
||||
✖ chat-completions sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1283.0097ms)
|
||||
✖ responses sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1008.3599ms)
|
||||
✖ mixed pool excludes unknown vision before lease and sends zero HTTP to the incompatible member (1287.0283ms)
|
||||
✖ vision probe requires correct randomized pixel order and evidence expires when the connection revision changes (1014.5866ms)
|
||||
✔ HTTP upload/read/withdraw uses session authorization, returns byte SHA and refuses unknown ownership (1169.7763ms)
|
||||
✔ image accounting excludes Base64 as text but seals every original request byte and reserves image input separately (2.2418ms)
|
||||
✔ schema1 connections remain readable without inventing observed capabilities or migrating original state (855.9471ms)
|
||||
✔ protocol, unsupported capabilities and stream choice persist; client claims cannot forge verified evidence (1193.9145ms)
|
||||
✔ ability evidence belongs to exact connection and credential revision; unknown and unsupported reject required routing (0.7101ms)
|
||||
✔ invalid declarations and inconsistent stream settings reject before registry, revision and credentials mutate (1018.1341ms)
|
||||
✔ saved engine budgets verify all Chat/Responses route variants and reject a mismatched output allowance (1371.9733ms)
|
||||
✔ owned CC Switch SQLite imports the selected TOML Responses wire_api and leaves unknown clients untouched (1416.8663ms)
|
||||
✔ Responses executes one original tool through Runtime, carries encrypted Items, reports raw usage and seals exact wire bytes (3365.0207ms)
|
||||
✔ mixed-protocol pool keeps both actual variants and changes route on 429 without re-executing completed tools (3263.2217ms)
|
||||
▶ Responses incomplete, failed, missing call identity and unsupported hosted outputs never dispatch a tool
|
||||
✔ Reject {"body":{"id":"resp_owned","status":"incomplete","output":[{"type":"function_call","id":"fc_partial" (1190.0446ms)
|
||||
✔ Reject {"body":{"id":"resp_owned","status":"failed","output":[{"type":"function_call","id":"fc_failed","cal (1248.8223ms)
|
||||
✔ Reject {"body":{"id":"resp_owned","status":"completed","output":[{"type":"function_call","id":"fc_bad","cal (1388.761ms)
|
||||
✔ Reject {"body":{"id":"resp_owned","status":"completed","output":[{"type":"computer_call","id":"not-supporte (1198.4518ms)
|
||||
✔ Responses incomplete, failed, missing call identity and unsupported hosted outputs never dispatch a tool (5027.5271ms)
|
||||
▶ invalid JSON in a nonstream Chat or Responses tool group prevents every tool and pool replay
|
||||
✔ chat-completions (1340.444ms)
|
||||
✔ responses (1234.363ms)
|
||||
✔ invalid JSON in a nonstream Chat or Responses tool group prevents every tool and pool replay (2575.3827ms)
|
||||
✔ wire adapter preserves tool IDs but never passes Responses-private Items to Chat or another endpoint (0.1751ms)
|
||||
✔ connection JSON import accepts explicit Responses protocol and continues to reject unknown protocols without reading client sessions (589.5139ms)
|
||||
ℹ tests 30
|
||||
ℹ suites 0
|
||||
ℹ pass 24
|
||||
ℹ fail 6
|
||||
ℹ cancelled 0
|
||||
ℹ skipped 0
|
||||
ℹ todo 0
|
||||
ℹ duration_ms 20907.3335
|
||||
|
||||
✖ failing tests:
|
||||
|
||||
test at tests\input-attachments.test.mjs:38:1
|
||||
✖ forged type, short headers, CRC damage, incomplete chunks, trailing payloads, animation and dimension bombs reject (23.5584ms)
|
||||
AssertionError [ERR_ASSERTION]: The validation function is expected to return "true". Received false
|
||||
|
||||
Caught error:
|
||||
|
||||
Error: 图片编码或大小无效。
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:48:10)
|
||||
at Test.runInAsyncScope (node:async_hooks:227:14)
|
||||
at Test.run (node:internal/test_runner/test:1402:25)
|
||||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||||
at Test.postRun (node:internal/test_runner/test:1542:19)
|
||||
at Test.run (node:internal/test_runner/test:1467:12)
|
||||
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
|
||||
generatedMessage: true,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: Error: 图片编码或大小无效。
|
||||
at reject (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/input-attachments.mjs:6:57)
|
||||
at validateImage (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/input-attachments.mjs:87:110)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:48:21
|
||||
at getActual (node:assert:611:5)
|
||||
at strict.throws (node:assert:759:24)
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:48:10)
|
||||
at Test.runInAsyncScope (node:async_hooks:227:14)
|
||||
at Test.run (node:internal/test_runner/test:1402:25)
|
||||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||||
at Test.postRun (node:internal/test_runner/test:1542:19),
|
||||
operator: 'throws',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests\input-attachments.test.mjs:51:1
|
||||
✖ draft image ownership, withdrawal, reload and atomic Task binding retain original SHA and original bytes (1095.482ms)
|
||||
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /归属|所属|不存在/. Input:
|
||||
|
||||
'Error: 执行记录不属于当前会话。'
|
||||
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:55:58)
|
||||
at Test.runInAsyncScope (node:async_hooks:227:14)
|
||||
at Test.run (node:internal/test_runner/test:1402:25)
|
||||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||||
at Test.postRun (node:internal/test_runner/test:1542:19)
|
||||
at Test.run (node:internal/test_runner/test:1467:12)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: true,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: Error: 执行记录不属于当前会话。
|
||||
at Store.owned (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:602:130)
|
||||
at InputAttachments.get (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/input-attachments.mjs:115:39)
|
||||
at InputAttachments.read (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/input-attachments.mjs:126:20)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:55:77
|
||||
at getActual (node:assert:611:5)
|
||||
at strict.throws (node:assert:759:24)
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:55:58)
|
||||
at Test.runInAsyncScope (node:async_hooks:227:14)
|
||||
at Test.run (node:internal/test_runner/test:1402:25)
|
||||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18),
|
||||
expected: /归属|所属|不存在/,
|
||||
operator: 'throws',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests\input-attachments.test.mjs:88:56
|
||||
✖ chat-completions sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1283.0097ms)
|
||||
Error: 持久执行记录不能移动到其他任务或项目。
|
||||
at StateDatabase.writeRecords (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:67:15)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:98:40
|
||||
at StateDatabase.transaction (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:37:26)
|
||||
at StateDatabase.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:97:17)
|
||||
at Store.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:363:36)
|
||||
at Store.beginRun (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:483:10)
|
||||
at Runtime.start (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/runtime.mjs:188:31)
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:97:77)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
|
||||
test at tests\input-attachments.test.mjs:88:56
|
||||
✖ responses sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1008.3599ms)
|
||||
Error: 持久执行记录不能移动到其他任务或项目。
|
||||
at StateDatabase.writeRecords (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:67:15)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:98:40
|
||||
at StateDatabase.transaction (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:37:26)
|
||||
at StateDatabase.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:97:17)
|
||||
at Store.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:363:36)
|
||||
at Store.beginRun (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:483:10)
|
||||
at Runtime.start (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/runtime.mjs:188:31)
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:97:77)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
|
||||
test at tests\input-attachments.test.mjs:106:1
|
||||
✖ mixed pool excludes unknown vision before lease and sends zero HTTP to the incompatible member (1287.0283ms)
|
||||
Error: 持久执行记录不能移动到其他任务或项目。
|
||||
at StateDatabase.writeRecords (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:67:15)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:98:40
|
||||
at StateDatabase.transaction (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:37:26)
|
||||
at StateDatabase.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:97:17)
|
||||
at Store.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:363:36)
|
||||
at Store.beginRun (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:483:10)
|
||||
at Runtime.start (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/runtime.mjs:188:31)
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:112:11)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
|
||||
test at tests\input-attachments.test.mjs:117:1
|
||||
✖ vision probe requires correct randomized pixel order and evidence expires when the connection revision changes (1014.5866ms)
|
||||
Error: 服务没有返回纯文本响应;未标为已验证。
|
||||
at error (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/models/model-hub.mjs:11:56)
|
||||
at ModelHub.probe (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/models/model-hub.mjs:143:91)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:125:3)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
status: 400
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
✔ PNG bytes are fully decoded, metadata-free and bounded; JPEG EXIF orientation is applied to the sent PNG (103.3022ms)
|
||||
✔ forged type, short headers, CRC damage, incomplete chunks, trailing payloads, animation and dimension bombs reject (23.319ms)
|
||||
✔ draft image ownership, withdrawal, reload and atomic Task binding retain original SHA and original bytes (921.1045ms)
|
||||
✔ a failed session transaction restores draft status and cannot leave a Run consuming the attachment (674.857ms)
|
||||
✔ draft limits, duplicate selection, source changes and cross-Task association reject before dispatch (1182.5494ms)
|
||||
✔ demo and legacy paths refuse image dispatch without creating a Task or consuming the draft (705.6051ms)
|
||||
✔ chat-completions sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1862.306ms)
|
||||
✔ responses sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (2011.1684ms)
|
||||
✔ mixed pool excludes unknown vision before lease and sends zero HTTP to the incompatible member (1429.9673ms)
|
||||
✔ vision probe requires correct randomized pixel order and evidence expires when the connection revision changes (883.0318ms)
|
||||
✔ HTTP upload/read/withdraw uses session authorization, returns byte SHA and refuses unknown ownership (724.9261ms)
|
||||
✔ image accounting excludes Base64 as text but seals every original request byte and reserves image input separately (3.0494ms)
|
||||
ℹ tests 12
|
||||
ℹ suites 0
|
||||
ℹ pass 12
|
||||
ℹ fail 0
|
||||
ℹ cancelled 0
|
||||
ℹ skipped 0
|
||||
ℹ todo 0
|
||||
ℹ duration_ms 10766.1508
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
> local-agent-workbench@1.17.0 build
|
||||
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
|
||||
|
||||
vite v7.3.7 building client environment for production...
|
||||
transforming...
|
||||
✓ 1729 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
dist-client/.vite/manifest.json 0.55 kB │ gzip: 0.22 kB
|
||||
dist-client/index.html 0.58 kB │ gzip: 0.40 kB
|
||||
dist-client/mobile.html 0.82 kB │ gzip: 0.46 kB
|
||||
dist-client/assets/mobile-CNDnI_ru.css 11.92 kB │ gzip: 3.12 kB
|
||||
dist-client/assets/desktop-XQhtWX-k.css 138.56 kB │ gzip: 26.53 kB
|
||||
dist-client/assets/mobile-DVWh54VU.js 24.31 kB │ gzip: 8.65 kB
|
||||
dist-client/assets/x-Cc3T3VuL.js 225.51 kB │ gzip: 70.77 kB
|
||||
dist-client/assets/desktop-DxyJCC9F.js 294.22 kB │ gzip: 83.36 kB
|
||||
✓ built in 1.17s
|
||||
Mobile shell built: 3 allowed assets; API and project data are never cached.
|
||||
Server bundle built.
|
||||
@@ -0,0 +1,2 @@
|
||||
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\vision-projects-0ca132a4-76bd-433c-b339-cf7113955550
|
||||
{"success":false,"cases":0,"error":"AssertionError [ERR_ASSERTION]: [{\"id\":\"dc00bbb4-c9c6-46f0-8b95-69d929bd6db7\",\"role\":\"user\",\"content\":\"核对所附原始源码截图,修复工程功能,保留原始测试并实际检查、构建与审查交付。\",\"createdAt\":\"2026-10-31T16:49:57.947Z\",\"attachmentIds\":[\"91334b60-0d53-4aea-a910-5ce8aa72c31d\"]},{\"id\":\"827987a4-acda-444a-ac59-169552af03ae\",\"role\":\"system\",\"content\":\"模型服务连接失败(UND_ERR_SOCKET)。项目文件和已完成的工具记录已保留。\",\"createdAt\":\"2026-10-31T16:49:58.331Z\"}]\n+ actual - expected\n\n+ 'failed'\n- 'completed'\n\n at sample (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-vision-projects.mjs:90:52)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-vision-projects.mjs:124:68"}
|
||||
@@ -0,0 +1 @@
|
||||
{"directory":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-projects-0fc413eb-1c73-4eb4-a2b0-85678bbb68d0","result":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-projects-0fc413eb-1c73-4eb4-a2b0-85678bbb68d0\\result.json"}
|
||||
@@ -0,0 +1,9 @@
|
||||
PASS node: one screenshot in each original Responses SSE request, original failing tests retained and 8 functional tests plus build/compile pass after explicit reviews
|
||||
PASS node: local Git contains only reviewed task files; original staged/unstaged/untracked content remains
|
||||
PASS react: one screenshot in each original Responses SSE request, original failing tests retained and 9 functional tests plus build/compile pass after explicit reviews
|
||||
PASS react: actual Edge desktop/390px filters, trimmed search, task toggle and totals pass
|
||||
PASS react: local Git contains only reviewed task files; original staged/unstaged/untracked content remains
|
||||
PASS python: one screenshot in each original Responses SSE request, original failing tests retained and 10 functional tests plus build/compile pass after explicit reviews
|
||||
PASS python: local Git contains only reviewed task files; original staged/unstaged/untracked content remains
|
||||
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\vision-projects-0fc413eb-1c73-4eb4-a2b0-85678bbb68d0
|
||||
{"success":true,"cases":7,"error":null}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.18.0",
|
||||
"testedAt": "2026-10-31T16:56:40.626614+00:00",
|
||||
"archives": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-win-x64-20261031165241971.zip",
|
||||
"files": 14293,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "ce4e15e9cde7094484993b9c6e8e337da9a819c2ef5de5321a2d0ed916b1f093"
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.18.0-source-20261031165241971.zip",
|
||||
"files": 14598,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "c2c3f88c46827bf52bdd9ac635e89cec12817094179693ce1dce259b8ea40a7c"
|
||||
}
|
||||
],
|
||||
"extractionRoot": "D:\\AWQA18\\source-check-50e256cee80a43d3986c0482d1ca5d76\\Agent-Workbench-1.18.0-source-20261031165241971"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
> local-agent-workbench@1.18.0 build
|
||||
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
|
||||
|
||||
vite v7.3.7 building client environment for production...
|
||||
transforming...
|
||||
✓ 1729 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
dist-client/.vite/manifest.json 0.55 kB │ gzip: 0.22 kB
|
||||
dist-client/index.html 0.58 kB │ gzip: 0.40 kB
|
||||
dist-client/mobile.html 0.82 kB │ gzip: 0.46 kB
|
||||
dist-client/assets/mobile-CNDnI_ru.css 11.92 kB │ gzip: 3.12 kB
|
||||
dist-client/assets/desktop-XQhtWX-k.css 138.56 kB │ gzip: 26.53 kB
|
||||
dist-client/assets/mobile-DVWh54VU.js 24.31 kB │ gzip: 8.65 kB
|
||||
dist-client/assets/x-Cc3T3VuL.js 225.51 kB │ gzip: 70.77 kB
|
||||
dist-client/assets/desktop-DxyJCC9F.js 294.22 kB │ gzip: 83.36 kB
|
||||
✓ built in 1.22s
|
||||
Mobile shell built: 3 allowed assets; API and project data are never cached.
|
||||
Server bundle built.
|
||||
@@ -0,0 +1,18 @@
|
||||
node:internal/modules/cjs/loader:1568
|
||||
throw err;
|
||||
^
|
||||
|
||||
Error: Cannot find module 'D:\Ai-project\REA逆向\Agent-Workbench\node_modules\npm\bin\npm-cli.js'
|
||||
at Module._resolveFilename (node:internal/modules/cjs/loader:1564:15)
|
||||
at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27)
|
||||
at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1142:10)
|
||||
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12)
|
||||
at Module._load (node:internal/modules/cjs/loader:1341:5)
|
||||
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
|
||||
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
|
||||
at node:internal/main/run_main_module:33:47 {
|
||||
code: 'MODULE_NOT_FOUND',
|
||||
requireStack: []
|
||||
}
|
||||
|
||||
Node.js v24.22.1
|
||||
@@ -0,0 +1,316 @@
|
||||
{
|
||||
"success": true,
|
||||
"at": "2026-10-31T16:57:58.259Z",
|
||||
"codeCommit": "01c427e749c33bcbd02df5138da5e8a023b73eaa",
|
||||
"inputFiles": 399,
|
||||
"exactInputs": 372,
|
||||
"normalized": [
|
||||
{
|
||||
"path": "scripts/package.mjs",
|
||||
"bytes": 11486,
|
||||
"sha256": "a083e2b6058c35641de30ceee3f8d4226afccbd7569f7d9cbd9d3ca216eadbfe",
|
||||
"gitBytes": 11349,
|
||||
"gitSha256": "bb34f3de1c67ce6411d7ff9fdbe304da1b2f269a337957b98d6a407b94b38a2d",
|
||||
"attributes": [
|
||||
"scripts/package.mjs: text: auto",
|
||||
"scripts/package.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/qa-evidence.mjs",
|
||||
"bytes": 872,
|
||||
"sha256": "8222da3bbc92329045f6bce0c66bd77f033afa2ac37e98cabd645d1729f5bf82",
|
||||
"gitBytes": 855,
|
||||
"gitSha256": "f1184b9af076f1da903f2e8aba052beb6373b89a5c316cd6cc152868f32b8f32",
|
||||
"attributes": [
|
||||
"scripts/qa-evidence.mjs: text: auto",
|
||||
"scripts/qa-evidence.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/upgrade-running.mjs",
|
||||
"bytes": 13545,
|
||||
"sha256": "c4df061f80bebf19ac681a01adb2cb8bccbe18ba2478a2b9aa1b81dc4a3df00d",
|
||||
"gitBytes": 13379,
|
||||
"gitSha256": "72a0cd1d5d2ae3e670e0a2bc74884c44ec85fb9690378aa1f3e001ea7e9a1eb6",
|
||||
"attributes": [
|
||||
"scripts/upgrade-running.mjs: text: auto",
|
||||
"scripts/upgrade-running.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/verify-all-ui.mjs",
|
||||
"bytes": 10528,
|
||||
"sha256": "40724cfc4d1ac07095f99923aea2d6f569d1b5c278ebfcc9f13afb7ed2596bb3",
|
||||
"gitBytes": 10421,
|
||||
"gitSha256": "4734623b463765851bb725071200eb4d354baa9a518d20c4e14c95e88527e789",
|
||||
"attributes": [
|
||||
"scripts/verify-all-ui.mjs: text: auto",
|
||||
"scripts/verify-all-ui.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/verify-change-sets-ui.mjs",
|
||||
"bytes": 16317,
|
||||
"sha256": "bb58546a1b332413bb39ed9a865a83382f4bf0c3bbbc032f486a7b2cb0c9c69c",
|
||||
"gitBytes": 16176,
|
||||
"gitSha256": "fccc5f2cb8bf5254054ed827d7698f47cd45300ba72ae8ebb2a4066b6883fea9",
|
||||
"attributes": [
|
||||
"scripts/verify-change-sets-ui.mjs: text: auto",
|
||||
"scripts/verify-change-sets-ui.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/verify-context-ui.mjs",
|
||||
"bytes": 18701,
|
||||
"sha256": "f5e2c94a08a8a13e5386d3a5d11bf24debfd6d214c73248375c2c41d8b32bfc6",
|
||||
"gitBytes": 18505,
|
||||
"gitSha256": "470b9f343df99b255def63f747ff3e7d24c3b943a4437248df547b3b8bc8ee8f",
|
||||
"attributes": [
|
||||
"scripts/verify-context-ui.mjs: text: auto",
|
||||
"scripts/verify-context-ui.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/verify-controlled-release.mjs",
|
||||
"bytes": 21842,
|
||||
"sha256": "a900a1173f9756265e2c60147bc03f1549c1d5b87b68400058caaf5ff1d9913e",
|
||||
"gitBytes": 21643,
|
||||
"gitSha256": "45eb0089014d0a27c15df3dd7701e703eec9f788bbbe36e6a8b3fba0e448f6fb",
|
||||
"attributes": [
|
||||
"scripts/verify-controlled-release.mjs: text: auto",
|
||||
"scripts/verify-controlled-release.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/verify-release.mjs",
|
||||
"bytes": 17564,
|
||||
"sha256": "182ef2b19df632ca482eba55b4817e3b7d9a2525e0d9af4d9e26587867e7f700",
|
||||
"gitBytes": 17382,
|
||||
"gitSha256": "163910d5a2594eaaa9cee86578140405cea88976e2e9a8aba43344ffc79be1fd",
|
||||
"attributes": [
|
||||
"scripts/verify-release.mjs: text: auto",
|
||||
"scripts/verify-release.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/verify-source-package.mjs",
|
||||
"bytes": 18333,
|
||||
"sha256": "4f785b8683934f087752255636d427e89196fd362730e577fe125747134a08ae",
|
||||
"gitBytes": 18136,
|
||||
"gitSha256": "877d2487b512a1fc668df8b7196771edd8af271161e30401e8227a15240333dd",
|
||||
"attributes": [
|
||||
"scripts/verify-source-package.mjs: text: auto",
|
||||
"scripts/verify-source-package.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/verify-ui.mjs",
|
||||
"bytes": 18880,
|
||||
"sha256": "d9e7b3e8eb0ff80168acfd5d320685db6d4e1f53827cac4b96cffd5e54c758b6",
|
||||
"gitBytes": 18623,
|
||||
"gitSha256": "cd57dd67aada66f667a4e62b7a8f76a79d3c09acd7ba7c658b89e6d38dc6be9f",
|
||||
"attributes": [
|
||||
"scripts/verify-ui.mjs: text: auto",
|
||||
"scripts/verify-ui.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "scripts/verify-workers-ui.mjs",
|
||||
"bytes": 18994,
|
||||
"sha256": "d170b0d60e33d1d4fc9e404f811f1cdf2299cfafaf43e133f6c4a227c5414027",
|
||||
"gitBytes": 18847,
|
||||
"gitSha256": "61c0700e13fb5c837657ad9148b541b24430d41c1d8d7f247af8dee7e8f620e9",
|
||||
"attributes": [
|
||||
"scripts/verify-workers-ui.mjs: text: auto",
|
||||
"scripts/verify-workers-ui.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/client/App.tsx",
|
||||
"bytes": 67952,
|
||||
"sha256": "5381a53e9234c69deea17b5f8cd44d8cedc2d249e4a53d13fb4b728a89605b95",
|
||||
"gitBytes": 67348,
|
||||
"gitSha256": "db0c78b42e11f124d602110c15afade44e51f790c1ecbc2ec458863ad320b568",
|
||||
"attributes": [
|
||||
"src/client/App.tsx: text: auto",
|
||||
"src/client/App.tsx: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/client/BudgetPausePanel.tsx",
|
||||
"bytes": 7143,
|
||||
"sha256": "ac71ff1a5960bd71bec082ecf44c8b06596d4afe8e5eb2b71a803a3a19ce0b9e",
|
||||
"gitBytes": 7116,
|
||||
"gitSha256": "aab7e4e01ddf988059e762460d8aad1cf24566592a8cf1cb58414dc7c03d8720",
|
||||
"attributes": [
|
||||
"src/client/BudgetPausePanel.tsx: text: auto",
|
||||
"src/client/BudgetPausePanel.tsx: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/client/ModelCenter.css",
|
||||
"bytes": 10343,
|
||||
"sha256": "13a8be33b8806275830eabc1f1c1a8bff0335850df7f0b1c8b28b1e5e7beb8a5",
|
||||
"gitBytes": 10342,
|
||||
"gitSha256": "4e7737b23113cbbdab2a94082e3644942210ef9e6bd5b957f9384d4b48187244",
|
||||
"attributes": [
|
||||
"src/client/ModelCenter.css: text: auto",
|
||||
"src/client/ModelCenter.css: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/client/ModelCenter.tsx",
|
||||
"bytes": 35795,
|
||||
"sha256": "bc6e8404b11b0aa07b73d7660a41442909cf150354082e73e3b27eb77c30defe",
|
||||
"gitBytes": 35646,
|
||||
"gitSha256": "0dfacce109fd2ef91c2e8a2353ce0abc2567a0f9e356281f231cbbc1504287cf",
|
||||
"attributes": [
|
||||
"src/client/ModelCenter.tsx: text: auto",
|
||||
"src/client/ModelCenter.tsx: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/client/SkillCenter.tsx",
|
||||
"bytes": 9303,
|
||||
"sha256": "b227ffdccf1d90ac969f1e4e2a56c592b7c9eac13746bf0c90ee9d9e702e9f10",
|
||||
"gitBytes": 9240,
|
||||
"gitSha256": "de7a4426aef468a73a9522da9883592ab0cc29a1f2b3786b764cd51a304347b2",
|
||||
"attributes": [
|
||||
"src/client/SkillCenter.tsx: text: auto",
|
||||
"src/client/SkillCenter.tsx: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/client/input-attachments.css",
|
||||
"bytes": 3104,
|
||||
"sha256": "4e9b964b6ecb9eed2bf345ed5b689f5a56320b45e02c01a9cc6ac8cddd259db3",
|
||||
"gitBytes": 3101,
|
||||
"gitSha256": "c5a267b7f77a95b0dd601c306600283c1a8d9f64c60b5c438f1e21880b6853cb",
|
||||
"attributes": [
|
||||
"src/client/input-attachments.css: text: auto",
|
||||
"src/client/input-attachments.css: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/client/mobile/mobile.css",
|
||||
"bytes": 11978,
|
||||
"sha256": "9a5ac0fb2cabc2dbb0b9f9ef3edbeb5ff26e31d1347fa712485c00605b3980a0",
|
||||
"gitBytes": 11969,
|
||||
"gitSha256": "c36c8156bcc2ba8e8289859a775eebf968d0a53f66ce97c765e74617be2e3cb6",
|
||||
"attributes": [
|
||||
"src/client/mobile/mobile.css: text: auto",
|
||||
"src/client/mobile/mobile.css: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/client/styles.css",
|
||||
"bytes": 40574,
|
||||
"sha256": "f982b39cdc159ac45ad70e1cfc0df7e46ee11502a8613bc5cc70babf92ea2325",
|
||||
"gitBytes": 40545,
|
||||
"gitSha256": "44a12c0ce323a0e82da55056043ca70b2af78c7a343fe4668380eabf11502c9d",
|
||||
"attributes": [
|
||||
"src/client/styles.css: text: auto",
|
||||
"src/client/styles.css: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "src/server/diagnostics.mjs",
|
||||
"bytes": 8093,
|
||||
"sha256": "e75c49ea48b60874b4da1be7c1a769d915afc1feda2258d34b4095b1653fa8fd",
|
||||
"gitBytes": 7965,
|
||||
"gitSha256": "921d63cd43fa9ef17e4e95c2ad86b89e1c4983c26c88514974bc77a985fce2bf",
|
||||
"attributes": [
|
||||
"src/server/diagnostics.mjs: text: auto",
|
||||
"src/server/diagnostics.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "tests/companion.test.mjs",
|
||||
"bytes": 29367,
|
||||
"sha256": "bcb647e4a1a29a1de258aa93fda5b4328f3388ca96592116f3dbdf0b801a3819",
|
||||
"gitBytes": 29366,
|
||||
"gitSha256": "6e5b20394785b8a11a2f785430428106cd67c512d243cf2a57202cdf85977b20",
|
||||
"attributes": [
|
||||
"tests/companion.test.mjs: text: auto",
|
||||
"tests/companion.test.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
},
|
||||
{
|
||||
"path": "tests/skills.test.mjs",
|
||||
"bytes": 17628,
|
||||
"sha256": "c7228c190337bb5f2b9ab5a85ad34b78fd03541854e83197d7c4d2506bb3c6c6",
|
||||
"gitBytes": 17438,
|
||||
"gitSha256": "977e987ccdeab5bf07fd3dd1788d8ba866a3dc3715c9dd947982a9abfbab7e06",
|
||||
"attributes": [
|
||||
"tests/skills.test.mjs: text: auto",
|
||||
"tests/skills.test.mjs: eol: lf"
|
||||
],
|
||||
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
|
||||
}
|
||||
],
|
||||
"generated": [
|
||||
{
|
||||
"path": "examples/delivery-report/dist/cli.mjs",
|
||||
"bytes": 818,
|
||||
"sha256": "b8223dd1c0a98b3b7a0cd716db0ae053a2ca17fbd8272b005adcedd3ce5f7a69",
|
||||
"source": "examples/delivery-report/src/cli.mjs",
|
||||
"generator": "examples/delivery-report/scripts/build.mjs",
|
||||
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
|
||||
},
|
||||
{
|
||||
"path": "examples/delivery-report/dist/normalize.mjs",
|
||||
"bytes": 1254,
|
||||
"sha256": "57eb47b09913b131982a14c276ba5292aba4c94e0f475c97955221f6a7b7cdcd",
|
||||
"source": "examples/delivery-report/src/normalize.mjs",
|
||||
"generator": "examples/delivery-report/scripts/build.mjs",
|
||||
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
|
||||
},
|
||||
{
|
||||
"path": "examples/delivery-report/dist/package.json",
|
||||
"bytes": 18,
|
||||
"sha256": "1239d4d885dcad42201a27ed9324f8f0f760b78700d8db9ced39a511cffe7eae",
|
||||
"source": null,
|
||||
"generator": "examples/delivery-report/scripts/build.mjs",
|
||||
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
|
||||
},
|
||||
{
|
||||
"path": "examples/delivery-report/dist/render.mjs",
|
||||
"bytes": 375,
|
||||
"sha256": "d449524d731a55ef51d0143f38ee8b73db56363c78babc385fa58df7f2a542f0",
|
||||
"source": "examples/delivery-report/src/render.mjs",
|
||||
"generator": "examples/delivery-report/scripts/build.mjs",
|
||||
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
|
||||
},
|
||||
{
|
||||
"path": "examples/delivery-report/dist/summary.mjs",
|
||||
"bytes": 427,
|
||||
"sha256": "bf7ada9e5dbca167df2b9a5306c1d9399b4a658fb0777c73812856687ad0c5ef",
|
||||
"source": "examples/delivery-report/src/summary.mjs",
|
||||
"generator": "examples/delivery-report/scripts/build.mjs",
|
||||
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
|
||||
}
|
||||
],
|
||||
"scope": "Every frozen source/QA/build input tied to the committed source or exact generated example derivation; unchanged build bytes independently recorded."
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "activated",
|
||||
"version": "1.18.0",
|
||||
"activated": {
|
||||
"phase": "activated",
|
||||
"active": {
|
||||
"directory": "Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"version": "1.18.0",
|
||||
"manifestSha256": "6a96d48b7609e5019e50792f34d53c4fdb7ab2939c8cef351551fb8590fe6ff8",
|
||||
"runtimeIdentity": "54a5f2810c666beb2243012ee2a3239a32e121b69dae39a89b36dc2e3c6cef8a"
|
||||
},
|
||||
"receiptFile": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\.installation\\operation-4ed5085c-0d85-49f6-95a4-072f67180b1a.json",
|
||||
"hostRetained": false,
|
||||
"dataPreserved": true
|
||||
},
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.18.0",
|
||||
"instanceId": "4c910dd5-82cb-4c8a-92f6-328338ea0662",
|
||||
"pid": 36552,
|
||||
"createdAt": "2026-10-31T06:30:34.359Z",
|
||||
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
|
||||
"ownerId": "b3ae90d3-9aa1-4b40-bd96-a53f01dbb502",
|
||||
"executable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\runtime\\node.exe",
|
||||
"bytes": 93915464,
|
||||
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
|
||||
},
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461",
|
||||
"runtimeRoot": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"runtimeIdentity": "54a5f2810c666beb2243012ee2a3239a32e121b69dae39a89b36dc2e3c6cef8a",
|
||||
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
|
||||
"port": 4318
|
||||
},
|
||||
"pointer": {
|
||||
"schema": 1,
|
||||
"app": "agent-workbench-installation",
|
||||
"installId": "74c11bdd-4895-459b-8403-097f79980b41",
|
||||
"revision": 5,
|
||||
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
|
||||
"port": 4318,
|
||||
"active": {
|
||||
"directory": "Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"version": "1.18.0",
|
||||
"manifestSha256": "6a96d48b7609e5019e50792f34d53c4fdb7ab2939c8cef351551fb8590fe6ff8",
|
||||
"runtimeIdentity": "54a5f2810c666beb2243012ee2a3239a32e121b69dae39a89b36dc2e3c6cef8a"
|
||||
},
|
||||
"previous": {
|
||||
"directory": "Agent-Workbench-1.17.0-win-x64-20261031150548103",
|
||||
"version": "1.17.0",
|
||||
"manifestSha256": "79dc4ef4023ed5596f24e32ac9de8153a9f7d42f90e74917514c1dc2e19fffe7",
|
||||
"runtimeIdentity": "a37c85e60d13624e8929586aaab798da5e8df63a4c68a7bf79eb2987304e0d80"
|
||||
},
|
||||
"activatedAt": "2026-10-31T18:04:36.243Z"
|
||||
},
|
||||
"retained": {
|
||||
"originalRows": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalModelCenter": "exact"
|
||||
},
|
||||
"companion": {
|
||||
"enabled": false,
|
||||
"devices": 0,
|
||||
"certificate": null
|
||||
},
|
||||
"currentProviderPreserved": true,
|
||||
"counts": {
|
||||
"projects": 17,
|
||||
"sessions": 30,
|
||||
"records": 2614,
|
||||
"events": 4701,
|
||||
"artifacts": 1376
|
||||
},
|
||||
"inspectorClosed": true,
|
||||
"startedAt": "2026-10-31T17:54:11.395Z",
|
||||
"finishedAt": "2026-10-31T18:04:41.723Z",
|
||||
"installRoot": "C:/Users/wangy/AppData/Local/Programs/AgentWorkbench",
|
||||
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
|
||||
"candidate": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.18.0-win-x64-20261031165241971",
|
||||
"setupSha256": "bfb1524abe6ca1a71043803897ba4b1be7b89283e7fe3ecb8a70ed3100143ec6",
|
||||
"originalProcess": {
|
||||
"pid": 36552,
|
||||
"parentPid": 32968,
|
||||
"createdAt": "2026-10-31T06:30:34.359Z",
|
||||
"executable": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\runtime\\node.exe",
|
||||
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001"
|
||||
},
|
||||
"realModelRequests": 0,
|
||||
"scope": "Accepted product setup stages the existing install, one in-memory handler upgrade preserves the original PID/Provider, pointer activation and final read-only validation. Every original table/row, all session exports and artifact bytes compared; no model Key extraction or QA certificate/device migration."
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"success": true,
|
||||
"before": ".qa/vision-f-formal-reconciled-before.json",
|
||||
"staged": ".qa/vision-f-formal-stage-reconcile.json",
|
||||
"reason": "Exact concurrent workbench activity accounted; no installer retry or rollback of user state."
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"app": "agent-workbench-installation",
|
||||
"installId": "74c11bdd-4895-459b-8403-097f79980b41",
|
||||
"revision": 4,
|
||||
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
|
||||
"port": 4318,
|
||||
"active": {
|
||||
"directory": "Agent-Workbench-1.17.0-win-x64-20261031150548103",
|
||||
"version": "1.17.0",
|
||||
"manifestSha256": "79dc4ef4023ed5596f24e32ac9de8153a9f7d42f90e74917514c1dc2e19fffe7",
|
||||
"runtimeIdentity": "a37c85e60d13624e8929586aaab798da5e8df63a4c68a7bf79eb2987304e0d80"
|
||||
},
|
||||
"previous": {
|
||||
"directory": "Agent-Workbench-1.16.0-win-x64-20261031114604110",
|
||||
"version": "1.16.0",
|
||||
"manifestSha256": "5ee8b7f83e4d42ac8499c684d2a38b64ccce1b7d5936aca0cb455a9e23688629",
|
||||
"runtimeIdentity": "6a81e7fec198be881e2110a14004cb1ab32a916a784391c28dcf6d9b6ee86270"
|
||||
},
|
||||
"activatedAt": "2026-10-31T16:07:35.060Z"
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user