docs(desktop): finalize 1.15 Windows release and acceptance evidence
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
- 本仓库已启用本地Git,v1.0.0-baseline为已验证基线;各切片使用具体开发分支,1.12交付位于feat/model-center-1.12。
|
||||
- 1.13已交付两个受限worker、当前成果/冲突与父工程审查、停止恢复和累计预算,代码e1a2661及QA补强91cdd45位于feat/isolated-workers-1.13。新三工程13节点、父Node8/8/React9/9/Python10/10、React两视口各10断言、完整UI21类160组与独立404/404通过;最终不可变20261030193314594归档/便携及正式1.13.0升级通过。原PID23172/Provider、2连接/1池/6既有请求摘要及当时16项目/28会话/2551记录/4568事件每行/全导出保持,部署后10页通过。原403/404失败保留;后续1.14实际状态以下方记录为准,真实模型工程继续暂缓。
|
||||
- 1.14已交付固定DeepSeek Harness受控工具/模型桥、所属prompt/审批/预算/原结果/停止及父工程审查/Git,Purge两版本来源锁定提示实验默认关闭;产品53e196a、QA路径57d075e/便携Git b311116位于feat/controlled-engines-1.14。新三工程13节点、父8/8/9/9/10/10、React两视口各8断言、23类178组UI及独立445/445通过;最终不可变20261030235440461便携11427/源码9748文件归档/实际随包及正式1.14.0升级通过。原PID23172/Provider、2连接/1池/6原请求摘要及16项目/28会话/2551记录/4568事件、全部7表每行/全导出保持,部署后14页通过,9229关闭。升级后QA误判原Node路径/SQLite行原型的失败与原快照保留,续验未重放升级;当前宿主execPath仍原1.12启动包,真实二进制SHA与1.14完全相同,runtimeRoot才表示当前处理器。见docs/QA-1.14.md及发行身份;1.14为正式历史基线;当前1.15进度见下方,真实推理/Purge收益继续暂缓。
|
||||
- 1.15的A–E已提交249f191/72a496a/5354d95/f7a5969/b77783b:实际Windows宿主身份/单实例、CurrentUser DPAPI、Electron六入口、可回退安装/分页巡检及桌面三工程16节点/原生UI9组通过。F冻结1.15代码/完整回归/独立源码/最终安装/便携与保留状态正式部署正在执行;不能拿开发版1.14结果代替最终发行。离线源码使用随包Electron、npm ci --offline --ignore-scripts及Node24,核对全部dist-client/server/desktop。窗口关闭不结束执行宿主;旧内存Key不追溯保存。下一PLAN-1.16只计划,真实手机/多模态/其它引擎/推理收益分别待验。本轮不新建代理、goal、automation或其他chat。
|
||||
- 1.15的A–F已完整交付:A–E249f191/72a496a/5354d95/f7a5969/b77783b、发行修复d005344/85e0f0e/138adcf、原独立源码f8f29e4及新495项/完整UI证据分别保持。495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过;最终20261031071202956独立归档/便携/同载荷隔离安装7组、正式原产品安装器stage及1.15.0通过,当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写,9229关闭。见docs/QA-1.15.md及docs/desktop-host-release-identity.json。当前宿主仍可从用户原1.14启动包运行,runtimeRoot为正式1.15候选;不抽取或补造旧内存Key,窗口关闭不结束宿主。1.16真实手机仅计划,真实推理/Purge收益继续暂缓;后续实际状态重新核对,不套用本轮计数。
|
||||
|
||||
- 用户授权后续按可审查小步本地提交。每个独立实现/修复/规划改动通过相关检查后,检查diff并提交,报告commit与结果;只读且无变化时不做空提交。
|
||||
- 常规后续提交只暂存本次修改范围;保留其他人/用户的已有改动。
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
## 当前本地服务与Windows
|
||||
|
||||
- 正式服务入口http://127.0.0.1:4318,原连接Key只在内存。普通源码/规划/Git工作不重启该服务、不读取或复制Key。
|
||||
- 正式服务入口http://127.0.0.1:4318。1.15在旧宿主退出后保留用户手动新启动的宿主升级,现有连接配置保留但未保存Key需用户在界面填写;普通源码/规划/Git工作不重启服务、不读取或复制Key。
|
||||
- 浏览器/fixture验证使用独立端口与数据目录;用户项目与研究对象的登录/会话配置不用于测试凭据。
|
||||
- Windows执行环境以实测shell为准。现有工具使用PowerShell 5.1和UTF-8;不用&&/||拼接命令,使用换行和$LASTEXITCODE核对结果。
|
||||
- 桌面与移动共用执行宿主。手机127.0.0.1指手机,远程接入通过未来经验证的配对网关。
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
# Agent Workbench 更新记录
|
||||
|
||||
## 1.15.0 · 2026-10-31(发行验收中)
|
||||
## 1.15.0 · 2026-10-31
|
||||
|
||||
- 增加实际Windows用户/进程创建/安装输入身份核对、签名挑战和并发单实例;桌面窗口与Node执行宿主分离,关闭重开保持原Task、Run、审批和完成结果。
|
||||
- 新连接可选择CurrentUser DPAPI本机加密保存,与连接登记共同提交;保存失败恢复原行/路由/内存引用,关闭加载、删除密文与清除内存分别控制。
|
||||
- 固定Electron45.2.0和六个preload入口,支持原生项目目录选择、所属文件/项目定位、当前Task审查与明确退出宿主;界面沿用相同执行内核。
|
||||
- 用户级安装使用独立versions目录、current.json和原生启动器;完整清单/活动守卫、根入口及指针一起回退,更新保留全部持久行/工件,卸载保留用户数据。运行巡检可分页核对更早的原工件,显示实际检查范围。
|
||||
- A–E专项和实际安装/桌面三工程通过,原失败保留;F独立源码/全部历史UI/最终安装/便携及保留状态正式升级正在验收。正式服务目前仍1.14.0,完整状态见[QA-1.15](docs/QA-1.15.md),下一手机方案见[PLAN-1.16](docs/PLAN-1.16.md)。
|
||||
- A–F完整本地交付,495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过;当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写,9229关闭。源码打包loader及跨盘来源定位修复、Windows虚拟数据路径兼容修复、首轮失败和运行库时间差异保留;实际范围见[QA-1.15](docs/QA-1.15.md),下一手机方案见[PLAN-1.16](docs/PLAN-1.16.md)。
|
||||
|
||||
## 1.14.0 · 2026-10-31
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
Agent Workbench 将 Claude Code 与 Cursor 的机制研究整合为独立的本地 AI 编程工作台,并内置模型池、项目记忆、Skills/MCP、REA 工件研究、受控DeepSeek Harness工程引擎、实际页面验收和有依赖的执行计划。工程索引、精确补丁、多文件整批审查、Node/Python实际检查、浏览器交互、本地Git提交及交付报告可以在同一个Task中完成。
|
||||
|
||||
1.15.0桌面阶段已实现并通过A–E专项验收:Windows宿主身份/单实例、可选择的本机加密连接、Electron窗口与本机项目入口、安装/更新/回退/卸载、分页历史工件巡检,以及桌面Node/React/Python工程交付。窗口关闭后后台宿主继续保留任务,重开恢复同一记录。最终独立发行与正式部署正在F验收,当前正式服务仍为1.14.0;见[1.15验收与实际范围](docs/QA-1.15.md)、[桌面使用说明](docs/DESKTOP.md)。
|
||||
1.15.0已正式本地交付Windows桌面应用、本机可选加密连接、后台任务/窗口分离、单实例、所属项目入口、可回退安装与分页巡检。495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过;当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写,9229关闭。双击安装目录AgentWorkbench.exe使用原项目和连接配置;见[本地工作台](http://127.0.0.1:4318/?release=1.15.0)、[实际验收](docs/QA-1.15.md)、[桌面说明](docs/DESKTOP.md)与[发行身份](docs/desktop-host-release-identity.json)。
|
||||
|
||||
1.14.0已正式本地交付固定版本的受控引擎与工具/模型桥,原生prompt、审批、预算、原结果和停止进入所属Task/Run;独立工作区成果由父工程审查、检查及Git交付。Purge两版本来源锁定的提示实验默认关闭。三个真实功能工程13节点、23类178组UI、独立源码445/445及最终源码/便携验收通过;原PID、模型连接和全部历史保持,部署后14页复验通过。当前[本地工作台](http://127.0.0.1:4318/?release=1.14.0)、发行身份与具体结果见[QA-1.14](docs/QA-1.14.md)。真实模型推理收益按原选择独立待验。
|
||||
1.14.0已正式本地交付固定版本的受控引擎与工具/模型桥,原生prompt、审批、预算、原结果和停止进入所属Task/Run;独立工作区成果由父工程审查、检查及Git交付。Purge两版本来源锁定的提示实验默认关闭。三个真实功能工程13节点、23类178组UI、独立源码445/445及最终源码/便携验收通过;原PID、模型连接和全部历史保持,部署后14页复验通过。1.14的发行身份与具体结果见[QA-1.14](docs/QA-1.14.md)。真实模型推理收益按原选择独立待验。
|
||||
|
||||
1.13.0已本地交付[隔离协作](docs/WORKERS.md):父目标与两个受限Git工作区、累计预算/停止恢复、当前成果核对、具体冲突和父工程审查/检查/Git交付。独立源码404/404、完整界面21类160组与三个真实功能工程通过,父Node8/8、React9/9、Python10/10及构建/编译/Git,React内置Edge两视口各10项断言。正式[本地工作台](http://127.0.0.1:4318/?release=1.13.0)已保持原进程/模型连接/全部历史升级,验收与部署见[QA-1.13](docs/QA-1.13.md)。
|
||||
|
||||
@@ -24,7 +24,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桌面和本机加密A–E已验收,最终发行/部署以[QA-1.15](docs/QA-1.15.md)为准;下一[1.16手机伴随端](docs/PLAN-1.16.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手机伴随端](docs/PLAN-1.16.md)先实现一次性配对、设备权限与断线恢复,再推进更多模型协议和多模态。
|
||||
|
||||
当前Git项目可以先预览已提交版本,再创建独立目录和分支;来源已有暂存、未提交及未跟踪文件保留在原项目。子工作区有自己的项目、会话和实际执行目录,创建中断后显式核对。模型准备Git交付预览后停止请求,确认这份预览后由内核完成提交和报告。具体范围见[独立工作区](docs/WORKSPACES.md)及[1.6验收](docs/QA-1.6.md)。
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
总体方案见 [PRODUCT-PLAN.md](PRODUCT-PLAN.md),研究问题与来源见 [RESEARCH-ROADMAP.md](RESEARCH-ROADMAP.md)。
|
||||
|
||||
1.15当前实现与验收:A–E Windows宿主/单实例、DPAPI选择保存、真实Electron窗口、安装/回退/卸载和分页巡检、桌面三工程16节点及原生UI9组已通过并提交。F独立源码/最终发行/正式部署进行中,未计完整交付;原正式1.14服务和连接保持。具体证据见[QA-1.15](QA-1.15.md),下一真实手机前置见[PLAN-1.16](PLAN-1.16.md)。
|
||||
1.15当前完整交付:Windows宿主/单实例、显式DPAPI保存、真实Electron窗口/所属本机入口、安装/更新/回退/卸载与分页巡检全部交付。495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过,当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写。原失败/范围见[QA-1.15](QA-1.15.md),下一真实手机前置见[PLAN-1.16](PLAN-1.16.md)。
|
||||
|
||||
2026-10-31当前正式交付基线为1.14.0:固定DeepSeek Harness受控工具/模型桥、单个所属worker、真实prompt/审批/检查/父审查/Git与停止核对,以及两版本来源锁定的默认关闭提示实验已交付。独立445/445、253份输入/6构建/40基准、三工程13节点、23类178组UI及最终便携/归档、保留状态升级通过。原PID23172/Provider、完整模型中心和全部7表每行/28会话导出保持,部署后14页通过。真实模型推理收益及其它引擎适配继续独立待验;见[1.14验收](QA-1.14.md)与[下一桌面阶段](PLAN-1.15.md)。
|
||||
1.14历史交付基线:固定DeepSeek Harness受控工具/模型桥、单个所属worker、真实prompt/审批/检查/父审查/Git与停止核对,以及两版本来源锁定的默认关闭提示实验已交付。独立445/445、253份输入/6构建/40基准、三工程13节点、23类178组UI及最终便携/归档、保留状态升级通过。原PID23172/Provider、完整模型中心和全部7表每行/28会话导出保持,部署后14页通过。真实模型推理收益及其它引擎适配继续独立待验;见[1.14验收](QA-1.14.md)与[下一桌面阶段](PLAN-1.15.md)。
|
||||
|
||||
1.13历史交付:1.12.1逐里程碑/24项能力审查与五类确认问题修复保持,本阶段两个受限worker、父成果审查/恢复、独立404/404、完整160组UI、三工程13节点与最终源码/便携正式升级通过。原PID23172/Provider、完整模型中心及当时16项目/28会话/2551记录/4568事件每行和全导出保持,部署后10页通过,见[1.13验收](QA-1.13.md)和[回顾](RETROSPECTIVE-1.13.md)。各版本旧数字保留为历史证据,下一切片与未交付范围统一见[NEXT-STEPS](NEXT-STEPS.md)。
|
||||
|
||||
@@ -141,9 +141,9 @@
|
||||
| C18 Purge增强实验 | 1.14来源锁定的两版本提示实验、开关/失效拒绝和同题夹具对照已交付;原完整插件与真实模型收益未验证 | 独立实验profile、兼容版本、策略分类、开关/回退和同题对照;有效机制按接口采纳 | PG-1 / engines、models、tasks / M3 | 同模型/任务/预算重复比较成功率、成本与错误修改;插件失效可恢复基线 |
|
||||
| C19 外部代理引擎 | 1.14固定DeepSeek0.2.1-rc.2受控prompt/工具模型桥、所属工程/审批/预算/父审查/Git与停止已交付;Codex等适配待做 | EngineAdapter管理握手、会话/进程、事件、停止/恢复和真实能力限制 | CX-2、DS-1 / engines / M3 | 引擎事件有Task/Run映射;协议缺失能力明确;root idle不直接判工程完成 |
|
||||
| C20 浏览器与界面验证 | 代理固定静态构建、真实Edge交互/DOM/PNG/原报告与Task绑定已交付;任意在线浏览与电脑操作待做 | 可选浏览器工具、页面状态/截图、请求/控制台结果、交互验收与开发预览 | CU-2、WB-1 / tools、artifacts / M3–M6 | React真实交互/失败场景可复现;结果含页面与任务身份,不只保存截图 |
|
||||
| C21 桌面产品 | 1.15真实Electron窗口/后台宿主拆分、单实例、原生入口、安装/更新/回退/卸载A–E已验收;最终独立发行和正式部署待F | Electron Windows安装/升级、后台执行宿主、工程/终端/diff/成果区和任务通知 | 产品方案 / desktop、gateway / M5 | 关闭窗口后可再查看任务;安装/升级保留数据;宿主进程生命周期明确 |
|
||||
| C21 桌面产品 | 1.15真实Electron窗口/后台宿主拆分、单实例、原生入口、安装/更新/回退/卸载完整发行和正式保留状态部署已交付 | Electron Windows安装/升级、后台执行宿主、工程/终端/diff/成果区和任务通知 | 产品方案 / desktop、gateway / M5 | 关闭窗口后可再查看任务;安装/升级保留数据;宿主进程生命周期明确 |
|
||||
| C22 手机伴随端 | 390px响应式界面已验证;电脑仅绑定127.0.0.1,真实手机PWA配对/撤销待做 | PWA任务/进度/审查入口;配对网关与设备撤销;共用Run与事件游标 | 产品方案 / mobile、gateway / M5 | 实际手机连电脑并审查同一任务;断线补发不重复执行;失效设备不能授权 |
|
||||
| C23 数据、配置与发布迁移 | 临时Key默认内存;1.15新增显式DPAPI保存/关闭/删除、同事务回退和安装根入口/指针回退已实际验收;正式发行待F,设备配置待1.16 | 用户主动配置凭据、系统凭据存储、数据库迁移/回退、版本兼容和日志导出 | CX-2、DS-1 / storage、gateway、desktop / M1、M5–M6 | 升级副本与回退可验证;导出无Key;任务和来源不丢失 |
|
||||
| C23 数据、配置与发布迁移 | 临时Key默认内存;1.15新增显式DPAPI保存/关闭/删除、同事务回退和安装根入口/指针回退已实际验收;正式发行已通过,设备配置待1.16 | 用户主动配置凭据、系统凭据存储、数据库迁移/回退、版本兼容和日志导出 | CX-2、DS-1 / storage、gateway、desktop / M1、M5–M6 | 升级副本与回退可验证;导出无Key;任务和来源不丢失 |
|
||||
| C24 工程能力评测 | 行为/UI与Node/React/Python实际样本、失败/人工介入证据已保留;封存成套基准、重复评测与整体稳定完成率待做 | 封存真实工程任务、独立验收、重复运行和错误分类;追踪人工介入/成本/恢复 | 全部目标 / evaluation、artifacts / M1–M6 | 发布能力可链接实际任务记录;报告含失败样本与环境,不能只展示成功演示 |
|
||||
|
||||
### 1.6.1 M2实际工作依据切片
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Windows桌面与本机连接
|
||||
|
||||
1.15复用现有工作台客户端和执行内核。A–E实际验收通过,最终发行/正式部署状态以[QA-1.15](QA-1.15.md)为准。
|
||||
1.15复用现有工作台客户端和执行内核。A–F独立源码、实际安装/便携与保留状态正式部署全部通过,具体原结果以[QA-1.15](QA-1.15.md)为准。
|
||||
|
||||
安装版默认为当前Windows用户安装在`%LOCALAPPDATA%\Programs\AgentWorkbench`;用户数据默认在`%LOCALAPPDATA%\AgentWorkbench`,已有或自定义数据目录以`current.json`登记为准。安装目录含原生`AgentWorkbench.exe`入口、`current.json`和独立`versions`程序目录。新版本写入新目录,核对完整文件清单、原执行宿主和活动后才激活;失败回退当前指针和根入口。卸载先结束所属空闲宿主,用户数据保留。
|
||||
|
||||
|
||||
+7
-5
@@ -1,10 +1,10 @@
|
||||
# 后续执行计划
|
||||
|
||||
更新:2026-10-31。当前正式服务仍1.14.0,原PID23172/Provider、连接和全部历史保持。1.15 Windows桌面、持久连接与安装的A–E已完成实现/实际验收/本地提交,F独立源码491/491及23类179组历史UI通过,最终安装/便携和正式部署正在执行;见[QA-1.15](QA-1.15.md)。下一[1.16手机伴随端](PLAN-1.16.md)已记录具体配对、设备权限、真实手机、审批/停止、断线/撤销和独立发行门槛,须先完成1.15 F。真实模型工程/Purge推理收益继续按原选择暂缓,其他项目不进入本计划。
|
||||
更新:2026-10-31。当前正式1.15.0;当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写。Windows桌面、可选本机加密、安装/回退与完整巡检A–F已交付,原失败/当前身份见[QA-1.15](QA-1.15.md)。下一[1.16手机伴随端](PLAN-1.16.md)具体计划保持,真实手机、模型工程/Purge收益及其它能力仍按实际结果分别验收。
|
||||
|
||||
产品目标是让用户给出需求后,工作台能保留项目基线,完成定位、计划、修改、检查、必要修复、审查和Git交付,并在停止、故障、断线后明确保留已完成结果。桌面与手机共享同一执行宿主、任务和证据。
|
||||
|
||||
当前接续:完成1.15最终源码/历史UI/归档/便携/实际安装验收,以已验证候选安装保留状态升级正式4318,核对全部持久行/导出/工件和连接,再封存发行身份/回顾。只有这些完成后才进入1.16 A;计划不能代替真实手机结果。
|
||||
当前接续:1.15完整发行与正式部署已收口,下一进入1.16 A的独立HTTPS配对网关,随后设备权限、手机界面、同Run审批/停止、断线/撤销和真实手机验收。手机与网关仍需实际实现和设备结果,原宿主继续保留现有项目与连接。
|
||||
|
||||
## 执行顺序与完成门槛
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
| 1:隔离执行与多worker(完成) | 父任务拆分、两个所属worker、独立worktree、累计预算、停止恢复、成果归集、具体冲突及父工程审查 | 当前Task/Run、工作区、计划和未知结果恢复契约 | 三工程13节点、父Node8/8、React9/9、Python10/10与构建/编译/Git、React两视口各10断言、独立404项、160组UI、最终归档/便携与保留状态升级通过,见QA-1.13 |
|
||||
| 2a:受控DeepSeek与提示对照(1.14完成) | 固定Harness/工具模型桥、所属工程/停止/父审查、两版本来源锁定默认关闭提示实验 | 外部SDK实际契约和1.13隔离工作区;运行器及实际输入身份固定 | 三工程13节点、独立445项、178组UI、实际随包/状态升级及14页通过;八工程36节点的夹具提示对照保留原输入/用量,真实推理收益未测,见QA-1.14 |
|
||||
| 2b:其它引擎与真实收益(后续独立切片) | Codex实际适配;Claude Code/Cursor/WorkBuddy机制研究;Purge真实模型对照 | 实际版本、审批/取消/模型与工具契约;已验证的受限桥和所属工作区 | 指定工程有实际原协议/工具/检查/Git与停止结果;真实有无实验同模型同题同预算,记录失败和人工介入,不用连接或固定回答夹具推断成功率 |
|
||||
| 3:Windows桌面(A–E通过,F验收中) | 单实例、后台宿主、项目/终端/审查入口、安装包与保留数据更新 | 宿主与客户端生命周期拆分;本机凭据加密;稳定迁移契约 | 关闭/重开窗口不丢任务;重复启动复用宿主;安装/升级/卸载的数据行为可核验;崩溃后显式恢复;旧版本可回退 |
|
||||
| 3:Windows桌面(1.15完成) | 单实例、后台宿主、项目/终端/审查入口、安装包与保留数据更新 | 宿主与客户端生命周期拆分;本机凭据加密;稳定迁移契约 | 关闭/重开窗口不丢任务;重复启动复用宿主;安装/升级/卸载的数据行为可核验;崩溃后显式恢复;旧版本可回退 |
|
||||
| 4:手机伴随端 | PWA、一次性配对、设备身份、撤销、同Run观察/审批、断线游标补发 | 设备认证、加密传输、审批身份/幂等、速率限制;阶段3宿主 | 在真实手机完成配对和撤销;断线后按seq恢复;旧Run/过期/重复审批拒绝;手机和桌面显示同一结果;手机不直接执行宿主文件与命令 |
|
||||
| 5:模型与多模态 | 更多实际协议、流式取消、按能力选路、可恢复池策略、视觉/语音/附件、项目缓存 | 每种协议的工具调用/用量/取消实测;凭据和附件隔离 | 图像、语音、文本各有真实样本;流式断开保留unknown而不重复副作用;不兼容成员不被调度;缓存绑定项目/权限/源码版本并可清除;429/401/超时/冷却有独立证据 |
|
||||
| 6:自我迭代与专业交付 | 隔离分支生成候选、固定评测集、多模型复核、质量/成本对照、升级候选和回滚 | 可复现工程基准、完整质量门槛、阶段1隔离和阶段3更新 | 工作台可提出并验证自身改进;候选不直接改运行中的发行;回归或独立验收失败不能发布;保存原差异、指标和回退点;采纳须经用户已有权限规则 |
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
按[PLAN-1.14](PLAN-1.14.md)已固定DeepSeek Harness的prompt/事件/审批/停止契约并通过受限桥完成所属工程、父审查和Git;实际SDK仍缺少session/cancel,停止单位为所属进程树,旧SDK会话不自动恢复,逐token流未实现。Codex等其它适配按具体版本独立推进,不能从连接成功推断能力。
|
||||
|
||||
DSH-purge两版本的来源锁定和同题本地HTTP夹具对照已完成,独立提示实验默认关闭;真实推理收益继续待验。当前[1.15桌面阶段](PLAN-1.15.md)A–E通过,F正执行独立发行/正式保留状态部署;下一[1.16](PLAN-1.16.md)按实际HTTPS和一次性配对开始。手机、跨协议多模态和自我迭代依照上表前置推进,每个切片继续回顾并本地Git。
|
||||
DSH-purge两版本的来源锁定和同题本地HTTP夹具对照已完成,独立提示实验默认关闭;真实推理收益继续待验。当前[1.15桌面阶段](PLAN-1.15.md)A–F完整交付;下一[1.16](PLAN-1.16.md)按实际HTTPS和一次性配对开始。手机、跨协议多模态和自我迭代依照上表前置推进,每个切片继续回顾并本地Git。
|
||||
|
||||
## 跨阶段必须保持的能力
|
||||
|
||||
@@ -59,4 +59,6 @@ REA用于发行工件或运行证据,完整公开源码直接分析。研究
|
||||
|
||||
DSH-purge源码位于`D:\Ai-project\REA逆向\dsh-purge-1.1.78-windows`;DeepSeek工程位于`D:\Ai-project\DeepSeek-Harness-Desktop`。它们与ModelProvider分层管理。原六方法SDK探针仍只证明连接,1.14新增受限桥的真实prompt、工具、独立工程和停止验收另有原报告;Purge本地夹具提示生效/开销对照已完成,真实模型工程收益未测。
|
||||
|
||||
当前Windows安装版与本机加密已通过A–E,完整正式交付以QA-1.15最终结果为准。尚未交付:OS沙箱、固定DeepSeek受控桥以外的引擎工程接入、未知WorkBuddy格式自动导入、多协议流式/多模态、真实手机配对,以及稳定的全自主工程成功率。按上表逐项实现和验收,不用界面入口或夹具结果替代完成。
|
||||
当前Windows安装版与本机加密已完整交付,原实际范围见QA-1.15。尚未交付:OS沙箱、固定DeepSeek受控桥以外的引擎工程接入、未知WorkBuddy格式自动导入、多协议流式/多模态、真实手机配对,以及稳定的全自主工程成功率。按上表逐项实现和验收,不用界面入口或夹具结果替代完成。
|
||||
|
||||
1.15交付回顾保留的体验改进:在不减少完整性核对的前提下研究安装/激活校验耗时和进度反馈,并补超长自定义安装路径的提前拒绝。当前正式安装与原数据核对已通过,以上优化尚未实现,不与1.16真实手机验收混计。
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
# 1.15 Windows 桌面宿主与持久连接执行方案
|
||||
|
||||
2026-10-31。A–C已分别实现、验收和提交(249f191、72a496a、5354d95);D的16项补强回归、6组UI、11组实际安装演练通过并提交f7a5969;E的桌面三工程16节点和原生停止/恢复9组通过并提交b77783b;F元数据/源码离线运行与17相关检查已补齐,独立发行和正式部署进行中。1.14原445/445、178组UI、三工程及发行证据保持,具体前置结果见[1.14验收](QA-1.14.md)。每个切片保留原失败、回顾、复验并本地Git提交,失败的候选不进入正式服务。
|
||||
当前状态:A–F已完整实现、独立验收、本地Git保存并正式部署1.15.0;495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过。当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写,9229关闭。具体原失败/成功与不可变身份见[QA-1.15](QA-1.15.md),下一手机方案见[PLAN-1.16](PLAN-1.16.md)。
|
||||
|
||||
## 本阶段交付目标
|
||||
|
||||
用户通过一个Windows桌面应用打开现有工作台。窗口和执行宿主各自管理生命周期:关闭、重开窗口可继续观察同一任务;重复启动复用经身份核对的宿主;退出宿主等待所属工具、检查和引擎进程结束。模型连接可由用户选择保存为本机加密凭据,重启后的连接状态有实际核验。安装及升级保持项目、会话、工件和连接,安装失败能退回旧版本。
|
||||
|
||||
沿用一个React客户端和现有Runtime/Store/Provider,不另建一套桌面代理。CurrentUser DPAPI和真实Electron已在隔离宿主验收;Windows安装版仍需D–F完整发行验证。390px只证明窄屏兼容,真实手机配对尚未交付。
|
||||
沿用一个React客户端和现有Runtime/Store/Provider,不另建一套桌面代理。CurrentUser DPAPI和真实Electron已在隔离宿主验收;Windows安装版已完成D–F独立发行与正式状态保留验证。390px只证明窄屏兼容,真实手机配对尚未交付。
|
||||
|
||||
## 必须延续的现有契约
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# 1.16 手机伴随端执行方案
|
||||
|
||||
2026-10-31记录。前置是[1.15](PLAN-1.15.md)完成F独立发行、正式桌面安装与保留状态部署;本文为下一阶段计划,不能据此认为手机功能已经实现。
|
||||
2026-10-31记录。前置[1.15](PLAN-1.15.md)已完成F独立发行、正式桌面安装与保留状态部署;本文为下一阶段计划,手机功能尚未实施。
|
||||
|
||||
## 用户成果
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Agent Workbench 后续产品与执行开发方案
|
||||
|
||||
更新:2026-10-31。当前正式基线1.14.0、原Provider/PID与全部历史保持。1.15 Windows桌面与本机加密连接的A–E已实现、实际验收并提交;F正在核对独立源码/完整历史UI/最终安装/便携和保留状态部署,未完成前不登记正式交付。下一[1.16手机方案](PLAN-1.16.md)已封存,按[后续计划](NEXT-STEPS.md)逐切片回顾和本地Git。真实模型工程及Purge推理收益继续按用户选择暂缓;具体实现/证据/部署分别见[能力矩阵](CAPABILITIES.md)、[QA-1.15](QA-1.15.md)与[验证记录](VALIDATION.md)。
|
||||
更新:2026-10-31。当前正式基线1.15.0,Windows桌面与可选本机加密A–F完整交付;495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过,当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写。下一[1.16手机方案](PLAN-1.16.md)保持具体未实施范围,依[后续计划](NEXT-STEPS.md)继续切片回顾和本地Git。真实模型工程/Purge收益继续按用户选择暂缓;当前能力、原证据与部署分别见[能力矩阵](CAPABILITIES.md)、[QA-1.15](QA-1.15.md)及[验证记录](VALIDATION.md)。
|
||||
|
||||
## 1. 产品目标
|
||||
|
||||
1.14的A–F已完成实现、独立验收和正式交付:253份源码输入/6构建/40基准、三工程13节点、23类178组UI及独立445/445通过;最终不可变20261030235440461便携/归档与保留状态升级通过。原PID23172/Provider、全部7表每行及28会话导出保持,具体原结果见[QA-1.14](QA-1.14.md)。[1.15桌面方案](PLAN-1.15.md)的A–E已分别实现及实际验收(249f191、72a496a、5354d95、f7a5969、b77783b),F独立发行/正式部署正在执行,后续真实手机配对另属1.16。
|
||||
1.14的A–F已完成实现、独立验收和正式交付:253份源码输入/6构建/40基准、三工程13节点、23类178组UI及独立445/445通过;最终不可变20261030235440461便携/归档与保留状态升级通过。原PID23172/Provider、全部7表每行及28会话导出保持,具体原结果见[QA-1.14](QA-1.14.md)。[1.15桌面方案](PLAN-1.15.md)的A–E已分别实现及实际验收(249f191、72a496a、5354d95、f7a5969、b77783b),F独立发行/正式部署全部通过,后续真实手机配对另属1.16。
|
||||
|
||||
建立由我们掌握源码、可接用户选择的大模型、在本地持续完成真实工程任务的AI编程与能力研究工作台。研究Codex、Claude Code、Cursor、DeepSeek Harness、WorkBuddy的有价值机制,用REA取得可追溯证据,将机制独立开发成工作台内置能力;DSH-purge作为明确版本和作用范围的研究及增强策略候选。
|
||||
|
||||
@@ -31,7 +31,7 @@ Purge的源码机制不证明模型权重或工程成功率已经提升。增强
|
||||
|
||||
现有基础:React工作台、兼容模型连接、Task/Run/Tool及预算、SQLite/工件恢复、工程索引与精确补丁、npm实际检查、单文件/整批审核、Git和报告。1.4.0增加原/新字节快照和逐文件执行账本、整批预检及显式恢复;各版本实测证据单独登记。
|
||||
|
||||
正式1.12基础包括Task所属依赖计划与原结果核验、多连接兼容Chat协议模型池、本地格式导入/巡检、带来源核对和有界请求快照的[项目记忆](PROJECT-MEMORY.md)、Task检查点、本地Skills和受控stdio MCP。1.13源码已实现两个受限worker、独立Git工作区、累计预算/停止恢复、当前成果核对和父工程文本审查合并,最终发行以[QA-1.13](QA-1.13.md)为准。1.14受控DeepSeek工程引擎已交付;1.15桌面宿主/窗口、本机加密和安装A–E已通过,正式发行看QA-1.15。动态REA/任意外部引擎注册、任意规模调度、OS沙箱及真实手机配对仍待开发;已有不同阶段的Node/React/Python工程样本,整体自主交付能力按真实任务评估。Python专用检查和混合范围选择的来源见[Python契约](PYTHON-CHECKS.md),真实React类型/构建/交互/Git样本见[React基准](../benchmarks/react-delivery-v1/README.md)。任意自动合并与归档继续开发,现有批次支持文本创建/修改,不提供跨文件原子事务。当前模型协议仍使用stream:false;跨协议与真实模型池工程验收另行记录。
|
||||
正式1.12基础包括Task所属依赖计划与原结果核验、多连接兼容Chat协议模型池、本地格式导入/巡检、带来源核对和有界请求快照的[项目记忆](PROJECT-MEMORY.md)、Task检查点、本地Skills和受控stdio MCP。1.13源码已实现两个受限worker、独立Git工作区、累计预算/停止恢复、当前成果核对和父工程文本审查合并,最终发行以[QA-1.13](QA-1.13.md)为准。1.14受控DeepSeek工程引擎已交付;1.15桌面宿主/窗口、本机加密和安装A–F完整交付,实际范围见QA-1.15。动态REA/任意外部引擎注册、任意规模调度、OS沙箱及真实手机配对仍待开发;已有不同阶段的Node/React/Python工程样本,整体自主交付能力按真实任务评估。Python专用检查和混合范围选择的来源见[Python契约](PYTHON-CHECKS.md),真实React类型/构建/交互/Git样本见[React基准](../benchmarks/react-delivery-v1/README.md)。任意自动合并与归档继续开发,现有批次支持文本创建/修改,不提供跨文件原子事务。当前模型协议仍使用stream:false;跨协议与真实模型池工程验收另行记录。
|
||||
|
||||
工作台源码已建立本地Git,基线提交为`bac87da`,标签`v1.0.0-baseline`,继续按可审查小步提交。用户工程已有内置审查提交/证据报告、独立工作区及1.13父子文本成果审查合并;任意自动合并、归档和总体自主工程完成率继续实施与验收。
|
||||
|
||||
|
||||
+32
-2
@@ -1,6 +1,6 @@
|
||||
# 1.15 Windows桌面宿主与持久连接验收
|
||||
|
||||
2026-10-31。本阶段从e634a25/正式1.14.0接续,在feat/desktop-host-1.15开发。A–F逐项实施并保存原结果;局部通过不计完整发行。正式进程和Provider保持,隔离验证使用自有项目、数据和凭据,真实推理继续按用户原选择暂缓。
|
||||
2026-10-31。本阶段从e634a25/正式1.14.0接续,在feat/desktop-host-1.15开发。A–F逐项实施并保存原结果;局部通过不计完整发行。开发期间保持原宿主;最终恢复检查发现其已退出,用户随后手动启动旧版体验,正式保留这个新进程与当前全部持久数据升级,早先退出进程的内存Key不可恢复。隔离验证使用自有项目、数据和凭据,真实推理继续按用户原选择暂缓。
|
||||
|
||||
## A:宿主身份与单实例(通过)
|
||||
|
||||
@@ -52,7 +52,7 @@ C#旧compiler不支持deterministic选项,使用源码/图标/编译器SHA绑
|
||||
|
||||
原环境根误用、精确seq误判、父审查漏点“审查变更集”、隐藏窗口截图等待绘制、Playwright下载事件、截图后的弹窗遮挡、窄屏自动收起项目栏均保存原失败。修正到实际SDK根、原事件补发、正常界面动作、显示窗口后捕获和原生DownloadItem,不使用force点击或放宽工程/预算/审批断言。[67份原证据](desktop-projects-e-evidence.json)包含失败/通过及PNG/DOM/日志;完整原fixture/工件仍保存在所引QA目录。原UI9组之后,仅共享QA helper增加正常弹窗关闭/项目栏展开,[原/新SHA差异](desktop-projects-e-ui-helper-delta.json)独立登记;产品/构建未改变,F以最终1.15重新验收这个helper。D本地提交f7a5969;E仍是开发版1.14.0,F不可跳过。
|
||||
|
||||
## F:独立发行与正式部署(进行中)
|
||||
## F:独立发行与正式部署(完成)
|
||||
|
||||
E已提交b77783b。已统一1.15.0元数据/独立证据路径、离线随包Electron和实际源码构建输入;源码重建资产加入宿主身份。首个构建误用系统Node16,原日志保留;固定Node24.22.1后构建及17相关检查通过。当前固定1.15.0输入,核对全部构建目录、完整源码和历史UI,再验收源码/归档/便携/实际安装及保留原宿主升级。按照[执行方案](PLAN-1.15.md)完成F后才将本阶段计为完整交付。
|
||||
|
||||
@@ -72,3 +72,33 @@ c5c8a84的[首基线](desktop-host-final-code-baseline.json)包含358输入、12
|
||||
修复后的[最终历史UI整轮](desktop-host-f-final-all-ui-evidence.json)23类179组通过,原日志/报告/PNG单独封存,不复用首候选结果。源码验收使用自有HTTP响应,工程检查与原生进程真实运行,真实模型/Purge推理收益仍未测。
|
||||
|
||||
最终说明包将严格核对全部产品、测试、基准、运行依赖及许可证字节与上述通过候选一致,只复用未改变的源码整轮;最终ZIP、便携宿主、精确产品安装器和正式保留状态升级各自独立验收。此段为安装前记录,正式交付以之后封存的发行身份和部署原结果为准。
|
||||
|
||||
|
||||
### 最终安装与保留状态正式交付
|
||||
|
||||
最终不可变20261031071202956包含85e0f0e/138adcf两项存储修复和新server构建,生成新清单/ZIP/正式安装器。完整差异核对只允许三个源码/测试、server构建和REA清单builtAt字段变化,其余client/desktop/依赖/许可证/基准原字节保持;最终ZIP/独立解压、全新495项独立源码、实际便携宿主/Node/npm/REA/SDK/Edge/受控工程分别通过。原候选凭据页409修复后,同一最终载荷/安装逻辑使用隔离QA AppId执行7组,正式产品安装器另在原安装目录stage;两份setup的SHA与范围分别记录。安装7组在自有C盘程序/data/端口执行实际原生入口、跨盘来源检测、DPAPI/HTTP认证、4项npm检查、所属窗口崩溃、整宿主重启及卸载保留数据,真实模型请求为0。
|
||||
|
||||
正式安装位于C:\Users\wangy\AppData\Local\Programs\AgentWorkbench,数据使用原登记目录C:\Users\wangy\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\AgentWorkbench;原宿主先前退出;setup成功stage期间用户手动启动1.14体验,旧数据快照被正确拒绝。保留原拒绝与staged收据,复核实际候选并采纳17项目新基线;初次对用户启动的宿主升级后,正式凭据页返回409;新候选85e0f0e在Store接续时统一同一物理目录并保留已打开SQLite,138adcf同时逐层拒绝显式目录联接与祖先链接,共新增4项回归。首个存储修复候选的源码验收为加入守卫主动中止,仅完成311项,部分TAP与所属进程终止收据原样保留,不计整轮通过;最终候选重新完整验收495项。完整新验收后再执行一次纠正升级,activate只发布指针并保留旧版本回退,再由实际原生入口打开窗口。当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写;模型中心的临时凭据/健康状态随进程生命周期变化,/storage/restart说明随版本变化,均逐字段另行记录;连接配置/池/原请求保持,旧内存Key没有追溯保存;新旧两个阶段和用户启动导致的项目插入分别保留原快照。窗口实际打开并人工核对,当前用户启动的Node进程路径仍可为原1.14,二进制SHA与随包运行器一致,runtimeRoot与正式候选一致。9229关闭。
|
||||
|
||||
正式1280/390的18页只读复验、1446条工件记录/15页及1357个去重blob文件完整原生产者/字节核对通过,原unknown/来源attention仍按页保留。product-ui-ux补充实际两视口的普通文本前景/背景对比、模态键盘/关闭焦点返回与布局核对通过,最低实测比值4.52。这些是实际观察与原记录,不替代真实模型或手机验收。完整原结果、运行器、所有安装/部署日志、截图及SHA见[最终发行身份](desktop-host-release-identity.json)。
|
||||
|
||||
A–F至此完成并本地Git保存;早先并行便携/重启/原生UI失败及串行复验均保留,精确瞬时原因未知,未放宽守卫。原首候选、原安装失败和运行库时间差异不改写。首轮265字符自定义QA安装路径失败并回滚,默认正式路径最长235字符通过;超长自定义安装路径仍是已知限制,后续加安装前长度预检。第二轮故障注入误用taskkill /T连带终止测试宿主,原失败完整保留,修正为仅窗口PID后完整复验。下一[1.16手机方案](PLAN-1.16.md)仍仅计划,真实手机、多模态、其它引擎、跨Windows账号登录与真实推理/Purge收益分别待验。最终包内说明为制作时的安装前记录,仓库此处及发行身份包含其后的实际安装/部署结果。
|
||||
|
||||
|
||||
最终历史UI首轮串行在12类111组通过后,因长解压根加中文测试项目路径超过既有Windows Git的200字节保护而拒绝;66份原报告/日志/截图保留。随后将独立源码副本置于短物理目录,360输入/12构建/40基准逐字节一致,未修改产品、验证器或门槛;全新23类179组另行完整通过。该环境根因与早先并行瞬时原因未知的失败分别记录。
|
||||
|
||||
正式纠正stage首次在安装前拒绝:体验期间新增一个空白idle会话及一条创建事件,旧快照已过期,安装器尚未启动。逐行证明全部原表/28会话导出/工件保持,仅追加会话、事件/outbox及events序列后,保留该29会话/4599事件新基线与私有一致性备份收据;原拒绝、只读诊断及新stage分开封存。诊断脚本初版未处理缺失旧会话、误认序列名与outbox字段,均按实际SQLite结构修正,未更改用户数据。
|
||||
|
||||
正式新候选stage的360秒父等待超时,原失败保留;文件安装日志已成功,所属管理器随后完成staged收据并退出。没有再次执行setup。独立核验全部候选清单、原宿主创建身份、旧指针、29会话全部行/导出/工件和暂存快照后单独采纳原收据;超时调用本身不记为通过。
|
||||
|
||||
纠正处理器已接续且凭据GET200后,原QA直接比较模型中心SHA而拒绝,原失败保存。实际只新增两条savedCredential.not_saved及storage.credentials从memory到memory-or-windows-user-dpapi,全部行/导出/工件和其余模型字段保持;复用既有逐字段版本化比较,独立验证原宿主/新运行身份/凭据200/旧指针后采纳已完成升级,没有再次调用upgrade。
|
||||
|
||||
最终正式只读页面首轮桌面9页通过,窄屏选择项目会正常收起项目栏,QA却继续查询隐藏选择器而失败;13份原报告/日志/截图保持。验证器改为重新展开、核对实际选中值再收起,未改产品或断言目标,全新1280/390共18页通过。真实安装窗口另行观察了主工作区与凭据页HTTP200,未填写或保存Key。
|
||||
|
||||
实际全安装目录校验耗时较长,本轮指针激活约7分34秒,stage的360秒父等待曾超时并由独立核验采纳后来完成的收据。校验/启动耗时与超长自定义安装路径的预检仍需后续优化,本轮没有宣称性能问题已修复。
|
||||
|
||||
原生捕获实际返回JPEG,首个证据收据脚本误按PNG校验而拒绝,未生成通过报告。保留原捕获字节并核对JPEG文件头/尾,使用相同SHA的.jpg别名封存;没有转换或重新截图,诊断收据与AX另存。这是证据格式假设修正,不是产品渲染失败。
|
||||
|
||||
最终封存首轮预检拒绝“360个输入全部为Git文件”的错误假设,且未创建证据输出;第二次因四个文本的Git换行规范化拒绝,也未创建输出,两次原脚本/诊断和第二次实际工具输出分别保留。一次性核对全部360输入:351个与Git原始blob完全一致,4个仅CRLF/LF差异,完整缓冲区去掉CRLF中的CR后与Git字节严格相同,另封存冻结原文件;5个是.gitignore明确忽略的示例构建结果,四个模块逐字节等于已提交src,package.json逐字节等于已提交build.mjs的固定输出。所有360输入/12构建/40基准的原SHA保持,5份生成结果和构建器另封存。没有跳过任意缺失文件、更改冻结源码或强制提交生成目录,不宣称全部Git原始字节相同,也没有重复运行产品验收。
|
||||
|
||||
第三次最终封存外部日志预检拒绝且未创建输出;随后一次性核对36个外部引用,三份卸载日志原SHA都严格对应完整日志前缀,分别仅追加199字节的“卸载成功/移除完成/无需重启/日志关闭”终结行。保留原收据与原SHA,按散列证明分别封存原前缀和完整日志,第三次实际工具失败/当时脚本亦保留。其余外部引用SHA一致,没有把变化日志写成原字节相同或重新执行卸载、安装和升级。
|
||||
|
||||
@@ -68,3 +68,33 @@ A–E原证据和五个提交保持。F把离线源码Electron运行、重建客
|
||||
### 运行库时间字段与最终发行身份
|
||||
|
||||
标准重新打包的最终候选仅runtime/REA-RUNTIME.json发生字节差异;完整结构核对确认唯一字段为builtAt,其余代码、依赖、构建、基准与许可证完全相同。[原差异与失败](desktop-host-f-runtime-time-evidence.json)保留。最终说明发行采用已通过的不可变候选全部运行字节,并从当前Git文档生成新的外层清单、ZIP和精确安装器;仍执行完整字节等价、最终归档/便携/安装和正式保留状态验收。运行库沿用其原制作时间,外层发行记录本次真实时间。
|
||||
|
||||
|
||||
## F最终收口与下一阶段
|
||||
|
||||
495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过;当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写。最终20261031071202956按限定存储修复差异核对全部载荷后,重新完整验收独立源码、归档、便携和同载荷隔离安装,正式stage原拒绝/adopt-stage/初次upgrade和新候选stage/纠正upgrade/activate/native-window/verify分阶段留账;用户确认了手动启动,保留现有基线和进程,原setup及升级未重放;新候选修复的追加stage/upgrade另行记录。正式页面首轮默认新示例没有会话,QA改为通过真实选择器读取已有会话;原空态与失败保留。工件记录有独立身份、内容文件按SHA去重,分别核对1446条记录及1357个物理文件,原混用计数失败保留。全部表/会话/工件按当前真实计数核对,避免沿用1.13/1.14旧计数;只读巡检完整分页,unknown及来源注意事项仍保留。实际安装窗口、18页、键盘/焦点和普通文本实测分别记录,产品体验与源代码检查不混为一个结论。
|
||||
|
||||
新候选首轮并行验证中,便携示例初始化未登记、安装重启无法取得Windows进程身份、受控UI工具原结果待核对三次失败完整保留。后续新夹具串行结果单独采纳,具体瞬时根因未知,未放宽身份/未知结果守卫或自动重放旧Run。修复前的491项/旧安装器属于历史候选;当前495项和新7组分别绑定新候选。
|
||||
|
||||
本轮文档同步第一次使用过期F段落触发拒绝,保留已经正确写入的三个文档并按当前计划继续,未重放源码或产品执行。运行库builtAt导致严格字节比较失败后,采用原通过的运行字节重新生成说明包,原差异完整留存。每次复验和本地提交绑定具体候选;原失败未被改写成通过。
|
||||
|
||||
[发行身份](desktop-host-release-identity.json)与[实际范围](QA-1.15.md)封存本阶段。下一按[PLAN-1.16](PLAN-1.16.md)实现HTTPS一次性配对、设备权限、同Run审批、断线/撤销和真实手机;当前不把390px布局当手机交付。真实模型工程/Purge收益继续按用户先本地验收的选择暂缓。
|
||||
|
||||
|
||||
最终历史UI首轮串行在12类111组通过后,因长解压根加中文测试项目路径超过既有Windows Git的200字节保护而拒绝;66份原报告/日志/截图保留。随后将独立源码副本置于短物理目录,360输入/12构建/40基准逐字节一致,未修改产品、验证器或门槛;全新23类179组另行完整通过。该环境根因与早先并行瞬时原因未知的失败分别记录。
|
||||
|
||||
正式纠正stage首次在安装前拒绝:体验期间新增一个空白idle会话及一条创建事件,旧快照已过期,安装器尚未启动。逐行证明全部原表/28会话导出/工件保持,仅追加会话、事件/outbox及events序列后,保留该29会话/4599事件新基线与私有一致性备份收据;原拒绝、只读诊断及新stage分开封存。诊断脚本初版未处理缺失旧会话、误认序列名与outbox字段,均按实际SQLite结构修正,未更改用户数据。
|
||||
|
||||
正式新候选stage的360秒父等待超时,原失败保留;文件安装日志已成功,所属管理器随后完成staged收据并退出。没有再次执行setup。独立核验全部候选清单、原宿主创建身份、旧指针、29会话全部行/导出/工件和暂存快照后单独采纳原收据;超时调用本身不记为通过。
|
||||
|
||||
纠正处理器已接续且凭据GET200后,原QA直接比较模型中心SHA而拒绝,原失败保存。实际只新增两条savedCredential.not_saved及storage.credentials从memory到memory-or-windows-user-dpapi,全部行/导出/工件和其余模型字段保持;复用既有逐字段版本化比较,独立验证原宿主/新运行身份/凭据200/旧指针后采纳已完成升级,没有再次调用upgrade。
|
||||
|
||||
最终正式只读页面首轮桌面9页通过,窄屏选择项目会正常收起项目栏,QA却继续查询隐藏选择器而失败;13份原报告/日志/截图保持。验证器改为重新展开、核对实际选中值再收起,未改产品或断言目标,全新1280/390共18页通过。真实安装窗口另行观察了主工作区与凭据页HTTP200,未填写或保存Key。
|
||||
|
||||
实际全安装目录校验耗时较长,本轮指针激活约7分34秒,stage的360秒父等待曾超时并由独立核验采纳后来完成的收据。校验/启动耗时与超长自定义安装路径的预检仍需后续优化,本轮没有宣称性能问题已修复。
|
||||
|
||||
原生捕获实际返回JPEG,首个证据收据脚本误按PNG校验而拒绝,未生成通过报告。保留原捕获字节并核对JPEG文件头/尾,使用相同SHA的.jpg别名封存;没有转换或重新截图,诊断收据与AX另存。这是证据格式假设修正,不是产品渲染失败。
|
||||
|
||||
最终封存首轮预检拒绝“360个输入全部为Git文件”的错误假设,且未创建证据输出;第二次因四个文本的Git换行规范化拒绝,也未创建输出,两次原脚本/诊断和第二次实际工具输出分别保留。一次性核对全部360输入:351个与Git原始blob完全一致,4个仅CRLF/LF差异,完整缓冲区去掉CRLF中的CR后与Git字节严格相同,另封存冻结原文件;5个是.gitignore明确忽略的示例构建结果,四个模块逐字节等于已提交src,package.json逐字节等于已提交build.mjs的固定输出。所有360输入/12构建/40基准的原SHA保持,5份生成结果和构建器另封存。没有跳过任意缺失文件、更改冻结源码或强制提交生成目录,不宣称全部Git原始字节相同,也没有重复运行产品验收。
|
||||
|
||||
第三次最终封存外部日志预检拒绝且未创建输出;随后一次性核对36个外部引用,三份卸载日志原SHA都严格对应完整日志前缀,分别仅追加199字节的“卸载成功/移除完成/无需重启/日志关闭”终结行。保留原收据与原SHA,按散列证明分别封存原前缀和完整日志,第三次实际工具失败/当时脚本亦保留。其余外部引用SHA一致,没有把变化日志写成原字节相同或重新执行卸载、安装和升级。
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
# Agent Workbench 验收记录
|
||||
|
||||
## 1.15 · Windows桌面与本机加密(A–E通过,F验收中)
|
||||
## 1.15 · Windows桌面与本机加密(完整交付)
|
||||
|
||||
宿主身份/单实例、DPAPI选择保存、实际Electron窗口、安装/回退/卸载与分页工件巡检、桌面三工程16节点和原生UI9组已通过;五切片分别提交。F正进行1.15最终源码/历史UI/安装/便携及保留状态正式部署,当前正式仍1.14.0/PID23172;不将局部结果计为完整发行。原失败与具体范围见[QA-1.15](QA-1.15.md)、[回顾](RETROSPECTIVE-1.15.md)与[下一手机方案](PLAN-1.16.md)。
|
||||
495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过;正式1.15.0已安装并保留用户新启动进程/Provider与全部当前持久数据升级,当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写,9229关闭。全部原字节和失败见[发行身份](desktop-host-release-identity.json)、[QA-1.15](QA-1.15.md)、[回顾](RETROSPECTIVE-1.15.md)及[下一手机方案](PLAN-1.16.md)。
|
||||
|
||||
## 1.14 · 受控引擎、默认关闭提示实验与正式交付
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
* -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
|
||||
*.txt binary
|
||||
*.log binary
|
||||
*.tap binary
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031071202956",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031071202956",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031071202956.zip",
|
||||
"bytes": 285593653,
|
||||
"sha256": "62fc642183ec5244453af74cf709a0c8652228c78932e065ad2730a1e112a230"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031071202956.zip",
|
||||
"bytes": 285888032,
|
||||
"sha256": "24d8819167641544d24631e551ea11c47e28718d39c68759cecfa6e88593309a"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031071202956-Setup.exe",
|
||||
"bytes": 254743081,
|
||||
"sha256": "d3e021e9cafe64bb5050d2c467c98fc39287df72d241158f64e4b1b1c7137fae",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-62d29428-00c6-4027-8672-33702cd94386\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031071202956",
|
||||
"qaFixture": null
|
||||
},
|
||||
"desktopRuntime": {
|
||||
"version": "45.2.0",
|
||||
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
|
||||
"bytes": 249810432,
|
||||
"executable": "desktop/AgentWorkbench.exe",
|
||||
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
|
||||
},
|
||||
"nativeLauncher": {
|
||||
"bytes": 12288,
|
||||
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
|
||||
"inputs": {
|
||||
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
|
||||
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
|
||||
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
|
||||
},
|
||||
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
|
||||
},
|
||||
"nodeVersion": "v24.22.1",
|
||||
"reaRuntime": {
|
||||
"version": "6.8.0",
|
||||
"protocolVersion": "2025-03-26",
|
||||
"packages": 149,
|
||||
"files": 8413,
|
||||
"bytes": 142395402,
|
||||
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
|
||||
},
|
||||
"portableFiles": 12215,
|
||||
"licenseTexts": 86,
|
||||
"browserRuntime": {
|
||||
"playwrightVersion": "1.64.1",
|
||||
"packages": [
|
||||
{
|
||||
"name": "playwright",
|
||||
"version": "1.64.1",
|
||||
"files": 60
|
||||
},
|
||||
{
|
||||
"name": "playwright-core",
|
||||
"version": "1.64.1",
|
||||
"files": 115
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,847 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.15.0",
|
||||
"codeCommit": "d005344bdcafb9c070a23a0276e6aea6c7f13f21",
|
||||
"validatedSource": {
|
||||
"sourceRoot": "D:\\AWQA15\\source-check-c1640410c2e24661adfbbeb89d7efe12\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"tests": {
|
||||
"tests": 491,
|
||||
"pass": 491,
|
||||
"fail": 0,
|
||||
"cancelled": 0,
|
||||
"skipped": 0,
|
||||
"todo": 0
|
||||
},
|
||||
"originalReportSha256": "38a85c686e645ef4a39d4a65b041057ff186d6dbae09d45020d87547dacb9764",
|
||||
"desktopWindowCases": 7,
|
||||
"engineUiCases": 9,
|
||||
"projectNodes": 16
|
||||
},
|
||||
"original": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448.zip",
|
||||
"bytes": 272398551,
|
||||
"sha256": "985bcc6588f37f81df5da7e147a275f1b5fc2c9084919695e6585dba53598ec1"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448.zip",
|
||||
"bytes": 272688898,
|
||||
"sha256": "c3901cd37e26c5ed644e0d88505900c8bb953794569e4e8b05dc2660ec32f07a"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448-Setup.exe",
|
||||
"bytes": 241882526,
|
||||
"sha256": "fc0921e60bd402c2366f43bafe5bdcc5637f0e98a8a3a0c93630c140aabc58be",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-991cf264-4583-4172-8e44-38772e648f0c\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"qaFixture": null
|
||||
},
|
||||
"desktopRuntime": {
|
||||
"version": "45.2.0",
|
||||
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
|
||||
"bytes": 249810432,
|
||||
"executable": "desktop/AgentWorkbench.exe",
|
||||
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
|
||||
},
|
||||
"nativeLauncher": {
|
||||
"bytes": 12288,
|
||||
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
|
||||
"inputs": {
|
||||
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
|
||||
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
|
||||
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
|
||||
},
|
||||
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
|
||||
},
|
||||
"nodeVersion": "v24.22.1",
|
||||
"reaRuntime": {
|
||||
"version": "6.8.0",
|
||||
"protocolVersion": "2025-03-26",
|
||||
"packages": 149,
|
||||
"files": 8413,
|
||||
"bytes": 142395402,
|
||||
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
|
||||
},
|
||||
"portableFiles": 11960,
|
||||
"licenseTexts": 86,
|
||||
"browserRuntime": {
|
||||
"playwrightVersion": "1.64.1",
|
||||
"packages": [
|
||||
{
|
||||
"name": "playwright",
|
||||
"version": "1.64.1",
|
||||
"files": 60
|
||||
},
|
||||
{
|
||||
"name": "playwright-core",
|
||||
"version": "1.64.1",
|
||||
"files": 115
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"final": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352.zip",
|
||||
"bytes": 285546826,
|
||||
"sha256": "c2b4a0fafcff2e0a36211dab7dfe33dbb543462513fec700bd9342d58f6a4fa3"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352.zip",
|
||||
"bytes": 285837276,
|
||||
"sha256": "df1a8ff80f07e056580b405f3bac48dff008e7e76166a2e440565f86d00d9089"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352-Setup.exe",
|
||||
"bytes": 254698284,
|
||||
"sha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-5dce2e1a-5185-4f46-ac8a-2d8c8634df50\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"qaFixture": null
|
||||
},
|
||||
"desktopRuntime": {
|
||||
"version": "45.2.0",
|
||||
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
|
||||
"bytes": 249810432,
|
||||
"executable": "desktop/AgentWorkbench.exe",
|
||||
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
|
||||
},
|
||||
"nativeLauncher": {
|
||||
"bytes": 12288,
|
||||
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
|
||||
"inputs": {
|
||||
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
|
||||
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
|
||||
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
|
||||
},
|
||||
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
|
||||
},
|
||||
"nodeVersion": "v24.22.1",
|
||||
"reaRuntime": {
|
||||
"version": "6.8.0",
|
||||
"protocolVersion": "2025-03-26",
|
||||
"packages": 149,
|
||||
"files": 8413,
|
||||
"bytes": 142395402,
|
||||
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
|
||||
},
|
||||
"portableFiles": 12213,
|
||||
"licenseTexts": 86,
|
||||
"browserRuntime": {
|
||||
"playwrightVersion": "1.64.1",
|
||||
"packages": [
|
||||
{
|
||||
"name": "playwright",
|
||||
"version": "1.64.1",
|
||||
"files": 60
|
||||
},
|
||||
{
|
||||
"name": "playwright-core",
|
||||
"version": "1.64.1",
|
||||
"files": 115
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentationOnly": {
|
||||
"origin": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448.zip",
|
||||
"bytes": 272398551,
|
||||
"sha256": "985bcc6588f37f81df5da7e147a275f1b5fc2c9084919695e6585dba53598ec1"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448.zip",
|
||||
"bytes": 272688898,
|
||||
"sha256": "c3901cd37e26c5ed644e0d88505900c8bb953794569e4e8b05dc2660ec32f07a"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448-Setup.exe",
|
||||
"bytes": 241882526,
|
||||
"sha256": "fc0921e60bd402c2366f43bafe5bdcc5637f0e98a8a3a0c93630c140aabc58be",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-991cf264-4583-4172-8e44-38772e648f0c\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"qaFixture": null
|
||||
},
|
||||
"desktopRuntime": {
|
||||
"version": "45.2.0",
|
||||
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
|
||||
"bytes": 249810432,
|
||||
"executable": "desktop/AgentWorkbench.exe",
|
||||
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
|
||||
},
|
||||
"nativeLauncher": {
|
||||
"bytes": 12288,
|
||||
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
|
||||
"inputs": {
|
||||
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
|
||||
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
|
||||
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
|
||||
},
|
||||
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
|
||||
},
|
||||
"nodeVersion": "v24.22.1",
|
||||
"reaRuntime": {
|
||||
"version": "6.8.0",
|
||||
"protocolVersion": "2025-03-26",
|
||||
"packages": 149,
|
||||
"files": 8413,
|
||||
"bytes": 142395402,
|
||||
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
|
||||
},
|
||||
"portableFiles": 11960,
|
||||
"licenseTexts": 86,
|
||||
"browserRuntime": {
|
||||
"playwrightVersion": "1.64.1",
|
||||
"packages": [
|
||||
{
|
||||
"name": "playwright",
|
||||
"version": "1.64.1",
|
||||
"files": 60
|
||||
},
|
||||
{
|
||||
"name": "playwright-core",
|
||||
"version": "1.64.1",
|
||||
"files": 115
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"matched": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"origin": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"output": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"retainedNonDocumentationFiles": 10721,
|
||||
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467"
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"origin": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"output": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352",
|
||||
"retainedNonDocumentationFiles": 10996,
|
||||
"manifestSha256": "bf5dc1d2a04377129465e3c2d62f49eff2218eff0939f253ad62e519b9ed4d52"
|
||||
}
|
||||
],
|
||||
"documentationCommit": "dd31eefc77adbe8cd67bb0713fcc42c92b4cf94f",
|
||||
"reasonEvidence": "docs/desktop-host-f-runtime-time-evidence.json",
|
||||
"originalRuntimeBuiltAt": "2026-10-31T04:36:22.133Z",
|
||||
"scope": "Every accepted non-documentation product/runtime/dependency/license byte inherited unchanged; current repository documentation copied into exclusively new outputs. New outer manifests, ZIPs and exact setup generated from these final payloads. Original accepted and rejected candidates remain unchanged."
|
||||
}
|
||||
},
|
||||
"pairs": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"beforeRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"afterRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"beforeManifestSha256": "095920563015e826400571a54a19f75db35c71411a87c5e5d0f76c6bb4cd78d0",
|
||||
"afterManifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467",
|
||||
"matchedRuntimeAndInputFiles": 10721,
|
||||
"changedDocs": [
|
||||
"AGENTS.md",
|
||||
"docs/desktop-host-all-ui-validation.json",
|
||||
"docs/desktop-host-basic-ui-validation.json",
|
||||
"docs/desktop-host-batch-ui-validation.json",
|
||||
"docs/desktop-host-browser-ui-validation.json",
|
||||
"docs/desktop-host-change-sets-ui-validation.json",
|
||||
"docs/desktop-host-context-ui-validation.json",
|
||||
"docs/desktop-host-controlled-final-ui-validation.json",
|
||||
"docs/desktop-host-delivery-ui-validation.json",
|
||||
"docs/desktop-host-diagnostics-ui-validation.json",
|
||||
"docs/desktop-host-engines-ui-validation.json",
|
||||
"docs/desktop-host-execution-ui-validation.json",
|
||||
"docs/desktop-host-f-accepted-source/.gitattributes",
|
||||
"docs/desktop-host-f-accepted-source/001-source-package-validation.json",
|
||||
"docs/desktop-host-f-accepted-source/002-desktop-host-f-source-relocation-result.json",
|
||||
"docs/desktop-host-f-accepted-source/003-desktop-host-f-source-relocation-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/004-archives-validation.json",
|
||||
"docs/desktop-host-f-accepted-source/005-latest.json",
|
||||
"docs/desktop-host-f-accepted-source/006-desktop-host-relocation-code-baseline.json",
|
||||
"docs/desktop-host-f-accepted-source/007-desktop-host-f-package-relocation-result.json",
|
||||
"docs/desktop-host-f-accepted-source/008-desktop-host-f-package-relocation-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/009-desktop-host-f-archives-relocation-result.json",
|
||||
"docs/desktop-host-f-accepted-source/010-desktop-host-f-archives-relocation-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/011-result.json",
|
||||
"docs/desktop-host-f-accepted-source/012-inputs.json",
|
||||
"docs/desktop-host-f-accepted-source/013-install-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/014-build-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/015-rea-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/016-engines-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/017-browser-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/018-controlled-engine-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/019-tests.tap",
|
||||
"docs/desktop-host-f-accepted-source/020-desktop-window-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/021-desktop-controlled-ui-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/022-desktop-projects-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/023-desktop-window-latest.json",
|
||||
"docs/desktop-host-f-accepted-source/024-desktop-host-1440.html",
|
||||
"docs/desktop-host-f-accepted-source/025-desktop-host-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/026-desktop-host-390.html",
|
||||
"docs/desktop-host-f-accepted-source/027-desktop-host-390.png",
|
||||
"docs/desktop-host-f-accepted-source/028-result.json",
|
||||
"docs/desktop-host-f-accepted-source/029-case.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/030-package.json",
|
||||
"docs/desktop-host-f-accepted-source/031-README.md",
|
||||
"docs/desktop-host-f-accepted-source/032-WORKBENCH-NOTES.md",
|
||||
"docs/desktop-host-f-accepted-source/033-desktop-controlled-ui-location.json",
|
||||
"docs/desktop-host-f-accepted-source/034-result.json",
|
||||
"docs/desktop-host-f-accepted-source/035-agent-workbench-engine-run-9e137b4f-25c7-472d-a287-a2dc40da5dbb.json",
|
||||
"docs/desktop-host-f-accepted-source/036-desktop-controlled-completed.png",
|
||||
"docs/desktop-host-f-accepted-source/037-desktop-controlled-parent.png",
|
||||
"docs/desktop-host-f-accepted-source/038-mobile-controlled-approval.png",
|
||||
"docs/desktop-host-f-accepted-source/039-mobile-controlled-input.png",
|
||||
"docs/desktop-host-f-accepted-source/040-mobile-controlled-parent.png",
|
||||
"docs/desktop-host-f-accepted-source/041-mobile-controlled-recovery.png",
|
||||
"docs/desktop-host-f-accepted-source/042-session-08629f9d-ce3b-4947-b024-614850fcd285.json",
|
||||
"docs/desktop-host-f-accepted-source/043-session-c3bf425a-2ae4-42ed-9f8c-6474ebef194d.json",
|
||||
"docs/desktop-host-f-accepted-source/044-session-f3b02b9f-d29f-45d1-a97d-d9849730d3b8.json",
|
||||
"docs/desktop-host-f-accepted-source/045-.gitignore",
|
||||
"docs/desktop-host-f-accepted-source/046-owner-staged.txt",
|
||||
"docs/desktop-host-f-accepted-source/047-owner-unstaged.txt",
|
||||
"docs/desktop-host-f-accepted-source/048-owner-untracked.txt",
|
||||
"docs/desktop-host-f-accepted-source/049-package.json",
|
||||
"docs/desktop-host-f-accepted-source/050-README.md",
|
||||
"docs/desktop-host-f-accepted-source/051-build.mjs",
|
||||
"docs/desktop-host-f-accepted-source/052-add.mjs",
|
||||
"docs/desktop-host-f-accepted-source/053-add.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/054-desktop-projects-location.json",
|
||||
"docs/desktop-host-f-accepted-source/055-result.json",
|
||||
"docs/desktop-host-f-accepted-source/056-node-git-completed-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/057-node-git-completed-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/058-node-git-completed-390.png",
|
||||
"docs/desktop-host-f-accepted-source/059-node-git-completed-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/060-node-parent-checks-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/061-node-parent-checks-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/062-node-parent-checks-390.png",
|
||||
"docs/desktop-host-f-accepted-source/063-node-parent-checks-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/064-result.json",
|
||||
"docs/desktop-host-f-accepted-source/065-session-43dc71cc-7a77-484d-b122-aff258381597.json",
|
||||
"docs/desktop-host-f-accepted-source/066-session-a1323e26-a240-4bc7-afd9-206006c09137.json",
|
||||
"docs/desktop-host-f-accepted-source/067-.gitignore",
|
||||
"docs/desktop-host-f-accepted-source/068-add.mjs",
|
||||
"docs/desktop-host-f-accepted-source/069-range.mjs",
|
||||
"docs/desktop-host-f-accepted-source/070-owner-staged.txt",
|
||||
"docs/desktop-host-f-accepted-source/071-owner-unstaged.txt",
|
||||
"docs/desktop-host-f-accepted-source/072-owner-untracked.txt",
|
||||
"docs/desktop-host-f-accepted-source/073-package.json",
|
||||
"docs/desktop-host-f-accepted-source/074-README.md",
|
||||
"docs/desktop-host-f-accepted-source/075-build.mjs",
|
||||
"docs/desktop-host-f-accepted-source/076-add.mjs",
|
||||
"docs/desktop-host-f-accepted-source/077-range.mjs",
|
||||
"docs/desktop-host-f-accepted-source/078-add.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/079-range.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/080-child-npm-ci-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/081-child-npm-ci-stderr-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/082-page-1280-c3bc0fbf-63cc-4683-9470-8bb651616db7.png",
|
||||
"docs/desktop-host-f-accepted-source/083-page-1280-e1b92544-de6b-41ec-b512-08eec08b8cab.png",
|
||||
"docs/desktop-host-f-accepted-source/084-page-390-31346904-a42f-4c82-87ed-3ccd4cbeada3.png",
|
||||
"docs/desktop-host-f-accepted-source/085-page-390-e0aee653-9375-4399-ba17-6076cfb4da2e.png",
|
||||
"docs/desktop-host-f-accepted-source/086-parent-npm-ci-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/087-parent-npm-ci-stderr-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/088-react-git-completed-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/089-react-git-completed-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/090-react-git-completed-390.png",
|
||||
"docs/desktop-host-f-accepted-source/091-react-git-completed-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/092-react-parent-checks-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/093-react-parent-checks-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/094-react-parent-checks-390.png",
|
||||
"docs/desktop-host-f-accepted-source/095-react-parent-checks-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/096-result.json",
|
||||
"docs/desktop-host-f-accepted-source/097-session-1b28bff5-d26a-472a-ad9f-6e4b7a04a600.json",
|
||||
"docs/desktop-host-f-accepted-source/098-session-f22a3942-bd1f-4d9e-8fcc-a213d2173e9e.json",
|
||||
"docs/desktop-host-f-accepted-source/099-.gitignore",
|
||||
"docs/desktop-host-f-accepted-source/100-index-CYhkjVMh.css",
|
||||
"docs/desktop-host-f-accepted-source/101-index-D5WBj7Df.js",
|
||||
"docs/desktop-host-f-accepted-source/102-index.html",
|
||||
"docs/desktop-host-f-accepted-source/103-index.html",
|
||||
"docs/desktop-host-f-accepted-source/104-owner-staged.txt",
|
||||
"docs/desktop-host-f-accepted-source/105-owner-unstaged.txt",
|
||||
"docs/desktop-host-f-accepted-source/106-owner-untracked.txt",
|
||||
"docs/desktop-host-f-accepted-source/107-package-lock.json",
|
||||
"docs/desktop-host-f-accepted-source/108-package.json",
|
||||
"docs/desktop-host-f-accepted-source/109-README.md",
|
||||
"docs/desktop-host-f-accepted-source/110-App.tsx",
|
||||
"docs/desktop-host-f-accepted-source/111-main.tsx",
|
||||
"docs/desktop-host-f-accepted-source/112-query.ts",
|
||||
"docs/desktop-host-f-accepted-source/113-styles.css",
|
||||
"docs/desktop-host-f-accepted-source/114-summary.ts",
|
||||
"docs/desktop-host-f-accepted-source/115-transition.ts",
|
||||
"docs/desktop-host-f-accepted-source/116-types.ts",
|
||||
"docs/desktop-host-f-accepted-source/117-domain.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/118-tsconfig.json",
|
||||
"docs/desktop-host-f-accepted-source/119-vite.config.mjs",
|
||||
"docs/desktop-host-f-accepted-source/120-python-git-completed-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/121-python-git-completed-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/122-python-git-completed-390.png",
|
||||
"docs/desktop-host-f-accepted-source/123-python-git-completed-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/124-python-parent-checks-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/125-python-parent-checks-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/126-python-parent-checks-390.png",
|
||||
"docs/desktop-host-f-accepted-source/127-python-parent-checks-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/128-result.json",
|
||||
"docs/desktop-host-f-accepted-source/129-session-2cb04772-208e-445c-aa77-45745236dc7d.json",
|
||||
"docs/desktop-host-f-accepted-source/130-session-b5ff7369-93cb-4ffa-bdc5-a02f4c8e8d95.json",
|
||||
"docs/desktop-host-f-accepted-source/131-.gitignore",
|
||||
"docs/desktop-host-f-accepted-source/132-money.py",
|
||||
"docs/desktop-host-f-accepted-source/133-owner-staged.txt",
|
||||
"docs/desktop-host-f-accepted-source/134-owner-unstaged.txt",
|
||||
"docs/desktop-host-f-accepted-source/135-owner-untracked.txt",
|
||||
"docs/desktop-host-f-accepted-source/136-pyproject.toml",
|
||||
"docs/desktop-host-f-accepted-source/137-README.md",
|
||||
"docs/desktop-host-f-accepted-source/138-schedule.py",
|
||||
"docs/desktop-host-f-accepted-source/139-test_baseline.py",
|
||||
"docs/desktop-host-f-accepted-source/140-test_money.py",
|
||||
"docs/desktop-host-f-accepted-source/141-test_schedule.py",
|
||||
"docs/desktop-host-f-accepted-source/142-util.py",
|
||||
"docs/desktop-host-f-accepted-source-evidence.json",
|
||||
"docs/desktop-host-f-final-all-ui/.gitattributes",
|
||||
"docs/desktop-host-f-final-all-ui/001-desktop-host-all-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/002-desktop-host-all-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/003-desktop-host-controlled-final-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/004-desktop-host-verify-controlled-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/005-desktop-controlled-parent.png",
|
||||
"docs/desktop-host-f-final-all-ui/006-mobile-controlled-parent.png",
|
||||
"docs/desktop-host-f-final-all-ui/007-mobile-controlled-input.png",
|
||||
"docs/desktop-host-f-final-all-ui/008-mobile-controlled-approval.png",
|
||||
"docs/desktop-host-f-final-all-ui/009-desktop-controlled-completed.png",
|
||||
"docs/desktop-host-f-final-all-ui/010-mobile-controlled-recovery.png",
|
||||
"docs/desktop-host-f-final-all-ui/011-workbench-icon.png",
|
||||
"docs/desktop-host-f-final-all-ui/012-desktop-host-purge-final-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/013-desktop-host-verify-purge-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/014-desktop-purge-source.png",
|
||||
"docs/desktop-host-f-final-all-ui/015-mobile-purge-source.png",
|
||||
"docs/desktop-host-f-final-all-ui/016-mobile-purge-run.png",
|
||||
"docs/desktop-host-f-final-all-ui/017-desktop-host-workers-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/018-desktop-host-verify-workers-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/019-mobile-worker-plan.png",
|
||||
"docs/desktop-host-f-final-all-ui/020-desktop-workers-collected.png",
|
||||
"docs/desktop-host-f-final-all-ui/021-mobile-workers-conflict.png",
|
||||
"docs/desktop-host-f-final-all-ui/022-mobile-workers-recovery-retained.png",
|
||||
"docs/desktop-host-f-final-all-ui/023-desktop-host-task-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/024-desktop-host-verify-task-plans-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/025-task-plan-desktop-editor.png",
|
||||
"docs/desktop-host-f-final-all-ui/026-task-plan-desktop-verified.png",
|
||||
"docs/desktop-host-f-final-all-ui/027-task-plan-mobile-editor.png",
|
||||
"docs/desktop-host-f-final-all-ui/028-task-plan-mobile-artifact.png",
|
||||
"docs/desktop-host-f-final-all-ui/029-task-plan-mobile-steps.png",
|
||||
"docs/desktop-host-f-final-all-ui/030-task-plan-mobile-overview.png",
|
||||
"docs/desktop-host-f-final-all-ui/031-desktop-host-browser-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/032-desktop-host-verify-browser-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/033-browser-desktop-results.png",
|
||||
"docs/desktop-host-f-final-all-ui/034-browser-desktop-original-image.png",
|
||||
"docs/desktop-host-f-final-all-ui/035-browser-mobile-results.png",
|
||||
"docs/desktop-host-f-final-all-ui/036-browser-mobile-original-image.png",
|
||||
"docs/desktop-host-f-final-all-ui/037-desktop-host-basic-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/038-desktop-host-verify-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/039-desktop-host-diagnostics-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/040-desktop-host-verify-diagnostics-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/041-desktop-host-execution-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/042-desktop-host-verify-execution-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/043-desktop-host-delivery-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/044-desktop-host-verify-delivery-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/045-desktop-host-index-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/046-desktop-host-verify-index-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/047-desktop-host-change-sets-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/048-desktop-host-verify-change-sets-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/049-desktop-host-batch-desktop-review.png",
|
||||
"docs/desktop-host-f-final-all-ui/050-desktop-host-batch-desktop-conflict.png",
|
||||
"docs/desktop-host-f-final-all-ui/051-desktop-host-batch-desktop-recovery.png",
|
||||
"docs/desktop-host-f-final-all-ui/052-desktop-host-batch-mobile-review.png",
|
||||
"docs/desktop-host-f-final-all-ui/053-desktop-host-batch-mobile-rollback.png",
|
||||
"docs/desktop-host-f-final-all-ui/054-desktop-host-context-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/055-desktop-host-verify-context-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/056-desktop-host-desktop-plan.png",
|
||||
"docs/desktop-host-f-final-all-ui/057-desktop-host-desktop-history.png",
|
||||
"docs/desktop-host-f-final-all-ui/058-desktop-host-mobile-history.png",
|
||||
"docs/desktop-host-f-final-all-ui/059-desktop-host-mobile-original.png",
|
||||
"docs/desktop-host-f-final-all-ui/060-desktop-host-mobile-request-body.png",
|
||||
"docs/desktop-host-f-final-all-ui/061-desktop-host-mobile-read-pause.png",
|
||||
"docs/desktop-host-f-final-all-ui/062-desktop-host-desktop-working-evidence.png",
|
||||
"docs/desktop-host-f-final-all-ui/063-desktop-host-mobile-working-evidence.png",
|
||||
"docs/desktop-host-f-final-all-ui/064-desktop-host-workspaces-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/065-desktop-host-verify-workspaces-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/066-desktop-host-workspaces-review-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/067-desktop-host-workspaces-ready-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/068-desktop-host-workspaces-recovery-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/069-desktop-host-workspaces-review-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/070-desktop-host-workspaces-child-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/071-desktop-host-python-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/072-desktop-host-verify-python-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/073-desktop-host-react-delivery-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/074-desktop-host-verify-react-delivery.log",
|
||||
"docs/desktop-host-f-final-all-ui/075-desktop-host-research-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/076-desktop-host-verify-research-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/077-desktop-host-research-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/078-desktop-host-research-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/079-desktop-host-research-evidence-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/080-desktop-host-research-stop-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/081-desktop-host-engines-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/082-desktop-host-verify-engines-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/083-engines-native-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/084-engines-record-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/085-engines-native-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/086-desktop-host-model-center-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/087-desktop-host-verify-model-center-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/088-desktop-host-project-memory-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/089-desktop-host-verify-project-memory-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/090-desktop-host-task-checkpoints-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/091-desktop-host-verify-task-checkpoints-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/092-desktop-host-skills-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/093-desktop-host-verify-skills-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/094-desktop-host-mcp-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/095-desktop-host-verify-mcp-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/096-desktop-host-mcp-recovery-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/097-desktop-host-verify-mcp-recovery-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/098-desktop-host-f-all-ui-final-log.txt",
|
||||
"docs/desktop-host-f-final-all-ui-evidence.json",
|
||||
"docs/desktop-host-f-preinstall-readiness.json",
|
||||
"docs/desktop-host-f-runtime-time/.gitattributes",
|
||||
"docs/desktop-host-f-runtime-time/001-desktop-host-f-equivalence-final-result.json",
|
||||
"docs/desktop-host-f-runtime-time/002-desktop-host-f-equivalence-final-log.txt",
|
||||
"docs/desktop-host-f-runtime-time/003-latest.json",
|
||||
"docs/desktop-host-f-runtime-time/004-REA-RUNTIME.json",
|
||||
"docs/desktop-host-f-runtime-time/005-REA-RUNTIME.json",
|
||||
"docs/desktop-host-f-runtime-time/006-record-desktop-f-runtime-time.mjs",
|
||||
"docs/desktop-host-f-runtime-time-evidence.json",
|
||||
"docs/desktop-host-index-ui-validation.json",
|
||||
"docs/desktop-host-mcp-recovery-ui-validation.json",
|
||||
"docs/desktop-host-mcp-ui-validation.json",
|
||||
"docs/desktop-host-model-center-ui-validation.json",
|
||||
"docs/desktop-host-project-memory-ui-validation.json",
|
||||
"docs/desktop-host-purge-final-ui-validation.json",
|
||||
"docs/desktop-host-python-ui-validation.json",
|
||||
"docs/desktop-host-react-delivery-validation.json",
|
||||
"docs/desktop-host-research-ui-validation.json",
|
||||
"docs/desktop-host-task-ui-validation.json",
|
||||
"docs/desktop-host-workers-ui-validation.json",
|
||||
"docs/desktop-host-workspaces-ui-validation.json",
|
||||
"docs/DESKTOP.md",
|
||||
"docs/NEXT-STEPS.md",
|
||||
"docs/PLAN-1.15.md",
|
||||
"docs/QA-1.15.md",
|
||||
"docs/RETROSPECTIVE-1.15.md",
|
||||
"README.md"
|
||||
],
|
||||
"removedDocs": []
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"beforeRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"afterRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352",
|
||||
"beforeManifestSha256": "c60fa312ad39f57bebcceef7e7f449d2dae090a73c34854668294f7b25f15778",
|
||||
"afterManifestSha256": "bf5dc1d2a04377129465e3c2d62f49eff2218eff0939f253ad62e519b9ed4d52",
|
||||
"matchedRuntimeAndInputFiles": 10996,
|
||||
"changedDocs": [
|
||||
"AGENTS.md",
|
||||
"docs/desktop-host-all-ui-validation.json",
|
||||
"docs/desktop-host-basic-ui-validation.json",
|
||||
"docs/desktop-host-batch-ui-validation.json",
|
||||
"docs/desktop-host-browser-ui-validation.json",
|
||||
"docs/desktop-host-change-sets-ui-validation.json",
|
||||
"docs/desktop-host-context-ui-validation.json",
|
||||
"docs/desktop-host-controlled-final-ui-validation.json",
|
||||
"docs/desktop-host-delivery-ui-validation.json",
|
||||
"docs/desktop-host-diagnostics-ui-validation.json",
|
||||
"docs/desktop-host-engines-ui-validation.json",
|
||||
"docs/desktop-host-execution-ui-validation.json",
|
||||
"docs/desktop-host-f-accepted-source/.gitattributes",
|
||||
"docs/desktop-host-f-accepted-source/001-source-package-validation.json",
|
||||
"docs/desktop-host-f-accepted-source/002-desktop-host-f-source-relocation-result.json",
|
||||
"docs/desktop-host-f-accepted-source/003-desktop-host-f-source-relocation-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/004-archives-validation.json",
|
||||
"docs/desktop-host-f-accepted-source/005-latest.json",
|
||||
"docs/desktop-host-f-accepted-source/006-desktop-host-relocation-code-baseline.json",
|
||||
"docs/desktop-host-f-accepted-source/007-desktop-host-f-package-relocation-result.json",
|
||||
"docs/desktop-host-f-accepted-source/008-desktop-host-f-package-relocation-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/009-desktop-host-f-archives-relocation-result.json",
|
||||
"docs/desktop-host-f-accepted-source/010-desktop-host-f-archives-relocation-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/011-result.json",
|
||||
"docs/desktop-host-f-accepted-source/012-inputs.json",
|
||||
"docs/desktop-host-f-accepted-source/013-install-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/014-build-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/015-rea-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/016-engines-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/017-browser-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/018-controlled-engine-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/019-tests.tap",
|
||||
"docs/desktop-host-f-accepted-source/020-desktop-window-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/021-desktop-controlled-ui-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/022-desktop-projects-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/023-desktop-window-latest.json",
|
||||
"docs/desktop-host-f-accepted-source/024-desktop-host-1440.html",
|
||||
"docs/desktop-host-f-accepted-source/025-desktop-host-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/026-desktop-host-390.html",
|
||||
"docs/desktop-host-f-accepted-source/027-desktop-host-390.png",
|
||||
"docs/desktop-host-f-accepted-source/028-result.json",
|
||||
"docs/desktop-host-f-accepted-source/029-case.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/030-package.json",
|
||||
"docs/desktop-host-f-accepted-source/031-README.md",
|
||||
"docs/desktop-host-f-accepted-source/032-WORKBENCH-NOTES.md",
|
||||
"docs/desktop-host-f-accepted-source/033-desktop-controlled-ui-location.json",
|
||||
"docs/desktop-host-f-accepted-source/034-result.json",
|
||||
"docs/desktop-host-f-accepted-source/035-agent-workbench-engine-run-9e137b4f-25c7-472d-a287-a2dc40da5dbb.json",
|
||||
"docs/desktop-host-f-accepted-source/036-desktop-controlled-completed.png",
|
||||
"docs/desktop-host-f-accepted-source/037-desktop-controlled-parent.png",
|
||||
"docs/desktop-host-f-accepted-source/038-mobile-controlled-approval.png",
|
||||
"docs/desktop-host-f-accepted-source/039-mobile-controlled-input.png",
|
||||
"docs/desktop-host-f-accepted-source/040-mobile-controlled-parent.png",
|
||||
"docs/desktop-host-f-accepted-source/041-mobile-controlled-recovery.png",
|
||||
"docs/desktop-host-f-accepted-source/042-session-08629f9d-ce3b-4947-b024-614850fcd285.json",
|
||||
"docs/desktop-host-f-accepted-source/043-session-c3bf425a-2ae4-42ed-9f8c-6474ebef194d.json",
|
||||
"docs/desktop-host-f-accepted-source/044-session-f3b02b9f-d29f-45d1-a97d-d9849730d3b8.json",
|
||||
"docs/desktop-host-f-accepted-source/045-.gitignore",
|
||||
"docs/desktop-host-f-accepted-source/046-owner-staged.txt",
|
||||
"docs/desktop-host-f-accepted-source/047-owner-unstaged.txt",
|
||||
"docs/desktop-host-f-accepted-source/048-owner-untracked.txt",
|
||||
"docs/desktop-host-f-accepted-source/049-package.json",
|
||||
"docs/desktop-host-f-accepted-source/050-README.md",
|
||||
"docs/desktop-host-f-accepted-source/051-build.mjs",
|
||||
"docs/desktop-host-f-accepted-source/052-add.mjs",
|
||||
"docs/desktop-host-f-accepted-source/053-add.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/054-desktop-projects-location.json",
|
||||
"docs/desktop-host-f-accepted-source/055-result.json",
|
||||
"docs/desktop-host-f-accepted-source/056-node-git-completed-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/057-node-git-completed-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/058-node-git-completed-390.png",
|
||||
"docs/desktop-host-f-accepted-source/059-node-git-completed-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/060-node-parent-checks-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/061-node-parent-checks-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/062-node-parent-checks-390.png",
|
||||
"docs/desktop-host-f-accepted-source/063-node-parent-checks-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/064-result.json",
|
||||
"docs/desktop-host-f-accepted-source/065-session-43dc71cc-7a77-484d-b122-aff258381597.json",
|
||||
"docs/desktop-host-f-accepted-source/066-session-a1323e26-a240-4bc7-afd9-206006c09137.json",
|
||||
"docs/desktop-host-f-accepted-source/067-.gitignore",
|
||||
"docs/desktop-host-f-accepted-source/068-add.mjs",
|
||||
"docs/desktop-host-f-accepted-source/069-range.mjs",
|
||||
"docs/desktop-host-f-accepted-source/070-owner-staged.txt",
|
||||
"docs/desktop-host-f-accepted-source/071-owner-unstaged.txt",
|
||||
"docs/desktop-host-f-accepted-source/072-owner-untracked.txt",
|
||||
"docs/desktop-host-f-accepted-source/073-package.json",
|
||||
"docs/desktop-host-f-accepted-source/074-README.md",
|
||||
"docs/desktop-host-f-accepted-source/075-build.mjs",
|
||||
"docs/desktop-host-f-accepted-source/076-add.mjs",
|
||||
"docs/desktop-host-f-accepted-source/077-range.mjs",
|
||||
"docs/desktop-host-f-accepted-source/078-add.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/079-range.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/080-child-npm-ci-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/081-child-npm-ci-stderr-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/082-page-1280-c3bc0fbf-63cc-4683-9470-8bb651616db7.png",
|
||||
"docs/desktop-host-f-accepted-source/083-page-1280-e1b92544-de6b-41ec-b512-08eec08b8cab.png",
|
||||
"docs/desktop-host-f-accepted-source/084-page-390-31346904-a42f-4c82-87ed-3ccd4cbeada3.png",
|
||||
"docs/desktop-host-f-accepted-source/085-page-390-e0aee653-9375-4399-ba17-6076cfb4da2e.png",
|
||||
"docs/desktop-host-f-accepted-source/086-parent-npm-ci-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/087-parent-npm-ci-stderr-log.txt",
|
||||
"docs/desktop-host-f-accepted-source/088-react-git-completed-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/089-react-git-completed-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/090-react-git-completed-390.png",
|
||||
"docs/desktop-host-f-accepted-source/091-react-git-completed-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/092-react-parent-checks-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/093-react-parent-checks-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/094-react-parent-checks-390.png",
|
||||
"docs/desktop-host-f-accepted-source/095-react-parent-checks-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/096-result.json",
|
||||
"docs/desktop-host-f-accepted-source/097-session-1b28bff5-d26a-472a-ad9f-6e4b7a04a600.json",
|
||||
"docs/desktop-host-f-accepted-source/098-session-f22a3942-bd1f-4d9e-8fcc-a213d2173e9e.json",
|
||||
"docs/desktop-host-f-accepted-source/099-.gitignore",
|
||||
"docs/desktop-host-f-accepted-source/100-index-CYhkjVMh.css",
|
||||
"docs/desktop-host-f-accepted-source/101-index-D5WBj7Df.js",
|
||||
"docs/desktop-host-f-accepted-source/102-index.html",
|
||||
"docs/desktop-host-f-accepted-source/103-index.html",
|
||||
"docs/desktop-host-f-accepted-source/104-owner-staged.txt",
|
||||
"docs/desktop-host-f-accepted-source/105-owner-unstaged.txt",
|
||||
"docs/desktop-host-f-accepted-source/106-owner-untracked.txt",
|
||||
"docs/desktop-host-f-accepted-source/107-package-lock.json",
|
||||
"docs/desktop-host-f-accepted-source/108-package.json",
|
||||
"docs/desktop-host-f-accepted-source/109-README.md",
|
||||
"docs/desktop-host-f-accepted-source/110-App.tsx",
|
||||
"docs/desktop-host-f-accepted-source/111-main.tsx",
|
||||
"docs/desktop-host-f-accepted-source/112-query.ts",
|
||||
"docs/desktop-host-f-accepted-source/113-styles.css",
|
||||
"docs/desktop-host-f-accepted-source/114-summary.ts",
|
||||
"docs/desktop-host-f-accepted-source/115-transition.ts",
|
||||
"docs/desktop-host-f-accepted-source/116-types.ts",
|
||||
"docs/desktop-host-f-accepted-source/117-domain.test.mjs",
|
||||
"docs/desktop-host-f-accepted-source/118-tsconfig.json",
|
||||
"docs/desktop-host-f-accepted-source/119-vite.config.mjs",
|
||||
"docs/desktop-host-f-accepted-source/120-python-git-completed-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/121-python-git-completed-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/122-python-git-completed-390.png",
|
||||
"docs/desktop-host-f-accepted-source/123-python-git-completed-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/124-python-parent-checks-1440.png",
|
||||
"docs/desktop-host-f-accepted-source/125-python-parent-checks-1440.png.html",
|
||||
"docs/desktop-host-f-accepted-source/126-python-parent-checks-390.png",
|
||||
"docs/desktop-host-f-accepted-source/127-python-parent-checks-390.png.html",
|
||||
"docs/desktop-host-f-accepted-source/128-result.json",
|
||||
"docs/desktop-host-f-accepted-source/129-session-2cb04772-208e-445c-aa77-45745236dc7d.json",
|
||||
"docs/desktop-host-f-accepted-source/130-session-b5ff7369-93cb-4ffa-bdc5-a02f4c8e8d95.json",
|
||||
"docs/desktop-host-f-accepted-source/131-.gitignore",
|
||||
"docs/desktop-host-f-accepted-source/132-money.py",
|
||||
"docs/desktop-host-f-accepted-source/133-owner-staged.txt",
|
||||
"docs/desktop-host-f-accepted-source/134-owner-unstaged.txt",
|
||||
"docs/desktop-host-f-accepted-source/135-owner-untracked.txt",
|
||||
"docs/desktop-host-f-accepted-source/136-pyproject.toml",
|
||||
"docs/desktop-host-f-accepted-source/137-README.md",
|
||||
"docs/desktop-host-f-accepted-source/138-schedule.py",
|
||||
"docs/desktop-host-f-accepted-source/139-test_baseline.py",
|
||||
"docs/desktop-host-f-accepted-source/140-test_money.py",
|
||||
"docs/desktop-host-f-accepted-source/141-test_schedule.py",
|
||||
"docs/desktop-host-f-accepted-source/142-util.py",
|
||||
"docs/desktop-host-f-accepted-source-evidence.json",
|
||||
"docs/desktop-host-f-final-all-ui/.gitattributes",
|
||||
"docs/desktop-host-f-final-all-ui/001-desktop-host-all-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/002-desktop-host-all-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/003-desktop-host-controlled-final-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/004-desktop-host-verify-controlled-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/005-desktop-controlled-parent.png",
|
||||
"docs/desktop-host-f-final-all-ui/006-mobile-controlled-parent.png",
|
||||
"docs/desktop-host-f-final-all-ui/007-mobile-controlled-input.png",
|
||||
"docs/desktop-host-f-final-all-ui/008-mobile-controlled-approval.png",
|
||||
"docs/desktop-host-f-final-all-ui/009-desktop-controlled-completed.png",
|
||||
"docs/desktop-host-f-final-all-ui/010-mobile-controlled-recovery.png",
|
||||
"docs/desktop-host-f-final-all-ui/011-workbench-icon.png",
|
||||
"docs/desktop-host-f-final-all-ui/012-desktop-host-purge-final-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/013-desktop-host-verify-purge-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/014-desktop-purge-source.png",
|
||||
"docs/desktop-host-f-final-all-ui/015-mobile-purge-source.png",
|
||||
"docs/desktop-host-f-final-all-ui/016-mobile-purge-run.png",
|
||||
"docs/desktop-host-f-final-all-ui/017-desktop-host-workers-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/018-desktop-host-verify-workers-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/019-mobile-worker-plan.png",
|
||||
"docs/desktop-host-f-final-all-ui/020-desktop-workers-collected.png",
|
||||
"docs/desktop-host-f-final-all-ui/021-mobile-workers-conflict.png",
|
||||
"docs/desktop-host-f-final-all-ui/022-mobile-workers-recovery-retained.png",
|
||||
"docs/desktop-host-f-final-all-ui/023-desktop-host-task-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/024-desktop-host-verify-task-plans-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/025-task-plan-desktop-editor.png",
|
||||
"docs/desktop-host-f-final-all-ui/026-task-plan-desktop-verified.png",
|
||||
"docs/desktop-host-f-final-all-ui/027-task-plan-mobile-editor.png",
|
||||
"docs/desktop-host-f-final-all-ui/028-task-plan-mobile-artifact.png",
|
||||
"docs/desktop-host-f-final-all-ui/029-task-plan-mobile-steps.png",
|
||||
"docs/desktop-host-f-final-all-ui/030-task-plan-mobile-overview.png",
|
||||
"docs/desktop-host-f-final-all-ui/031-desktop-host-browser-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/032-desktop-host-verify-browser-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/033-browser-desktop-results.png",
|
||||
"docs/desktop-host-f-final-all-ui/034-browser-desktop-original-image.png",
|
||||
"docs/desktop-host-f-final-all-ui/035-browser-mobile-results.png",
|
||||
"docs/desktop-host-f-final-all-ui/036-browser-mobile-original-image.png",
|
||||
"docs/desktop-host-f-final-all-ui/037-desktop-host-basic-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/038-desktop-host-verify-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/039-desktop-host-diagnostics-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/040-desktop-host-verify-diagnostics-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/041-desktop-host-execution-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/042-desktop-host-verify-execution-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/043-desktop-host-delivery-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/044-desktop-host-verify-delivery-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/045-desktop-host-index-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/046-desktop-host-verify-index-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/047-desktop-host-change-sets-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/048-desktop-host-verify-change-sets-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/049-desktop-host-batch-desktop-review.png",
|
||||
"docs/desktop-host-f-final-all-ui/050-desktop-host-batch-desktop-conflict.png",
|
||||
"docs/desktop-host-f-final-all-ui/051-desktop-host-batch-desktop-recovery.png",
|
||||
"docs/desktop-host-f-final-all-ui/052-desktop-host-batch-mobile-review.png",
|
||||
"docs/desktop-host-f-final-all-ui/053-desktop-host-batch-mobile-rollback.png",
|
||||
"docs/desktop-host-f-final-all-ui/054-desktop-host-context-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/055-desktop-host-verify-context-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/056-desktop-host-desktop-plan.png",
|
||||
"docs/desktop-host-f-final-all-ui/057-desktop-host-desktop-history.png",
|
||||
"docs/desktop-host-f-final-all-ui/058-desktop-host-mobile-history.png",
|
||||
"docs/desktop-host-f-final-all-ui/059-desktop-host-mobile-original.png",
|
||||
"docs/desktop-host-f-final-all-ui/060-desktop-host-mobile-request-body.png",
|
||||
"docs/desktop-host-f-final-all-ui/061-desktop-host-mobile-read-pause.png",
|
||||
"docs/desktop-host-f-final-all-ui/062-desktop-host-desktop-working-evidence.png",
|
||||
"docs/desktop-host-f-final-all-ui/063-desktop-host-mobile-working-evidence.png",
|
||||
"docs/desktop-host-f-final-all-ui/064-desktop-host-workspaces-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/065-desktop-host-verify-workspaces-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/066-desktop-host-workspaces-review-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/067-desktop-host-workspaces-ready-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/068-desktop-host-workspaces-recovery-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/069-desktop-host-workspaces-review-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/070-desktop-host-workspaces-child-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/071-desktop-host-python-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/072-desktop-host-verify-python-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/073-desktop-host-react-delivery-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/074-desktop-host-verify-react-delivery.log",
|
||||
"docs/desktop-host-f-final-all-ui/075-desktop-host-research-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/076-desktop-host-verify-research-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/077-desktop-host-research-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/078-desktop-host-research-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/079-desktop-host-research-evidence-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/080-desktop-host-research-stop-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/081-desktop-host-engines-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/082-desktop-host-verify-engines-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/083-engines-native-desktop.png",
|
||||
"docs/desktop-host-f-final-all-ui/084-engines-record-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/085-engines-native-mobile.png",
|
||||
"docs/desktop-host-f-final-all-ui/086-desktop-host-model-center-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/087-desktop-host-verify-model-center-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/088-desktop-host-project-memory-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/089-desktop-host-verify-project-memory-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/090-desktop-host-task-checkpoints-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/091-desktop-host-verify-task-checkpoints-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/092-desktop-host-skills-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/093-desktop-host-verify-skills-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/094-desktop-host-mcp-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/095-desktop-host-verify-mcp-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/096-desktop-host-mcp-recovery-ui-validation.json",
|
||||
"docs/desktop-host-f-final-all-ui/097-desktop-host-verify-mcp-recovery-ui.log",
|
||||
"docs/desktop-host-f-final-all-ui/098-desktop-host-f-all-ui-final-log.txt",
|
||||
"docs/desktop-host-f-final-all-ui-evidence.json",
|
||||
"docs/desktop-host-f-preinstall-readiness.json",
|
||||
"docs/desktop-host-f-runtime-time/.gitattributes",
|
||||
"docs/desktop-host-f-runtime-time/001-desktop-host-f-equivalence-final-result.json",
|
||||
"docs/desktop-host-f-runtime-time/002-desktop-host-f-equivalence-final-log.txt",
|
||||
"docs/desktop-host-f-runtime-time/003-latest.json",
|
||||
"docs/desktop-host-f-runtime-time/004-REA-RUNTIME.json",
|
||||
"docs/desktop-host-f-runtime-time/005-REA-RUNTIME.json",
|
||||
"docs/desktop-host-f-runtime-time/006-record-desktop-f-runtime-time.mjs",
|
||||
"docs/desktop-host-f-runtime-time-evidence.json",
|
||||
"docs/desktop-host-index-ui-validation.json",
|
||||
"docs/desktop-host-mcp-recovery-ui-validation.json",
|
||||
"docs/desktop-host-mcp-ui-validation.json",
|
||||
"docs/desktop-host-model-center-ui-validation.json",
|
||||
"docs/desktop-host-project-memory-ui-validation.json",
|
||||
"docs/desktop-host-purge-final-ui-validation.json",
|
||||
"docs/desktop-host-python-ui-validation.json",
|
||||
"docs/desktop-host-react-delivery-validation.json",
|
||||
"docs/desktop-host-research-ui-validation.json",
|
||||
"docs/desktop-host-task-ui-validation.json",
|
||||
"docs/desktop-host-workers-ui-validation.json",
|
||||
"docs/desktop-host-workspaces-ui-validation.json",
|
||||
"docs/DESKTOP.md",
|
||||
"docs/NEXT-STEPS.md",
|
||||
"docs/PLAN-1.15.md",
|
||||
"docs/QA-1.15.md",
|
||||
"docs/RETROSPECTIVE-1.15.md",
|
||||
"findings.md",
|
||||
"progress.md",
|
||||
"README.md",
|
||||
"task_plan.md"
|
||||
],
|
||||
"removedDocs": []
|
||||
}
|
||||
],
|
||||
"checkedAt": "2026-10-31T05:38:27.898Z",
|
||||
"scope": "Full accepted source/test/benchmark/build and every shipped runtime/dependency/license byte retained in a new documentation-only package. Original source acceptance is reused without rerunning unchanged code. The final ZIPs, portable host and exact final installer still require their own acceptance."
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.15.0",
|
||||
"testedAt": "2026-10-31T07:14:45.602270+00:00",
|
||||
"archives": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031071202956.zip",
|
||||
"files": 12215,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "62fc642183ec5244453af74cf709a0c8652228c78932e065ad2730a1e112a230"
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031071202956.zip",
|
||||
"files": 12493,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "24d8819167641544d24631e551ea11c47e28718d39c68759cecfa6e88593309a"
|
||||
}
|
||||
],
|
||||
"extractionRoot": "D:\\AWQA15\\source-check-cdad20b90ead4ab8a659a9420bbb0c38\\Agent-Workbench-1.15.0-source-20261031071202956"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"root":"C:\\AWQA15\\i-1f5029c8afb04c62bf59fb4aba62016a","result":"C:\\AWQA15\\i-1f5029c8afb04c62bf59fb4aba62016a\\result.json"}
|
||||
@@ -0,0 +1,161 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.15.0",
|
||||
"root": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0",
|
||||
"installRoot": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\program",
|
||||
"dataRoot": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\data",
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\canonical-storage-installer-qa-ff4e7d22-f233-4021-829a-6f5c71933c46.exe",
|
||||
"bytes": 254743114,
|
||||
"sha256": "c3580d6107dc1fbefc6f584deb2eedb2498de66eb2db68a9565488e075458595",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-719c931b-1442-4f42-8bb2-0327edbb0b09\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031071202956",
|
||||
"qaFixture": {
|
||||
"appId": "ff4e7d22-f233-4021-829a-6f5c71933c46",
|
||||
"fault": "none"
|
||||
},
|
||||
"productSetup": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031071202956-Setup.exe",
|
||||
"bytes": 254743081,
|
||||
"sha256": "d3e021e9cafe64bb5050d2c467c98fc39287df72d241158f64e4b1b1c7137fae",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-62d29428-00c6-4027-8672-33702cd94386\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031071202956",
|
||||
"qaFixture": null
|
||||
},
|
||||
"samePayloadManifestSha256": "bac1a84429dea1b9f03c8fe5a538cd831b94469c888d64e23328b539551f6227",
|
||||
"sourceComparison": "Only QA AppId/default group and output destination/name differ; complete product payload and installer logic are exact.",
|
||||
"reason": "The user now has an actual registered installation. Use its real setup for the formal in-place stage; use an isolated QA AppId for independent restart/uninstall tests without replacing the user uninstall registration."
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"name": "exact final installer",
|
||||
"success": true,
|
||||
"installerSha256": "c3580d6107dc1fbefc6f584deb2eedb2498de66eb2db68a9565488e075458595",
|
||||
"exitCode": 0,
|
||||
"processLog": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\exact-setup-process.txt",
|
||||
"processLogSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"setupLog": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\exact-setup.log",
|
||||
"setupLogSha256": "b120a8e6b71f305127d41747af9481790185143ddf259fcf6efadc4657b1ad0b",
|
||||
"manifestSha256": "bac1a84429dea1b9f03c8fe5a538cd831b94469c888d64e23328b539551f6227",
|
||||
"loadedIdentity": "e7137b0ea771f36944f975b3bb48c0eb174136d8f32192ab821de9feb599df37"
|
||||
},
|
||||
{
|
||||
"name": "actual installed native bootstrap and bundled execution host",
|
||||
"success": true,
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.15.0",
|
||||
"instanceId": "5a272aa6-b885-41e9-933e-1c8c3517609b",
|
||||
"pid": 42800,
|
||||
"createdAt": "2026-10-31T08:06:44.423Z",
|
||||
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
|
||||
"ownerId": "f9f537f3-4ea4-44cd-a346-8c6ad128a57b",
|
||||
"executable": {
|
||||
"path": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\program\\versions\\Agent-Workbench-1.15.0-win-x64-20261031071202956\\runtime\\node.exe",
|
||||
"bytes": 93915464,
|
||||
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
|
||||
},
|
||||
"appRoot": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\program\\versions\\Agent-Workbench-1.15.0-win-x64-20261031071202956",
|
||||
"runtimeRoot": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\program\\versions\\Agent-Workbench-1.15.0-win-x64-20261031071202956",
|
||||
"runtimeIdentity": "e7137b0ea771f36944f975b3bb48c0eb174136d8f32192ab821de9feb599df37",
|
||||
"dataRoot": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\data",
|
||||
"port": 49199
|
||||
},
|
||||
"desktopWindow": {
|
||||
"windowId": "7ea91e73-f330-4b60-88f8-82992938a128",
|
||||
"pid": 51860,
|
||||
"createdAt": "2026-10-31T08:06:42.850Z",
|
||||
"instanceId": "5a272aa6-b885-41e9-933e-1c8c3517609b",
|
||||
"runtimeIdentity": "e7137b0ea771f36944f975b3bb48c0eb174136d8f32192ab821de9feb599df37"
|
||||
},
|
||||
"relocatedSources": {
|
||||
"engine": {
|
||||
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
|
||||
"version": "0.2.1-rc.2",
|
||||
"identitySha256": "ee4534572409a140dfabe199c0e7c25f2b79953fc7cc76b86c1c451d2cf660c0"
|
||||
},
|
||||
"purge": {
|
||||
"root": "D:\\Ai-project\\REA逆向\\dsh-purge-1.1.78-windows\\source\\upstream",
|
||||
"version": "1.1.78",
|
||||
"sourceSha256": "5634a28a0cf09e2ce017882a15eeaaa9c598d9306920fec46d717183b9d0e6e7"
|
||||
}
|
||||
},
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"name": "actual installed owned DPAPI credential and HTTP authentication",
|
||||
"success": true,
|
||||
"connectionId": "d45d380d-c5f0-46a7-acd0-0014707d11a2",
|
||||
"authenticatedRequests": 1,
|
||||
"savedCredential": {
|
||||
"storage": "windows-user-dpapi",
|
||||
"status": "saved",
|
||||
"enabled": true,
|
||||
"connectionRevision": 1,
|
||||
"credentialRevision": 1,
|
||||
"savedAt": "2026-10-31T08:06:52.979Z",
|
||||
"message": "当前Windows用户可在宿主重启后加载。"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "actual installed owned approval and bundled npm project check",
|
||||
"success": true,
|
||||
"sessionId": "ac459be1-ab17-49fe-8d45-b2604faa3ac1",
|
||||
"originalApprovalId": "675ea50a-b5f4-4c63-9423-682da874781b",
|
||||
"checkId": "cff6506f-b221-4fe6-a024-32b21a5713e9",
|
||||
"actualTests": {
|
||||
"total": 4,
|
||||
"passed": 4,
|
||||
"failed": 0,
|
||||
"cancelled": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"originalLogArtifactId": "bdac085e-7a28-4137-9884-b10710f27656"
|
||||
},
|
||||
{
|
||||
"name": "actual owned Electron crash preserves final installed host and data",
|
||||
"success": true,
|
||||
"pid": 51860,
|
||||
"createdAt": "2026-10-31T08:06:42.850Z",
|
||||
"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.",
|
||||
"originalHostPid": 42800,
|
||||
"originalDataRetained": true
|
||||
},
|
||||
{
|
||||
"name": "actual installed host restart preserves every row and loads owned saved connection",
|
||||
"success": true,
|
||||
"previousPid": 42800,
|
||||
"pid": 13048,
|
||||
"originalPersistentDataRetained": true,
|
||||
"ownedCredentialAuthenticatedAfterRestart": true
|
||||
},
|
||||
{
|
||||
"name": "actual exact final installer uninstall preserves all owned user data",
|
||||
"success": true,
|
||||
"exitCode": 0,
|
||||
"processLog": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\uninstall-process.txt",
|
||||
"processLogSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"uninstallLog": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\uninstall.log",
|
||||
"uninstallLogSha256": "814cd1ae2079b50cd1b53391d80a434884e5914a4b49218af2b095e134a8a66b",
|
||||
"originalDataRoot": "C:\\AWQA15\\i-7ed187d2c1d54e2583d772ba37c160f0\\data",
|
||||
"originalDataRetained": true
|
||||
}
|
||||
],
|
||||
"ownedModelRequests": 2,
|
||||
"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."
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"success": false,
|
||||
"phase": "stage",
|
||||
"error": "AssertionError [ERR_ASSERTION]: Every original schema and row\n at diskUnchanged (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/deploy-desktop-f-recovery.mjs:35:35)\n at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/deploy-desktop-f-recovery.mjs:45:59",
|
||||
"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.15.0-win-x64-20261031053321352",
|
||||
"setupSha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"deploymentMode": "stopped-host-recovery",
|
||||
"originalPid": 23172,
|
||||
"originalMemoryCredentialsRecovered": false,
|
||||
"startedAt": "2026-10-31T06:27:31.037Z",
|
||||
"finishedAt": "2026-10-31T06:33:34.596Z",
|
||||
"scope": "Exact accepted setup; original host was already absent at resumption. Separately stage and activate without starting, then native launch and verify every original row/export/artifact plus registry/pools/attempts. No live upgrade, private key read, model probe, task retry or credential reconstruction."
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "adopted-existing-stage",
|
||||
"version": "1.15.0",
|
||||
"candidateIdentity": "7162038e3a95fd65d64ae8406640a29b2a6c855ca7ab7e61bd61b94fd82962c0",
|
||||
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467",
|
||||
"setupLog": ".qa/desktop-host-f-formal-setup.log",
|
||||
"setupLogSha256": "8f1803cb8d32cfb7df24004a47c4797bccd4e0afcd26433572bd2c9e39f1ff7c",
|
||||
"receipt": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\.installation\\operation-02468025-236c-44b9-a845-e3a5187932d6.json",
|
||||
"receiptSha256": "e89398f17bfd1a00af2060b5698c264e0321cdfab2258c99126c7e561ea63085",
|
||||
"userStart": {
|
||||
"originalNonProjectTables": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalProjectPayloads": "exact",
|
||||
"originalProjectOrder": "retained; all positions shifted by one",
|
||||
"additionalProject": {
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"position": 0,
|
||||
"payload": {
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\examples\\starter-project",
|
||||
"name": "starter-project",
|
||||
"addedAt": "2026-10-31T06:30:34.613Z"
|
||||
}
|
||||
},
|
||||
"reason": "User explicitly confirmed manually starting 1.14 to try the product during staged installation. Its normal startup prepended its current release example; retain it, do not restore the older snapshot."
|
||||
},
|
||||
"rejectedEarlierComparison": ".qa/desktop-host-f-formal-stage.json",
|
||||
"setupNotRepeated": true,
|
||||
"scope": "Existing successful staged installer receipt and full original payload independently validated; user-confirmed concurrent startup retained under a fresh exact snapshot, original rejection not overwritten.",
|
||||
"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.15.0-win-x64-20261031053321352",
|
||||
"setupSha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"deploymentMode": "user-restarted-live-upgrade",
|
||||
"originalHistoricalPid": 23172,
|
||||
"userStartedPid": 36552,
|
||||
"originalMemoryCredentialsRecovered": false,
|
||||
"currentProcess": {
|
||||
"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"
|
||||
},
|
||||
"startedAt": "2026-10-31T06:37:18.337Z",
|
||||
"finishedAt": "2026-10-31T06:39:16.636Z"
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "upgraded",
|
||||
"version": "1.15.0",
|
||||
"upgraded": {
|
||||
"version": "1.15.0",
|
||||
"pid": 36552,
|
||||
"hasKey": false,
|
||||
"projects": 17,
|
||||
"sessions": 28,
|
||||
"appDirectory": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"verified": true,
|
||||
"connectionPreserved": true,
|
||||
"url": "http://127.0.0.1:4318"
|
||||
},
|
||||
"retained": {
|
||||
"originalRows": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalProjectsAndSessions": "exact",
|
||||
"currentProviderStatePreserved": true,
|
||||
"currentHostPidRetained": 36552,
|
||||
"schemaChanges": [
|
||||
{
|
||||
"field": "storage.restart",
|
||||
"original": "临时凭据在宿主退出后需要重新填写。",
|
||||
"actual": "临时凭据在宿主退出后需要重新填写;已明确本机加密保存的连接按用户与原配置加载。"
|
||||
}
|
||||
]
|
||||
},
|
||||
"userStart": {
|
||||
"originalNonProjectTables": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalProjectPayloads": "exact",
|
||||
"originalProjectOrder": "retained; all positions shifted by one",
|
||||
"additionalProject": {
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"position": 0,
|
||||
"payload": {
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\examples\\starter-project",
|
||||
"name": "starter-project",
|
||||
"addedAt": "2026-10-31T06:30:34.613Z"
|
||||
}
|
||||
},
|
||||
"reason": "User explicitly confirmed manually starting 1.14 to try the product during staged installation. Its normal startup prepended its current release example; retain it, do not restore the older snapshot."
|
||||
},
|
||||
"currentProviderPreserved": true,
|
||||
"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.15.0-win-x64-20261031053321352",
|
||||
"setupSha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"deploymentMode": "user-restarted-live-upgrade",
|
||||
"originalHistoricalPid": 23172,
|
||||
"userStartedPid": 36552,
|
||||
"originalMemoryCredentialsRecovered": false,
|
||||
"currentProcess": {
|
||||
"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"
|
||||
},
|
||||
"startedAt": "2026-10-31T06:39:23.588Z",
|
||||
"finishedAt": "2026-10-31T06:39:32.276Z"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "native-window-opened-reusing-host",
|
||||
"version": "1.15.0",
|
||||
"activated": null,
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.15.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.15.0-win-x64-20261031053321352",
|
||||
"runtimeIdentity": "7162038e3a95fd65d64ae8406640a29b2a6c855ca7ab7e61bd61b94fd82962c0",
|
||||
"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": 1,
|
||||
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
|
||||
"port": 4318,
|
||||
"active": {
|
||||
"directory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"version": "1.15.0",
|
||||
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467",
|
||||
"runtimeIdentity": "7162038e3a95fd65d64ae8406640a29b2a6c855ca7ab7e61bd61b94fd82962c0"
|
||||
},
|
||||
"previous": null,
|
||||
"activatedAt": "2026-10-31T06:43:34.575Z"
|
||||
},
|
||||
"retained": {
|
||||
"originalRows": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalProjectsAndSessions": "exact",
|
||||
"currentProviderStatePreserved": true,
|
||||
"currentHostPidRetained": 36552,
|
||||
"schemaChanges": [
|
||||
{
|
||||
"field": "storage.restart",
|
||||
"original": "临时凭据在宿主退出后需要重新填写。",
|
||||
"actual": "临时凭据在宿主退出后需要重新填写;已明确本机加密保存的连接按用户与原配置加载。"
|
||||
}
|
||||
]
|
||||
},
|
||||
"userStart": {
|
||||
"originalNonProjectTables": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalProjectPayloads": "exact",
|
||||
"originalProjectOrder": "retained; all positions shifted by one",
|
||||
"additionalProject": {
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"position": 0,
|
||||
"payload": {
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\examples\\starter-project",
|
||||
"name": "starter-project",
|
||||
"addedAt": "2026-10-31T06:30:34.613Z"
|
||||
}
|
||||
},
|
||||
"reason": "User explicitly confirmed manually starting 1.14 to try the product during staged installation. Its normal startup prepended its current release example; retain it, do not restore the older snapshot."
|
||||
},
|
||||
"counts": {
|
||||
"projects": 17,
|
||||
"sessions": 28,
|
||||
"records": 2567,
|
||||
"events": 4598,
|
||||
"artifacts": 1357
|
||||
},
|
||||
"inspectorClosed": true,
|
||||
"currentProviderPreserved": true,
|
||||
"sources": {
|
||||
"engine": {
|
||||
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
|
||||
"version": "0.2.1-rc.2",
|
||||
"identitySha256": "b8af829c8b7724812dcd26548084a2dcdbe166c2877cec3bffa63584e36beb71"
|
||||
},
|
||||
"purge": {
|
||||
"root": "D:\\Ai-project\\REA逆向\\dsh-purge-1.1.78-windows\\source\\upstream",
|
||||
"version": "1.1.78",
|
||||
"sourceSha256": "5634a28a0cf09e2ce017882a15eeaaa9c598d9306920fec46d717183b9d0e6e7"
|
||||
}
|
||||
},
|
||||
"realModelRequests": 0,
|
||||
"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.15.0-win-x64-20261031053321352",
|
||||
"setupSha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"deploymentMode": "user-restarted-live-upgrade",
|
||||
"originalHistoricalPid": 23172,
|
||||
"userStartedPid": 36552,
|
||||
"originalMemoryCredentialsRecovered": false,
|
||||
"currentProcess": {
|
||||
"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"
|
||||
},
|
||||
"startedAt": "2026-10-31T06:44:09.729Z",
|
||||
"finishedAt": "2026-10-31T06:44:40.849Z"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"success": true,
|
||||
"phase": "activated",
|
||||
"version": "1.15.0",
|
||||
"activated": {
|
||||
"phase": "activated",
|
||||
"active": {
|
||||
"directory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"version": "1.15.0",
|
||||
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467",
|
||||
"runtimeIdentity": "7162038e3a95fd65d64ae8406640a29b2a6c855ca7ab7e61bd61b94fd82962c0"
|
||||
},
|
||||
"receiptFile": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\.installation\\operation-6c8d2ab9-d6f5-4d2b-b5cf-2802461d0203.json",
|
||||
"hostRetained": false,
|
||||
"dataPreserved": true
|
||||
},
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.15.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.15.0-win-x64-20261031053321352",
|
||||
"runtimeIdentity": "7162038e3a95fd65d64ae8406640a29b2a6c855ca7ab7e61bd61b94fd82962c0",
|
||||
"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": 1,
|
||||
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
|
||||
"port": 4318,
|
||||
"active": {
|
||||
"directory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"version": "1.15.0",
|
||||
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467",
|
||||
"runtimeIdentity": "7162038e3a95fd65d64ae8406640a29b2a6c855ca7ab7e61bd61b94fd82962c0"
|
||||
},
|
||||
"previous": null,
|
||||
"activatedAt": "2026-10-31T06:43:34.575Z"
|
||||
},
|
||||
"retained": {
|
||||
"originalRows": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalProjectsAndSessions": "exact",
|
||||
"currentProviderStatePreserved": true,
|
||||
"currentHostPidRetained": 36552,
|
||||
"schemaChanges": [
|
||||
{
|
||||
"field": "storage.restart",
|
||||
"original": "临时凭据在宿主退出后需要重新填写。",
|
||||
"actual": "临时凭据在宿主退出后需要重新填写;已明确本机加密保存的连接按用户与原配置加载。"
|
||||
}
|
||||
]
|
||||
},
|
||||
"userStart": {
|
||||
"originalNonProjectTables": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalProjectPayloads": "exact",
|
||||
"originalProjectOrder": "retained; all positions shifted by one",
|
||||
"additionalProject": {
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"position": 0,
|
||||
"payload": {
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\examples\\starter-project",
|
||||
"name": "starter-project",
|
||||
"addedAt": "2026-10-31T06:30:34.613Z"
|
||||
}
|
||||
},
|
||||
"reason": "User explicitly confirmed manually starting 1.14 to try the product during staged installation. Its normal startup prepended its current release example; retain it, do not restore the older snapshot."
|
||||
},
|
||||
"counts": {
|
||||
"projects": 17,
|
||||
"sessions": 28,
|
||||
"records": 2567,
|
||||
"events": 4598,
|
||||
"artifacts": 1357
|
||||
},
|
||||
"inspectorClosed": true,
|
||||
"currentProviderPreserved": true,
|
||||
"sources": {
|
||||
"engine": {
|
||||
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
|
||||
"version": "0.2.1-rc.2",
|
||||
"identitySha256": "b8af829c8b7724812dcd26548084a2dcdbe166c2877cec3bffa63584e36beb71"
|
||||
},
|
||||
"purge": {
|
||||
"root": "D:\\Ai-project\\REA逆向\\dsh-purge-1.1.78-windows\\source\\upstream",
|
||||
"version": "1.1.78",
|
||||
"sourceSha256": "5634a28a0cf09e2ce017882a15eeaaa9c598d9306920fec46d717183b9d0e6e7"
|
||||
}
|
||||
},
|
||||
"realModelRequests": 0,
|
||||
"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.15.0-win-x64-20261031053321352",
|
||||
"setupSha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"deploymentMode": "user-restarted-live-upgrade",
|
||||
"originalHistoricalPid": 23172,
|
||||
"userStartedPid": 36552,
|
||||
"originalMemoryCredentialsRecovered": false,
|
||||
"currentProcess": {
|
||||
"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"
|
||||
},
|
||||
"startedAt": "2026-10-31T06:39:41.326Z",
|
||||
"finishedAt": "2026-10-31T06:43:40.750Z"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"success": false,
|
||||
"version": "1.15.0",
|
||||
"pid": 36552,
|
||||
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-b123bd02-cc9d-45b8-8a43-fa0995ad5e8f",
|
||||
"selectedHistory": {
|
||||
"projectId": "46d9ba13-b48c-43a2-a726-fc8ad47badb1",
|
||||
"sessionId": "3fffee63-edc6-4538-b1dd-941354535e85",
|
||||
"selection": "Actual current-project selector; no task created."
|
||||
},
|
||||
"results": [
|
||||
{
|
||||
"width": 1280,
|
||||
"height": 900,
|
||||
"panel": "执行计划",
|
||||
"readOnly": true,
|
||||
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-b123bd02-cc9d-45b8-8a43-fa0995ad5e8f\\plan-1280.png",
|
||||
"screenshotSha256": "36359a3dacf1d813669ece8e3c9286da8cd1bf6f90c3fe36aadb69b58d34a13b"
|
||||
},
|
||||
{
|
||||
"width": 1280,
|
||||
"height": 900,
|
||||
"panel": "模型中心",
|
||||
"readOnly": true,
|
||||
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-b123bd02-cc9d-45b8-8a43-fa0995ad5e8f\\model-center-1280.png",
|
||||
"screenshotSha256": "b4bf8f0d67b1f837448ad90d7016c5dc571a555f5dba0d733652c1131d1768d4"
|
||||
}
|
||||
],
|
||||
"error": "page.waitForResponse: Timeout 30000ms exceeded while waiting for event \"response\"\n at D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\smoke-desktop-f-formal.mjs:67:35",
|
||||
"testedAt": "2026-10-31T06:49:48.512Z",
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"httpErrors": [
|
||||
{
|
||||
"url": "http://127.0.0.1:4318/api/model-center/credentials",
|
||||
"status": 409
|
||||
}
|
||||
],
|
||||
"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."
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.15.0",
|
||||
"observedAt": "2026-10-31T08:46:18.427Z",
|
||||
"installedRoot": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.15.0-win-x64-20261031071202956",
|
||||
"hostPid": 36552,
|
||||
"windowId": 69149684,
|
||||
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-canonical-native-main.jpg",
|
||||
"screenshotSha256": "6e385399da699fb979205209c365f323bbaa8b4ef8f03eeb9ecc644747817aa8",
|
||||
"screenshotFormat": "jpeg",
|
||||
"additionalEvidence": [
|
||||
{
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-canonical-native-main-ax.txt",
|
||||
"bytes": 7462,
|
||||
"sha256": "575fb8d19ae81d5b7785f5ac0374b95653dee53a0d5787a3a0616bcebc800a41"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-canonical-native-credentials.jpg",
|
||||
"bytes": 105890,
|
||||
"sha256": "134691a5aa9ef189fa673093ed40181e729001cb9fd48dc3ca86d9f02fa2dc58",
|
||||
"format": "jpeg",
|
||||
"capturedPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-canonical-native-credentials.png"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-canonical-native-credentials-ax.txt",
|
||||
"bytes": 11766,
|
||||
"sha256": "f41ed4faff920fbdbbd01aa4a1bc99104c27f2f901bcd5f07b556390bb095ecf"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-canonical-native-after-close.jpg",
|
||||
"bytes": 105283,
|
||||
"sha256": "c34108681aa2a2cb4692dfbe6508a85e1e9ebca541a34d200882ed27a7fdf532",
|
||||
"format": "jpeg",
|
||||
"capturedPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-canonical-native-after-close.png"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-canonical-native-after-close-ax.txt",
|
||||
"bytes": 7554,
|
||||
"sha256": "53988a3f39cfc33d1fe2d640039b9f41940b0d36a8ced62381fac38e28c5a547"
|
||||
}
|
||||
],
|
||||
"credentialPage": {
|
||||
"status": 200,
|
||||
"unavailable": false,
|
||||
"connectionStatuses": [
|
||||
{
|
||||
"id": "legacy-default",
|
||||
"status": "not_saved"
|
||||
},
|
||||
{
|
||||
"id": "5b4daed9-b2f7-4de0-b949-573eba70c7b3",
|
||||
"status": "not_saved"
|
||||
}
|
||||
],
|
||||
"observation": "Actual installed native window showed the local encrypted-credential page, two connection entries and an empty new-Key form with Save disabled. No 409 or error notice appeared. The memory-only label describes storage, not proof that a Key exists."
|
||||
},
|
||||
"afterReview": {
|
||||
"modelCenterClosed": true,
|
||||
"desktopWindowLeftOpen": true,
|
||||
"hostLeftRunning": true
|
||||
},
|
||||
"scope": "Observed the installed Electron main window, selected Model Center / Credential Save through native UI, inspected actual rendering and AX text, closed the modal and observed the main window again. Read-only credential endpoint independently returned HTTP 200. No Key entered, read, copied, saved or cleared; no model request."
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.15.0",
|
||||
"pid": 36552,
|
||||
"results": [
|
||||
{
|
||||
"width": 1280,
|
||||
"panel": "模型中心",
|
||||
"keyboardDialogNavigation": true,
|
||||
"closeRestoresLauncherFocus": true,
|
||||
"ordinaryText": [
|
||||
{
|
||||
"element": "p",
|
||||
"className": "",
|
||||
"foreground": "rgb(82, 100, 122)",
|
||||
"background": [
|
||||
241,
|
||||
244,
|
||||
247
|
||||
],
|
||||
"fontSize": "12px",
|
||||
"contrast": 5.493893101986971
|
||||
},
|
||||
{
|
||||
"element": "dt",
|
||||
"className": "",
|
||||
"foreground": "rgb(103, 120, 141)",
|
||||
"background": [
|
||||
255,
|
||||
255,
|
||||
255
|
||||
],
|
||||
"fontSize": "11px",
|
||||
"contrast": 4.518151280965432
|
||||
},
|
||||
{
|
||||
"element": "dd",
|
||||
"className": "",
|
||||
"foreground": "rgb(21, 40, 63)",
|
||||
"background": [
|
||||
255,
|
||||
255,
|
||||
255
|
||||
],
|
||||
"fontSize": "12px",
|
||||
"contrast": 14.923475721546305
|
||||
}
|
||||
],
|
||||
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-product-ux-ba475d36-1487-461d-b556-7fe2488ab9ab\\model-center-1280.png",
|
||||
"screenshotSha256": "237588909d83df7a59f44a91444908fdbe0b118a213bf6e3dc25f33d17b52897"
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"panel": "模型中心",
|
||||
"keyboardDialogNavigation": true,
|
||||
"closeRestoresLauncherFocus": true,
|
||||
"ordinaryText": [
|
||||
{
|
||||
"element": "p",
|
||||
"className": "",
|
||||
"foreground": "rgb(82, 100, 122)",
|
||||
"background": [
|
||||
241,
|
||||
244,
|
||||
247
|
||||
],
|
||||
"fontSize": "12px",
|
||||
"contrast": 5.493893101986971
|
||||
},
|
||||
{
|
||||
"element": "dt",
|
||||
"className": "",
|
||||
"foreground": "rgb(103, 120, 141)",
|
||||
"background": [
|
||||
255,
|
||||
255,
|
||||
255
|
||||
],
|
||||
"fontSize": "11px",
|
||||
"contrast": 4.518151280965432
|
||||
},
|
||||
{
|
||||
"element": "dd",
|
||||
"className": "",
|
||||
"foreground": "rgb(21, 40, 63)",
|
||||
"background": [
|
||||
255,
|
||||
255,
|
||||
255
|
||||
],
|
||||
"fontSize": "12px",
|
||||
"contrast": 14.923475721546305
|
||||
}
|
||||
],
|
||||
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-product-ux-ba475d36-1487-461d-b556-7fe2488ab9ab\\model-center-390.png",
|
||||
"screenshotSha256": "ca0686bd7fb27b4355bc365a4493d468909729113a9a29e0ed247fb016689d01"
|
||||
}
|
||||
],
|
||||
"blockedWrites": [],
|
||||
"errors": [],
|
||||
"workflow": "product-ui-ux",
|
||||
"observedAt": "2026-10-31T06:44:55.682Z",
|
||||
"realModelRequests": 0,
|
||||
"scope": "Actual final formal Edge views at 1280/390, visible ordinary-text computed foreground/background contrast, modal keyboard traversal/close/focus return and bounded layout. Read-only user model-center state; no credential value access, model probe, setting save or task action. Source/installer evidence separately proves the actual persistence and engineering flows."
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
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';
|
||||
const formal = JSON.parse(fs.readFileSync('.qa/desktop-host-f-formal-start.json'));
|
||||
assert.equal(formal.success, true);
|
||||
const health = await (await fetch(base + '/api/health')).json();
|
||||
assert.equal(health.version, '1.15.0'); assert.equal(health.pid, formal.identity.pid);
|
||||
const directory = path.resolve('.qa', 'desktop-host-f-product-ux-' + randomUUID()); fs.mkdirSync(directory);
|
||||
const writes = [], errors = [], results = [];
|
||||
const browser = await chromium.launch({ channel: 'msedge', headless: true });
|
||||
let report;
|
||||
try {
|
||||
for (const width of [1280, 390]) {
|
||||
const context = await browser.newContext({ viewport: { width, height: width === 390 ? 844 : 900 }, reducedMotion: 'reduce' });
|
||||
try {
|
||||
const page = await context.newPage(); page.on('pageerror', error => errors.push(error.message));
|
||||
await page.route('**/api/**', route => {
|
||||
if (!['GET', 'HEAD', 'OPTIONS'].includes(route.request().method())) {
|
||||
writes.push({ method: route.request().method(), path: new URL(route.request().url()).pathname }); return route.abort();
|
||||
}
|
||||
return route.continue();
|
||||
});
|
||||
await page.goto(base + '/?release=1.15.0', { waitUntil: 'domcontentloaded' });
|
||||
await expect(page.locator('.connection small')).toHaveText('v1.15.0');
|
||||
const launcher = page.getByRole('button', { name: '打开模型中心', exact: true });
|
||||
await launcher.click();
|
||||
const dialog = page.getByRole('dialog', { name: '模型中心', exact: true }); await expect(dialog).toBeVisible();
|
||||
await expect(dialog).not.toContainText('正在读取实际连接状态');
|
||||
const bounds = await dialog.boundingBox(); assert.ok(bounds.x >= 0 && bounds.x + bounds.width <= width + 1);
|
||||
assert.equal(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth), true);
|
||||
const text = await dialog.evaluate(element => {
|
||||
const parse = value => {
|
||||
const match = /^rgba?\(([^)]+)\)$/.exec(value); if (!match) return null;
|
||||
const parts = match[1].split(',').map(Number); return [parts[0], parts[1], parts[2], parts[3] ?? 1];
|
||||
};
|
||||
const blend = (top, below) => top.slice(0, 3).map((v, i) => v * top[3] + below[i] * (1 - top[3]));
|
||||
const light = color => color.slice(0, 3).map(v => { const n = v / 255; return n <= 0.04045 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4; })
|
||||
.reduce((sum, value, i) => sum + value * [0.2126, 0.7152, 0.0722][i], 0);
|
||||
const rows = [], seen = new Set();
|
||||
for (const node of element.querySelectorAll('.mc-section-title p, dt, dd, .mc-help')) {
|
||||
if (!node.getClientRects().length) continue;
|
||||
const style = getComputedStyle(node), ancestors = []; let parent = node, unsupported = false;
|
||||
while (parent) { const current = getComputedStyle(parent); if (Number(current.opacity) !== 1 || current.backgroundImage !== 'none') unsupported = true; ancestors.unshift(parent); parent = parent.parentElement; }
|
||||
if (unsupported) continue;
|
||||
let background = [255, 255, 255];
|
||||
for (const item of ancestors) { const color = parse(getComputedStyle(item).backgroundColor); if (color) background = blend(color, background); }
|
||||
const rgba = parse(style.color); if (!rgba) continue;
|
||||
const foreground = blend(rgba, background), a = light(foreground), b = light(background), ratio = (Math.max(a, b) + 0.05) / (Math.min(a, b) + 0.05);
|
||||
const key = [style.color, background.join(','), style.fontSize].join('|'); if (seen.has(key)) continue; seen.add(key);
|
||||
rows.push({ element: node.tagName.toLowerCase(), className: node.className, foreground: style.color, background, fontSize: style.fontSize, contrast: ratio });
|
||||
}
|
||||
return rows;
|
||||
});
|
||||
assert.ok(text.length > 0, 'Actual visible ordinary text samples required.');
|
||||
for (const sample of text) assert.ok(sample.contrast >= 4.5, JSON.stringify(sample));
|
||||
await page.keyboard.press('Shift+Tab');
|
||||
assert.equal(await dialog.evaluate(element => element.contains(document.activeElement)), true, 'Keyboard focus remains inside the current dialog.');
|
||||
await page.keyboard.press('Tab');
|
||||
assert.equal(await dialog.evaluate(element => element.contains(document.activeElement)), true);
|
||||
const image = path.join(directory, 'model-center-' + width + '.png'); await page.screenshot({ path: image, fullPage: true });
|
||||
await page.keyboard.press('Escape'); await expect(dialog).toBeHidden(); await expect(launcher).toBeFocused();
|
||||
results.push({ width, panel: '模型中心', keyboardDialogNavigation: true, closeRestoresLauncherFocus: true, ordinaryText: text,
|
||||
screenshot: image, screenshotSha256: createHash('sha256').update(fs.readFileSync(image)).digest('hex') });
|
||||
} finally { await context.close(); }
|
||||
}
|
||||
assert.deepEqual(writes, []); assert.deepEqual(errors, []);
|
||||
report = { success: true, version: health.version, pid: health.pid, results, blockedWrites: writes, errors,
|
||||
workflow: 'product-ui-ux', observedAt: new Date().toISOString(), realModelRequests: 0,
|
||||
scope: 'Actual final formal Edge views at 1280/390, visible ordinary-text computed foreground/background contrast, modal keyboard traversal/close/focus return and bounded layout. Read-only user model-center state; no credential value access, model probe, setting save or task action. Source/installer evidence separately proves the actual persistence and engineering flows.' };
|
||||
} catch (error) { report = { success: false, version: health.version, pid: health.pid, results, blockedWrites: writes, errors, error: error.stack }; process.exitCode = 1; }
|
||||
finally {
|
||||
await browser.close(); const file = '.qa/desktop-host-f-product-ux-review.json';
|
||||
fs.writeFileSync(file, JSON.stringify(report, null, 2), { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: report.success, file, views: results.length, minimumMeasuredContrast: results.length ? Math.min(...results.flatMap(value => value.ordinaryText.map(item => item.contrast))) : null, ...(report.error ? { error: report.error } : {}) }));
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
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 { snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
|
||||
export const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
export const canonical = value => Array.isArray(value) ? value.map(canonical) : value && typeof value === 'object' ? Object.fromEntries(Object.keys(value).sort().map(key => [key, canonical(value[key])])) : value;
|
||||
export const digest = value => hash(JSON.stringify(canonical(value)));
|
||||
export function databaseSnapshot(dataRoot) {
|
||||
const database = new DatabaseSync(path.join(dataRoot, 'workbench.sqlite'), { readOnly: true }); database.exec('BEGIN');
|
||||
try {
|
||||
assert.equal(database.prepare('PRAGMA quick_check').get().quick_check, 'ok');
|
||||
const tables = {};
|
||||
for (const { name, sql } of database.prepare("SELECT name,sql FROM sqlite_schema WHERE type='table' ORDER BY name").all()) {
|
||||
assert.match(name, /^[a-z_]+$/);
|
||||
const rows = database.prepare('SELECT * FROM "' + name + '" ORDER BY rowid').all().filter(row => !(name === 'metadata' && row.key === 'runtimeOwner'));
|
||||
tables[name] = { count: rows.length, schemaSha256: hash(sql), sha256: digest(rows), rows: rows.map((row, index) => ({ id: row.id ?? row.key ?? row.seq ?? index, ...(row.kind ? { kind: row.kind } : {}), sha256: digest(row) })) };
|
||||
}
|
||||
const sessionIds = database.prepare('SELECT id FROM sessions ORDER BY id').all().map(row => row.id);
|
||||
const owner = database.prepare("SELECT value FROM metadata WHERE key='runtimeOwner'").get();
|
||||
return { tables, sessionIds, ownerSha256: owner ? digest(owner) : null, scope: 'Every original table schema and row field hashed, excluding only runtimeOwner lifecycle metadata. No row payload or credential is returned.' };
|
||||
} finally { database.exec('ROLLBACK'); database.close(); }
|
||||
}
|
||||
export async function publicSnapshot(url, dataRoot) {
|
||||
const healthResponse = await fetch(url + '/api/health', { headers: { Connection: 'close' }, signal: AbortSignal.timeout(20000) }); assert.equal(healthResponse.status, 200);
|
||||
const health = await healthResponse.json(), bootResponse = await fetch(url + '/api/bootstrap', { headers: { Connection: 'close' }, signal: AbortSignal.timeout(20000) }); assert.equal(bootResponse.status, 200);
|
||||
const bootstrap = await bootResponse.json(); const token = bootstrap.token;
|
||||
const api = async route => { const response = await fetch(url + '/api' + route, { headers: { 'X-Workbench-Token': token, Connection: 'close' }, signal: AbortSignal.timeout(20000) }); assert.ok(response.ok, route + ': HTTP ' + response.status); return response.json(); };
|
||||
const database = databaseSnapshot(dataRoot), exports = [];
|
||||
for (const id of database.sessionIds) {
|
||||
const report = await api('/sessions/' + id + '/export');
|
||||
exports.push({ id, project: digest(report.project), session: digest(report.session), execution: digest(report.execution) });
|
||||
}
|
||||
const center = await api('/model-center');
|
||||
// This is the documented public model-center view; Provider's private map and
|
||||
// API key are never accessed. Only this public object is retained for schema-aware comparison.
|
||||
const modelCenter = structuredClone(center);
|
||||
return { observedAt: new Date().toISOString(), version: health.version, pid: health.pid, runtimeRoot: bootstrap.runtimeRoot,
|
||||
configSha256: digest(bootstrap.config), projectsSha256: digest(bootstrap.projects), sessionsSha256: digest(bootstrap.sessions), modelCenterSha256: digest(modelCenter), modelCenter,
|
||||
projects: bootstrap.projects.length, visibleSessions: bootstrap.sessions.length, hasKey: !!bootstrap.config.hasKey,
|
||||
active: bootstrap.sessions.filter(value => ['running', 'awaiting_approval', 'stopping'].includes(value.status)).map(value => ({ id: value.id, status: value.status })),
|
||||
storage: bootstrap.storage, eventCursor: bootstrap.eventCursor, database, exports, persistent: snapshotPersistentData(dataRoot),
|
||||
scope: 'Read-only public state, every original session export digest, original table/row/schema hashes and every original artifact byte hash. No credential extraction, model probe, execution or mutation.' };
|
||||
}
|
||||
export function compareOriginalState(before, after, { modelCenterSchemaChange = false } = {}) {
|
||||
for (const field of ['pid', 'hasKey', 'configSha256', 'projectsSha256', 'sessionsSha256', 'eventCursor']) assert.deepEqual(after[field], before[field], field);
|
||||
assert.deepEqual(canonical(after.database.tables), canonical(before.database.tables), 'All original table schemas and every persistent row');
|
||||
assert.deepEqual(after.database.sessionIds, before.database.sessionIds); assert.deepEqual(after.exports, before.exports);
|
||||
assert.deepEqual(after.persistent, before.persistent, 'Every original artifact byte, persistent row and public disk config');
|
||||
if (modelCenterSchemaChange) {
|
||||
const original = structuredClone(before.modelCenter), next = structuredClone(after.modelCenter);
|
||||
// 1.15 changes only the public explanatory text about optional DPAPI storage.
|
||||
// Existing IDs, routes, revisions, credentials-present bits and all original attempts remain exact.
|
||||
assert.match(next.storage.restart, /临时凭据.*已明确本机加密保存/);
|
||||
next.storage.restart = original.storage.restart;
|
||||
assert.deepEqual(next, original, 'Original public model center, except versioned storage explanation');
|
||||
return { modelCenterChange: { path: '/storage/restart', original: before.modelCenter.storage.restart, actual: after.modelCenter.storage.restart }, originalRows: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact' };
|
||||
}
|
||||
assert.equal(after.modelCenterSha256, before.modelCenterSha256);
|
||||
return { originalRows: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact', originalModelCenter: 'exact' };
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import net from 'node:net';
|
||||
import { execFile } from 'node:child_process';
|
||||
import { promisify } from 'node:util';
|
||||
import { publicSnapshot, compareOriginalState, hash } from './desktop-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 mode = process.argv[2]; assert.ok(['stage', 'upgrade', 'activate', 'verify'].includes(mode));
|
||||
const url = 'http://127.0.0.1:4318', port = 4318, expectedPid = 23172;
|
||||
const installRoot = 'C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench';
|
||||
const dataRoot = 'C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench';
|
||||
const release = JSON.parse(fs.readFileSync('releases/latest.json'));
|
||||
assert.equal(release.installer.version, '1.15.0'); assert.equal(release.installer.qaFixture, null);
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
const location = JSON.parse(fs.readFileSync('.qa/desktop-host-final-install-location.json'));
|
||||
const exactInstall = JSON.parse(fs.readFileSync(location.result));
|
||||
assert.equal(exactInstall.success, true); assert.equal(exactInstall.installer.sha256, release.installer.sha256);
|
||||
const portable = JSON.parse(fs.readFileSync('.qa/release-validation.json'));
|
||||
assert.equal(portable.success, true); assert.equal(portable.version, '1.15.0');
|
||||
assert.equal(fs.realpathSync.native(portable.appRoot), fs.realpathSync.native(release.portableRoot));
|
||||
const candidate = path.join(installRoot, 'versions', release.installer.candidateDirectory);
|
||||
const beforeFile = '.qa/desktop-host-f-formal-before.json', output = '.qa/desktop-host-f-formal-' + mode + '.json';
|
||||
assert.equal(fs.existsSync(output), false, 'Each formal phase is run once; preserve and review an existing result instead of repeating it.');
|
||||
const save = (file, value) => fs.writeFileSync(file, JSON.stringify(value, null, 2), { flag: 'wx' });
|
||||
const same = (left, right) => path.resolve(left).toLowerCase() === path.resolve(right).toLowerCase();
|
||||
const actualProcess = () => {
|
||||
const observed = observeWindowsProcess(expectedPid); assert.ok(observed); assert.equal(observed.createdAt, '2026-10-30T14:33:10.364Z');
|
||||
assert.equal(hash(fs.readFileSync(observed.executable)), 'd702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5'); return observed;
|
||||
};
|
||||
const inspectorClosed = () => new Promise((resolve, reject) => {
|
||||
const socket = net.createConnection({ host: '127.0.0.1', port: 9229 });
|
||||
socket.setTimeout(1000); socket.once('connect', () => { socket.destroy(); reject(Error('Owned upgrade inspector is still open.')); });
|
||||
socket.once('timeout', () => { socket.destroy(); reject(Error('Inspector port could not be confirmed closed.')); });
|
||||
socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve(true) : reject(error); });
|
||||
});
|
||||
const now = new Date().toISOString(); let result;
|
||||
try {
|
||||
actualProcess(); await inspectorClosed();
|
||||
if (mode === 'stage') {
|
||||
assert.equal(fs.existsSync(beforeFile), false); assert.equal(fs.existsSync(candidate), false);
|
||||
const before = await publicSnapshot(url, dataRoot);
|
||||
assert.equal(before.version, '1.14.0'); assert.equal(before.pid, expectedPid); assert.equal(before.hasKey, true); assert.deepEqual(before.active, []);
|
||||
save(beforeFile, before);
|
||||
const info = JSON.parse(fs.readFileSync(path.join(dataRoot, 'service-info.json')));
|
||||
assert.equal(info.pid, expectedPid); assert.ok(same(info.dataRoot, dataRoot)); assert.ok(same(info.runtimeRoot, before.runtimeRoot));
|
||||
const log = '.qa/desktop-host-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=' + path.resolve(log)],
|
||||
{ windowsHide: true, env: projectEnvironment(), timeout: 300000, maxBuffer: 1024 * 1024 });
|
||||
assert.equal(execution.stdout, '');
|
||||
const identity = validateInstalledVersion(candidate); const after = await publicSnapshot(url, dataRoot);
|
||||
const retained = compareOriginalState(before, after); assert.equal(after.version, before.version); assert.equal(fs.existsSync(path.join(installRoot, 'current.json')), false);
|
||||
result = { success: true, phase: 'staged', version: '1.15.0', installRoot, dataRoot, candidate, setupSha256: release.installer.sha256,
|
||||
setupLog: log, setupLogSha256: hash(fs.readFileSync(log)), candidateIdentity: identity.identitySha256, beforeFile, retained, originalProcess: actualProcess() };
|
||||
} else {
|
||||
const before = JSON.parse(fs.readFileSync(beforeFile));
|
||||
const staged = JSON.parse(fs.readFileSync('.qa/desktop-host-f-formal-stage.json'));
|
||||
assert.equal(staged.success, true); assert.equal(staged.setupSha256, release.installer.sha256); assert.ok(same(staged.candidate, candidate));
|
||||
const identity = validateInstalledVersion(candidate); assert.equal(identity.identitySha256, staged.candidateIdentity);
|
||||
if (mode === 'upgrade') {
|
||||
const current = await publicSnapshot(url, dataRoot); compareOriginalState(before, current); assert.equal(current.version, '1.14.0'); assert.deepEqual(current.active, []);
|
||||
const info = JSON.parse(fs.readFileSync(path.join(dataRoot, 'service-info.json'))); assert.equal(info.pid, expectedPid);
|
||||
const upgraded = await upgradeRunning({ url, pid: expectedPid, currentRoot: info.appRoot, handlerRoot: info.runtimeRoot, newRoot: candidate });
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after, { modelCenterSchemaChange: true });
|
||||
assert.equal(after.version, '1.15.0'); assert.ok(same(after.runtimeRoot, candidate)); assert.equal(upgraded.connectionPreserved, true); await inspectorClosed();
|
||||
save('.qa/desktop-host-f-formal-after-upgrade.json', after);
|
||||
result = { success: true, phase: 'upgraded', version: after.version, upgraded, retained, installRoot, dataRoot, candidate, setupSha256: staged.setupSha256, originalProcess: actualProcess() };
|
||||
} else {
|
||||
const upgraded = JSON.parse(fs.readFileSync('.qa/desktop-host-f-formal-upgrade.json')); assert.equal(upgraded.success, true);
|
||||
const afterUpgrade = JSON.parse(fs.readFileSync('.qa/desktop-host-f-formal-after-upgrade.json'));
|
||||
const current = await publicSnapshot(url, dataRoot); compareOriginalState(afterUpgrade, current); assert.equal(current.version, '1.15.0'); assert.ok(same(current.runtimeRoot, candidate));
|
||||
let activated = null;
|
||||
if (mode === 'activate') {
|
||||
const manager = new InstallationManager({ installRoot, dataRoot, candidateRoot: candidate, port });
|
||||
activated = await manager.activate(); assert.equal(activated.phase, 'activated'); assert.equal(activated.hostRetained, false, 'Handler was already upgraded; activation must not repeat it.');
|
||||
}
|
||||
const pointer = JSON.parse(fs.readFileSync(path.join(installRoot, 'current.json'))); assert.equal(pointer.active.directory, release.installer.candidateDirectory); assert.ok(same(pointer.dataRoot, dataRoot));
|
||||
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'))));
|
||||
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 engine = await controller.api('/engines/deepseek/availability'), purge = await controller.api('/engines/purge/source'); assert.equal(engine.status, 'available'); assert.equal(purge.status, 'available');
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after, { modelCenterSchemaChange: true }); await inspectorClosed();
|
||||
save('.qa/desktop-host-f-formal-after-' + mode + '.json', after);
|
||||
result = { success: true, phase: mode === 'activate' ? 'activated' : 'verified', version: after.version, installRoot, dataRoot, candidate,
|
||||
setupSha256: staged.setupSha256, pointer, activated, identity: status.identity, originalProcess: actualProcess(), retained,
|
||||
sources: { engine: { root: engine.root, version: engine.version, identitySha256: engine.identitySha256 }, purge: { root: purge.root, version: purge.version, sourceSha256: purge.sourceSha256 } },
|
||||
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, realModelRequests: 0 };
|
||||
}
|
||||
}
|
||||
} catch (error) { result = { success: false, phase: mode, startedAt: now, error: error.stack, installRoot, dataRoot, candidate }; process.exitCode = 1; }
|
||||
save(output, { ...result, startedAt: now, finishedAt: new Date().toISOString(), scope: 'Exact accepted final local setup; actual existing SID/PID/creation/Node hash and data directory. Stage, single in-memory handler upgrade, then activation are separately journaled; no private credential extraction or ordinary restart.' });
|
||||
console.log(JSON.stringify({ success: result.success, phase: result.phase, version: result.version, output, ...(result.error ? { error: result.error } : {}) }));
|
||||
@@ -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 = release.installer; assert.equal(installer.version, '1.15.0'); assert.equal(installer.qaFixture, null);
|
||||
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:\\AWQA15';
|
||||
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\\{E914E883-46F9-4B82-B27F-BDB2B40DCC90}_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 exact product installer QA must not replace an existing user installation 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 = 300000) {
|
||||
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.15.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.15.0', root, installRoot, dataRoot, installer, cases, ownedModelRequests: authenticated, realModelRequests: 0, originalUserRegistrationWasAbsent: true, scope: 'Exact final product setup SHA; no QA AppId or payload alteration. Exclusive owned install/data/port, /NOICONS and an absent product 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.15.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/desktop-host-final-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,44 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
const digest = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const original = JSON.parse(fs.readFileSync('.qa/desktop-host-f-accepted-code-release.json'));
|
||||
const next = JSON.parse(fs.readFileSync('releases/latest.json'));
|
||||
const source = JSON.parse(fs.readFileSync('.qa/desktop-host-f-accepted-source.json'));
|
||||
const baseline = JSON.parse(fs.readFileSync('docs/desktop-host-relocation-code-baseline.json'));
|
||||
assert.equal(source.success, true); assert.equal(source.version, '1.15.0'); assert.equal(path.basename(source.sourceRoot), path.basename(original.sourceRoot));
|
||||
assert.equal(source.tests.pass, source.tests.tests); assert.ok(source.tests.tests > 484);
|
||||
for (const field of ['fail', 'cancelled', 'skipped', 'todo']) assert.equal(source.tests[field], 0);
|
||||
assert.equal(source.actualDesktop.window.results.length, 7); assert.equal(source.actualDesktop.ui.assertions.length, 9); assert.equal(source.actualDesktop.projects.cases.length, 16);
|
||||
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(row => ({ path: row.path, sha256: row.sha256 }))));
|
||||
const docs = relative => relative.startsWith('docs/') || ['README.md', 'CHANGELOG.md', 'DESIGN.md', 'AGENTS.md', 'task_plan.md', 'findings.md', 'progress.md'].includes(relative);
|
||||
const pairs = [];
|
||||
for (const kind of ['portable', 'source']) {
|
||||
const beforeRoot = original[kind + 'Root'], afterRoot = next[kind + 'Root']; assert.notEqual(beforeRoot, afterRoot);
|
||||
const read = root => {
|
||||
const bytes = fs.readFileSync(path.join(root, 'MANIFEST.json')), manifest = JSON.parse(bytes);
|
||||
assert.equal(manifest.version, '1.15.0'); assert.equal(manifest.kind, kind);
|
||||
for (const row of manifest.files) {
|
||||
const absolute = path.resolve(root, row.path); assert.ok(absolute.startsWith(path.resolve(root) + path.sep));
|
||||
const bytes = fs.readFileSync(absolute); assert.equal(bytes.length, row.bytes, row.path); assert.equal(digest(bytes), row.sha256, row.path);
|
||||
}
|
||||
return { manifest, manifestSha256: digest(bytes) };
|
||||
};
|
||||
const before = read(beforeRoot), after = read(afterRoot), codeBefore = sorted(before.manifest.files.filter(row => !docs(row.path))), codeAfter = sorted(after.manifest.files.filter(row => !docs(row.path)));
|
||||
assert.deepEqual(codeAfter, codeBefore, kind + ': Every product/test/benchmark/build/runtime/dependency/license byte must match the accepted candidate.');
|
||||
const oldDocs = new Map(before.manifest.files.filter(row => docs(row.path)).map(row => [row.path, row]));
|
||||
const changedDocs = after.manifest.files.filter(row => docs(row.path)).filter(row => JSON.stringify(row) !== JSON.stringify(oldDocs.get(row.path))).map(row => row.path);
|
||||
const removedDocs = before.manifest.files.filter(row => docs(row.path) && !after.manifest.files.some(item => item.path === row.path)).map(row => row.path);
|
||||
pairs.push({ kind, beforeRoot, afterRoot, beforeManifestSha256: before.manifestSha256, afterManifestSha256: after.manifestSha256,
|
||||
matchedRuntimeAndInputFiles: codeAfter.length, changedDocs, removedDocs });
|
||||
}
|
||||
for (const row of baseline.inputs.concat(baseline.builds)) assert.equal(digest(fs.readFileSync(row.path)), row.sha256, row.path);
|
||||
const result = { success: true, version: '1.15.0', codeCommit: baseline.codeCommit, validatedSource: { sourceRoot: source.sourceRoot, tests: source.tests,
|
||||
originalReportSha256: digest(fs.readFileSync('.qa/desktop-host-f-accepted-source.json')), desktopWindowCases: 7, engineUiCases: 9, projectNodes: 16 },
|
||||
original, final: next, pairs, checkedAt: new Date().toISOString(),
|
||||
scope: 'Full accepted source/test/benchmark/build and every shipped runtime/dependency/license byte retained in a new documentation-only package. Original source acceptance is reused without rerunning unchanged code. The final ZIPs, portable host and exact final installer still require their own acceptance.' };
|
||||
fs.writeFileSync('.qa/desktop-host-f-final-package-equivalence.json', JSON.stringify(result, null, 2), { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, version: result.version, pairs: pairs.map(value => ({ kind: value.kind, matched: value.matchedRuntimeAndInputFiles, changedDocumentation: value.changedDocs.length })), sourceTests: source.tests }));
|
||||
@@ -0,0 +1,116 @@
|
||||
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', 'desktop-host-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/desktop-host-f-formal-start.json', 'utf8'));
|
||||
const output = process.argv[3] ?? '.qa/desktop-host-f-formal-ui-validation.json';
|
||||
assert.equal(deployed.success, true); assert.equal(health.version, '1.15.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.15.0', { waitUntil: 'domcontentloaded' })]);
|
||||
await expect(page.locator('.connection small')).toHaveText('v1.15.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();
|
||||
console.log(JSON.stringify({ width, passedPanels: 9 }));
|
||||
} 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,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('.qa/desktop-host-f-user-started-before.json'));
|
||||
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.15.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.15.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.15.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,44 @@
|
||||
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 { gitEnvironment } from '../src/core/git-process.mjs';
|
||||
const [name, ...args] = process.argv.slice(2);
|
||||
assert.match(name ?? '', /^[a-z0-9-]+$/); assert.ok(args.length);
|
||||
const digest = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const env = { ...gitEnvironment(), ...Object.fromEntries(Object.entries(process.env).filter(([key]) => /^AGENT_WORKBENCH_(TEST_PYTHON|DEEPSEEK_ROOT|PURGE_ROOT|PURGE_178_ROOT|PURGE_181_ROOT|ARCHIVE_QA_ROOT)$/.test(key))) };
|
||||
if (fs.existsSync('.qa/desktop-f-environment.json')) for (const [key, value] of Object.entries(JSON.parse(fs.readFileSync('.qa/desktop-f-environment.json')))) {
|
||||
assert.match(key, /^AGENT_WORKBENCH_(TEST_PYTHON|DEEPSEEK_ROOT|PURGE_ROOT|PURGE_178_ROOT|PURGE_181_ROOT|ARCHIVE_QA_ROOT)$/);
|
||||
assert.ok(path.isAbsolute(value)); if (key !== 'AGENT_WORKBENCH_ARCHIVE_QA_ROOT') assert.ok(fs.existsSync(value), key);
|
||||
env[key] = value;
|
||||
}
|
||||
const inheritedPath = Object.entries(env).find(([key]) => key.toLowerCase() === 'path')?.[1] ?? '';
|
||||
for (const key of Object.keys(env)) if (key.toLowerCase() === 'path') delete env[key];
|
||||
env.PATH = path.dirname(process.execPath) + path.delimiter + inheritedPath;
|
||||
function snapshot() {
|
||||
const output = [];
|
||||
function walk(relative) {
|
||||
if (!fs.existsSync(relative)) return;
|
||||
const stat = fs.lstatSync(relative); assert.equal(stat.isSymbolicLink(), false, relative);
|
||||
if (stat.isDirectory()) for (const name of fs.readdirSync(relative).sort()) walk(path.join(relative, name));
|
||||
else output.push({ path: relative.replaceAll('\\', '/'), bytes: stat.size, sha256: digest(fs.readFileSync(relative)) });
|
||||
}
|
||||
for (const name of ['src', 'tests', 'scripts', 'public', 'benchmarks', 'examples', 'research', 'package.json', 'package-lock.json', 'vite.config.ts', 'tsconfig.json', 'index.html', '.gitattributes', '.gitignore', 'Start-Desktop.cmd', 'Start-Workbench.cmd', 'Stop-Workbench.cmd']) walk(name);
|
||||
return output;
|
||||
}
|
||||
const before = snapshot(), started = new Date().toISOString(), log = path.join('.qa', name + '-log.txt');
|
||||
assert.equal(fs.existsSync(log), false, 'Each original command gets a new evidence path.');
|
||||
const stream = fs.createWriteStream(log, { flags: 'wx' });
|
||||
const child = spawn(process.execPath, args, { env, cwd: process.cwd(), windowsHide: true, stdio: ['ignore', 'pipe', 'pipe'] });
|
||||
child.stdout.on('data', bytes => stream.write(bytes)); child.stderr.on('data', bytes => stream.write(bytes));
|
||||
const exitCode = await new Promise((resolve, reject) => { child.once('error', reject); child.once('close', resolve); });
|
||||
await new Promise(resolve => stream.end(resolve));
|
||||
const bytes = fs.readFileSync(log), output = bytes.toString('utf8'), after = snapshot();
|
||||
const stats = Object.fromEntries([...output.matchAll(/^# (tests|pass|fail|cancelled|skipped|todo) (\d+)\s*$/gm)].map(match => [match[1], Number(match[2])]));
|
||||
const result = { success: exitCode === 0, version: JSON.parse(fs.readFileSync('package.json')).version, args, started, finished: new Date().toISOString(), exitCode,
|
||||
log, logSha256: digest(bytes), logBytes: bytes.length, stats, unchangedInputs: JSON.stringify(before) === JSON.stringify(after), inputs: before, node: { path: process.execPath, version: process.version, sha256: digest(fs.readFileSync(process.execPath)) } };
|
||||
fs.writeFileSync(path.join('.qa', name + '-result.json'), JSON.stringify(result, null, 2));
|
||||
console.log(JSON.stringify({ ...result, inputs: before.length }));
|
||||
if (exitCode !== 0) console.log(output.slice(-14000));
|
||||
process.exitCode = exitCode ?? 1;
|
||||
@@ -0,0 +1,92 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
|
||||
const read = file => JSON.parse(fs.readFileSync(file));
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const source = read('.qa/source-package-validation.json');
|
||||
const runner = read('.qa/desktop-host-f-source-relocation-result.json');
|
||||
const baseline = read('docs/desktop-host-relocation-code-baseline.json');
|
||||
const release = read('releases/latest.json');
|
||||
assert.equal(source.success, true); assert.equal(source.version, '1.15.0');
|
||||
assert.equal(runner.success, true); assert.equal(runner.unchangedInputs, true);
|
||||
assert.equal(source.tests.tests, 491); assert.equal(source.tests.pass, 491);
|
||||
for (const key of ['fail', 'cancelled', 'skipped', 'todo']) assert.equal(source.tests[key], 0);
|
||||
const sorted = values => values.slice().sort((a, b) => a.path.localeCompare(b.path));
|
||||
assert.deepEqual(sorted(source.inputs), sorted(baseline.inputs));
|
||||
assert.deepEqual(sorted(runner.inputs), sorted(baseline.inputs));
|
||||
assert.equal(source.buildMatchedFiles, 12);
|
||||
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);
|
||||
assert.deepEqual(source.actualDesktop.projects.results.map(result => result.parentCheck.results[0].tests.passed), [8, 9, 10]);
|
||||
assert.equal(path.basename(source.sourceRoot), path.basename(release.sourceRoot));
|
||||
for (const row of baseline.inputs.concat(baseline.builds, baseline.benchmarks)) assert.equal(hash(fs.readFileSync(row.path)), row.sha256, row.path);
|
||||
|
||||
const root = 'docs/desktop-host-f-accepted-source';
|
||||
assert.equal(fs.existsSync(root), false); fs.mkdirSync(root);
|
||||
fs.writeFileSync(path.join(root, '.gitattributes'), '* -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol\n*.txt binary\n*.log binary\n*.tap binary\n');
|
||||
const files = [], seen = new Map();
|
||||
function copy(file, expected = null) {
|
||||
const absolute = path.resolve(file);
|
||||
const existing = seen.get(absolute); if (existing) { if (expected?.sha256) assert.equal(existing.sha256, expected.sha256); return; }
|
||||
const stat = fs.lstatSync(absolute); assert.ok(stat.isFile() && !stat.isSymbolicLink(), file);
|
||||
const bytes = fs.readFileSync(absolute), sha256 = hash(bytes);
|
||||
if (expected?.sha256) assert.equal(sha256, expected.sha256, file);
|
||||
if (expected?.bytes !== undefined) assert.equal(bytes.length, expected.bytes, file);
|
||||
const destination = path.join(root, String(files.length + 1).padStart(3, '0') + '-' + path.basename(file).replace(/\.log$/, '-log.txt'));
|
||||
fs.writeFileSync(destination, bytes, { flag: 'wx' }); assert.deepEqual(fs.readFileSync(destination), bytes);
|
||||
const row = { source: absolute, path: destination.replaceAll('\\', '/'), bytes: bytes.length, sha256 };
|
||||
files.push(row); seen.set(absolute, row);
|
||||
}
|
||||
function projectInputs(directory) {
|
||||
if (!fs.existsSync(directory)) return;
|
||||
for (const item of fs.readdirSync(directory, { withFileTypes: true }).sort((a, b) => a.name.localeCompare(b.name))) {
|
||||
if (['.git', 'node_modules', '__pycache__', '.pytest_cache'].includes(item.name)) continue;
|
||||
const file = path.join(directory, item.name);
|
||||
if (item.isDirectory()) projectInputs(file); else copy(file);
|
||||
}
|
||||
}
|
||||
function surface(directory) {
|
||||
for (const item of fs.readdirSync(directory, { withFileTypes: true })) {
|
||||
if (item.isFile() && /\.(json|html|png|log|tap|txt)$/.test(item.name)) copy(path.join(directory, item.name));
|
||||
}
|
||||
}
|
||||
function images(value) {
|
||||
if (!value || typeof value !== 'object') return;
|
||||
if (typeof value.file === 'string' && /\.png$/.test(value.file)) copy(value.file, value);
|
||||
for (const item of Object.values(value)) if (item && typeof item === 'object') images(item);
|
||||
}
|
||||
|
||||
for (const file of ['.qa/source-package-validation.json', '.qa/desktop-host-f-source-relocation-result.json', runner.log,
|
||||
'.qa/archives-validation.json', 'releases/latest.json', 'docs/desktop-host-relocation-code-baseline.json',
|
||||
'.qa/desktop-host-f-package-relocation-result.json', '.qa/desktop-host-f-package-relocation-log.txt',
|
||||
'.qa/desktop-host-f-archives-relocation-result.json', '.qa/desktop-host-f-archives-relocation-log.txt',
|
||||
path.join(source.directory, 'result.json'), path.join(source.directory, 'inputs.json')]) copy(file);
|
||||
for (const row of source.logs) copy(row.path, row);
|
||||
const window = source.actualDesktop.window;
|
||||
copy(path.join(source.sourceRoot, '.qa/desktop-window-latest.json'));
|
||||
surface(window.root); projectInputs(path.join(window.root, 'owned-project'));
|
||||
for (const name of ['desktop-controlled-ui', 'desktop-projects']) {
|
||||
const locatorFile = path.join(source.sourceRoot, '.qa', name + '-location.json'); copy(locatorFile);
|
||||
const locator = read(locatorFile); copy(locator.result); surface(locator.directory);
|
||||
if (name === 'desktop-controlled-ui') projectInputs(path.join(locator.directory, 'original-fixture', 'project'));
|
||||
else for (const sample of source.actualDesktop.projects.results) {
|
||||
const directory = path.join(locator.directory, sample.sampleName); surface(directory);
|
||||
projectInputs(path.join(directory, 'original-fixture', 'project'));
|
||||
}
|
||||
}
|
||||
images(source.actualDesktop);
|
||||
fs.writeFileSync('.qa/desktop-host-f-accepted-code-release.json', fs.readFileSync('releases/latest.json'), { flag: 'wx' });
|
||||
fs.writeFileSync('.qa/desktop-host-f-accepted-source.json', fs.readFileSync('.qa/source-package-validation.json'), { flag: 'wx' });
|
||||
const result = { success: true, version: '1.15.0', codeCommit: baseline.codeCommit, sourceRoot: source.sourceRoot,
|
||||
tests: source.tests, inputFiles: source.inputFiles, buildFiles: source.buildMatchedFiles, benchmarkFiles: baseline.benchmarks.length,
|
||||
native: { window: 7, engineUi: 9, engineeringNodes: 16, parentTests: [8, 9, 10] }, files,
|
||||
retainedFixtureDirectories: [source.actualDesktop.window.root, source.actualDesktop.projects.directory],
|
||||
sealedAt: new Date().toISOString(), realModelRequests: 0,
|
||||
scope: 'Completed independent extracted source acceptance after both product fixes. All ten original stage logs, reports, rendered screenshots/DOM and owned project input bytes are sealed. Full owned fixture stores/process evidence remain at the original referenced QA directories. Unchanged source acceptance can only be reused after exact final product/runtime/dependency/license equivalence; final portable, ZIPs and installer still require their own acceptance.' };
|
||||
const filename = 'docs/desktop-host-f-accepted-source-evidence.json';
|
||||
fs.writeFileSync(filename, JSON.stringify(result, null, 2), { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, files: files.length, tests: source.tests, native: result.native, destination: filename }));
|
||||
@@ -0,0 +1,278 @@
|
||||
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';
|
||||
import { publicSnapshot, compareOriginalState, hash } from './desktop-f-state.mjs';
|
||||
import { compareRecoveryState } from './compare-desktop-f-recovery.mjs';
|
||||
import { compareUserStartHistory, compareUserLiveState } from './compare-desktop-f-user-start.mjs';
|
||||
import { compareCorrectiveState } from './compare-f-corrective-state.mjs';
|
||||
import { gitEnvironment } from '../src/core/git-process.mjs';
|
||||
|
||||
const read = file => JSON.parse(fs.readFileSync(file));
|
||||
const baseline = read('docs/desktop-host-canonical-storage-code-baseline.json');
|
||||
const source = read('.qa/desktop-host-f-canonical-storage-accepted-source.json');
|
||||
const sourceIndex = read('docs/desktop-host-f-canonical-storage-accepted-source-evidence.json');
|
||||
const ui = read('docs/desktop-host-f-canonical-storage-all-ui-evidence.json');
|
||||
const release = read('releases/latest.json');
|
||||
const equivalence = read('.qa/desktop-host-f-canonical-guard-package-delta.json');
|
||||
const archive = read('.qa/archives-validation.json');
|
||||
const portable = read('.qa/release-validation.json');
|
||||
const installerLocation = read('.qa/desktop-host-f-canonical-storage-install-location.json');
|
||||
const installer = read(installerLocation.result);
|
||||
const formal = read('.qa/desktop-host-f-canonical-formal-verify.json');
|
||||
const smoke = read('.qa/desktop-host-f-canonical-formal-ui.json');
|
||||
const artifacts = read('.qa/desktop-host-f-canonical-formal-artifacts.json');
|
||||
const native = read('.qa/desktop-host-f-native-window-review.json');
|
||||
const experience = read('.qa/desktop-host-f-product-ux-review.json');
|
||||
const logCompletion = read('.qa/desktop-host-f-final-uninstall-log-completion/index.json');
|
||||
assert.equal(logCompletion.success, true); assert.equal(logCompletion.completions.length, 3);
|
||||
const completedLogBySource = new Map(logCompletion.completions.map(row => [path.resolve(row.source), row]));
|
||||
for (const row of logCompletion.completions) {
|
||||
const bytes = fs.readFileSync(row.source);
|
||||
assert.equal(hash(bytes), row.completed.sha256);
|
||||
assert.equal(hash(bytes.subarray(0, row.original.bytes)), row.original.sha256);
|
||||
assert.equal(bytes.length - row.original.bytes, 199);
|
||||
}
|
||||
for (const [name, value] of Object.entries({ baseline, source, sourceIndex, ui, equivalence, archive, portable, installer, formal, smoke, artifacts, native, experience })) assert.equal(value.success, true, name);
|
||||
assert.equal(source.tests.tests, 495); assert.equal(source.tests.pass, 495);
|
||||
assert.equal(ui.suites, 23); assert.equal(ui.groups, 179);
|
||||
assert.equal(installer.cases.length, 7); assert.equal(installer.installer.productSetup.sha256, release.installer.sha256);
|
||||
assert.equal(installer.installer.qaFixture.fault, 'none');
|
||||
assert.equal(installer.installer.samePayloadManifestSha256, hash(fs.readFileSync(path.join(release.portableRoot, 'MANIFEST.json'))));
|
||||
assert.equal(installer.realModelRequests, 0); assert.equal(installer.ownedModelRequests, 2);
|
||||
assert.equal(formal.version, '1.15.0'); assert.equal(formal.deploymentMode, 'user-restarted-live-upgrade-with-canonical-storage-fix');
|
||||
assert.equal(formal.identity.pid, 36552); assert.equal(formal.identity.pid, read('.qa/desktop-host-f-formal-start.json').identity.pid); assert.equal(formal.inspectorClosed, true);
|
||||
assert.equal(read('.qa/desktop-host-f-resumption/resumption.json').originalHost.actualProcess, null);
|
||||
assert.equal(formal.currentProviderPreserved, true); assert.equal(formal.retained.currentProviderStatePreserved, true); assert.equal(formal.originalMemoryCredentialsRecovered, false);
|
||||
assert.equal(formal.setupSha256, release.installer.sha256); assert.equal(native.installedRoot, formal.candidate);
|
||||
assert.equal(native.hostPid, formal.identity.pid); assert.equal(smoke.results.length, 18);
|
||||
assert.equal(formal.credentialPage.status, 200); assert.equal(formal.credentialPage.unavailable, false);
|
||||
assert.equal(native.credentialPage.status, 200); assert.equal(native.credentialPage.unavailable, false);
|
||||
assert.equal(experience.results.length, 2); assert.deepEqual(experience.blockedWrites, []); assert.deepEqual(experience.errors, []);
|
||||
for (const key of ['pageErrors', 'requestFailures', 'httpErrors', 'blockedWrites']) assert.deepEqual(smoke[key], [], key);
|
||||
assert.equal(artifacts.checked, artifacts.total); assert.equal(artifacts.total, formal.counts.artifactRecords);
|
||||
assert.equal(artifacts.blobFiles, formal.counts.blobFiles); assert.equal(artifacts.referencedBlobFiles, artifacts.blobFiles);
|
||||
assert.deepEqual(artifacts.unreferencedBlobFiles, []);
|
||||
assert.equal(path.resolve(portable.appRoot), path.resolve(release.portableRoot));
|
||||
assert.equal(portable.actualControlled.success, true); assert.equal(portable.actualControlled.cases.length, 4);
|
||||
assert.equal(portable.actualControlled.realModelRequests, 0); assert.equal(source.actualDesktop.window.results.length, 7);
|
||||
assert.equal(source.actualDesktop.ui.assertions.length, 9); assert.equal(source.actualDesktop.projects.cases.length, 16);
|
||||
const actual = await publicSnapshot('http://127.0.0.1:4318', formal.dataRoot);
|
||||
compareUserStartHistory(read('.qa/desktop-host-f-formal-before.json'), read('.qa/desktop-host-f-user-started-before.json'));
|
||||
compareCorrectiveState(actual);
|
||||
assert.equal(actual.version, '1.15.0'); assert.equal(path.resolve(actual.runtimeRoot), path.resolve(formal.candidate));
|
||||
|
||||
const git = args => execFileSync('git', args, { windowsHide: true, env: gitEnvironment(), maxBuffer: 16 * 1024 * 1024 });
|
||||
assert.equal(git(['rev-parse', '--show-object-format']).toString().trim(), 'sha1');
|
||||
const tree = new Map(git(['ls-tree', '-r', '-z', 'HEAD']).toString().split('\0').filter(Boolean).map(value => {
|
||||
const match = /^(\d+) blob ([0-9a-f]+)\t(.+)$/.exec(value); assert.ok(match); return [match[3], match[2]];
|
||||
}));
|
||||
const generatedPaths = ['cli.mjs', 'normalize.mjs', 'package.json', 'render.mjs', 'summary.mjs'].map(name => 'examples/delivery-report/dist/' + name);
|
||||
assert.deepEqual(baseline.inputs.filter(row => !tree.has(row.path)).map(row => row.path).sort(), generatedPaths);
|
||||
const generatorPath = 'examples/delivery-report/scripts/build.mjs';
|
||||
const generatorBytes = fs.readFileSync(generatorPath);
|
||||
assert.deepEqual(generatorBytes, git(['show', 'HEAD:' + generatorPath]));
|
||||
assert.equal(hash(generatorBytes), baseline.inputs.find(row => row.path === generatorPath).sha256);
|
||||
const allowedNormalizedPaths = ['scripts/verify-ui.mjs', 'src/client/SkillCenter.tsx', 'src/client/styles.css', 'tests/skills.test.mjs'];
|
||||
const generatedExampleInputs = [], normalizedGitInputs = []; let committedInputs = 0, rawGitExactInputs = 0;
|
||||
for (const row of baseline.inputs) {
|
||||
const bytes = fs.readFileSync(row.path); assert.equal(bytes.length, row.bytes); assert.equal(hash(bytes), row.sha256, row.path);
|
||||
if (tree.has(row.path)) {
|
||||
const blob = createHash('sha1').update(Buffer.from('blob ' + bytes.length + '\0')).update(bytes).digest('hex');
|
||||
if (tree.get(row.path) === blob) rawGitExactInputs++;
|
||||
else {
|
||||
assert.ok(allowedNormalizedPaths.includes(row.path), row.path + ': Unreviewed Git representation difference.');
|
||||
const committed = git(['show', 'HEAD:' + row.path]);
|
||||
assert.deepEqual(Buffer.from(bytes.toString('utf8').replaceAll('\r\n', '\n')), committed, row.path + ': Difference beyond CRLF to LF.');
|
||||
normalizedGitInputs.push({ ...row, gitBlob: tree.get(row.path), gitBytes: committed.length, gitSha256: hash(committed),
|
||||
crlfCount: bytes.toString('utf8').split('\r\n').length - 1, normalization: 'CRLF to LF only; complete resulting buffer equals the original Git blob.' });
|
||||
}
|
||||
committedInputs++;
|
||||
} else {
|
||||
assert.ok(generatedPaths.includes(row.path));
|
||||
const sourcePath = row.path.endsWith('/package.json') ? null : row.path.replace('/dist/', '/src/');
|
||||
const expected = sourcePath ? git(['show', 'HEAD:' + sourcePath]) : Buffer.from('{"type":"module"}\n');
|
||||
assert.deepEqual(bytes, expected, row.path + ': Generated product differs from its committed source / fixed builder output.');
|
||||
generatedExampleInputs.push({ ...row, sourcePath, generatorPath, generatorSha256: hash(generatorBytes), derivation: sourcePath ? 'Byte-for-byte copy of the committed source module.' : 'Exact literal package.json emitted by the committed build.mjs.' });
|
||||
}
|
||||
}
|
||||
assert.equal(committedInputs, 355); assert.equal(generatedExampleInputs.length, 5);
|
||||
assert.equal(rawGitExactInputs, 351); assert.deepEqual(normalizedGitInputs.map(row => row.path), allowedNormalizedPaths);
|
||||
for (const row of baseline.builds.concat(baseline.benchmarks)) assert.equal(hash(fs.readFileSync(row.path)), row.sha256, row.path);
|
||||
for (const kind of ['source', 'portable']) {
|
||||
const zip = release[kind], evidence = archive.archives.find(value => value.kind === kind);
|
||||
assert.equal(hash(fs.readFileSync(zip.path)), zip.sha256); assert.equal(evidence.sha256, zip.sha256);
|
||||
}
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
|
||||
const directory = 'docs/desktop-host-f-final-evidence';
|
||||
const inputFile = '.qa/desktop-host-f-final-git-inputs.json';
|
||||
const identityFile = 'docs/desktop-host-release-identity.json';
|
||||
for (const file of [directory, inputFile, identityFile]) assert.equal(fs.existsSync(file), false, file);
|
||||
const files = [], seen = new Map(), queued = [];
|
||||
function copyBytes(file, bytes, expected = null, generated = false) {
|
||||
const absolute = path.resolve(file), existing = seen.get(absolute);
|
||||
if (existing) { if (expected?.sha256) assert.equal(existing.sha256, expected.sha256); return existing; }
|
||||
const sha256 = hash(bytes);
|
||||
if (expected?.sha256) assert.equal(sha256, expected.sha256, file);
|
||||
if (expected?.bytes !== undefined) assert.equal(bytes.length, expected.bytes, file);
|
||||
const destination = path.join(directory, String(files.length + 1).padStart(3, '0') + '-' + path.basename(file).replace(/\.log$/, '-log.txt'));
|
||||
const row = { source: absolute, path: destination.replaceAll('\\', '/'), bytes: bytes.length, sha256 };
|
||||
files.push(row); seen.set(absolute, row); queued.push({ row, bytes, generated }); return row;
|
||||
}
|
||||
function copy(file, expected = null) {
|
||||
assert.doesNotMatch(file, /\.sqlite(?:-(?:wal|shm))?$/i, 'Private database contents must never be sealed.');
|
||||
const stat = fs.lstatSync(file); assert.ok(stat.isFile() && !stat.isSymbolicLink(), file);
|
||||
return copyBytes(file, fs.readFileSync(file), expected);
|
||||
}
|
||||
function copyReferencedExternal(file, expected) {
|
||||
const completion = completedLogBySource.get(path.resolve(file));
|
||||
if (!completion) return copy(file, expected);
|
||||
assert.equal(expected.sha256, completion.original.sha256);
|
||||
const row = copy(completion.original.path, completion.original);
|
||||
row.originalExternalReference = { path: file, sha256: expected.sha256, completionEvidence: '.qa/desktop-host-f-final-uninstall-log-completion/index.json' };
|
||||
copy(completion.completed.path, completion.completed);
|
||||
return row;
|
||||
}
|
||||
for (const file of ['releases/latest.json', '.qa/desktop-host-f-final-package-equivalence.json', '.qa/archives-validation.json', '.qa/release-validation.json',
|
||||
'.qa/desktop-host-final-install-location.json', installerLocation.result, '.qa/desktop-host-f-formal-before.json',
|
||||
'.qa/desktop-host-f-formal-stage.json', '.qa/desktop-host-f-formal-adopt-stage.json', '.qa/desktop-host-f-formal-upgrade.json', '.qa/desktop-host-f-formal-after-upgrade.json',
|
||||
'.qa/desktop-host-f-formal-start.json', '.qa/desktop-host-f-formal-after-start.json',
|
||||
'.qa/desktop-host-f-formal-activate.json', '.qa/desktop-host-f-formal-after-activate.json',
|
||||
'.qa/desktop-host-f-formal-ui-validation.json', '.qa/desktop-host-f-formal-artifacts.json',
|
||||
'.qa/desktop-host-f-native-window-review.json', '.qa/desktop-host-f-product-ux-review.json', '.qa/review-desktop-f-product-ux.mjs', '.qa/desktop-f-state.mjs', '.qa/deploy-desktop-f-final.mjs',
|
||||
'.qa/verify-desktop-f-final-install.mjs', '.qa/verify-desktop-f-final-equivalence.mjs', '.qa/smoke-desktop-f-formal.mjs',
|
||||
'.qa/verify-desktop-f-formal-artifacts.mjs', '.qa/run-desktop-f.mjs', '.qa/seal-desktop-f-source.mjs', '.qa/seal-desktop-f-final.mjs',
|
||||
'.qa/package-desktop-f-preserved-runtime.mjs', '.qa/desktop-host-f-preserved-runtime-package.json',
|
||||
'.qa/record-f-resumption.mjs', '.qa/compare-desktop-f-recovery.mjs', '.qa/deploy-desktop-f-recovery.mjs',
|
||||
'.qa/compare-desktop-f-user-start.mjs', '.qa/deploy-desktop-f-user-live.mjs', '.qa/desktop-host-f-user-started-before.json',
|
||||
'.qa/desktop-host-f-formal-stage-difference.json', '.qa/desktop-host-f-formal-project-changes.json']) copy(file);
|
||||
for (const entry of fs.readdirSync('.qa/desktop-host-f-resumption')) copy(path.join('.qa/desktop-host-f-resumption', entry));
|
||||
for (const entry of fs.readdirSync('.qa/desktop-host-f-short-crash-failure')) copy(path.join('.qa/desktop-host-f-short-crash-failure', entry));
|
||||
for (const subdir of ['desktop-host-f-formal-assumption-failures', 'desktop-host-f-credential-path-failure', 'desktop-host-f-canonical-parallel-failures', 'desktop-host-f-canonical-source-interruption', 'desktop-host-f-canonical-ui-path-failure', 'desktop-host-f-canonical-stage-preflight-failure', 'desktop-host-f-canonical-stage-timeout-failure', 'desktop-host-f-canonical-upgrade-comparison-failure', 'desktop-host-f-canonical-formal-ui-selection-failure', 'desktop-host-f-final-seal-input-failure', 'desktop-host-f-final-seal-git-byte-failure', 'desktop-host-f-final-uninstall-log-completion', 'desktop-host-f-before-canonical-storage']) {
|
||||
for (const entry of fs.readdirSync('.qa/' + subdir)) copy(path.join('.qa', subdir, entry));
|
||||
}
|
||||
for (const file of ['.qa/preserve-f-formal-assumption-failures.mjs', '.qa/preserve-f-credential-path-failure.mjs', '.qa/preserve-f-canonical-parallel-failures.mjs', '.qa/preserve-f-canonical-source-interruption.mjs',
|
||||
'.qa/freeze-f-canonical-storage.mjs', '.qa/prepare-f-canonical-installer-qa.mjs', '.qa/verify-desktop-f-canonical-storage-guard-install.mjs',
|
||||
'.qa/desktop-host-f-canonical-storage-guard-qa-installer.json', '.qa/desktop-host-f-canonical-storage-release.json',
|
||||
'.qa/desktop-host-f-canonical-guard-package-delta.json', '.qa/verify-f-canonical-package-delta.mjs',
|
||||
'.qa/deploy-f-canonical-storage.mjs', '.qa/seal-desktop-f-canonical-storage-source.mjs', '.qa/seal-f-canonical-ui.mjs',
|
||||
'.qa/run-f-canonical-ui.mjs', '.qa/prepare-f-canonical-short-ui.mjs', '.qa/desktop-host-f-canonical-short-ui-source.json', '.qa/retire-f-canonical-qa-install.mjs', '.qa/sync-desktop-f-complete-docs.mjs',
|
||||
'.qa/adopt-f-corrective-upgrade.mjs', '.qa/diagnose-f-corrective-model-schema.mjs', '.qa/desktop-host-f-canonical-formal-upgrade-comparison-failure.json',
|
||||
'.qa/preserve-f-formal-ui-selection-failure.mjs', '.qa/record-f-final-native-review.mjs',
|
||||
'.qa/desktop-host-f-native-capture-format-diagnosis.json',
|
||||
'.qa/record-f-seal-input-assumption.mjs',
|
||||
'.qa/record-f-seal-line-ending-assumption.mjs', '.qa/audit-f-frozen-git-bytes.mjs',
|
||||
'.qa/audit-f-external-evidence.mjs', '.qa/record-f-uninstall-log-completion.mjs',
|
||||
'.qa/adopt-f-canonical-completed-stage.mjs', '.qa/desktop-host-f-canonical-formal-stage-timeout.json', '.qa/desktop-host-f-canonical-window-close.json',
|
||||
'.qa/adopt-f-canonical-experience-baseline.mjs', '.qa/diagnose-f-canonical-stage-difference.mjs', '.qa/compare-f-corrective-state.mjs',
|
||||
'.qa/desktop-host-f-canonical-experience-baseline.json', '.qa/desktop-host-f-canonical-current-before.json', '.qa/desktop-host-f-canonical-current-backup/backup-receipt.json',
|
||||
'.qa/desktop-host-f-canonical-formal-stage-rejected-before-experience-adoption.json',
|
||||
'docs/desktop-host-canonical-storage-code-baseline.json', 'docs/desktop-host-canonical-storage-initial-code-baseline.json', '.qa/desktop-host-f-canonical-storage-ui-report.json',
|
||||
'.qa/desktop-host-f-canonical-formal-ui.json', '.qa/desktop-host-f-canonical-formal-artifacts.json']) copy(file);
|
||||
for (const mode of ['stage', 'upgrade', 'activate', 'start', 'verify']) {
|
||||
copy('.qa/desktop-host-f-canonical-formal-' + mode + '.json');
|
||||
if (mode !== 'stage') copy('.qa/desktop-host-f-canonical-formal-after-' + mode + '.json');
|
||||
}
|
||||
copy('.qa/desktop-host-f-canonical-formal-before.json');
|
||||
const correctiveStage = read('.qa/desktop-host-f-canonical-formal-stage.json'); assert.equal(correctiveStage.success, true);
|
||||
copy(correctiveStage.setupLog, { sha256: correctiveStage.setupLogSha256 }); copy(correctiveStage.receipt, { sha256: correctiveStage.receiptSha256 });
|
||||
const retirement = read('.qa/desktop-host-f-canonical-parallel-failures/retirement.json');
|
||||
copyReferencedExternal(retirement.uninstallLog, { sha256: retirement.uninstallLogSha256 });
|
||||
const retired = read('.qa/desktop-host-f-short-crash-failure/diagnosis-and-retirement.json');
|
||||
assert.equal(retired.success, true); assert.equal(retired.ownedPersistentDataPreserved, true);
|
||||
copyReferencedExternal(retired.ownedUninstallLog, { sha256: retired.ownedUninstallLogSha256 });
|
||||
copy('.qa/retire-failed-short-installer.mjs');
|
||||
copy('.qa/desktop-host-f-recovery-backup/backup-receipt.json');
|
||||
copy('.qa/desktop-host-f-user-started-backup/backup-receipt.json');
|
||||
const adoptedStage = read('.qa/desktop-host-f-formal-adopt-stage.json'); assert.equal(adoptedStage.success, true);
|
||||
copy(adoptedStage.setupLog, { sha256: adoptedStage.setupLogSha256 }); copy(adoptedStage.receipt, { sha256: adoptedStage.receiptSha256 });
|
||||
for (const entry of fs.readdirSync('.qa')) if (/^desktop-host-f-.*-(final|run)-(result\.json|log\.txt)$/.test(entry)) copy(path.join('.qa', entry));
|
||||
for (const result of installer.cases) for (const field of ['processLog', 'setupLog', 'uninstallLog']) if (result[field]) copyReferencedExternal(result[field], { sha256: result[field + 'Sha256'] });
|
||||
for (const entry of fs.readdirSync(installer.root)) if (/\.txt$|\.log$/.test(entry)) {
|
||||
const file = path.join(installer.root, entry), completion = completedLogBySource.get(path.resolve(file));
|
||||
if (completion) copy(completion.completed.path, completion.completed); else copy(file);
|
||||
}
|
||||
for (const result of smoke.results) copy(result.screenshot, { sha256: result.screenshotSha256 });
|
||||
for (const result of experience.results) copy(result.screenshot, { sha256: result.screenshotSha256 });
|
||||
if (native.screenshot) copy(native.screenshot, { sha256: native.screenshotSha256 });
|
||||
for (const row of native.additionalEvidence ?? []) copy(row.path, row);
|
||||
copy(generatorPath);
|
||||
for (const row of generatedExampleInputs) copy(row.path, row);
|
||||
for (const row of normalizedGitInputs) copy(row.path, row);
|
||||
const inputs = { success: true, version: '1.15.0', codeCommit: baseline.codeCommit, gitTreeCheckedAtCommit: git(['rev-parse', 'HEAD']).toString().trim(),
|
||||
totalFrozenInputs: baseline.inputs.length, committedInputs, exactCommittedInputBytes: rawGitExactInputs, normalizedGitInputs, generatedExampleInputs,
|
||||
buildFiles: baseline.builds.length, benchmarkFiles: baseline.benchmarks.length, checkedAt: new Date().toISOString(),
|
||||
scope: 'All 360 frozen input SHA256/byte lengths retained. 351 committed inputs match their raw Git blobs; four explicitly listed text inputs differ only by CRLF/LF under the frozen Git attributes, with complete buffer comparison and original frozen bytes separately sealed. The five explicitly ignored example build products are checked against four committed source modules and exact literal package.json from the committed builder, and separately sealed. All 12 application builds and 40 benchmarks remain exact.' };
|
||||
copyBytes(inputFile, Buffer.from(JSON.stringify(inputs, null, 2)), null, true);
|
||||
const interruptedSource = read('.qa/desktop-host-f-canonical-source-interruption/index.json');
|
||||
assert.equal(interruptedSource.acceptanceCompleted, false);
|
||||
assert.equal(interruptedSource.observedCompletedTests, 311);
|
||||
const priorUiPathFailure = read('.qa/desktop-host-f-canonical-ui-path-failure/index.json');
|
||||
assert.equal(priorUiPathFailure.acceptanceCompleted, false); assert.equal(priorUiPathFailure.completedGroups, 111);
|
||||
const experienceBaseline=read('.qa/desktop-host-f-canonical-experience-baseline.json'); assert.equal(experienceBaseline.success,true);
|
||||
const selectionFailure = read('.qa/desktop-host-f-canonical-formal-ui-selection-failure/index.json');
|
||||
assert.equal(selectionFailure.acceptanceCompleted, false); assert.equal(selectionFailure.desktopPanelsPassed, 9);
|
||||
const activation = read('.qa/desktop-host-f-canonical-formal-activate.json');
|
||||
assert.equal(activation.success, true);
|
||||
const identity = { success: true, version: '1.15.0', codeCommit: baseline.codeCommit,
|
||||
evidenceCommitBeforeSeal: git(['rev-parse', 'HEAD']).toString().trim(), sealedAt: new Date().toISOString(), release,
|
||||
sourceTests: source.tests, frozen: { inputFiles: 360, committedInputFiles: committedInputs, rawExactGitInputFiles: rawGitExactInputs, normalizedLineEndingFiles: normalizedGitInputs.length,
|
||||
generatedExampleFiles: generatedExampleInputs.length, buildFiles: 12, benchmarkFiles: 40, allRawGitBytesExact: false, gitRepresentationVerified: true, allFrozenBytesRetained: true },
|
||||
generatedExampleInputProvenance: generatedExampleInputs,
|
||||
gitLineEndingProvenance: normalizedGitInputs,
|
||||
uninstallLogCompletionProvenance: logCompletion.completions,
|
||||
priorIncompleteSource: { sourceRoot: interruptedSource.sourceRoot, acceptanceCompleted: false,
|
||||
observedCompletedTests: interruptedSource.observedCompletedTests, reason: interruptedSource.reason,
|
||||
scope: 'The first storage-fix candidate was deliberately interrupted to add explicit junction and ancestor rejection. Its partial TAP is retained and does not count as a completed acceptance.' },
|
||||
priorUiPathFailure: { acceptanceCompleted: false, completedSuites: 12, completedGroups: 111,
|
||||
originalRoot: priorUiPathFailure.originalRoot, reason: priorUiPathFailure.reason,
|
||||
acceptedShortRoot: ui.independentRoot, guardUnchanged: true },
|
||||
experienceBaselineAddition:experienceBaseline,
|
||||
installerStageAdoption: { parentInvocationTimedOut:true, independentAdoption:true, setupNotRepeated:true, scope:'Original 360-second timeout is retained as failure; the owned manager subsequently completed staging and exited. Full candidate manifest, receipt, live host, original pointer and all 29-session data were independently reverified before adoption.' },
|
||||
formalUiSelectionCorrection: { originalAcceptanceCompleted: false, desktopPanelsPassedBeforeFailure: 9,
|
||||
preservedFiles: selectionFailure.files.length, acceptedViews: smoke.results.length, productChanged: false,
|
||||
scope: 'Original narrow-screen QA incorrectly queried a project selector after selection closed the drawer. The validator now reopens the drawer, verifies the actual selection and closes it. The original failed report and screenshots are retained separately from the complete 18-view rerun.' },
|
||||
installationExperience: { activationDurationMs: Date.parse(activation.finishedAt) - Date.parse(activation.startedAt),
|
||||
scope: 'Full installed-payload validation remains slow. The original staging parent timed out at 360 seconds; independent adoption preserved its later completed receipt. Validation/startup latency and long custom-path preflight remain follow-up work, not implemented performance improvements.' },
|
||||
desktop: { windowCases: 7, engineUiCases: 9, engineeringNodes: 16, parentTests: [8, 9, 10], currentInstallerQaCases: 7,
|
||||
installerQaAppId: installer.installer.qaFixture.appId, productSetupStagedAtFormalInstallation: true,
|
||||
productSetupSha256: release.installer.sha256, isolatedQaSetupSha256: installer.installer.sha256, nativeReview: native },
|
||||
historicalUi: { suites: 23, groups: 179 }, deployed: { pid: formal.identity.pid, runtimeRoot: formal.candidate, installRoot: formal.installRoot, dataRoot: formal.dataRoot,
|
||||
counts: formal.counts, modelConnections: actual.modelCenter.connections.length, modelPools: actual.modelCenter.pools.length,
|
||||
retained: formal.retained, inspectorClosed: formal.inspectorClosed, originalConnectionPreserved: actual.hasKey,
|
||||
deploymentMode: formal.deploymentMode, originalHostPid: 23172, originalHostAlreadyExited: true, originalMemoryCredentialsRecovered: false,
|
||||
userStartedPid: 36552, currentHostPreserved: true, currentProviderPreserved: true, userStartHistory: formal.userStart },
|
||||
formalUiViews: smoke.results.length, productExperience: { workflow: experience.workflow, actualViews: experience.results.length,
|
||||
minimumOrdinaryTextContrast: Math.min(...experience.results.flatMap(result => result.ordinaryText.map(item => item.contrast))), keyboardDialogAndFocusReturn: true,
|
||||
evidencePhase: 'Earlier observed product-UX acceptance is retained because final client/desktop bytes are unchanged under the complete package delta. Corrective formal pages and native credential rendering were separately observed after deployment.',
|
||||
clientAndDesktopBytesUnchanged: true },
|
||||
allArtifactInspection: { checked: artifacts.checked, total: artifacts.total, artifactRecords: artifacts.artifactRecords,
|
||||
blobFiles: artifacts.blobFiles, referencedBlobFiles: artifacts.referencedBlobFiles, pages: artifacts.pages.length },
|
||||
antecedents: ['docs/desktop-host-f-canonical-storage-accepted-source-evidence.json', 'docs/desktop-host-f-canonical-storage-all-ui-evidence.json',
|
||||
'docs/desktop-host-f-accepted-source-evidence.json', 'docs/desktop-host-f-final-all-ui-evidence.json',
|
||||
'docs/desktop-host-f-first-source-evidence.json', 'docs/desktop-host-f-first-all-ui-evidence.json', 'docs/desktop-host-f-runtime-time-evidence.json',
|
||||
'docs/desktop-host-ab-original-evidence.json', 'docs/desktop-install-d-evidence.json', 'docs/desktop-projects-e-evidence.json']
|
||||
.map(file => ({ path: file, bytes: fs.statSync(file).size, sha256: hash(fs.readFileSync(file)) })),
|
||||
files, realModelRequests: 0,
|
||||
unverified: { phonePairing: 'plan-only-1.16', realModelEngineering: 'deferred-by-user', purgeReasoningBenefit: 'not-measured',
|
||||
otherEngineAdapters: 'separate-future-slices', generalComputerControl: 'not-delivered', crossWindowsAccountCredentialLogin: 'not-tested' },
|
||||
scope: 'Final 1.15 immutable source, portable and actual product setup identity after formal Windows virtual data-root failure. Fresh source 495/495, historical UI, native engineering and portable acceptance belong to this corrective candidate. Its restart/uninstall installation QA uses a separately declared QA AppId with the identical payload and installer logic; the unmodified product setup was separately staged at the actual formal installation. The earlier candidate exact-product installer and all rejected formal/parallel runs remain antecedent evidence. Historical host 23172 was already absent. User manually started 1.14 host 36552, adding one release sample and shifting original project positions. Initial stage was independently adopted and upgraded once; its formal credential GET then returned 409. Corrective source normalizes the same physical Store directory without reopening SQLite or replacing Provider, followed by one additional corrective upgrade, pointer activation and actual native startup. All earlier rows/exports/blobs/model registry/pool/attempt values are retained. The reviewed experience interval adds one empty idle session and creation event/outbox; every current 29-session baseline row/export/blob remains exact through the corrective upgrade. Public vault fields alone change under strict versioned comparison. No historical unsaved key was recovered. Long custom install paths remain limited; initial parallel portable/native UI/process-identity failures are preserved, their exact transient causes not inferred from subsequent passes. Phone and real-model reasoning are separate.' };
|
||||
// Finish all input and identity checks before creating any evidence output.
|
||||
for (const { row, bytes, generated } of queued) {
|
||||
assert.equal(bytes.length, row.bytes); assert.equal(hash(bytes), row.sha256);
|
||||
if (!generated) assert.deepEqual(fs.readFileSync(row.source), bytes, row.source + ': changed during seal preflight');
|
||||
assert.equal(fs.existsSync(row.path), false, row.path);
|
||||
}
|
||||
for (const file of [directory, inputFile, identityFile]) assert.equal(fs.existsSync(file), false, file);
|
||||
for (const row of logCompletion.completions) assert.equal(hash(fs.readFileSync(row.source)), row.completed.sha256, row.source + ': completed log changed during preflight');
|
||||
fs.mkdirSync(directory);
|
||||
fs.writeFileSync(path.join(directory, '.gitattributes'), '* -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol\n*.txt binary\n*.log binary\n*.tap binary\n', { flag: 'wx' });
|
||||
for (const { row, bytes } of queued) {
|
||||
fs.writeFileSync(row.path, bytes, { flag: 'wx' }); assert.deepEqual(fs.readFileSync(row.path), bytes);
|
||||
}
|
||||
fs.writeFileSync(inputFile, JSON.stringify(inputs, null, 2), { flag: 'wx' });
|
||||
fs.writeFileSync(identityFile, JSON.stringify(identity, null, 2), { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, version: identity.version, sourceTests: 495, historicalUi: identity.historicalUi, files: files.length,
|
||||
pid: formal.identity.pid, counts: formal.counts, allArtifacts: artifacts.total, identity: 'docs/desktop-host-release-identity.json' }));
|
||||
@@ -0,0 +1,70 @@
|
||||
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';
|
||||
import { buildWindowsInstaller } from '../scripts/build-installer.mjs';
|
||||
import { gitEnvironment } from '../src/core/git-process.mjs';
|
||||
const workspace = process.cwd(), releases = path.resolve('releases');
|
||||
const read = file => JSON.parse(fs.readFileSync(file));
|
||||
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const accepted = read('.qa/desktop-host-f-accepted-code-release.json');
|
||||
const source = read('.qa/desktop-host-f-accepted-source.json');
|
||||
const reason = read('docs/desktop-host-f-runtime-time-evidence.json');
|
||||
const baseline = read('docs/desktop-host-relocation-code-baseline.json');
|
||||
assert.equal(source.success, true); assert.equal(source.tests.pass, 491); assert.equal(reason.success, true);
|
||||
assert.equal(read('docs/desktop-host-f-final-all-ui-evidence.json').groups, 179);
|
||||
for (const row of baseline.inputs.concat(baseline.builds, baseline.benchmarks)) assert.equal(hash(fs.readFileSync(row.path)), row.sha256, row.path);
|
||||
assert.equal(JSON.parse(fs.readFileSync('package.json')).version, '1.15.0');
|
||||
const suffix = new Date().toISOString().replace(/[-:TZ.]/g, '');
|
||||
const docs = file => file.startsWith('docs/') || ['README.md', 'CHANGELOG.md', 'DESIGN.md', 'AGENTS.md', 'task_plan.md', 'findings.md', 'progress.md'].includes(file);
|
||||
const outputs = {}, matched = [];
|
||||
function walk(directory, relative = '') {
|
||||
return fs.readdirSync(path.join(directory, relative), { withFileTypes: true }).sort((a, b) => a.name.localeCompare(b.name)).flatMap(item => {
|
||||
const name = path.join(relative, item.name); assert.equal(item.isSymbolicLink(), false, name);
|
||||
return item.isDirectory() ? walk(directory, name) : [name];
|
||||
});
|
||||
}
|
||||
function owned(root, relative) {
|
||||
const resolved = path.resolve(root, relative); assert.ok(resolved.startsWith(path.resolve(root) + path.sep)); return resolved;
|
||||
}
|
||||
for (const kind of ['portable', 'source']) {
|
||||
const origin = fs.realpathSync.native(accepted[kind + 'Root']), old = read(path.join(origin, 'MANIFEST.json'));
|
||||
assert.equal(old.app, 'agent-workbench'); assert.equal(old.version, '1.15.0'); assert.equal(old.kind, kind);
|
||||
const output = path.join(releases, 'Agent-Workbench-1.15.0-' + (kind === 'portable' ? 'win-x64' : 'source') + '-' + suffix);
|
||||
assert.ok(output.startsWith(releases + path.sep)); assert.equal(fs.existsSync(output), false); fs.mkdirSync(output);
|
||||
let copied = 0;
|
||||
for (const row of old.files) {
|
||||
const original = owned(origin, row.path); assert.ok(fs.lstatSync(original).isFile() && !fs.lstatSync(original).isSymbolicLink());
|
||||
const bytes = fs.readFileSync(original); assert.equal(bytes.length, row.bytes); assert.equal(hash(bytes), row.sha256, row.path);
|
||||
if (docs(row.path)) continue;
|
||||
const destination = owned(output, row.path); fs.mkdirSync(path.dirname(destination), { recursive: true }); fs.copyFileSync(original, destination); copied++;
|
||||
}
|
||||
const documentNames = ['docs', 'README.md', 'CHANGELOG.md', 'DESIGN.md', 'AGENTS.md', ...(kind === 'source' ? ['task_plan.md', 'findings.md', 'progress.md'] : [])];
|
||||
for (const name of documentNames) fs.cpSync(path.resolve(workspace, name), owned(output, name), { recursive: true });
|
||||
const files = walk(output).map(file => {
|
||||
const bytes = fs.readFileSync(owned(output, file)); return { path: file.replaceAll('\\', '/'), bytes: bytes.length, sha256: hash(bytes) };
|
||||
});
|
||||
const expected = old.files.filter(row => !docs(row.path)).slice().sort((a, b) => a.path.localeCompare(b.path));
|
||||
const actual = files.filter(row => !docs(row.path)).slice().sort((a, b) => a.path.localeCompare(b.path)); assert.deepEqual(actual, expected);
|
||||
const manifest = { app: old.app, version: old.version, kind, platform: old.platform, nodeVersion: old.nodeVersion, createdAt: new Date().toISOString(), files };
|
||||
fs.writeFileSync(path.join(output, 'MANIFEST.json'), JSON.stringify(manifest, null, 2), { flag: 'wx' });
|
||||
outputs[kind + 'Root'] = output; matched.push({ kind, origin, output, retainedNonDocumentationFiles: copied, manifestSha256: hash(fs.readFileSync(path.join(output, 'MANIFEST.json'))) });
|
||||
}
|
||||
const installer = buildWindowsInstaller({ root: workspace, portableRoot: outputs.portableRoot, outputRoot: releases });
|
||||
assert.equal(installer.qaFixture, null); assert.equal(installer.version, '1.15.0');
|
||||
const quote = value => "'" + value.replaceAll("'", "''") + "'";
|
||||
function archive(directory) {
|
||||
const destination = directory + '.zip'; assert.ok(destination.startsWith(releases + path.sep)); assert.equal(fs.existsSync(destination), false);
|
||||
const command = "$ErrorActionPreference='Stop'; Add-Type -AssemblyName System.IO.Compression.FileSystem; [IO.Compression.ZipFile]::CreateFromDirectory(" + quote(directory) + ', ' + quote(destination) + ', [IO.Compression.CompressionLevel]::Optimal, $true)';
|
||||
execFileSync('powershell.exe', ['-NoProfile', '-NonInteractive', '-Command', command], { windowsHide: true, env: gitEnvironment(), stdio: 'pipe' });
|
||||
return { path: destination, bytes: fs.statSync(destination).size, sha256: hash(fs.readFileSync(destination)) };
|
||||
}
|
||||
const result = { ...accepted, ...outputs, portable: archive(outputs.portableRoot), source: archive(outputs.sourceRoot), installer,
|
||||
portableFiles: read(path.join(outputs.portableRoot, 'MANIFEST.json')).files.length,
|
||||
documentationOnly: { origin: accepted, matched, documentationCommit: execFileSync('git', ['rev-parse', 'HEAD'], { windowsHide: true, env: gitEnvironment(), encoding: 'utf8' }).trim(),
|
||||
reasonEvidence: 'docs/desktop-host-f-runtime-time-evidence.json', originalRuntimeBuiltAt: reason.pairs[0].originalBuiltAt,
|
||||
scope: 'Every accepted non-documentation product/runtime/dependency/license byte inherited unchanged; current repository documentation copied into exclusively new outputs. New outer manifests, ZIPs and exact setup generated from these final payloads. Original accepted and rejected candidates remain unchanged.' } };
|
||||
fs.writeFileSync('.qa/desktop-host-f-preserved-runtime-package.json', JSON.stringify(result, null, 2), { flag: 'wx' });
|
||||
fs.writeFileSync(path.join(releases, 'latest.json'), JSON.stringify(result, null, 2));
|
||||
console.log(JSON.stringify({ success: true, version: '1.15.0', ...outputs, installerSha256: installer.sha256, matched: matched.map(row => ({ kind: row.kind, files: row.retainedNonDocumentationFiles })), portableFiles: result.portableFiles }));
|
||||
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352.zip",
|
||||
"bytes": 285546826,
|
||||
"sha256": "c2b4a0fafcff2e0a36211dab7dfe33dbb543462513fec700bd9342d58f6a4fa3"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352.zip",
|
||||
"bytes": 285837276,
|
||||
"sha256": "df1a8ff80f07e056580b405f3bac48dff008e7e76166a2e440565f86d00d9089"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352-Setup.exe",
|
||||
"bytes": 254698284,
|
||||
"sha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-5dce2e1a-5185-4f46-ac8a-2d8c8634df50\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"qaFixture": null
|
||||
},
|
||||
"desktopRuntime": {
|
||||
"version": "45.2.0",
|
||||
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
|
||||
"bytes": 249810432,
|
||||
"executable": "desktop/AgentWorkbench.exe",
|
||||
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
|
||||
},
|
||||
"nativeLauncher": {
|
||||
"bytes": 12288,
|
||||
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
|
||||
"inputs": {
|
||||
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
|
||||
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
|
||||
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
|
||||
},
|
||||
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
|
||||
},
|
||||
"nodeVersion": "v24.22.1",
|
||||
"reaRuntime": {
|
||||
"version": "6.8.0",
|
||||
"protocolVersion": "2025-03-26",
|
||||
"packages": 149,
|
||||
"files": 8413,
|
||||
"bytes": 142395402,
|
||||
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
|
||||
},
|
||||
"portableFiles": 12213,
|
||||
"licenseTexts": 86,
|
||||
"browserRuntime": {
|
||||
"playwrightVersion": "1.64.1",
|
||||
"packages": [
|
||||
{
|
||||
"name": "playwright",
|
||||
"version": "1.64.1",
|
||||
"files": 60
|
||||
},
|
||||
{
|
||||
"name": "playwright-core",
|
||||
"version": "1.64.1",
|
||||
"files": 115
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentationOnly": {
|
||||
"origin": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448.zip",
|
||||
"bytes": 272398551,
|
||||
"sha256": "985bcc6588f37f81df5da7e147a275f1b5fc2c9084919695e6585dba53598ec1"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448.zip",
|
||||
"bytes": 272688898,
|
||||
"sha256": "c3901cd37e26c5ed644e0d88505900c8bb953794569e4e8b05dc2660ec32f07a"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448-Setup.exe",
|
||||
"bytes": 241882526,
|
||||
"sha256": "fc0921e60bd402c2366f43bafe5bdcc5637f0e98a8a3a0c93630c140aabc58be",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-991cf264-4583-4172-8e44-38772e648f0c\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"qaFixture": null
|
||||
},
|
||||
"desktopRuntime": {
|
||||
"version": "45.2.0",
|
||||
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
|
||||
"bytes": 249810432,
|
||||
"executable": "desktop/AgentWorkbench.exe",
|
||||
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
|
||||
},
|
||||
"nativeLauncher": {
|
||||
"bytes": 12288,
|
||||
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
|
||||
"inputs": {
|
||||
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
|
||||
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
|
||||
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
|
||||
},
|
||||
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
|
||||
},
|
||||
"nodeVersion": "v24.22.1",
|
||||
"reaRuntime": {
|
||||
"version": "6.8.0",
|
||||
"protocolVersion": "2025-03-26",
|
||||
"packages": 149,
|
||||
"files": 8413,
|
||||
"bytes": 142395402,
|
||||
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
|
||||
},
|
||||
"portableFiles": 11960,
|
||||
"licenseTexts": 86,
|
||||
"browserRuntime": {
|
||||
"playwrightVersion": "1.64.1",
|
||||
"packages": [
|
||||
{
|
||||
"name": "playwright",
|
||||
"version": "1.64.1",
|
||||
"files": 60
|
||||
},
|
||||
{
|
||||
"name": "playwright-core",
|
||||
"version": "1.64.1",
|
||||
"files": 115
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"matched": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"origin": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"output": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"retainedNonDocumentationFiles": 10721,
|
||||
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467"
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"origin": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"output": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352",
|
||||
"retainedNonDocumentationFiles": 10996,
|
||||
"manifestSha256": "bf5dc1d2a04377129465e3c2d62f49eff2218eff0939f253ad62e519b9ed4d52"
|
||||
}
|
||||
],
|
||||
"documentationCommit": "dd31eefc77adbe8cd67bb0713fcc42c92b4cf94f",
|
||||
"reasonEvidence": "docs/desktop-host-f-runtime-time-evidence.json",
|
||||
"originalRuntimeBuiltAt": "2026-10-31T04:36:22.133Z",
|
||||
"scope": "Every accepted non-documentation product/runtime/dependency/license byte inherited unchanged; current repository documentation copied into exclusively new outputs. New outer manifests, ZIPs and exact setup generated from these final payloads. Original accepted and rejected candidates remain unchanged."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import net from 'node:net';
|
||||
import assert from 'node:assert/strict';
|
||||
import { isDeepStrictEqual, promisify } from 'node:util';
|
||||
import { execFile } from 'node:child_process';
|
||||
import { databaseSnapshot, hash } from './desktop-f-state.mjs';
|
||||
import { snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
|
||||
import { observeWindowsProcess } from '../src/core/desktop/process-identity.mjs';
|
||||
const dataRoot = 'C:/Users/wangy/AppData/Local/Packages/OpenAI.Codex_2p2nqsd0c76g0/LocalCache/Local/AgentWorkbench';
|
||||
const root = '.qa/desktop-host-f-resumption';
|
||||
fs.mkdirSync(root);
|
||||
const copy = (source, name = path.basename(source)) => { const bytes = fs.readFileSync(source), target = path.join(root, name); fs.writeFileSync(target, bytes, { flag: 'wx' }); return { source, target, bytes: bytes.length, sha256: hash(bytes) }; };
|
||||
const first = JSON.parse(fs.readFileSync('.qa/desktop-host-final-install-location.json'));
|
||||
const originals = ['result.json', 'exact-setup.log', 'exact-setup-process.txt'].map(name => copy(path.join(first.root, name)));
|
||||
originals.push(copy('.qa/verify-desktop-f-final-install.mjs', 'original-install-runner.mjs'), copy('.qa/desktop-host-f-installer-final-result.json'), copy('.qa/desktop-host-f-installer-final-log.txt'));
|
||||
const log = fs.readFileSync(path.join(first.root, 'exact-setup.log'), 'utf8');
|
||||
const failing = log.split(/\r?\n/).find(line => line.includes('Dest filename:') && line.includes('035-agent-workbench-engine-run-'))?.split('Dest filename: ')[1];
|
||||
assert.ok(failing); assert.match(log, /MoveFile failed; code 3/);
|
||||
let registryAbsent = false; try { await promisify(execFile)('reg.exe', ['query', 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{E914E883-46F9-4B82-B27F-BDB2B40DCC90}_is1'], { windowsHide: true }); } catch (error) { assert.equal(error.code, 1); registryAbsent = true; }
|
||||
assert.equal(registryAbsent, true);
|
||||
const observed = observeWindowsProcess(23172); assert.equal(observed, null);
|
||||
const refused = await new Promise((resolve, reject) => { const socket = net.createConnection({ host: '127.0.0.1', port: 4318 }); socket.setTimeout(1500); socket.once('connect', () => { socket.destroy(); reject(Error('Port became occupied; review before recovery')); }); socket.once('timeout', () => { socket.destroy(); reject(Error('Port uncertain')); }); socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve(true) : reject(error); }); });
|
||||
const initial = JSON.parse(fs.readFileSync('.qa/desktop-host-f-initial-state.json'));
|
||||
const database = databaseSnapshot(dataRoot), persistent = snapshotPersistentData(dataRoot);
|
||||
const report = { success: true, observedAt: new Date().toISOString(), dataRoot, originalHost: { expectedPid: 23172, actualProcess: observed, port4318Refused: refused, status: 'already-exited-at-resumption', cause: 'unknown; no termination or restart performed by this audit', memoryCredentialRecovery: 'unavailable; never read, copied or persisted' },
|
||||
installerFailure: { originals, originalRoot: first.root, exactError: 'MoveFile failed; code 3', failedPath: failing, failedPathCharacters: failing.length, registryAbsentAfterRollback: registryAbsent, diagnosis: 'Failure occurred renaming an overlong path; repeat the identical setup bytes in a shorter exclusive C drive directory to isolate this variable.' },
|
||||
database, persistent, initialSnapshotComparison: { databaseTablesExact: isDeepStrictEqual(database.tables, initial.database.tables), persistentExact: isDeepStrictEqual(persistent, initial.persistent) },
|
||||
next: 'Validate exact installer independently, then recover stopped formal host preserving every original persistent row and artifact. Same-process/Provider retention cannot be claimed.' };
|
||||
fs.writeFileSync(path.join(root, 'resumption.json'), JSON.stringify(report, null, 2), { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: report.success, pathCharacters: failing.length, registryAbsent, originalProcess: observed, portRefused: refused, retained: report.initialSnapshotComparison, counts: Object.fromEntries(Object.entries(database.tables).map(([k,v]) => [k,v.count])), artifacts: persistent.artifacts.length }));
|
||||
@@ -0,0 +1,35 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import { canonical } from './desktop-f-state.mjs';
|
||||
export function compareRecoveryState(original, actual) {
|
||||
assert.deepEqual(canonical(actual.database.tables), canonical(original.database.tables), 'Every original table schema and persistent row');
|
||||
assert.deepEqual(actual.database.sessionIds, original.database.sessionIds);
|
||||
assert.deepEqual(actual.persistent, original.persistent, 'Every original artifact and public disk file');
|
||||
assert.deepEqual(actual.exports, original.exports, 'Every original session export');
|
||||
for (const name of ['projectsSha256', 'sessionsSha256', 'eventCursor', 'projects', 'visibleSessions']) assert.deepEqual(actual[name], original[name], name);
|
||||
assert.equal(actual.hasKey, false, 'Original unsaved in-memory key was lost when the prior process exited; never synthesize recovery.');
|
||||
const before = structuredClone(original.modelCenter), after = structuredClone(actual.modelCenter), changes = [];
|
||||
assert.equal(after.connections.length, before.connections.length);
|
||||
for (let i = 0; i < before.connections.length; i++) {
|
||||
const a = before.connections[i], b = after.connections[i]; assert.equal(b.id, a.id); assert.equal(b.hasKey, false);
|
||||
if (Object.hasOwn(b, 'savedCredential')) {
|
||||
assert.deepEqual(b.savedCredential, { status: 'not_saved', storage: 'memory', message: '当前凭据只在宿主内存中。' });
|
||||
changes.push({ connectionId: b.id, field: 'savedCredential', original: 'field absent in 1.14', actual: b.savedCredential, reason: '1.15 read-only credential inspection initializes public vault status without saving a row or key' });
|
||||
delete b.savedCredential;
|
||||
}
|
||||
assert.equal(b.activeRequests, 0); assert.deepEqual(b.health, { state: 'unverified' });
|
||||
assert.equal(b.credentialRevision, b.id === 'legacy-default' ? 1 : 0);
|
||||
const fields = ['hasKey', 'credentialRevision', 'health', 'status'];
|
||||
assert.equal(b.status, !b.enabled ? 'disabled' : b.requiresKey ? 'needs_key' : 'configured');
|
||||
for (const field of fields) { if (JSON.stringify(a[field]) !== JSON.stringify(b[field])) changes.push({ connectionId: a.id, field, original: a[field], actual: b[field] }); b[field] = a[field]; }
|
||||
}
|
||||
assert.match(after.storage.restart, /临时凭据.*已明确本机加密保存/);
|
||||
assert.ok(['memory', 'memory-or-windows-user-dpapi'].includes(after.storage.credentials));
|
||||
if (after.storage.credentials !== before.storage.credentials) changes.push({ field: 'storage.credentials', original: before.storage.credentials, actual: after.storage.credentials, reason: '1.15 public vault availability after read-only credential inspection' });
|
||||
after.storage.credentials = before.storage.credentials;
|
||||
changes.push({ field: 'storage.restart', original: before.storage.restart, actual: after.storage.restart });
|
||||
after.storage.restart = before.storage.restart;
|
||||
assert.deepEqual(after, before, 'Registry, selected route, pools, attempts and every other public model-center field');
|
||||
return { originalRows: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact', originalProjectsAndSessions: 'exact', originalModelRegistryPoolsAndAttempts: 'exact',
|
||||
originalHostRetained: false, originalProviderRetained: false, originalUnsavedCredentialsRecovered: false, modelCenterLifecycleChanges: changes,
|
||||
scope: 'Stopped-host recovery. Only documented volatile credential/health lifecycle fields and the versioned explanatory text are compared separately; no original persistent row, export, artifact or request record is exempted.' };
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import net from 'node:net';
|
||||
import { execFile, spawn } from 'node:child_process';
|
||||
import { promisify, isDeepStrictEqual } from 'node:util';
|
||||
import { databaseSnapshot, publicSnapshot, hash } from './desktop-f-state.mjs';
|
||||
import { compareRecoveryState } from './compare-desktop-f-recovery.mjs';
|
||||
import { InstallationManager, validateInstalledVersion, snapshotPersistentData } 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';
|
||||
const mode = process.argv[2]; assert.ok(['stage', 'activate', 'start', 'verify'].includes(mode));
|
||||
const installRoot = 'C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench';
|
||||
const dataRoot = 'C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench';
|
||||
const url = 'http://127.0.0.1:4318', port = 4318;
|
||||
const read = file => JSON.parse(fs.readFileSync(file));
|
||||
const save = (file, value) => fs.writeFileSync(file, JSON.stringify(value, null, 2), { flag: 'wx' });
|
||||
const original = read('.qa/desktop-host-f-initial-state.json'), resumption = read('.qa/desktop-host-f-resumption/resumption.json');
|
||||
const backup = read('.qa/desktop-host-f-recovery-backup/backup-receipt.json');
|
||||
assert.equal(backup.success, true); assert.equal(backup.originalTablesExact, true);
|
||||
assert.equal(hash(fs.readFileSync(backup.database)), backup.sha256);
|
||||
assert.deepEqual(databaseSnapshot(path.dirname(backup.database)).tables, resumption.database.tables);
|
||||
assert.equal(resumption.success, true); assert.equal(resumption.originalHost.actualProcess, null);
|
||||
assert.deepEqual(resumption.initialSnapshotComparison, { databaseTablesExact: true, persistentExact: true });
|
||||
const release = read('releases/latest.json'), installer = read(read('.qa/desktop-host-final-install-location.json').result), portable = read('.qa/release-validation.json');
|
||||
assert.equal(release.installer.version, '1.15.0'); assert.equal(release.installer.qaFixture, null);
|
||||
assert.equal(installer.success, true); assert.equal(installer.cases.length, 7); assert.equal(installer.installer.sha256, release.installer.sha256);
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
assert.equal(portable.success, true); assert.equal(fs.realpathSync.native(portable.appRoot), fs.realpathSync.native(release.portableRoot));
|
||||
const candidate = path.join(installRoot, 'versions', release.installer.candidateDirectory);
|
||||
const output = '.qa/desktop-host-f-formal-' + mode + '.json'; assert.equal(fs.existsSync(output), false, 'Do not repeat a journaled formal phase.');
|
||||
const portClosed = port => new Promise((resolve, reject) => { const socket = net.createConnection({ host: '127.0.0.1', port }); socket.setTimeout(1500);
|
||||
socket.once('connect', () => { socket.destroy(); reject(Error('Port ' + port + ' is occupied')); }); socket.once('timeout', () => { socket.destroy(); reject(Error('Port state uncertain')); }); socket.once('error', e => { socket.destroy(); e.code === 'ECONNREFUSED' ? resolve(true) : reject(e); }); });
|
||||
function diskUnchanged() { assert.ok(isDeepStrictEqual(databaseSnapshot(dataRoot).tables, resumption.database.tables), 'Every original schema and row'); assert.deepEqual(snapshotPersistentData(dataRoot), resumption.persistent); }
|
||||
const controller = () => new HostController({ appRoot: candidate, dataRoot, port, nodePath: path.join(candidate, 'runtime/node.exe') });
|
||||
const startedAt = new Date().toISOString(); let result;
|
||||
try {
|
||||
assert.equal(observeWindowsProcess(23172), null); await portClosed(9229); diskUnchanged();
|
||||
if (mode === 'stage') {
|
||||
await portClosed(port); assert.equal(fs.existsSync(candidate), false); assert.equal(fs.existsSync(path.join(installRoot, 'current.json')), false);
|
||||
save('.qa/desktop-host-f-formal-before.json', original);
|
||||
const setupLog = path.resolve('.qa/desktop-host-f-formal-setup.log'); assert.equal(fs.existsSync(setupLog), false);
|
||||
await promisify(execFile)(release.installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/TASKS=desktopicon', '/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=' + port, '/STAGE_ONLY=1', '/LOG=' + setupLog], { windowsHide: true, env: projectEnvironment(), timeout: 300000, maxBuffer: 1024 * 1024 });
|
||||
const identity = validateInstalledVersion(candidate); diskUnchanged(); await portClosed(port);
|
||||
assert.equal(fs.existsSync(path.join(installRoot, 'current.json')), false);
|
||||
result = { success: true, phase: 'staged', version: '1.15.0', setupLog, setupLogSha256: hash(fs.readFileSync(setupLog)), candidateIdentity: identity.identitySha256, originalDataRetained: true };
|
||||
} else {
|
||||
const staged = read('.qa/desktop-host-f-formal-stage.json'); assert.equal(staged.success, true); assert.equal(staged.setupSha256, release.installer.sha256);
|
||||
const identity = validateInstalledVersion(candidate); assert.equal(identity.identitySha256, staged.candidateIdentity);
|
||||
if (mode === 'activate') {
|
||||
await portClosed(port);
|
||||
const activated = await new InstallationManager({ installRoot, dataRoot, candidateRoot: candidate, port }).activate();
|
||||
assert.equal(activated.phase, 'activated'); assert.equal(activated.hostRetained, false); diskUnchanged(); await portClosed(port);
|
||||
result = { success: true, phase: 'activated', version: '1.15.0', activated, originalDataRetained: true, hostNotStarted: true };
|
||||
} else {
|
||||
assert.equal(read('.qa/desktop-host-f-formal-activate.json').success, true);
|
||||
const host = controller();
|
||||
if (mode === 'start') {
|
||||
await portClosed(port);
|
||||
const child = spawn(path.join(installRoot, 'AgentWorkbench.exe'), [], { cwd: installRoot, env: projectEnvironment(), windowsHide: true, stdio: 'ignore' });
|
||||
const timer = setTimeout(() => child.kill(), 30000);
|
||||
const exitCode = await new Promise((resolve, reject) => { child.once('error', reject); child.once('exit', resolve); }); clearTimeout(timer); assert.equal(exitCode, 0);
|
||||
const deadline = Date.now() + 60000; let connected;
|
||||
while (!(connected = await host.connect())) { assert.ok(Date.now() < deadline, 'Installed native host startup'); await new Promise(resolve => setTimeout(resolve, 200)); }
|
||||
assert.notEqual(connected.identity.pid, 23172);
|
||||
} else {
|
||||
const started = read('.qa/desktop-host-f-formal-start.json'); assert.equal(started.success, true); assert.ok(await host.connect()); assert.equal(host.identity.pid, started.identity.pid);
|
||||
}
|
||||
const status = await host.status(); assert.equal(status.activity.active, false);
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareRecoveryState(original, after);
|
||||
assert.equal(after.version, '1.15.0'); assert.equal(after.runtimeRoot, candidate);
|
||||
const engine = await host.api('/engines/deepseek/availability'), purge = await host.api('/engines/purge/source');
|
||||
assert.equal(engine.status, 'available'); assert.equal(purge.status, 'available'); assert.equal(purge.defaultEnabled, false);
|
||||
const pointer = read(path.join(installRoot, 'current.json')); assert.equal(pointer.active.directory, release.installer.candidateDirectory); assert.equal(pointer.dataRoot, dataRoot);
|
||||
assert.equal(hash(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe'))), hash(fs.readFileSync(path.join(release.portableRoot, 'AgentWorkbench.exe'))));
|
||||
save('.qa/desktop-host-f-formal-after-' + mode + '.json', after); await portClosed(9229);
|
||||
result = { success: true, phase: mode === 'start' ? 'started' : 'verified', version: after.version, identity: status.identity, pointer, retained,
|
||||
sources: { engine: { root: engine.root, version: engine.version, identitySha256: engine.identitySha256 }, purge: { root: purge.root, version: purge.version, sourceSha256: purge.sourceSha256 } },
|
||||
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, realModelRequests: 0 };
|
||||
}
|
||||
}
|
||||
} catch (error) { result = { success: false, phase: mode, error: error.stack }; process.exitCode = 1; }
|
||||
save(output, { ...result, installRoot, dataRoot, candidate, setupSha256: release.installer.sha256, deploymentMode: 'stopped-host-recovery', originalPid: 23172, originalMemoryCredentialsRecovered: false, startedAt, finishedAt: new Date().toISOString(),
|
||||
scope: 'Exact accepted setup; original host was already absent at resumption. Separately stage and activate without starting, then native launch and verify every original row/export/artifact plus registry/pools/attempts. No live upgrade, private key read, model probe, task retry or credential reconstruction.' });
|
||||
console.log(JSON.stringify({ success: result.success, phase: result.phase, version: result.version, output, ...(result.error ? { error: result.error } : {}) }));
|
||||
@@ -0,0 +1,34 @@
|
||||
import fs from 'node:fs';
|
||||
import assert from 'node:assert/strict';
|
||||
import { DatabaseSync } from 'node:sqlite';
|
||||
import { canonical } from './desktop-f-state.mjs';
|
||||
export function compareUserStartHistory(original, before) {
|
||||
for (const name of Object.keys(original.database.tables).filter(name => name !== 'projects')) assert.deepEqual(canonical(before.database.tables[name]), canonical(original.database.tables[name]), name);
|
||||
assert.deepEqual(before.exports, original.exports); assert.deepEqual(before.persistent.artifacts, original.persistent.artifacts); assert.deepEqual(before.persistent.files, original.persistent.files);
|
||||
assert.equal(before.sessionsSha256, original.sessionsSha256); assert.equal(before.eventCursor, original.eventCursor);
|
||||
const oldDb = new DatabaseSync('.qa/desktop-host-f-recovery-backup/workbench.sqlite', { readOnly: true });
|
||||
const currentDb = new DatabaseSync('C:/Users/wangy/AppData/Local/Packages/OpenAI.Codex_2p2nqsd0c76g0/LocalCache/Local/AgentWorkbench/workbench.sqlite', { readOnly: true });
|
||||
let added;
|
||||
try {
|
||||
const old = oldDb.prepare('SELECT * FROM projects ORDER BY position').all(), current = currentDb.prepare('SELECT * FROM projects ORDER BY position').all();
|
||||
assert.equal(current.length, old.length + 1); added = current.filter(row => !old.some(previous => previous.id === row.id)); assert.equal(added.length, 1); assert.equal(added[0].position, 0);
|
||||
const payload = JSON.parse(added[0].payload); assert.equal(payload.name, 'starter-project'); assert.equal(payload.root.toLowerCase(), 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\examples\\starter-project'.toLowerCase());
|
||||
for (const row of old) { const actual = current.find(value => value.id === row.id); assert.ok(actual); assert.deepEqual({ ...actual, position: actual.position - 1 }, { ...row }, 'Original project payload and order preserved after prepending the user-started legacy sample'); }
|
||||
} finally { oldDb.close(); currentDb.close(); }
|
||||
return { originalNonProjectTables: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact', originalProjectPayloads: 'exact', originalProjectOrder: 'retained; all positions shifted by one',
|
||||
additionalProject: { id: added[0].id, position: 0, payload: JSON.parse(added[0].payload) }, reason: 'User explicitly confirmed manually starting 1.14 to try the product during staged installation. Its normal startup prepended its current release example; retain it, do not restore the older snapshot.' };
|
||||
}
|
||||
export function compareUserLiveState(before, after) {
|
||||
for (const field of ['pid', 'hasKey', 'configSha256', 'projectsSha256', 'sessionsSha256', 'eventCursor']) assert.deepEqual(after[field], before[field], field);
|
||||
assert.deepEqual(canonical(after.database.tables), canonical(before.database.tables)); assert.deepEqual(after.database.sessionIds, before.database.sessionIds);
|
||||
assert.deepEqual(after.exports, before.exports); assert.deepEqual(after.persistent, before.persistent);
|
||||
const original = structuredClone(before.modelCenter), current = structuredClone(after.modelCenter), schemaChanges = [];
|
||||
assert.match(current.storage.restart, /临时凭据.*已明确本机加密保存/); schemaChanges.push({ field: 'storage.restart', original: original.storage.restart, actual: current.storage.restart }); current.storage.restart = original.storage.restart;
|
||||
if (current.storage.credentials !== original.storage.credentials) { assert.equal(original.storage.credentials, 'memory'); assert.equal(current.storage.credentials, 'memory-or-windows-user-dpapi'); schemaChanges.push({ field: 'storage.credentials', original: original.storage.credentials, actual: current.storage.credentials }); current.storage.credentials = original.storage.credentials; }
|
||||
for (const row of current.connections) {
|
||||
const previous = original.connections.find(value => value.id === row.id); assert.ok(previous);
|
||||
if (!Object.hasOwn(previous, 'savedCredential') && Object.hasOwn(row, 'savedCredential')) { assert.deepEqual(row.savedCredential, { status: 'not_saved', storage: 'memory', message: '当前凭据只在宿主内存中。' }); schemaChanges.push({ connectionId: row.id, field: 'savedCredential', actual: row.savedCredential }); delete row.savedCredential; }
|
||||
}
|
||||
assert.deepEqual(current, original, 'Every original current-host connection, credential-present bit/revision, health, pool, route, request and attempt; only versioned public vault explanation/status fields differ.');
|
||||
return { originalRows: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact', originalProjectsAndSessions: 'exact', currentProviderStatePreserved: true, currentHostPidRetained: before.pid, schemaChanges };
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import net from 'node:net';
|
||||
import { spawn } from 'node:child_process';
|
||||
import { publicSnapshot, compareOriginalState, hash } from './desktop-f-state.mjs';
|
||||
import { compareUserStartHistory, compareUserLiveState } from './compare-desktop-f-user-start.mjs';
|
||||
import { validateInstalledVersion, InstallationManager } from '../src/core/desktop/install-manager.mjs';
|
||||
import { inspectHostInstallation } from '../src/core/desktop/app-installation.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 mode = process.argv[2]; assert.ok(['adopt-stage', 'upgrade', 'activate', 'start', 'verify'].includes(mode));
|
||||
const read = file => JSON.parse(fs.readFileSync(file)); const save = (file, data) => fs.writeFileSync(file, JSON.stringify(data, null, 2), { flag: 'wx' });
|
||||
const release = read('releases/latest.json'), before = read('.qa/desktop-host-f-user-started-before.json'), original = read('.qa/desktop-host-f-initial-state.json');
|
||||
const failedStage = read('.qa/desktop-host-f-formal-stage.json'); assert.equal(failedStage.success, false); assert.match(failedStage.error, /Every original schema and row/);
|
||||
const installRoot = failedStage.installRoot, dataRoot = failedStage.dataRoot, candidate = failedStage.candidate, port = 4318, url = 'http://127.0.0.1:4318', expectedPid = 36552;
|
||||
assert.equal(release.installer.sha256, failedStage.setupSha256); assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
const acceptedInstaller = read(read('.qa/desktop-host-final-install-location.json').result); assert.equal(acceptedInstaller.success, true); assert.equal(acceptedInstaller.installer.sha256, release.installer.sha256);
|
||||
const output = '.qa/desktop-host-f-formal-' + mode + '.json'; assert.equal(fs.existsSync(output), false, 'Do not repeat a formal phase.');
|
||||
const inspectorClosed = () => 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('Inspector is open')); }); socket.once('timeout', () => { socket.destroy(); reject(Error('Inspector state uncertain')); }); socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve(true) : reject(error); }); });
|
||||
function processIdentity() { const actual = observeWindowsProcess(expectedPid); assert.ok(actual); assert.equal(actual.createdAt, '2026-10-31T06:30:34.359Z'); assert.equal(hash(fs.readFileSync(actual.executable)), 'd702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5'); return actual; }
|
||||
const startedAt = new Date().toISOString(); let result;
|
||||
try {
|
||||
processIdentity(); await inspectorClosed(); const userStart = compareUserStartHistory(original, before);
|
||||
if (mode === 'adopt-stage') {
|
||||
const current = await publicSnapshot(url, dataRoot); compareOriginalState(before, current); assert.equal(current.version, '1.14.0'); assert.deepEqual(current.active, []);
|
||||
const receipts = fs.readdirSync(path.join(installRoot, '.installation')).filter(name => /^operation-.*\.json$/.test(name)).map(name => ({ file: path.join(installRoot, '.installation', name), value: read(path.join(installRoot, '.installation', name)) }));
|
||||
assert.equal(receipts.length, 1); const receipt = receipts[0]; assert.equal(receipt.value.state, 'staged'); assert.equal(receipt.value.stageOnly, true);
|
||||
const identity = validateInstalledVersion(candidate); assert.equal(identity.identitySha256, receipt.value.candidate.runtimeIdentity); assert.equal(identity.manifestSha256, receipt.value.candidate.manifestSha256);
|
||||
assert.equal(fs.existsSync(path.join(installRoot, 'current.json')), false);
|
||||
compareOriginalState(before, await publicSnapshot(url, dataRoot));
|
||||
result = { success: true, phase: 'adopted-existing-stage', version: '1.15.0', candidateIdentity: identity.identitySha256, manifestSha256: identity.manifestSha256,
|
||||
setupLog: '.qa/desktop-host-f-formal-setup.log', setupLogSha256: hash(fs.readFileSync('.qa/desktop-host-f-formal-setup.log')), receipt: receipt.file, receiptSha256: hash(fs.readFileSync(receipt.file)), userStart,
|
||||
rejectedEarlierComparison: '.qa/desktop-host-f-formal-stage.json', setupNotRepeated: true, scope: 'Existing successful staged installer receipt and full original payload independently validated; user-confirmed concurrent startup retained under a fresh exact snapshot, original rejection not overwritten.' };
|
||||
} else {
|
||||
const staged = read('.qa/desktop-host-f-formal-adopt-stage.json'); assert.equal(staged.success, true);
|
||||
const identity = mode === 'verify' ? validateInstalledVersion(candidate) : inspectHostInstallation(candidate); assert.equal(identity.identitySha256, staged.candidateIdentity); assert.equal(identity.manifestSha256, staged.manifestSha256);
|
||||
if (mode === 'upgrade') {
|
||||
const current = await publicSnapshot(url, dataRoot); compareOriginalState(before, current); assert.equal(current.version, '1.14.0'); assert.deepEqual(current.active, []);
|
||||
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 });
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareUserLiveState(before, after); assert.equal(after.version, '1.15.0'); assert.equal(after.runtimeRoot, candidate); assert.equal(upgraded.connectionPreserved, true);
|
||||
await inspectorClosed(); save('.qa/desktop-host-f-formal-after-upgrade.json', after);
|
||||
result = { success: true, phase: 'upgraded', version: after.version, upgraded, retained, userStart, currentProviderPreserved: true };
|
||||
} else {
|
||||
assert.equal(read('.qa/desktop-host-f-formal-upgrade.json').success, true);
|
||||
const current = await publicSnapshot(url, dataRoot); compareUserLiveState(before, current); assert.equal(current.version, '1.15.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, 'Already upgraded; pointer activation must not repeat it.'); }
|
||||
const host = new HostController({ appRoot: candidate, dataRoot, port, nodePath: process.execPath }); assert.ok(await host.connect());
|
||||
if (mode === 'start') {
|
||||
const child = spawn(path.join(installRoot, 'AgentWorkbench.exe'), [], { cwd: installRoot, env: projectEnvironment(), windowsHide: true, stdio: 'ignore' });
|
||||
const timer = setTimeout(() => child.kill(), 30000); const exitCode = await new Promise((resolve, reject) => { child.once('error', reject); child.once('exit', resolve); }); clearTimeout(timer); assert.equal(exitCode, 0);
|
||||
const deadline = Date.now() + 60000; while ((await host.status()).desktopWindows.count !== 1) { assert.ok(Date.now() < deadline, 'Actual installed native window startup'); await new Promise(resolve => setTimeout(resolve, 200)); }
|
||||
}
|
||||
const status = await host.status(); assert.equal(status.identity.pid, expectedPid); assert.equal(status.activity.active, false);
|
||||
const engine = await host.api('/engines/deepseek/availability'), purge = await host.api('/engines/purge/source'); assert.equal(engine.status, 'available'); assert.equal(purge.status, 'available'); assert.equal(purge.defaultEnabled, false);
|
||||
const pointer = read(path.join(installRoot, 'current.json')); assert.equal(pointer.active.directory, release.installer.candidateDirectory); assert.equal(pointer.dataRoot, dataRoot); assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareUserLiveState(before, after); await inspectorClosed(); save('.qa/desktop-host-f-formal-after-' + mode + '.json', after);
|
||||
result = { success: true, phase: mode === 'activate' ? 'activated' : mode === 'start' ? 'native-window-opened-reusing-host' : 'verified', version: after.version, activated, identity: status.identity, pointer, retained, userStart,
|
||||
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, currentProviderPreserved: true,
|
||||
sources: { engine: { root: engine.root, version: engine.version, identitySha256: engine.identitySha256 }, purge: { root: purge.root, version: purge.version, sourceSha256: purge.sourceSha256 } }, realModelRequests: 0 };
|
||||
}
|
||||
}
|
||||
} catch (error) { result = { success: false, phase: mode, error: error.stack }; process.exitCode = 1; }
|
||||
save(output, { ...result, installRoot, dataRoot, candidate, setupSha256: release.installer.sha256, deploymentMode: 'user-restarted-live-upgrade', originalHistoricalPid: 23172, userStartedPid: expectedPid, originalMemoryCredentialsRecovered: false, currentProcess: processIdentity(), startedAt, finishedAt: new Date().toISOString() });
|
||||
console.log(JSON.stringify({ success: result.success, phase: result.phase, version: result.version, output, ...(result.error ? { error: result.error } : {}) }));
|
||||
File diff suppressed because it is too large
Load Diff
+100008
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,174 @@
|
||||
{
|
||||
"observedAt": "2026-10-31T06:34:43.738Z",
|
||||
"rows": [
|
||||
{
|
||||
"id": "ffb29b87-9b26-4bcc-9337-2ba535301c27",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 13,
|
||||
"after": 14
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "9333ee4d-3876-4e1a-beba-c355676a70f1",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 14,
|
||||
"after": 15
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b4de81b1-fe73-48d8-a1c4-7f2aee02cf18",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 15,
|
||||
"after": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "3423bff0-d418-4a6d-9cc7-66bd85875a51",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 12,
|
||||
"after": 13
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "82850b57-b496-4f1c-912c-9c54d1858917",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 11,
|
||||
"after": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "d639fd99-3487-4f4b-b9eb-2d7c32ebb778",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 10,
|
||||
"after": 11
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "1d0b1d9a-7058-451c-810a-30186328d607",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 9,
|
||||
"after": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8bc16212-0399-4769-8176-6d80a29503a1",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 8,
|
||||
"after": 9
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "084d0745-1cf4-4aff-8e5e-7e94fffd505f",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 7,
|
||||
"after": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "99dba857-8050-4125-87e0-5eaf66a02ed6",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 6,
|
||||
"after": 7
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fb86f2ff-d14c-4d16-901e-5383a414dce5",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 5,
|
||||
"after": 6
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "336f85d7-9c5b-4fbd-8a17-5115e1f93d9a",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 4,
|
||||
"after": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b515d897-b8ae-4ac6-9b8b-424894355734",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 3,
|
||||
"after": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "778f8d02-0bdb-4d69-b052-56b087049019",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 2,
|
||||
"after": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "3b9c5bba-8e81-4ad8-a75d-ce7e16c1a02b",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 1,
|
||||
"after": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "46d9ba13-b48c-43a2-a726-fc8ad47badb1",
|
||||
"changes": [
|
||||
{
|
||||
"column": "position",
|
||||
"before": 0,
|
||||
"after": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "76621263-4156-4dac-afd9-8b8086ffc5e6",
|
||||
"added": true,
|
||||
"columns": [
|
||||
"id",
|
||||
"position",
|
||||
"payload"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"success":false,"version":"1.15.0","root":"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb15-final-install-95390939-4c5f-445f-a633-20d713652ec5","cases":0,"stage":"exact final installer","error":"AssertionError [ERR_ASSERTION]: exact-setup process exit\n\n5 !== 0\n\n at processRun (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:36:10)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:57:21"}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,123 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import net from 'node:net';
|
||||
import os from 'node:os';
|
||||
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 = release.installer; assert.equal(installer.version, '1.15.0'); assert.equal(installer.qaFixture, null);
|
||||
assert.equal(hash(fs.readFileSync(installer.path)), installer.sha256);
|
||||
const root = path.join(os.tmpdir(), 'awb15-final-install-' + randomUUID()), installRoot = path.join(root, 'program'), dataRoot = path.join(root, 'data');
|
||||
fs.mkdirSync(root, { recursive: true });
|
||||
const run = promisify(execFile), env = projectEnvironment(), cases = [];
|
||||
const registryKey = 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{E914E883-46F9-4B82-B27F-BDB2B40DCC90}_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 exact product installer QA must not replace an existing user installation 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 = 300000) {
|
||||
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')));
|
||||
const result = await run('taskkill.exe', ['/PID', String(entry.pid), '/T', '/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 crash fixture; authenticated original PID/path/creation verified before taskkill. Not a user desktop interaction.' };
|
||||
}
|
||||
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.15.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.15.0', root, installRoot, dataRoot, installer, cases, ownedModelRequests: authenticated, realModelRequests: 0, originalUserRegistrationWasAbsent: true, scope: 'Exact final product setup SHA; no QA AppId or payload alteration. Exclusive owned install/data/port, /NOICONS and an absent product 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.15.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/desktop-host-final-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 @@
|
||||
{
|
||||
"success": false,
|
||||
"version": "1.15.0",
|
||||
"root": "C:\\Users\\wangy\\AppData\\Local\\Temp\\awb15-final-install-95390939-4c5f-445f-a633-20d713652ec5",
|
||||
"installRoot": "C:\\Users\\wangy\\AppData\\Local\\Temp\\awb15-final-install-95390939-4c5f-445f-a633-20d713652ec5\\program",
|
||||
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Temp\\awb15-final-install-95390939-4c5f-445f-a633-20d713652ec5\\data",
|
||||
"stage": "exact final installer",
|
||||
"error": "AssertionError [ERR_ASSERTION]: exact-setup process exit\n\n5 !== 0\n\n at processRun (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:36:10)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:57:21",
|
||||
"cases": [],
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352-Setup.exe",
|
||||
"bytes": 254698284,
|
||||
"sha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-5dce2e1a-5185-4f46-ac8a-2d8c8634df50\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"qaFixture": null
|
||||
},
|
||||
"ownedModelRequests": 0,
|
||||
"realModelRequests": 0
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
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
|
||||
{"success":false,"version":"1.15.0","root":"C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39","cases":4,"stage":"actual owned Electron crash preserves final installed host and data","error":"Error: 端口被占用或响应无法核对;不会启动另一套宿主。\n at hostError (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/shared/contracts/desktop-host.mjs:5:100)\n at HostController.health (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-controller.mjs:45:152)\n at async HostController.connect (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-controller.mjs:48:20)\n at async HostController.status (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-controller.mjs:146:25)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:56:28\n at async until (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:32:91)\n at async crashOwnedWindow (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:56:3)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:102:65"}
|
||||
+1822
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"success": true,
|
||||
"originalFailure": "actual owned Electron crash preserves final installed host and data",
|
||||
"originalHostPid": 33008,
|
||||
"originalWindowPid": 22008,
|
||||
"evidence": [
|
||||
{
|
||||
"source": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\result.json",
|
||||
"target": ".qa\\desktop-host-f-short-crash-failure\\result.json",
|
||||
"sha256": "8e42d6f757dec59f30e6424d6729df3d49edf587665a9e60975c50d3dd8a03fb",
|
||||
"bytes": 6333
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-installer-short-final-result.json",
|
||||
"target": ".qa\\desktop-host-f-short-crash-failure\\desktop-host-f-installer-short-final-result.json",
|
||||
"sha256": "86f8f10f70d5534284bd2a1639c36306fcf76852b1fa61fe44afd731a58d18e1",
|
||||
"bytes": 61004
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-installer-short-final-log.txt",
|
||||
"target": ".qa\\desktop-host-f-short-crash-failure\\desktop-host-f-installer-short-final-log.txt",
|
||||
"sha256": "882037cc667c94a8e43d9e54725b5bb54ec792c116919b87f2ca49fc94d8754d",
|
||||
"bytes": 1544
|
||||
},
|
||||
{
|
||||
"source": ".qa/verify-desktop-f-final-install.mjs",
|
||||
"target": ".qa\\desktop-host-f-short-crash-failure\\verify-desktop-f-final-install.mjs",
|
||||
"sha256": "61f945c7f1516ca1d393360fac520927e017e69881663d633dd8832f9773542a",
|
||||
"bytes": 14465
|
||||
},
|
||||
{
|
||||
"source": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\exact-setup-process.txt",
|
||||
"target": ".qa\\desktop-host-f-short-crash-failure\\exact-setup-process.txt",
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"bytes": 0
|
||||
},
|
||||
{
|
||||
"source": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\exact-setup.log",
|
||||
"target": ".qa\\desktop-host-f-short-crash-failure\\exact-setup.log",
|
||||
"sha256": "2d94cfa14d7accb4695741f880801c35251f2776456e93fc5145f41ae78f9c7c",
|
||||
"bytes": 5690346
|
||||
},
|
||||
{
|
||||
"source": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\native-start-process.txt",
|
||||
"target": ".qa\\desktop-host-f-short-crash-failure\\native-start-process.txt",
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"bytes": 0
|
||||
},
|
||||
{
|
||||
"source": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\owned-window-crash-22008.txt",
|
||||
"target": ".qa\\desktop-host-f-short-crash-failure\\owned-window-crash-22008.txt",
|
||||
"sha256": "7120e5d85b71c306f57cd7afd0747ee3896b3f104cfbdd0a291d7344d17b871b",
|
||||
"bytes": 458
|
||||
}
|
||||
],
|
||||
"diagnosis": "Owned fault fixture used taskkill /T; original command output includes backend host PID as a descendant of Electron. This tests forced termination of the entire tree, not a window-process crash. Narrow the fixture to authenticated Electron process only; normal close/restart behavior remains separately tested.",
|
||||
"installRoot": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\program",
|
||||
"dataRoot": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\data",
|
||||
"ownedUninstallLog": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\failed-fixture-uninstall.log",
|
||||
"ownedUninstallLogSha256": "6131a497dada249267d856f6d5ae5b3ba85d92121a57c673a1f1ca4469533b30",
|
||||
"ownedPersistentDataPreserved": true,
|
||||
"productRegistrationRemovedByOwnedUninstaller": true,
|
||||
"realModelRequests": 0
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
�ɹ�: ����ֹ PID 1572 (���� PID 22008 �ӽ���)�Ľ��̡�
|
||||
�ɹ�: ����ֹ PID 23348 (���� PID 22008 �ӽ���)�Ľ��̡�
|
||||
�ɹ�: ����ֹ PID 33008 (���� PID 22008 �ӽ���)�Ľ��̡�
|
||||
�ɹ�: ����ֹ PID 29988 (���� PID 22008 �ӽ���)�Ľ��̡�
|
||||
�ɹ�: ����ֹ PID 22008 (���� PID 3480 �ӽ���)�Ľ��̡�
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"success": false,
|
||||
"version": "1.15.0",
|
||||
"root": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39",
|
||||
"installRoot": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\program",
|
||||
"dataRoot": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\data",
|
||||
"stage": "actual owned Electron crash preserves final installed host and data",
|
||||
"error": "Error: 端口被占用或响应无法核对;不会启动另一套宿主。\n at hostError (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/shared/contracts/desktop-host.mjs:5:100)\n at HostController.health (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-controller.mjs:45:152)\n at async HostController.connect (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-controller.mjs:48:20)\n at async HostController.status (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-controller.mjs:146:25)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:56:28\n at async until (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:32:91)\n at async crashOwnedWindow (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:56:3)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-final-install.mjs:102:65",
|
||||
"cases": [
|
||||
{
|
||||
"name": "exact final installer",
|
||||
"success": true,
|
||||
"installerSha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"exitCode": 0,
|
||||
"processLog": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\exact-setup-process.txt",
|
||||
"processLogSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"setupLog": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\exact-setup.log",
|
||||
"setupLogSha256": "2d94cfa14d7accb4695741f880801c35251f2776456e93fc5145f41ae78f9c7c",
|
||||
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467",
|
||||
"loadedIdentity": "3b76f355e745c5da89491c69c36522b89bc894ed13de8158b2a10e7a89041b12"
|
||||
},
|
||||
{
|
||||
"name": "actual installed native bootstrap and bundled execution host",
|
||||
"success": true,
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.15.0",
|
||||
"instanceId": "ff35e6df-0567-4c5c-8802-c4fc3a0917e6",
|
||||
"pid": 33008,
|
||||
"createdAt": "2026-10-31T06:19:00.170Z",
|
||||
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
|
||||
"ownerId": "3cf837e1-cfa3-4fb3-879b-a23db26095f2",
|
||||
"executable": {
|
||||
"path": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\program\\versions\\Agent-Workbench-1.15.0-win-x64-20261031053321352\\runtime\\node.exe",
|
||||
"bytes": 93915464,
|
||||
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
|
||||
},
|
||||
"appRoot": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\program\\versions\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"runtimeRoot": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\program\\versions\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"runtimeIdentity": "3b76f355e745c5da89491c69c36522b89bc894ed13de8158b2a10e7a89041b12",
|
||||
"dataRoot": "C:\\AWQA15\\i-a0769daf7c7f4aa6bc707eb3c4841d39\\data",
|
||||
"port": 58547
|
||||
},
|
||||
"desktopWindow": {
|
||||
"windowId": "73e9bdf4-4942-423b-a3a7-546ddab27d75",
|
||||
"pid": 22008,
|
||||
"createdAt": "2026-10-31T06:18:58.600Z",
|
||||
"instanceId": "ff35e6df-0567-4c5c-8802-c4fc3a0917e6",
|
||||
"runtimeIdentity": "3b76f355e745c5da89491c69c36522b89bc894ed13de8158b2a10e7a89041b12"
|
||||
},
|
||||
"relocatedSources": {
|
||||
"engine": {
|
||||
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
|
||||
"version": "0.2.1-rc.2",
|
||||
"identitySha256": "e75f9bb336c43ea7d07db57b59b846cb2cabe73911300cbc07ab74a488f04f8f"
|
||||
},
|
||||
"purge": {
|
||||
"root": "D:\\Ai-project\\REA逆向\\dsh-purge-1.1.78-windows\\source\\upstream",
|
||||
"version": "1.1.78",
|
||||
"sourceSha256": "5634a28a0cf09e2ce017882a15eeaaa9c598d9306920fec46d717183b9d0e6e7"
|
||||
}
|
||||
},
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"name": "actual installed owned DPAPI credential and HTTP authentication",
|
||||
"success": true,
|
||||
"connectionId": "5623a0ba-308b-45b8-87f2-59bd1a8b3c59",
|
||||
"authenticatedRequests": 1,
|
||||
"savedCredential": {
|
||||
"storage": "windows-user-dpapi",
|
||||
"status": "saved",
|
||||
"enabled": true,
|
||||
"connectionRevision": 1,
|
||||
"credentialRevision": 1,
|
||||
"savedAt": "2026-10-31T06:19:08.411Z",
|
||||
"message": "当前Windows用户可在宿主重启后加载。"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "actual installed owned approval and bundled npm project check",
|
||||
"success": true,
|
||||
"sessionId": "02f8cd8b-a606-4e75-81ab-6bbbd8f61ff1",
|
||||
"originalApprovalId": "3df06934-77c9-4d11-ad73-a53d37fd02f4",
|
||||
"checkId": "b1843897-2b72-4f7d-9869-fcc325ba26c8",
|
||||
"actualTests": {
|
||||
"total": 4,
|
||||
"passed": 4,
|
||||
"failed": 0,
|
||||
"cancelled": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"originalLogArtifactId": "25589fbe-0e7e-4e01-91f7-a9a96d7275ce"
|
||||
}
|
||||
],
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352-Setup.exe",
|
||||
"bytes": 254698284,
|
||||
"sha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-5dce2e1a-5185-4f46-ac8a-2d8c8634df50\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"qaFixture": null
|
||||
},
|
||||
"ownedModelRequests": 1,
|
||||
"realModelRequests": 0
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
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 = release.installer; assert.equal(installer.version, '1.15.0'); assert.equal(installer.qaFixture, null);
|
||||
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:\\AWQA15';
|
||||
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\\{E914E883-46F9-4B82-B27F-BDB2B40DCC90}_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 exact product installer QA must not replace an existing user installation 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 = 300000) {
|
||||
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')));
|
||||
const result = await run('taskkill.exe', ['/PID', String(entry.pid), '/T', '/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 crash fixture; authenticated original PID/path/creation verified before taskkill. Not a user desktop interaction.' };
|
||||
}
|
||||
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.15.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.15.0', root, installRoot, dataRoot, installer, cases, ownedModelRequests: authenticated, realModelRequests: 0, originalUserRegistrationWasAbsent: true, scope: 'Exact final product setup SHA; no QA AppId or payload alteration. Exclusive owned install/data/port, /NOICONS and an absent product 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.15.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/desktop-host-final-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,19 @@
|
||||
node:internal/modules/run_main:107
|
||||
triggerUncaughtException(
|
||||
^
|
||||
|
||||
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
||||
|
||||
1446 !== 1357
|
||||
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-formal-artifacts.mjs:18:39
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
|
||||
generatedMessage: true,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: 1446,
|
||||
expected: 1357,
|
||||
operator: 'strictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
Node.js v24.22.1
|
||||
+1822
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,124 @@
|
||||
{"success":false,"directory":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-a96a3a0f-de6a-485b-a12f-f300faf76dd8","panels":0,"pageErrors":0,"requestFailures":0,"blockedWrites":0}
|
||||
node:internal/modules/run_main:107
|
||||
triggerUncaughtException(
|
||||
^
|
||||
|
||||
ExpectError: expect(locator).toBeVisible() failed
|
||||
|
||||
Locator: getByLabel('执行计划', { exact: true })
|
||||
Expected: visible
|
||||
Timeout: 5000ms
|
||||
Error: element(s) not found
|
||||
|
||||
Call log:
|
||||
- Expect "toBeVisible" getByLabel('执行计划', { exact: true }) with timeout 5000ms
|
||||
- waiting for getByLabel('执行计划', { exact: true })
|
||||
|
||||
at captureRawStack (D:\Ai-project\REA逆向\Agent-Workbench\node_modules\playwright-core\lib\coreBundle.js:9282:17)
|
||||
at callMatcherAsStep (D:\Ai-project\REA逆向\Agent-Workbench\node_modules\playwright\lib\matchers\expect.js:13316:57)
|
||||
at Object.toBeVisible (D:\Ai-project\REA逆向\Agent-Workbench\node_modules\playwright\lib\matchers\expect.js:13308:23)
|
||||
at D:\Ai-project\REA逆向\Agent-Workbench\.qa\smoke-desktop-f-formal.mjs:43:81 {
|
||||
matcherResult: {
|
||||
message: 'expect(locator).toBeVisible() failed\n' +
|
||||
'\n' +
|
||||
"Locator: getByLabel('执行计划', { exact: true })\n" +
|
||||
'Expected: visible\n' +
|
||||
'Timeout: 5000ms\n' +
|
||||
'Error: element(s) not found\n' +
|
||||
'\n' +
|
||||
'Call log:\n' +
|
||||
` - Expect "toBeVisible" getByLabel('执行计划', { exact: true }) with timeout 5000ms\n` +
|
||||
" - waiting for getByLabel('执行计划', { exact: true })\n",
|
||||
pass: false,
|
||||
actual: undefined,
|
||||
name: 'toBeVisible',
|
||||
expected: 'visible',
|
||||
log: [
|
||||
` - Expect "toBeVisible" getByLabel('执行计划', { exact: true }) with timeout 5000ms`,
|
||||
" - waiting for getByLabel('执行计划', { exact: true })"
|
||||
],
|
||||
timeout: 5000,
|
||||
ariaSnapshot: '- complementary:\n' +
|
||||
' - text: AW\n' +
|
||||
' - strong: Agent Workbench\n' +
|
||||
' - text: 本地编程工作台 · 正式版\n' +
|
||||
' - button "收起项目栏"\n' +
|
||||
' - text: 当前项目\n' +
|
||||
' - combobox "当前项目":\n' +
|
||||
' - option "starter-project(示例)" [selected]\n' +
|
||||
' - option "starter-project"\n' +
|
||||
' - option "starter-project"\n' +
|
||||
' - option "python-source · python actual engineering"\n' +
|
||||
' - option "python-source"\n' +
|
||||
' - option "react-source · react actual engineering"\n' +
|
||||
' - option "react-source"\n' +
|
||||
' - option "来源工程 · 四模块真实模型独立交付"\n' +
|
||||
' - option "来源工程"\n' +
|
||||
' - option "多文件变更集交付工程"\n' +
|
||||
' - option "多文件变更集交付工程"\n' +
|
||||
' - option "精确补丁交付工程"\n' +
|
||||
' - option "交付报告工程"\n' +
|
||||
' - option "交付报告工程"\n' +
|
||||
' - option "vLLM-MVP"\n' +
|
||||
' - option "模型连接验证"\n' +
|
||||
' - option "starter-project"\n' +
|
||||
' - button "打开项目"\n' +
|
||||
' - text: D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\examples\\starter-project 当前为自带示例,可打开自己的项目开始开发 任务会话\n' +
|
||||
' - button "新建任务"\n' +
|
||||
' - button "新建任务 ↵"\n' +
|
||||
' - paragraph: 开始一个任务,过程会自动保存。\n' +
|
||||
' - text: 项目文件 4\n' +
|
||||
' - button "刷新文件"\n' +
|
||||
' - textbox "筛选文件"\n' +
|
||||
' - text: ⌃ K\n' +
|
||||
' - button "src"\n' +
|
||||
' - button "catalog.js"\n' +
|
||||
' - button "tests"\n' +
|
||||
' - button "catalog.test.mjs"\n' +
|
||||
' - button "package.json"\n' +
|
||||
' - button "README.md"\n' +
|
||||
' - button "机制研究与设计"\n' +
|
||||
' - button "项目记忆"\n' +
|
||||
' - button "运行诊断"\n' +
|
||||
' - button "模型连接"\n' +
|
||||
' - text: 本地服务已连接 v1.15.0\n' +
|
||||
'- main:\n' +
|
||||
' - text: starter-project 任务\n' +
|
||||
' - heading "让任务走到完成" [level=1]\n' +
|
||||
' - button "打开模型中心": 模型中心\n' +
|
||||
' - button "gpt-6.1-sol"\n' +
|
||||
' - text: 本地项目 等待新任务\n' +
|
||||
' - button "运行诊断"\n' +
|
||||
' - button "项目技能"\n' +
|
||||
' - button "项目MCP工具"\n' +
|
||||
' - button "查看任务记录"\n' +
|
||||
' - button "隔离协作" [disabled]\n' +
|
||||
' - button "本地代理引擎" [disabled]\n' +
|
||||
' - button "REA 工件研究"\n' +
|
||||
' - region "任务对话":\n' +
|
||||
' - text: 从项目到结果\n' +
|
||||
' - heading "读懂项目。 把每一步做好。" [level=2]\n' +
|
||||
' - paragraph: 给出一个任务,读取依据、工具执行和文件改动会在这里连成完整过程。\n' +
|
||||
' - button "了解这个项目,并提出一项改进"\n' +
|
||||
' - button "查找关键实现,解释调用关系"\n' +
|
||||
' - button "检查项目,并准备可审查的修改"\n' +
|
||||
' - text: 文件修改先审查,终端命令逐次确认。\n' +
|
||||
' - textbox "任务内容":\n' +
|
||||
' - /placeholder: 描述项目任务,或询问工作台的执行状态与报错…\n' +
|
||||
' - text: starter-project 兼容模型服务\n' +
|
||||
' - button "发送任务" [disabled]\n' +
|
||||
' - text: Ctrl + Enter 发送 · 会话自动保存 改动与执行结果可追溯\n' +
|
||||
'- complementary:\n' +
|
||||
' - button "文件"\n' +
|
||||
' - button "改动"\n' +
|
||||
' - button "轨迹"\n' +
|
||||
' - button "任务"\n' +
|
||||
' - button "索引"\n' +
|
||||
' - button "放大检视区"\n' +
|
||||
' - heading "执行过程会记录在这里" [level=3]\n' +
|
||||
' - paragraph: 每次工具调用都会保留参数、结果和完成状态。\n' +
|
||||
' - text: 任务目标、检查与结果持久保存'
|
||||
}
|
||||
}
|
||||
|
||||
Node.js v24.22.1
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"success": false,
|
||||
"version": "1.15.0",
|
||||
"pid": 36552,
|
||||
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-a96a3a0f-de6a-485b-a12f-f300faf76dd8",
|
||||
"results": [],
|
||||
"error": "Error: expect(locator).toBeVisible() failed\n\nLocator: getByLabel('执行计划', { exact: true })\nExpected: visible\nTimeout: 5000ms\nError: element(s) not found\n\nCall log:\n - Expect \"toBeVisible\" getByLabel('执行计划', { exact: true }) with timeout 5000ms\n - waiting for getByLabel('执行计划', { exact: true })\n\n at captureRawStack (D:\\Ai-project\\REA逆向\\Agent-Workbench\\node_modules\\playwright-core\\lib\\coreBundle.js:9282:17)\n at callMatcherAsStep (D:\\Ai-project\\REA逆向\\Agent-Workbench\\node_modules\\playwright\\lib\\matchers\\expect.js:13316:57)\n at Object.toBeVisible (D:\\Ai-project\\REA逆向\\Agent-Workbench\\node_modules\\playwright\\lib\\matchers\\expect.js:13308:23)\n at D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\smoke-desktop-f-formal.mjs:43:81",
|
||||
"testedAt": "2026-10-31T06:45:00.625Z",
|
||||
"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."
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"success": true,
|
||||
"files": [
|
||||
{
|
||||
"source": ".qa/desktop-host-f-formal-ui-validation.json",
|
||||
"path": ".qa\\desktop-host-f-formal-assumption-failures\\desktop-host-f-formal-ui-validation.json",
|
||||
"sha256": "42c6297a830cba0ccd25b3db4796fa7b20ff20220221ea7e55bf3e0a67827125",
|
||||
"bytes": 1343
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-formal-ui-final-log.txt",
|
||||
"path": ".qa\\desktop-host-f-formal-assumption-failures\\desktop-host-f-formal-ui-final-log.txt",
|
||||
"sha256": "bb2209d2b4cb8c4ab0b17d46bd8add1c9b05e8e9d300a0bb83cedb5eaba8fea1",
|
||||
"bytes": 6025
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-formal-ui-final-result.json",
|
||||
"path": ".qa\\desktop-host-f-formal-assumption-failures\\desktop-host-f-formal-ui-final-result.json",
|
||||
"sha256": "b440a96ccfccde1ba4fa2efcefaf7b8f5faa9b5184cb027ff9ee82333985e85a",
|
||||
"bytes": 60990
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-all-artifacts-final-log.txt",
|
||||
"path": ".qa\\desktop-host-f-formal-assumption-failures\\desktop-host-f-all-artifacts-final-log.txt",
|
||||
"sha256": "e3839fadcd09dfe6aaf993a8a71fc3f7b440d3dae916400be7d689976c6854d3",
|
||||
"bytes": 526
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-all-artifacts-final-result.json",
|
||||
"path": ".qa\\desktop-host-f-formal-assumption-failures\\desktop-host-f-all-artifacts-final-result.json",
|
||||
"sha256": "52e0b3ae581ed203e8256de8b2223b98c6a818b73500ea4b35be00b992beb336",
|
||||
"bytes": 61004
|
||||
},
|
||||
{
|
||||
"source": ".qa/smoke-desktop-f-formal.mjs",
|
||||
"path": ".qa\\desktop-host-f-formal-assumption-failures\\smoke-desktop-f-formal.mjs",
|
||||
"sha256": "a830036b8a83f54ba104639ae74f8fdd4d69ec0157bcc11d1c29748cadd8b149",
|
||||
"bytes": 10041
|
||||
},
|
||||
{
|
||||
"source": ".qa/verify-desktop-f-formal-artifacts.mjs",
|
||||
"path": ".qa\\desktop-host-f-formal-assumption-failures\\verify-desktop-f-formal-artifacts.mjs",
|
||||
"sha256": "17f85e03bcd7da92589188e82413b1bb4ef0b49840887787ad6c636ba287239f",
|
||||
"bytes": 2375
|
||||
}
|
||||
],
|
||||
"emptyProject": "User-started legacy sample has no session. Original read-only smoke selected it by default and wrongly expected an existing execution-plan panel. Explicitly choose a real existing project/session through the actual UI; do not create a fixture task in user data.",
|
||||
"artifactCounts": "Independent SQLite records(kind=artifact)=1446, physical immutable blob files=1357. Content deduplication permits several original artifact records to reference one blob; compare every inspection ID/hash/producer with SQLite and every distinct referenced blob hash with physical files, preserving both counts."
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
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', 'desktop-host-f-formal-ui-' + randomUUID());
|
||||
fs.mkdirSync(directory);
|
||||
const health = await (await fetch(base + '/api/health')).json();
|
||||
const deployed = JSON.parse(fs.readFileSync('.qa/desktop-host-f-formal-start.json', 'utf8'));
|
||||
assert.equal(deployed.success, true); assert.equal(health.version, '1.15.0'); assert.equal(health.pid, deployed.identity.pid);
|
||||
const bootstrap = await (await fetch(base + '/api/bootstrap')).json();
|
||||
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, 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.15.0', { waitUntil: 'domcontentloaded' })]);
|
||||
await expect(page.locator('.connection small')).toHaveText('v1.15.0');
|
||||
await expect(page.locator('.connection')).toContainText('本地服务已连接');
|
||||
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();
|
||||
console.log(JSON.stringify({ width, passedPanels: 9 }));
|
||||
} 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('.qa/desktop-host-f-formal-ui-validation.json', 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,22 @@
|
||||
import fs from 'node:fs';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
const deployed = JSON.parse(fs.readFileSync('.qa/desktop-host-f-formal-start.json')); assert.equal(deployed.success, true);
|
||||
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.15.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.15.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); 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, deployed.counts.artifacts);
|
||||
const result = { success: true, version: '1.15.0', pid: health.pid, checked: ids.size, total, pages,
|
||||
checkedAt: new Date().toISOString(), realModelRequests: 0, scope: 'All current formal artifact producer identities and original bytes verified through bounded read-only inspection pages. 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('.qa/desktop-host-f-formal-artifacts.json', bytes, { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, total, checked: ids.size, pages: pages.length, reportSha256: createHash('sha256').update(bytes).digest('hex') }));
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,12 @@
|
||||
{"success":false,"directory":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-b123bd02-cc9d-45b8-8a43-fa0995ad5e8f","panels":2,"pageErrors":0,"requestFailures":0,"blockedWrites":0}
|
||||
node:internal/modules/run_main:107
|
||||
triggerUncaughtException(
|
||||
^
|
||||
|
||||
page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
|
||||
at D:\Ai-project\REA逆向\Agent-Workbench\.qa\smoke-desktop-f-formal.mjs:67:35 {
|
||||
log: [],
|
||||
name: 'TimeoutError'
|
||||
}
|
||||
|
||||
Node.js v24.22.1
|
||||
+1822
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"success": false,
|
||||
"version": "1.15.0",
|
||||
"pid": 36552,
|
||||
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-b123bd02-cc9d-45b8-8a43-fa0995ad5e8f",
|
||||
"selectedHistory": {
|
||||
"projectId": "46d9ba13-b48c-43a2-a726-fc8ad47badb1",
|
||||
"sessionId": "3fffee63-edc6-4538-b1dd-941354535e85",
|
||||
"selection": "Actual current-project selector; no task created."
|
||||
},
|
||||
"results": [
|
||||
{
|
||||
"width": 1280,
|
||||
"height": 900,
|
||||
"panel": "执行计划",
|
||||
"readOnly": true,
|
||||
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-b123bd02-cc9d-45b8-8a43-fa0995ad5e8f\\plan-1280.png",
|
||||
"screenshotSha256": "36359a3dacf1d813669ece8e3c9286da8cd1bf6f90c3fe36aadb69b58d34a13b"
|
||||
},
|
||||
{
|
||||
"width": 1280,
|
||||
"height": 900,
|
||||
"panel": "模型中心",
|
||||
"readOnly": true,
|
||||
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-formal-ui-b123bd02-cc9d-45b8-8a43-fa0995ad5e8f\\model-center-1280.png",
|
||||
"screenshotSha256": "b4bf8f0d67b1f837448ad90d7016c5dc571a555f5dba0d733652c1131d1768d4"
|
||||
}
|
||||
],
|
||||
"error": "page.waitForResponse: Timeout 30000ms exceeded while waiting for event \"response\"\n at D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\smoke-desktop-f-formal.mjs:67:35",
|
||||
"testedAt": "2026-10-31T06:49:48.512Z",
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"httpErrors": [
|
||||
{
|
||||
"url": "http://127.0.0.1:4318/api/model-center/credentials",
|
||||
"status": 409
|
||||
}
|
||||
],
|
||||
"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."
|
||||
}
|
||||
+300
@@ -0,0 +1,300 @@
|
||||
Window: "Agent Workbench · 本地编程工作台", App: AgentWorkbench.exe.
|
||||
0 窗口 Agent Workbench · 本地编程工作台 Secondary Actions: Raise
|
||||
1 窗格 (disabled)
|
||||
2 区域 Agent Workbench · 本地编程工作台
|
||||
3 区域
|
||||
4 区域
|
||||
5 区域
|
||||
6 区域
|
||||
7 菜单栏
|
||||
8 按钮 工作台
|
||||
9 按钮 编辑 ID: view_1
|
||||
10 区域
|
||||
11 区域
|
||||
13 文档 Agent Workbench · 本地编程工作台 Value: http://127.0.0.1:4318/?desktop=1&release=1.15.0 ID: RootWebArea
|
||||
89 组
|
||||
14 组 ID: root
|
||||
15 补充
|
||||
16 文本 AW
|
||||
17 文本 Agent Workbench
|
||||
18 文本 本地编程工作台 · 正式版
|
||||
19 按钮 收起项目栏 Description: 收起项目栏
|
||||
20 文本 当前项目
|
||||
21 组合框 (settable, string) 当前项目 Value: starter-project(示例)
|
||||
22 按钮 打开项目 Description: 打开项目
|
||||
23 文本 D:\Ai-project\REA逆向\Agent-Workbench\releases\Agent-Workbench-1.14.0-win-x64-20261030235440461\examples\starter-project
|
||||
24 文本 当前为自带示例,可打开自己的项目开始开发
|
||||
25 文本 任务会话
|
||||
26 按钮 新建任务 Description: 新建任务
|
||||
27 按钮 新建任务 ↵
|
||||
28 文本 开始一个任务,过程会自动保存。
|
||||
29 文本 项目文件
|
||||
30 文本 4
|
||||
31 按钮 刷新文件 Description: 刷新文件
|
||||
32 编辑 (settable, string) 筛选文件 Description: 筛选文件
|
||||
33 文本 ⌃ K
|
||||
34 按钮 src Description: src
|
||||
35 按钮 catalog.js Description: src/catalog.js
|
||||
36 按钮 tests Description: tests
|
||||
37 按钮 catalog.test.mjs Description: tests/catalog.test.mjs
|
||||
38 按钮 package.json Description: package.json
|
||||
39 按钮 README.md Description: README.md
|
||||
40 按钮 机制研究与设计
|
||||
41 按钮 项目记忆
|
||||
42 按钮 运行诊断
|
||||
43 按钮 模型连接
|
||||
44 文本 本地服务已连接
|
||||
45 文本 v
|
||||
46 文本 1.15.0
|
||||
47 主要
|
||||
48 章节标题
|
||||
49 文本 starter-project
|
||||
50 文本 任务
|
||||
51 标题 让任务走到完成
|
||||
52 按钮 桌面宿主
|
||||
53 按钮 打开模型中心
|
||||
54 按钮 gpt-6.1-sol
|
||||
55 文本 本地项目
|
||||
56 文本 等待新任务
|
||||
57 按钮 运行诊断 Description: 运行诊断
|
||||
58 按钮 项目技能 Description: 项目技能
|
||||
59 按钮 项目MCP工具 Description: 项目MCP工具
|
||||
60 按钮 查看任务记录 Description: 查看任务记录
|
||||
61 按钮 (disabled) 隔离协作 Description: 隔离协作
|
||||
62 按钮 (disabled) 本地代理引擎 Description: 本地代理引擎
|
||||
63 按钮 REA 工件研究 Description: REA 工件研究
|
||||
64 区域 任务对话
|
||||
65 文本 从项目到结果
|
||||
66 标题 读懂项目。 把每一步做好。
|
||||
67 文本 给出一个任务,读取依据、工具执行和文件改动会在这里连成完整过程。
|
||||
68 按钮 了解这个项目,并提出一项改进
|
||||
69 按钮 查找关键实现,解释调用关系
|
||||
70 按钮 检查项目,并准备可审查的修改
|
||||
71 文本 文件修改先审查,终端命令逐次确认。
|
||||
72 章节页脚
|
||||
73 编辑 (settable, string) 任务内容 Description: 描述项目任务,或询问工作台的执行状态与报错…
|
||||
74 文本 starter-project
|
||||
75 文本 兼容模型服务
|
||||
76 按钮 (disabled) 发送任务
|
||||
77 文本 Ctrl + Enter 发送 · 会话自动保存
|
||||
78 文本 改动与执行结果可追溯
|
||||
79 补充
|
||||
80 按钮 文件
|
||||
81 按钮 改动
|
||||
82 按钮 轨迹
|
||||
83 按钮 任务
|
||||
84 按钮 索引
|
||||
85 按钮 放大检视区 Description: 放大检视区
|
||||
86 标题 查看项目文件
|
||||
87 文本 从左侧打开文件,或让助手先读取项目。
|
||||
88 文本 读取范围限定在当前项目
|
||||
90 对话框 模型中心 Secondary Actions: Raise
|
||||
91 标题 模型中心
|
||||
92 文本 连接、模型池与执行健康统一管理。
|
||||
93 按钮 关闭窗口 Description: 关闭窗口
|
||||
94 区域 模型控制台
|
||||
95 文本 MODEL CONTROL
|
||||
96 标题 连接有序,执行有据。
|
||||
97 文本 统一管理模型服务、调度和每次真实请求。
|
||||
98 文本 当前路由
|
||||
99 文本 高性能
|
||||
100 文本 0
|
||||
101 文本 等待
|
||||
102 导航 模型中心分类
|
||||
103 按钮 模型连接
|
||||
104 按钮 模型池
|
||||
105 按钮 请求账本
|
||||
106 按钮 配置导入
|
||||
107 按钮 凭据保存
|
||||
108 按钮 运行巡检
|
||||
109 按钮 刷新模型中心
|
||||
175 状态
|
||||
176 文本 本机状态不接受链接或重解析目录。
|
||||
171 区域 本机加密凭据
|
||||
172 标题 本机加密凭据
|
||||
173 文本 使用当前Windows用户加密。保存后的 Key 不会回显或包含在导出中。
|
||||
174 文本 正在核对本机保存状态…
|
||||
12 区域
|
||||
|
||||
Document text: ```
|
||||
AW
|
||||
Agent Workbench
|
||||
本地编程工作台 · 正式版
|
||||
收起项目栏
|
||||
当前项目
|
||||
当前项目
|
||||
打开项目
|
||||
D:\Ai-project\REA逆向\Agent-Workbench\releases\Agent-Workbench-1.14.0-win-x64-20261030235440461\examples\starter-projectD:\Ai-project\REA逆向\Agent-Wor…
|
||||
当前为自带示例,可打开自己的项目开始开发
|
||||
任务会话
|
||||
新建任务
|
||||
新建任务
|
||||
↵
|
||||
开始一个任务,过程会自动保存。
|
||||
项目文件 4
|
||||
刷新文件
|
||||
筛选文件
|
||||
⌃ K
|
||||
src
|
||||
catalog.js
|
||||
tests
|
||||
catalog.test.mjs
|
||||
package.json
|
||||
README.md
|
||||
机制研究与设计
|
||||
项目记忆
|
||||
运行诊断
|
||||
模型连接
|
||||
本地服务已连接
|
||||
v1.15.0
|
||||
starter-project任务
|
||||
让任务走到完成
|
||||
桌面宿主
|
||||
模型中心
|
||||
gpt-6.1-sol
|
||||
本地项目
|
||||
等待新任务
|
||||
运行诊断
|
||||
项目技能
|
||||
项目MCP工具
|
||||
查看任务记录
|
||||
隔离协作
|
||||
本地代理引擎
|
||||
REA 工件研究
|
||||
从项目到结果
|
||||
读懂项目。
|
||||
把每一步做好。
|
||||
给出一个任务,读取依据、工具执行和文件改动会在这里连成完整过程。
|
||||
了解这个项目,并提出一项改进
|
||||
查找关键实现,解释调用关系
|
||||
检查项目,并准备可审查的修改
|
||||
文件修改先审查,终端命令逐次确认。
|
||||
任务内容
|
||||
starter-project
|
||||
兼容模型服务
|
||||
发送任务
|
||||
Ctrl + Enter 发送 · 会话自动保存
|
||||
改动与执行结果可追溯
|
||||
文件
|
||||
改动
|
||||
轨迹
|
||||
任务
|
||||
索引
|
||||
放大检视区
|
||||

|
||||
查看项目文件
|
||||
从左侧打开文件,或让助手先读取项目。
|
||||
读取范围限定在当前项目
|
||||
模型中心
|
||||
连接、模型池与执行健康统一管理。
|
||||
关闭窗口
|
||||
MODEL CONTROL
|
||||
连接有序,执行有据。
|
||||
统一管理模型服务、调度和每次真实请求。
|
||||
当前路由
|
||||
高性能
|
||||
0 等待
|
||||
模型连接
|
||||
模型池
|
||||
请求账本
|
||||
配置导入
|
||||
凭据保存
|
||||
运行巡检
|
||||
刷新模型中心
|
||||
本机状态不接受链接或重解析目录。
|
||||
本机加密凭据
|
||||
使用当前Windows用户加密。保存后的 Key 不会回显或包含在导出中。
|
||||
正在核对本机保存状态…
|
||||
```
|
||||
|
||||
Focused element: 0 窗口 Agent Workbench · 本地编程工作台 Secondary Actions: Raise
|
||||
|
||||
Document text:
|
||||
AW
|
||||
Agent Workbench
|
||||
本地编程工作台 · 正式版
|
||||
收起项目栏
|
||||
当前项目
|
||||
当前项目
|
||||
打开项目
|
||||
D:\Ai-project\REA逆向\Agent-Workbench\releases\Agent-Workbench-1.14.0-win-x64-20261030235440461\examples\starter-projectD:\Ai-project\REA逆向\Agent-Wor…
|
||||
当前为自带示例,可打开自己的项目开始开发
|
||||
任务会话
|
||||
新建任务
|
||||
新建任务
|
||||
↵
|
||||
开始一个任务,过程会自动保存。
|
||||
项目文件 4
|
||||
刷新文件
|
||||
筛选文件
|
||||
⌃ K
|
||||
src
|
||||
catalog.js
|
||||
tests
|
||||
catalog.test.mjs
|
||||
package.json
|
||||
README.md
|
||||
机制研究与设计
|
||||
项目记忆
|
||||
运行诊断
|
||||
模型连接
|
||||
本地服务已连接
|
||||
v1.15.0
|
||||
starter-project任务
|
||||
让任务走到完成
|
||||
桌面宿主
|
||||
模型中心
|
||||
gpt-6.1-sol
|
||||
本地项目
|
||||
等待新任务
|
||||
运行诊断
|
||||
项目技能
|
||||
项目MCP工具
|
||||
查看任务记录
|
||||
隔离协作
|
||||
本地代理引擎
|
||||
REA 工件研究
|
||||
从项目到结果
|
||||
读懂项目。
|
||||
把每一步做好。
|
||||
给出一个任务,读取依据、工具执行和文件改动会在这里连成完整过程。
|
||||
了解这个项目,并提出一项改进
|
||||
查找关键实现,解释调用关系
|
||||
检查项目,并准备可审查的修改
|
||||
文件修改先审查,终端命令逐次确认。
|
||||
任务内容
|
||||
starter-project
|
||||
兼容模型服务
|
||||
发送任务
|
||||
Ctrl + Enter 发送 · 会话自动保存
|
||||
改动与执行结果可追溯
|
||||
文件
|
||||
改动
|
||||
轨迹
|
||||
任务
|
||||
索引
|
||||
放大检视区
|
||||

|
||||
查看项目文件
|
||||
从左侧打开文件,或让助手先读取项目。
|
||||
读取范围限定在当前项目
|
||||
模型中心
|
||||
连接、模型池与执行健康统一管理。
|
||||
关闭窗口
|
||||
MODEL CONTROL
|
||||
连接有序,执行有据。
|
||||
统一管理模型服务、调度和每次真实请求。
|
||||
当前路由
|
||||
高性能
|
||||
0 等待
|
||||
模型连接
|
||||
模型池
|
||||
请求账本
|
||||
配置导入
|
||||
凭据保存
|
||||
运行巡检
|
||||
刷新模型中心
|
||||
本机状态不接受链接或重解析目录。
|
||||
本机加密凭据
|
||||
使用当前Windows用户加密。保存后的 Key 不会回显或包含在导出中。
|
||||
正在核对本机保存状态…
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
@@ -0,0 +1,233 @@
|
||||
Window: "Agent Workbench · 本地编程工作台", App: AgentWorkbench.exe.
|
||||
0 窗口 Agent Workbench · 本地编程工作台 Secondary Actions: Raise
|
||||
1 窗格 (disabled)
|
||||
2 区域 Agent Workbench · 本地编程工作台
|
||||
3 区域
|
||||
4 区域
|
||||
5 区域
|
||||
6 区域
|
||||
7 菜单栏
|
||||
8 按钮 工作台
|
||||
9 按钮 编辑 ID: view_1
|
||||
10 区域
|
||||
11 区域
|
||||
13 文档 Agent Workbench · 本地编程工作台 Value: http://127.0.0.1:4318/?desktop=1&release=1.15.0 ID: RootWebArea
|
||||
14 组 ID: root
|
||||
15 补充
|
||||
16 文本 AW
|
||||
17 文本 Agent Workbench
|
||||
18 文本 本地编程工作台 · 正式版
|
||||
19 按钮 收起项目栏 Description: 收起项目栏
|
||||
20 文本 当前项目
|
||||
21 组合框 (settable, string) 当前项目 Value: starter-project(示例)
|
||||
22 按钮 打开项目 Description: 打开项目
|
||||
23 文本 D:\Ai-project\REA逆向\Agent-Workbench\releases\Agent-Workbench-1.14.0-win-x64-20261030235440461\examples\starter-project
|
||||
24 文本 当前为自带示例,可打开自己的项目开始开发
|
||||
25 文本 任务会话
|
||||
26 按钮 新建任务 Description: 新建任务
|
||||
27 按钮 新建任务 ↵
|
||||
28 文本 开始一个任务,过程会自动保存。
|
||||
29 文本 项目文件
|
||||
30 文本 4
|
||||
31 按钮 刷新文件 Description: 刷新文件
|
||||
32 编辑 (settable, string) 筛选文件 Description: 筛选文件
|
||||
33 文本 ⌃ K
|
||||
34 按钮 src Description: src
|
||||
35 按钮 catalog.js Description: src/catalog.js
|
||||
36 按钮 tests Description: tests
|
||||
37 按钮 catalog.test.mjs Description: tests/catalog.test.mjs
|
||||
38 按钮 package.json Description: package.json
|
||||
39 按钮 README.md Description: README.md
|
||||
40 按钮 机制研究与设计
|
||||
41 按钮 项目记忆
|
||||
42 按钮 运行诊断
|
||||
43 按钮 模型连接
|
||||
44 文本 本地服务已连接
|
||||
45 文本 v
|
||||
46 文本 1.15.0
|
||||
47 主要
|
||||
48 章节标题
|
||||
49 文本 starter-project
|
||||
50 文本 任务
|
||||
51 标题 让任务走到完成
|
||||
52 按钮 桌面宿主
|
||||
53 按钮 打开模型中心
|
||||
54 按钮 gpt-6.1-sol
|
||||
55 文本 本地项目
|
||||
56 文本 等待新任务
|
||||
57 按钮 运行诊断 Description: 运行诊断
|
||||
58 按钮 项目技能 Description: 项目技能
|
||||
59 按钮 项目MCP工具 Description: 项目MCP工具
|
||||
60 按钮 查看任务记录 Description: 查看任务记录
|
||||
61 按钮 (disabled) 隔离协作 Description: 隔离协作
|
||||
62 按钮 (disabled) 本地代理引擎 Description: 本地代理引擎
|
||||
63 按钮 REA 工件研究 Description: REA 工件研究
|
||||
64 区域 任务对话
|
||||
65 文本 从项目到结果
|
||||
66 标题 读懂项目。 把每一步做好。
|
||||
67 文本 给出一个任务,读取依据、工具执行和文件改动会在这里连成完整过程。
|
||||
68 按钮 了解这个项目,并提出一项改进
|
||||
69 按钮 查找关键实现,解释调用关系
|
||||
70 按钮 检查项目,并准备可审查的修改
|
||||
71 文本 文件修改先审查,终端命令逐次确认。
|
||||
72 章节页脚
|
||||
73 编辑 (settable, string) 任务内容 Description: 描述项目任务,或询问工作台的执行状态与报错…
|
||||
74 文本 starter-project
|
||||
75 文本 兼容模型服务
|
||||
76 按钮 (disabled) 发送任务
|
||||
77 文本 Ctrl + Enter 发送 · 会话自动保存
|
||||
78 文本 改动与执行结果可追溯
|
||||
79 补充
|
||||
80 按钮 文件
|
||||
81 按钮 改动
|
||||
82 按钮 轨迹
|
||||
83 按钮 任务
|
||||
84 按钮 索引
|
||||
85 按钮 放大检视区 Description: 放大检视区
|
||||
86 标题 查看项目文件
|
||||
87 文本 从左侧打开文件,或让助手先读取项目。
|
||||
88 文本 读取范围限定在当前项目
|
||||
12 区域
|
||||
|
||||
Document text: ```
|
||||
AW
|
||||
Agent Workbench
|
||||
本地编程工作台 · 正式版
|
||||
收起项目栏
|
||||
当前项目
|
||||
当前项目
|
||||
打开项目
|
||||
D:\Ai-project\REA逆向\Agent-Workbench\releases\Agent-Workbench-1.14.0-win-x64-20261030235440461\examples\starter-projectD:\Ai-project\REA逆向\Agent-Wor…
|
||||
当前为自带示例,可打开自己的项目开始开发
|
||||
任务会话
|
||||
新建任务
|
||||
新建任务
|
||||
↵
|
||||
开始一个任务,过程会自动保存。
|
||||
项目文件 4
|
||||
刷新文件
|
||||
筛选文件
|
||||
⌃ K
|
||||
src
|
||||
catalog.js
|
||||
tests
|
||||
catalog.test.mjs
|
||||
package.json
|
||||
README.md
|
||||
机制研究与设计
|
||||
项目记忆
|
||||
运行诊断
|
||||
模型连接
|
||||
本地服务已连接
|
||||
v1.15.0
|
||||
starter-project任务
|
||||
让任务走到完成
|
||||
桌面宿主
|
||||
模型中心
|
||||
gpt-6.1-sol
|
||||
本地项目
|
||||
等待新任务
|
||||
运行诊断
|
||||
项目技能
|
||||
项目MCP工具
|
||||
查看任务记录
|
||||
隔离协作
|
||||
本地代理引擎
|
||||
REA 工件研究
|
||||
从项目到结果
|
||||
读懂项目。
|
||||
把每一步做好。
|
||||
给出一个任务,读取依据、工具执行和文件改动会在这里连成完整过程。
|
||||
了解这个项目,并提出一项改进
|
||||
查找关键实现,解释调用关系
|
||||
检查项目,并准备可审查的修改
|
||||
文件修改先审查,终端命令逐次确认。
|
||||
任务内容
|
||||
starter-project
|
||||
兼容模型服务
|
||||
发送任务
|
||||
Ctrl + Enter 发送 · 会话自动保存
|
||||
改动与执行结果可追溯
|
||||
文件
|
||||
改动
|
||||
轨迹
|
||||
任务
|
||||
索引
|
||||
放大检视区
|
||||

|
||||
查看项目文件
|
||||
从左侧打开文件,或让助手先读取项目。
|
||||
读取范围限定在当前项目
|
||||
```
|
||||
|
||||
Focused element: 0 窗口 Agent Workbench · 本地编程工作台 Secondary Actions: Raise
|
||||
|
||||
Document text:
|
||||
AW
|
||||
Agent Workbench
|
||||
本地编程工作台 · 正式版
|
||||
收起项目栏
|
||||
当前项目
|
||||
当前项目
|
||||
打开项目
|
||||
D:\Ai-project\REA逆向\Agent-Workbench\releases\Agent-Workbench-1.14.0-win-x64-20261030235440461\examples\starter-projectD:\Ai-project\REA逆向\Agent-Wor…
|
||||
当前为自带示例,可打开自己的项目开始开发
|
||||
任务会话
|
||||
新建任务
|
||||
新建任务
|
||||
↵
|
||||
开始一个任务,过程会自动保存。
|
||||
项目文件 4
|
||||
刷新文件
|
||||
筛选文件
|
||||
⌃ K
|
||||
src
|
||||
catalog.js
|
||||
tests
|
||||
catalog.test.mjs
|
||||
package.json
|
||||
README.md
|
||||
机制研究与设计
|
||||
项目记忆
|
||||
运行诊断
|
||||
模型连接
|
||||
本地服务已连接
|
||||
v1.15.0
|
||||
starter-project任务
|
||||
让任务走到完成
|
||||
桌面宿主
|
||||
模型中心
|
||||
gpt-6.1-sol
|
||||
本地项目
|
||||
等待新任务
|
||||
运行诊断
|
||||
项目技能
|
||||
项目MCP工具
|
||||
查看任务记录
|
||||
隔离协作
|
||||
本地代理引擎
|
||||
REA 工件研究
|
||||
从项目到结果
|
||||
读懂项目。
|
||||
把每一步做好。
|
||||
给出一个任务,读取依据、工具执行和文件改动会在这里连成完整过程。
|
||||
了解这个项目,并提出一项改进
|
||||
查找关键实现,解释调用关系
|
||||
检查项目,并准备可审查的修改
|
||||
文件修改先审查,终端命令逐次确认。
|
||||
任务内容
|
||||
starter-project
|
||||
兼容模型服务
|
||||
发送任务
|
||||
Ctrl + Enter 发送 · 会话自动保存
|
||||
改动与执行结果可追溯
|
||||
文件
|
||||
改动
|
||||
轨迹
|
||||
任务
|
||||
索引
|
||||
放大检视区
|
||||

|
||||
查看项目文件
|
||||
从左侧打开文件,或让助手先读取项目。
|
||||
读取范围限定在当前项目
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 103 KiB |
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"success": true,
|
||||
"productFailure": true,
|
||||
"version": "1.15.0",
|
||||
"httpStatus": 409,
|
||||
"response": {
|
||||
"error": "本机状态不接受链接或重解析目录。",
|
||||
"diagnostic": null
|
||||
},
|
||||
"logical": "C:\\Users\\wangy\\AppData\\Local\\AgentWorkbench",
|
||||
"physical": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
|
||||
"sourcePathIsSymbolicLink": false,
|
||||
"files": [
|
||||
{
|
||||
"source": "releases/latest.json",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\latest.json",
|
||||
"bytes": 7476,
|
||||
"sha256": "7e96a056485fb9b5624457e21cc61f8f63f825109ed2bf772380b788a7b63fb7"
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-formal-ui-validation.json",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\desktop-host-f-formal-ui-validation.json",
|
||||
"bytes": 1728,
|
||||
"sha256": "e4ed083c76d26c216004f2ac6cd37e40082bde3904c1d630aef8c84819b5d610"
|
||||
},
|
||||
{
|
||||
"source": ".qa/smoke-desktop-f-formal.mjs",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\smoke-desktop-f-formal.mjs",
|
||||
"bytes": 10924,
|
||||
"sha256": "76443be303c477055c5351d5a02a5068e7cdb297702d94c865c752b4f66a37ea"
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-formal-ui-corrected-run-log.txt",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\desktop-host-f-formal-ui-corrected-run-log.txt",
|
||||
"bytes": 512,
|
||||
"sha256": "a8466948ab161758f36bb6ffe0194eb0c3e6fcc80de211a73dac566f5dd37e45"
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-formal-ui-corrected-run-result.json",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\desktop-host-f-formal-ui-corrected-run-result.json",
|
||||
"bytes": 60997,
|
||||
"sha256": "2a488a9bf0f27007ce71a3cf7b62f68f4c0aaddee440cf14a16cef0004a6717d"
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-native-main.png",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\desktop-host-f-native-main.png",
|
||||
"bytes": 105761,
|
||||
"sha256": "15a9d9c22ebfdc76eccd4c5f1fbfa5c77dd76413368211c4ed3d9d9561f5bf6a"
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-native-main-ax.txt",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\desktop-host-f-native-main-ax.txt",
|
||||
"bytes": 7462,
|
||||
"sha256": "dfd037219be8ebe24564d3e1f4d5bf85c6f3f4a8fd60bff2bc1d00aefab1a611"
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-native-credential-failure.png",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\desktop-host-f-native-credential-failure.png",
|
||||
"bytes": 85287,
|
||||
"sha256": "6462c3eb1d124fd60587b43a7727cac448a6c22a5a39cb0b6d652ac802f9500b"
|
||||
},
|
||||
{
|
||||
"source": ".qa/desktop-host-f-native-credential-failure-ax.txt",
|
||||
"path": ".qa\\desktop-host-f-credential-path-failure\\desktop-host-f-native-credential-failure-ax.txt",
|
||||
"bytes": 9776,
|
||||
"sha256": "8d54ea7b06873e252761ff5face11d90c4fb20c85c1e6117a25172f03489f61c"
|
||||
}
|
||||
],
|
||||
"diagnosis": "An already-open legacy Store retains the Windows MSIX virtual LocalAppData name. Its real physical data root differs, so the unchanged strict path guard rejects vault initialization. Canonicalize Store.directory at storage initialization and retained-store adoption; preserve the open SQLite/Provider, all rows and keys, and keep strict guards on canonical local paths.",
|
||||
"outcome": "Formal acceptance remains incomplete; prepare a fresh immutable candidate and independently verify the fix. Original release and failures are retained."
|
||||
}
|
||||
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352.zip",
|
||||
"bytes": 285546826,
|
||||
"sha256": "c2b4a0fafcff2e0a36211dab7dfe33dbb543462513fec700bd9342d58f6a4fa3"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352.zip",
|
||||
"bytes": 285837276,
|
||||
"sha256": "df1a8ff80f07e056580b405f3bac48dff008e7e76166a2e440565f86d00d9089"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352-Setup.exe",
|
||||
"bytes": 254698284,
|
||||
"sha256": "cfb5e701b0fc2dd95043d8a6a58d1be441a85e2373def1220b37e43c5df62218",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-5dce2e1a-5185-4f46-ac8a-2d8c8634df50\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"qaFixture": null
|
||||
},
|
||||
"desktopRuntime": {
|
||||
"version": "45.2.0",
|
||||
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
|
||||
"bytes": 249810432,
|
||||
"executable": "desktop/AgentWorkbench.exe",
|
||||
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
|
||||
},
|
||||
"nativeLauncher": {
|
||||
"bytes": 12288,
|
||||
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
|
||||
"inputs": {
|
||||
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
|
||||
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
|
||||
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
|
||||
},
|
||||
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
|
||||
},
|
||||
"nodeVersion": "v24.22.1",
|
||||
"reaRuntime": {
|
||||
"version": "6.8.0",
|
||||
"protocolVersion": "2025-03-26",
|
||||
"packages": 149,
|
||||
"files": 8413,
|
||||
"bytes": 142395402,
|
||||
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
|
||||
},
|
||||
"portableFiles": 12213,
|
||||
"licenseTexts": 86,
|
||||
"browserRuntime": {
|
||||
"playwrightVersion": "1.64.1",
|
||||
"packages": [
|
||||
{
|
||||
"name": "playwright",
|
||||
"version": "1.64.1",
|
||||
"files": 60
|
||||
},
|
||||
{
|
||||
"name": "playwright-core",
|
||||
"version": "1.64.1",
|
||||
"files": 115
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentationOnly": {
|
||||
"origin": {
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448.zip",
|
||||
"bytes": 272398551,
|
||||
"sha256": "985bcc6588f37f81df5da7e147a275f1b5fc2c9084919695e6585dba53598ec1"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448.zip",
|
||||
"bytes": 272688898,
|
||||
"sha256": "c3901cd37e26c5ed644e0d88505900c8bb953794569e4e8b05dc2660ec32f07a"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448-Setup.exe",
|
||||
"bytes": 241882526,
|
||||
"sha256": "fc0921e60bd402c2366f43bafe5bdcc5637f0e98a8a3a0c93630c140aabc58be",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-991cf264-4583-4172-8e44-38772e648f0c\\installer.iss",
|
||||
"version": "1.15.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"qaFixture": null
|
||||
},
|
||||
"desktopRuntime": {
|
||||
"version": "45.2.0",
|
||||
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
|
||||
"bytes": 249810432,
|
||||
"executable": "desktop/AgentWorkbench.exe",
|
||||
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
|
||||
},
|
||||
"nativeLauncher": {
|
||||
"bytes": 12288,
|
||||
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
|
||||
"inputs": {
|
||||
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
|
||||
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
|
||||
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
|
||||
},
|
||||
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
|
||||
},
|
||||
"nodeVersion": "v24.22.1",
|
||||
"reaRuntime": {
|
||||
"version": "6.8.0",
|
||||
"protocolVersion": "2025-03-26",
|
||||
"packages": 149,
|
||||
"files": 8413,
|
||||
"bytes": 142395402,
|
||||
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
|
||||
},
|
||||
"portableFiles": 11960,
|
||||
"licenseTexts": 86,
|
||||
"browserRuntime": {
|
||||
"playwrightVersion": "1.64.1",
|
||||
"packages": [
|
||||
{
|
||||
"name": "playwright",
|
||||
"version": "1.64.1",
|
||||
"files": 60
|
||||
},
|
||||
{
|
||||
"name": "playwright-core",
|
||||
"version": "1.64.1",
|
||||
"files": 115
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"matched": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"origin": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
|
||||
"output": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031053321352",
|
||||
"retainedNonDocumentationFiles": 10721,
|
||||
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467"
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"origin": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
|
||||
"output": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031053321352",
|
||||
"retainedNonDocumentationFiles": 10996,
|
||||
"manifestSha256": "bf5dc1d2a04377129465e3c2d62f49eff2218eff0939f253ad62e519b9ed4d52"
|
||||
}
|
||||
],
|
||||
"documentationCommit": "dd31eefc77adbe8cd67bb0713fcc42c92b4cf94f",
|
||||
"reasonEvidence": "docs/desktop-host-f-runtime-time-evidence.json",
|
||||
"originalRuntimeBuiltAt": "2026-10-31T04:36:22.133Z",
|
||||
"scope": "Every accepted non-documentation product/runtime/dependency/license byte inherited unchanged; current repository documentation copied into exclusively new outputs. New outer manifests, ZIPs and exact setup generated from these final payloads. Original accepted and rejected candidates remain unchanged."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
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', 'desktop-host-f-formal-ui-' + randomUUID());
|
||||
fs.mkdirSync(directory);
|
||||
const health = await (await fetch(base + '/api/health')).json();
|
||||
const deployed = JSON.parse(fs.readFileSync('.qa/desktop-host-f-formal-start.json', 'utf8'));
|
||||
assert.equal(deployed.success, true); assert.equal(health.version, '1.15.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.15.0', { waitUntil: 'domcontentloaded' })]);
|
||||
await expect(page.locator('.connection small')).toHaveText('v1.15.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);
|
||||
await expect(projectSelector).toHaveValue(existingSession.projectId);
|
||||
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();
|
||||
console.log(JSON.stringify({ width, passedPanels: 9 }));
|
||||
} 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('.qa/desktop-host-f-formal-ui-validation.json', 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 }));
|
||||
}
|
||||
+1823
File diff suppressed because it is too large
Load Diff
+15
@@ -0,0 +1,15 @@
|
||||
Agent Workbench is ready: http://127.0.0.1:58926
|
||||
Data: D:\Ai-project\REA逆向\Agent-Workbench\.qa\release-4bd29a7a-dee6-47ad-81a8-14bec57522a8
|
||||
Verified host PID: 48092 路 Instance: d8966edb-3835-4718-9c0a-365178134679
|
||||
Agent Workbench is ready: http://127.0.0.1:58926
|
||||
Data: D:\Ai-project\REA逆向\Agent-Workbench\.qa\release-4bd29a7a-dee6-47ad-81a8-14bec57522a8
|
||||
Verified host PID: 48092 路 Instance: d8966edb-3835-4718-9c0a-365178134679
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-release.mjs:92
|
||||
assert.equal(path.resolve(example.root).toLowerCase(), path.join(data, 'projects', 'starter-project').toLowerCase());
|
||||
^
|
||||
|
||||
TypeError: Cannot read properties of undefined (reading 'root')
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-release.mjs:92:39
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
|
||||
Node.js v24.22.1
|
||||
+1822
File diff suppressed because it is too large
Load Diff
+68
@@ -0,0 +1,68 @@
|
||||
{"independentUiSource":"D:\\AWQA15\\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\\Agent-Workbench-1.15.0-source-20261031065555083","scope":"Fresh 23-suite historical UI regression in the independently extracted/rebuilt candidate; original repository evidence is not overwritten."}
|
||||
UI regression: verify-controlled-ui.mjs
|
||||
file:///D:/AWQA15/source-check-4af0ba32bd2b4ad0912df6d8aed38db4/Agent-Workbench-1.15.0-source-20261031065555083/scripts/verify-all-ui.mjs:74
|
||||
child.once('close', code => { clearTimeout(timer); code === 0 && !timedOut ? resolve(tail) : reject(new Error(script + (timedOut ? ' timed out' : ' failed (' + code + ')') + ': ' + tail)); });
|
||||
^
|
||||
|
||||
Error: verify-controlled-ui.mjs failed (1): PASS desktop engine selector rejects a missing source, pins the actual installation and seals one original scope without model calls
|
||||
PASS actual Harness runs the owned bridge and returns reviewable proposals after confirmed process-tree closure
|
||||
PASS 390px keeps the real single-engine scope, header and a single-line 42px refresh action without horizontal overflow
|
||||
PASS mobile child run view shows actual counts and closure, pages original inputs and downloads the exact original report bytes
|
||||
PASS closing a run view ignores an old delayed record failure and keeps the selected task unchanged
|
||||
EVIDENCE D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\.qa\controlled-ui-f74ef967-d658-4ae1-8e52-daa4f08abca6
|
||||
node:internal/modules/run_main:107
|
||||
triggerUncaughtException(
|
||||
^
|
||||
|
||||
ExpectError: expect(received).toBe(expected) // Object.is equality
|
||||
|
||||
Expected: "ready_to_collect"
|
||||
Received: "unknown"
|
||||
|
||||
Call Log:
|
||||
- Timeout 30000ms exceeded while waiting on the predicate
|
||||
at captureRawStack (D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\node_modules\playwright-core\lib\coreBundle.js:9282:17)
|
||||
at callMatcherAsStep (D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\node_modules\playwright\lib\matchers\expect.js:13316:57)
|
||||
at Object.toBe (D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\node_modules\playwright\lib\matchers\expect.js:13308:23)
|
||||
at D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\scripts\verify-controlled-ui.mjs:106:61 {
|
||||
matcherResult: {
|
||||
pass: false,
|
||||
message: 'expect(received).toBe(expected) // Object.is equality\n' +
|
||||
'\n' +
|
||||
'Expected: "ready_to_collect"\n' +
|
||||
'Received: "unknown"\n' +
|
||||
'\n' +
|
||||
'Call Log:\n' +
|
||||
'- Timeout 30000ms exceeded while waiting on the predicate',
|
||||
name: 'toBe'
|
||||
}
|
||||
}
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
at ChildProcess.<anonymous> (file:///D:/AWQA15/source-check-4af0ba32bd2b4ad0912df6d8aed38db4/Agent-Workbench-1.15.0-source-20261031065555083/scripts/verify-all-ui.mjs:74: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
|
||||
node:internal/modules/run_main:107
|
||||
triggerUncaughtException(
|
||||
^
|
||||
|
||||
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
||||
|
||||
1 !== 0
|
||||
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/run-f-canonical-ui.mjs:10:125
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
|
||||
generatedMessage: true,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: 1,
|
||||
expected: 0,
|
||||
operator: 'strictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
Node.js v24.22.1
|
||||
+1822
File diff suppressed because it is too large
Load Diff
+6
@@ -0,0 +1,6 @@
|
||||
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
|
||||
{"success":false,"version":"1.15.0","root":"C:\\AWQA15\\i-8418485c20ac43fb87781f012a1eeba9","cases":5,"stage":"actual installed host restart preserves every row and loads owned saved connection","error":"Error: Timeout: actual installed host restart preserves every row and loads owned saved connection\n at until (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-canonical-storage-install.mjs:32:137)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async nativeStart (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-canonical-storage-install.mjs:45:3)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/verify-desktop-f-canonical-storage-install.mjs:109:21"}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"success": false,
|
||||
"version": "1.15.0",
|
||||
"at": "2026-10-31T07:05:49.429Z",
|
||||
"results": [],
|
||||
"error": "verify-controlled-ui.mjs failed (1): PASS desktop engine selector rejects a missing source, pins the actual installation and seals one original scope without model calls\nPASS actual Harness runs the owned bridge and returns reviewable proposals after confirmed process-tree closure\nPASS 390px keeps the real single-engine scope, header and a single-line 42px refresh action without horizontal overflow\nPASS mobile child run view shows actual counts and closure, pages original inputs and downloads the exact original report bytes\nPASS closing a run view ignores an old delayed record failure and keeps the selected task unchanged\nEVIDENCE D:\\AWQA15\\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\\Agent-Workbench-1.15.0-source-20261031065555083\\.qa\\controlled-ui-f74ef967-d658-4ae1-8e52-daa4f08abca6\nnode:internal/modules/run_main:107\r\n triggerUncaughtException(\r\n ^\r\n\r\nExpectError: expect(received).toBe(expected) // Object.is equality\r\n\r\nExpected: \"ready_to_collect\"\r\nReceived: \"unknown\"\r\n\r\nCall Log:\r\n- Timeout 30000ms exceeded while waiting on the predicate\r\n at captureRawStack (D:\\AWQA15\\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\\Agent-Workbench-1.15.0-source-20261031065555083\\node_modules\\playwright-core\\lib\\coreBundle.js:9282:17)\r\n at callMatcherAsStep (D:\\AWQA15\\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\\Agent-Workbench-1.15.0-source-20261031065555083\\node_modules\\playwright\\lib\\matchers\\expect.js:13316:57)\r\n at Object.toBe (D:\\AWQA15\\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\\Agent-Workbench-1.15.0-source-20261031065555083\\node_modules\\playwright\\lib\\matchers\\expect.js:13308:23)\r\n at D:\\AWQA15\\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\\Agent-Workbench-1.15.0-source-20261031065555083\\scripts\\verify-controlled-ui.mjs:106:61 {\r\n matcherResult: {\r\n pass: false,\r\n message: 'expect(received).toBe(expected) // Object.is equality\\n' +\r\n '\\n' +\r\n 'Expected: \"ready_to_collect\"\\n' +\r\n 'Received: \"unknown\"\\n' +\r\n '\\n' +\r\n 'Call Log:\\n' +\r\n '- Timeout 30000ms exceeded while waiting on the predicate',\r\n name: 'toBe'\r\n }\r\n}\r\n\r\nNode.js v24.22.1\r\n",
|
||||
"script": "verify-controlled-ui.mjs",
|
||||
"log": ".qa/desktop-host-verify-controlled-ui.log"
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
PASS desktop engine selector rejects a missing source, pins the actual installation and seals one original scope without model calls
|
||||
PASS actual Harness runs the owned bridge and returns reviewable proposals after confirmed process-tree closure
|
||||
PASS 390px keeps the real single-engine scope, header and a single-line 42px refresh action without horizontal overflow
|
||||
PASS mobile child run view shows actual counts and closure, pages original inputs and downloads the exact original report bytes
|
||||
PASS closing a run view ignores an old delayed record failure and keeps the selected task unchanged
|
||||
EVIDENCE D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\.qa\controlled-ui-f74ef967-d658-4ae1-8e52-daa4f08abca6
|
||||
node:internal/modules/run_main:107
|
||||
triggerUncaughtException(
|
||||
^
|
||||
|
||||
ExpectError: expect(received).toBe(expected) // Object.is equality
|
||||
|
||||
Expected: "ready_to_collect"
|
||||
Received: "unknown"
|
||||
|
||||
Call Log:
|
||||
- Timeout 30000ms exceeded while waiting on the predicate
|
||||
at captureRawStack (D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\node_modules\playwright-core\lib\coreBundle.js:9282:17)
|
||||
at callMatcherAsStep (D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\node_modules\playwright\lib\matchers\expect.js:13316:57)
|
||||
at Object.toBe (D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\node_modules\playwright\lib\matchers\expect.js:13308:23)
|
||||
at D:\AWQA15\source-check-4af0ba32bd2b4ad0912df6d8aed38db4\Agent-Workbench-1.15.0-source-20261031065555083\scripts\verify-controlled-ui.mjs:106:61 {
|
||||
matcherResult: {
|
||||
pass: false,
|
||||
message: 'expect(received).toBe(expected) // Object.is equality\n' +
|
||||
'\n' +
|
||||
'Expected: "ready_to_collect"\n' +
|
||||
'Received: "unknown"\n' +
|
||||
'\n' +
|
||||
'Call Log:\n' +
|
||||
'- Timeout 30000ms exceeded while waiting on the predicate',
|
||||
name: 'toBe'
|
||||
}
|
||||
}
|
||||
|
||||
Node.js v24.22.1
|
||||
+1
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 153 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 81 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user