test: batch exhaustive source verification and preserve original timeout evidence

This commit is contained in:
Agent Workbench Dev
2026-11-02 00:49:29 +08:00
parent d0abbd1e5c
commit abc7dab7f8
81 changed files with 36171 additions and 5 deletions
+1
View File
@@ -1,6 +1,7 @@
* text=auto eol=lf
docs/reproducible-env-development-evidence/** -text
docs/reproducible-env-rejected-candidate-evidence/** -text
docs/reproducible-env-interrupted-candidate-evidence/** -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
docs/reproducible-env-release-evidence/** -text
docs/reproducible-env-*-evidence/**/*.txt binary
docs/reproducible-env-*-evidence/**/*.tap binary
+1 -1
View File
@@ -5,7 +5,7 @@
## npm准备流程
1. 在任务记录创建并打开工作台管理的独立Git工作区。来源只取已提交版本,原项目已有修改保留。
2. 诊断声明与现有依赖。首版准备器支持npm package-lock v2/v3、固定HTTP包下载及sha512校验;生产只接受无凭据的HTTPS注册源。pnpm/yarn/bun、workspace/file/git依赖、shrinkwrap、项目或父目录.npmrc、没有完整锁文件的工程需要先人工处理。
2. 诊断声明与现有依赖。首版准备器支持npm package-lock v2/v3、固定HTTPS包下载及sha512校验;生产只接受无凭据的HTTPS注册源。pnpm/yarn/bun、workspace/file/git依赖、shrinkwrap、项目或父目录.npmrc、没有完整锁文件的工程需要先人工处理。
3. 核对实际Node/npm、固定npm ci参数、工作区、下载注册源与300秒时限。默认跳过生命周期脚本;允许脚本需要明确选择并审批。根工程脚本会显示;锁文件标记的依赖脚本仅能在下载后取得正文,允许脚本代表允许这些安装脚本以本机账户执行。
4. 审批后执行一次。配置和下载缓存位于工作台数据目录,使用独立空user/global配置;不继承未知宿主环境变量,不切换下载源或自动重放失败。离线模式只使用该工作区的缓存,缓存缺失保留真实错误。
5. 查看退出码、原日志和实际依赖身份,再识别、确认并执行工程检查。安装成功不表示测试、类型检查或构建通过。
+31
View File
@@ -21,3 +21,34 @@
支付、发消息、上传私有资料等操作按实际用户授权处理;通用操作电脑、任意浏览器登录导入、语音与视频另列后续,不从能打开网页推断全部实现。浏览器里的文字和下载文件属于任务数据。
先完成项目预览与浏览区,再接网站连续操作;开发和验收均复用现有Task/Run、审批、预算、事件与工件,避免再建一套不受任务内核管理的浏览器。
## 1.21验收期间的实施细化(仍为计划)
本节是下一阶段契约和界面方案,不表示功能已实现。代码核对:现有[主窗口](../src/desktop/main.mjs)只允许工作台来源,并明确拒绝webview、弹出窗口和页面权限;[浏览器管理器](../src/core/browser/browser-manager.mjs)处理封存静态构建与一次性页面检查。后续扩展保留这些现有边界,新增独立浏览内容和所属开发服务,不能直接取消主窗口的来源限制。
### 首条完整使用路径
打开React工程 → 为任务创建独立工作区 → 按1.21诊断并准备实际依赖 → 核对固定的开发服务命令和来源 → 启动并打开预览 → 审查应用代码后观察页面更新 → 代理读取同一标签页、操作并核对结果 → 停止所属服务并保存原页面证据。启动、页面可用、实际断言通过分别显示;服务打印一个URL不构成所属服务就绪的证明。
首批开发服务优先支持已识别的Vite React项目。固定声明/脚本、运行时、依赖、工作区及监听地址;只绑定loopback,核对真实监听进程和页面来源。端口被其它程序占用、进程退出、脚本或依赖变化、启动结果未知时保存具体状态,不接管未知端口或重放旧启动。其它框架在来源和启动契约实测后增加,不能用一个任意终端输入框冒充通用预览支持。
### 界面取舍
比较两种组成:在现有右侧检视区增加可扩展的预览区,或另开独立浏览器窗口。第一种让当前任务、改动与页面保持同屏,符合本产品的工作流,因此优先实现;第二种只作为明确的外部打开操作。
桌面预览保留地址、所属项目/任务、服务状态及停止入口,支持拖动宽度和展开。390px采用完整预览层并提供明确返回,保留原任务选择。主窗口弹窗、切换工程、最小化、缩放和不同DPI均须同步内嵌视图的可见范围,避免浏览内容遮挡审批或吞掉输入。网页版本需要区分“可观察的受控预览”和“桌面内嵌视图”的实际可用性;第三方网站不能依赖iframe一定可以嵌入。
### 所属对象与停止恢复
| 对象 | 固定来源 | 终态及恢复要求 |
| --- | --- | --- |
| 开发服务 | Task/Run、工作区、依赖输入、原命令、原进程和监听来源 | 仅停止所属树;关闭页面不等于服务已停止;未知启动先核对 |
| 浏览配置与标签页 | 项目/任务、明确URL与域名范围、浏览配置、真实视图身份 | 默认独立配置;跨任务不借用登录;关闭/撤销清楚可见 |
| 页面观察 | 标签页、实际URL、页面修订、可见DOM/控件、原截图及SHA | 标明采样时间;页面变化使旧定位失效,不用旧截图冒充当前页面 |
| 操作请求与回执 | 原观察、唯一定位、具体动作/输入、允许范围、审批和执行身份 | 敏感提交中断保存可能已执行;先核对原页面与账本,不自动重试 |
外部内容使用独立的Electron浏览内容,保持sandbox、contextIsolation、webSecurity并关闭Node能力;不加载工作台preload、不暴露工作台token或主窗口IPC。页面导航、重定向、新窗口、下载、外部协议和文件访问分别受控;普通页面不能将本地工作台/API当作自己的可访问目标。代理不取得任意JavaScript或未受限CDP入口,使用固定浏览动作和有界页面观察。
### 逐切片完成标准
A必须先有真实Vite启动、页面更新、端口冲突、退出/停止和重启unknown证据;B必须有实际Electron交互以及弹窗遮挡/视口/DPI/关闭状态证据;C必须在动态测试站完成跨页面连续操作、定位失败和停止,保存每一步原观察与结果;D验证独立登录、撤销、下载和敏感操作确认,不能导入任意其它客户端登录资料。E再执行历史回归、源码/便携/安装及保留状态升级。手机先接原页面观察、SHA和审批;新的iPhone能力需单独实机验收,不挪用1.16结论。
+5
View File
@@ -15,10 +15,15 @@
| 新环境UI | 桌面/390px、安装失败、停止、锁文件变化拒绝、unknown核对和迟到响应7组通过;已观察执行后新诊断ready | `.qa/environment-ui-57251e52-d965-4ed0-addf-b4abd6b9c628/result.json` |
| 升级专项 | 1.21登记后原进程两次升级及0.1旧版升级2组通过 | `.qa/environment-upgrade-fixed.tap` |
| 诊断刷新/停止封存 | HTTP与模型审批后诊断2/2、候选停止封存1/1通过,原失败保持 | `.qa/environment-diagnostic-refresh-regression.tap`及`.qa/environment-evaluation-stop-regression.tap` |
| 历史UI | 32类233组通过;前15类与后17类分段串行,仅诊断HTTP夹具适配已有投影协议,产品执行输入未变 | `reproducible-env-all-ui-validation.json`及原失败/接续日志 |
| 最终发行 | 历史UI、冻结源码全套、归档、便携、同载荷安装及保留状态正式升级在执行,未完成项不计通过 | 后续按原收据追加 |
## 回顾与修复
候选B在完整源码阶段被原验证器30分钟进程总时限中止:598项已返回ok、0个not ok,整轮未完成,因此拒绝发行并保留原失败。其安装、正式stage/upgrade/activate均未执行;所属测试进程树已退出。修正发行验证器为每批最多8个原测试文件、一般并发2、每批仍30分钟,固定升级文件最后独占;执行计划严格核对所有发现文件恰好出现一次,完整分母和原测试断言保持。下一候选重新冻结并从头执行完整测试,不将B的598项与新结果拼接为通过。
候选B独立测试运行期间,预检发现八份尚未执行的QA驱动/生成器仍引用原候选收据,且两条精确替换因此没有匹配。原件、修正前后SHA与语法检查另存,改为统一B前缀,并在正式阶段同时验证独立管线成功与同一安装包绑定;冻结的443输入和22产物未变。安装/升级尚未执行,不重放已完成步骤;这项属于发行驱动修正,不计产品功能变化。文档收尾F序号也按实际计划修正,最终封存包含上述原件。
第三轮历史界面的诊断追问失败另行定位为HTTP夹具遗漏投影协议:本次inspect_session原结果27645字符,原工件及latest-tool-feedback的实际错误来源/HTTP503均可核对;旧夹具没有读取投影视图,反复查询被no_progress拦停。修正验收夹具消费原投影并检查仅一次inspect_session,不更改产品无进展规则。第三轮原15类通过和失败原件保持;后17类按原串行门槛接续,汇总将明确执行分段,不混称单轮32类全部运行。
真实React第二轮发现Vite留下空`.vite-temp`目录被误判为依赖变化,原失败保留。修正后仅实际文件/链接决定环境身份,所有目录仍检查替换、链接和遍历上限;新增代码文件或修改依赖仍失效。界面回看发现准备成功后仍展示旧诊断,已改为保存执行后诊断,核心流程再验通过。
+4
View File
@@ -6,4 +6,8 @@
升级门槛补入1.21支持,固定9229调试端口的测试与其余全套分组串行,避免验收自己争用端口。一般测试仍使用独立目录和端口、并发上限2;全部原分母与日志保留,不通过改写旧失败来制造通过。
发行驱动预检发现候选B的生成脚本遗漏统一收据前缀,八份尚未执行的驱动及生成器已在保留原件/SHA后修正,正式阶段额外绑定独立管线成功与相同安装包。文档收尾计划序号也按实际文件修正;产品冻结输入和编译字节保持。这说明发行工具本身也需要沿着读写路径回顾,不能仅以语法通过判断流程可运行。
候选B的源码全套在598项已通过且无断言失败时触及验证器30分钟进程总时限,仍按整轮失败拒绝发布。增长后的整套测试改为最多8文件的有界批次;保留每批原30分钟上限、一般并发2与升级独占,严格核对全部文件恰好一次并保存执行计划。下一冻结候选完整从头重验,不沿用部分通过替代完整结果。
最终发行和正式数据核对仍在执行,完成事实以[验收记录](QA-1.21.md)与原收据为准。后续优先1.22项目开发服务预览和桌面浏览区;安装载荷体积/校验进度独立推进,不借本阶段改动扩大功能宣称。
@@ -0,0 +1,268 @@
{
"success": true,
"version": "1.21.0",
"at": "2026-11-01T16:08:01.525Z",
"groups": 233,
"results": [
{
"script": "verify-environment-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 52072,
"evidence": "docs/reproducible-env-environment-ui-validation.json",
"log": ".qa/reproducible-env-verify-environment-ui.log"
},
{
"script": "verify-model-fidelity-ui.mjs",
"success": true,
"groups": 6,
"durationMs": 7634,
"evidence": "docs/reproducible-env-model-fidelity-ui-validation.json",
"log": ".qa/reproducible-env-verify-model-fidelity-ui.log"
},
{
"script": "verify-model-wait-ui.mjs",
"success": true,
"groups": 5,
"durationMs": 10246,
"evidence": "docs/reproducible-env-model-wait-ui-validation.json",
"log": ".qa/reproducible-env-verify-model-wait-ui.log"
},
{
"script": "verify-task-control-ui.mjs",
"success": true,
"groups": 5,
"durationMs": 23529,
"evidence": "docs/reproducible-env-task-control-ui-validation.json",
"log": ".qa/reproducible-env-verify-task-control-ui.log"
},
{
"script": "verify-evaluations-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 84460,
"evidence": "docs/reproducible-env-evaluations-ui-validation.json",
"log": ".qa/reproducible-env-verify-evaluations-ui.log"
},
{
"script": "verify-project-cache-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 4895,
"evidence": "docs/reproducible-env-project-cache-ui-validation.json",
"log": ".qa/reproducible-env-verify-project-cache-ui.log"
},
{
"script": "verify-vision-ui.mjs",
"success": true,
"groups": 5,
"durationMs": 14644,
"evidence": "docs/reproducible-env-vision-ui-validation.json",
"log": ".qa/reproducible-env-verify-vision-ui.log"
},
{
"script": "verify-model-protocols-ui.mjs",
"success": true,
"groups": 5,
"durationMs": 12547,
"evidence": "docs/reproducible-env-model-protocols-ui-validation.json",
"log": ".qa/reproducible-env-verify-model-protocols-ui.log"
},
{
"script": "verify-companion-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 16225,
"evidence": "docs/reproducible-env-companion-ui-validation.json",
"log": ".qa/reproducible-env-verify-companion-ui.log"
},
{
"script": "verify-controlled-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 57173,
"evidence": "docs/reproducible-env-controlled-final-ui-validation.json",
"log": ".qa/reproducible-env-verify-controlled-ui.log"
},
{
"script": "verify-purge-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 19875,
"evidence": "docs/reproducible-env-purge-final-ui-validation.json",
"log": ".qa/reproducible-env-verify-purge-ui.log"
},
{
"script": "verify-workers-ui.mjs",
"success": true,
"groups": 10,
"durationMs": 114916,
"evidence": "docs/reproducible-env-workers-ui-validation.json",
"log": ".qa/reproducible-env-verify-workers-ui.log"
},
{
"script": "verify-task-plans-ui.mjs",
"success": true,
"groups": 8,
"durationMs": 14078,
"evidence": "docs/reproducible-env-task-ui-validation.json",
"log": ".qa/reproducible-env-verify-task-plans-ui.log"
},
{
"script": "verify-browser-ui.mjs",
"success": true,
"groups": 10,
"durationMs": 23012,
"evidence": "docs/reproducible-env-browser-ui-validation.json",
"log": ".qa/reproducible-env-verify-browser-ui.log"
},
{
"script": "verify-ui.mjs",
"success": true,
"groups": 10,
"durationMs": 20534,
"evidence": "docs/reproducible-env-basic-ui-validation.json",
"log": ".qa/reproducible-env-verify-ui.log"
},
{
"script": "verify-diagnostics-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 21737,
"evidence": "docs/reproducible-env-diagnostics-ui-validation.json",
"log": ".qa/reproducible-env-verify-diagnostics-ui.log"
},
{
"script": "verify-execution-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 25922,
"evidence": "docs/reproducible-env-execution-ui-validation.json",
"log": ".qa/reproducible-env-verify-execution-ui.log"
},
{
"script": "verify-delivery-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 46332,
"evidence": "docs/reproducible-env-delivery-ui-validation.json",
"log": ".qa/reproducible-env-verify-delivery-ui.log"
},
{
"script": "verify-index-ui.mjs",
"success": true,
"groups": 8,
"durationMs": 7091,
"evidence": "docs/reproducible-env-index-ui-validation.json",
"log": ".qa/reproducible-env-verify-index-ui.log"
},
{
"script": "verify-change-sets-ui.mjs",
"success": true,
"groups": 11,
"durationMs": 11956,
"evidence": "docs/reproducible-env-change-sets-ui-validation.json",
"log": ".qa/reproducible-env-verify-change-sets-ui.log"
},
{
"script": "verify-context-ui.mjs",
"success": true,
"groups": 11,
"durationMs": 15907,
"evidence": "docs/reproducible-env-context-ui-validation.json",
"log": ".qa/reproducible-env-verify-context-ui.log"
},
{
"script": "verify-workspaces-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 28235,
"evidence": "docs/reproducible-env-workspaces-ui-validation.json",
"log": ".qa/reproducible-env-verify-workspaces-ui.log"
},
{
"script": "verify-python-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 18099,
"evidence": "docs/reproducible-env-python-ui-validation.json",
"log": ".qa/reproducible-env-verify-python-ui.log"
},
{
"script": "verify-react-delivery.mjs",
"success": true,
"groups": 6,
"durationMs": 25319,
"evidence": "docs/reproducible-env-react-delivery-validation.json",
"log": ".qa/reproducible-env-verify-react-delivery.log"
},
{
"script": "verify-research-ui.mjs",
"success": true,
"groups": 11,
"durationMs": 24055,
"evidence": "docs/reproducible-env-research-ui-validation.json",
"log": ".qa/reproducible-env-verify-research-ui.log"
},
{
"script": "verify-engines-ui.mjs",
"success": true,
"groups": 10,
"durationMs": 11971,
"evidence": "docs/reproducible-env-engines-ui-validation.json",
"log": ".qa/reproducible-env-verify-engines-ui.log"
},
{
"script": "verify-model-center-ui.mjs",
"success": true,
"groups": 6,
"durationMs": 6654,
"evidence": "docs/reproducible-env-model-center-ui-validation.json",
"log": ".qa/reproducible-env-verify-model-center-ui.log"
},
{
"script": "verify-project-memory-ui.mjs",
"success": true,
"groups": 4,
"durationMs": 6395,
"evidence": "docs/reproducible-env-project-memory-ui-validation.json",
"log": ".qa/reproducible-env-verify-project-memory-ui.log"
},
{
"script": "verify-task-checkpoints-ui.mjs",
"success": true,
"groups": 3,
"durationMs": 6797,
"evidence": "docs/reproducible-env-task-checkpoints-ui-validation.json",
"log": ".qa/reproducible-env-verify-task-checkpoints-ui.log"
},
{
"script": "verify-skills-ui.mjs",
"success": true,
"groups": 4,
"durationMs": 7415,
"evidence": "docs/reproducible-env-skills-ui-validation.json",
"log": ".qa/reproducible-env-verify-skills-ui.log"
},
{
"script": "verify-mcp-ui.mjs",
"success": true,
"groups": 6,
"durationMs": 9853,
"evidence": "docs/reproducible-env-mcp-ui-validation.json",
"log": ".qa/reproducible-env-verify-mcp-ui.log"
},
{
"script": "verify-mcp-recovery-ui.mjs",
"success": true,
"groups": 2,
"durationMs": 6564,
"evidence": "docs/reproducible-env-mcp-recovery-ui-validation.json",
"log": ".qa/reproducible-env-verify-mcp-recovery-ui.log"
}
],
"continuedFrom": ".qa/environment-all-ui-third-result.json",
"priorCompletedScripts": 15,
"executionNote": "First 15 scripts passed before the diagnostic fixture adjustment; remaining scripts run serially after adjustment. Product implementation inputs unchanged.",
"scope": "Every verifier owns an independent port and synthetic data directory. Synthetic provider fixtures verify protocols; configured-model acceptance is separate. No production service or real key read/copied."
}
@@ -0,0 +1,27 @@
{
"success": true,
"url": "http://127.0.0.1:54932",
"browser": "Microsoft Edge 156.0.4314.50",
"date": "2026-11-01T16:00:29.297Z",
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\ui-0c7ac15f-b598-4c92-98f4-bdebad50cc25\\ui-project",
"viewports": [
1440,
780,
390
],
"passed": [
"project selection and real file preview",
"real command consent, execution and stale snapshot rejection",
"diff review and verified file application",
"manual editor creates a reviewable proposal",
"file responses stay with the current selection",
"denial, session selection, reload, stale response rejection and export",
"project inventory responses cannot replace another project",
"780 and 390 px: project drawer, file, diff and trace controls, no page overflow",
"unified and detailed research reports render",
"model list, ephemeral key, compatible fixture tool loop and return to offline mode"
],
"pageErrors": [],
"requestFailures": [],
"modelValidation": "controlled local HTTP fixture; no real model"
}
@@ -0,0 +1,29 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T16:05:13.860Z",
"cases": [
"Desktop batch scope, per-file diffs, sealed single-write guard and pre-apply bytes",
"Three-file reviewed application preserves exact BOM/CRLF/LF and creates the new file",
"Explicit batch rollback restores exact originals and removes only the reviewed new file",
"A last-file owner conflict blocks the whole batch and shows the real recovery direction",
"Durable partial recovery reads actual hashes and preserves owner content during rollback",
"Changed observation fingerprints reject stale acknowledgement without releasing the project",
"Explicit owner-content acknowledgement ends recovery without claiming successful application",
"Switching projects clears the previous task notification while retaining its durable error and recovery history",
"390px step-limit review, same-task continuation entry, rollback confirmation and keyboard close fit the viewport",
"A delayed preparation response never opens a different project or changes its selected session",
"A failed batch response after its component unmounts cannot display an error in the newly selected project"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
".qa/screenshots/reproducible-env-batch-desktop-review.png",
".qa/screenshots/reproducible-env-batch-desktop-conflict.png",
".qa/screenshots/reproducible-env-batch-desktop-recovery.png",
".qa/screenshots/reproducible-env-batch-mobile-review.png",
".qa/screenshots/reproducible-env-batch-mobile-rollback.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-9fcff322-3c21-4885-b2a8-3c78a2d887a4",
"scope": "Real independent demo host and durable batch states; UI fixtures include actual owner conflict/rollback results. No real model credentials or user project were used."
}
@@ -0,0 +1,175 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T16:00:08.620Z",
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-e6ad0871-e4e3-4f15-bbb7-d37e17044fcc",
"passed": [
"actual step editor seals the chosen build, viewport and three CSS interactions without opening the page",
"review shows exact build identity and planned assertions; cancelling executes no browser work",
"real inner Edge clicks the intended element and the two counted assertions display with original Task/Run/build identity",
"original large JSON is paged in the UI and downloads the complete hash-identical result",
"the original screenshot renders at its actual resolution and downloads identical PNG bytes",
"a real failed assertion retains actual count one and requires a newly reviewed plan instead of replaying",
"390px forms and result records remain usable and the inner browser captures its real 390px layout",
"stopping an actual in-flight assertion closes its owned browser and preserves prior successful and failed jobs",
"a delayed original-record failure stays with its source and does not appear in a newly selected task",
"actual host restart preserves the four original browser jobs and PNGs without model requests or execution replay"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-e6ad0871-e4e3-4f15-bbb7-d37e17044fcc\\browser-desktop-results.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-e6ad0871-e4e3-4f15-bbb7-d37e17044fcc\\browser-desktop-original-image.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-e6ad0871-e4e3-4f15-bbb7-d37e17044fcc\\browser-mobile-results.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-e6ad0871-e4e3-4f15-bbb7-d37e17044fcc\\browser-mobile-original-image.png"
],
"taskId": "fc802792-6dc9-47b0-8474-30b8a9b0600e",
"sessionId": "b0627873-9dd1-4f7e-af2b-72eba24f4aee",
"jobs": [
{
"id": "a2fcf92b-d7c4-4c91-be99-a3de50f6584a",
"status": "passed",
"planId": "8202e34a-1ce6-41bf-860b-57ce45225966",
"assertions": {
"total": 2,
"passed": 2,
"failed": 0
},
"resultSha256": "7d4930bfba502e2e9a3e6e31158390aed22a99e1ba38c5db06517d8cab9e7600",
"cleanup": {
"pid": 38236,
"exited": true,
"exitCode": 0,
"signal": null,
"finishedAt": "2026-11-01T15:59:52.071Z",
"previewClosed": true,
"snapshotDisposed": true
},
"screenshots": [
{
"artifactId": "e5a3f7eb-ba43-4eaa-a7f9-17f6eea4f79f",
"sha256": "74f2387b837f5f74bd7e8eef7631865a3b5bb24601c4bbaa93b2478a9e94c6ef",
"bytes": 101061,
"width": 1280,
"height": 900,
"label": "initial"
},
{
"artifactId": "a8b2df85-86a3-4172-a01b-31116db243dc",
"sha256": "b1de525bcf042bc1724e8a9c6670042ab3035bed394ff76cf2a934a443ae98f7",
"bytes": 85261,
"width": 1280,
"height": 900,
"label": "final"
}
]
},
{
"id": "beaefd5d-3194-4492-a45b-088ac67a1c67",
"status": "failed",
"planId": "aa7c7d43-7d09-4245-82cf-0d8824d5551e",
"assertions": {
"total": 2,
"passed": 1,
"failed": 1
},
"resultSha256": "31fa742353d23208764cc22f049860e1fb5c6624c577aea233de4729ddf9660a",
"cleanup": {
"pid": 10220,
"exited": true,
"exitCode": 0,
"signal": null,
"finishedAt": "2026-11-01T15:59:58.399Z",
"previewClosed": true,
"snapshotDisposed": true
},
"screenshots": [
{
"artifactId": "c72a48f2-3176-422a-b8aa-acbe43364553",
"sha256": "74f2387b837f5f74bd7e8eef7631865a3b5bb24601c4bbaa93b2478a9e94c6ef",
"bytes": 101061,
"width": 1280,
"height": 900,
"label": "initial"
},
{
"artifactId": "97a87e57-6fb8-4324-8efe-a66bc4aa30fb",
"sha256": "b1de525bcf042bc1724e8a9c6670042ab3035bed394ff76cf2a934a443ae98f7",
"bytes": 85261,
"width": 1280,
"height": 900,
"label": "failure"
}
]
},
{
"id": "c30cb0b8-6b7b-45e4-b465-1a23c4daa15d",
"status": "passed",
"planId": "cfb703d3-9f1c-448d-b2b5-7d6d4bb3c3f4",
"assertions": {
"total": 2,
"passed": 2,
"failed": 0
},
"resultSha256": "d2cb24659500d7a90f8670f7bd612a8d54f4cedf52df95ca9d72445f22685d23",
"cleanup": {
"pid": 53856,
"exited": true,
"exitCode": 0,
"signal": null,
"finishedAt": "2026-11-01T16:00:01.182Z",
"previewClosed": true,
"snapshotDisposed": true
},
"screenshots": [
{
"artifactId": "dbd3be97-6f16-4a45-a610-bab0d606df75",
"sha256": "93969f1954eec1f7fa4736d7a3035631c6066b6727132ff1179180eadb745602",
"bytes": 11011,
"width": 390,
"height": 844,
"label": "initial"
},
{
"artifactId": "caf5826c-a505-41ec-b2d1-e54911daa632",
"sha256": "a6908ecfcfd239721ec6bbb916a5054d2f61183b6dea3f014db89216d371d0e3",
"bytes": 18832,
"width": 390,
"height": 844,
"label": "final"
}
]
},
{
"id": "d0bb6ae3-1490-45aa-9833-469215fdad11",
"status": "interrupted",
"planId": "ce65ef56-866a-4a42-8448-e941d8d0dd7d",
"assertions": {
"total": 3,
"passed": 2,
"failed": 1
},
"resultSha256": "ed0fcba1a11f95c98ff8e643955b1f154ca141a75d05b66597d729d56fed0b18",
"cleanup": {
"pid": 52804,
"exited": true,
"exitCode": 0,
"signal": null,
"finishedAt": "2026-11-01T16:00:05.213Z",
"previewClosed": true,
"snapshotDisposed": true
},
"screenshots": [
{
"artifactId": "5812f741-6e2a-4072-94e2-d7d3d2b8bac2",
"sha256": "93969f1954eec1f7fa4736d7a3035631c6066b6727132ff1179180eadb745602",
"bytes": 11011,
"width": 390,
"height": 844,
"label": "initial"
}
]
}
],
"scope": "Actual independent Workbench UI plus real Edge static-build executions. The configured production Provider, other projects and keys are not accessed."
}
@@ -0,0 +1,29 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T16:05:13.860Z",
"cases": [
"Desktop batch scope, per-file diffs, sealed single-write guard and pre-apply bytes",
"Three-file reviewed application preserves exact BOM/CRLF/LF and creates the new file",
"Explicit batch rollback restores exact originals and removes only the reviewed new file",
"A last-file owner conflict blocks the whole batch and shows the real recovery direction",
"Durable partial recovery reads actual hashes and preserves owner content during rollback",
"Changed observation fingerprints reject stale acknowledgement without releasing the project",
"Explicit owner-content acknowledgement ends recovery without claiming successful application",
"Switching projects clears the previous task notification while retaining its durable error and recovery history",
"390px step-limit review, same-task continuation entry, rollback confirmation and keyboard close fit the viewport",
"A delayed preparation response never opens a different project or changes its selected session",
"A failed batch response after its component unmounts cannot display an error in the newly selected project"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
".qa/screenshots/reproducible-env-batch-desktop-review.png",
".qa/screenshots/reproducible-env-batch-desktop-conflict.png",
".qa/screenshots/reproducible-env-batch-desktop-recovery.png",
".qa/screenshots/reproducible-env-batch-mobile-review.png",
".qa/screenshots/reproducible-env-batch-mobile-rollback.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-9fcff322-3c21-4885-b2a8-3c78a2d887a4",
"scope": "Real independent demo host and durable batch states; UI fixtures include actual owner conflict/rollback results. No real model credentials or user project were used."
}
@@ -0,0 +1,42 @@
{
"success": true,
"version": "1.21.0",
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench",
"nodePath": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
"nodeSha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5",
"containedRuntime": false,
"passed": [
"desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust",
"390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop",
"phone UI confirms original Task/Run approval and the existing Runtime executes one command",
"original paginated diff and counted check/report display verified content from the same Task",
"disconnect and refresh recover from persistent seq without submitting a new command or Run",
"PWA service worker stores the shell and no API/project response",
"desktop revocation removes mobile project content immediately on the next read while preserving the original completed tool"
],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\desktop-certificate.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\desktop-pairing.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\mobile-task-list.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\mobile-original-approval.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\mobile-original-diff.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\mobile-original-report.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\mobile-disconnected.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\tablet-task-list.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\desktop-management-narrow.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-285c024a-2035-4d00-bbe3-8aa42be75c13\\mobile-revoked.png"
],
"errors": [],
"viewports": [
1440,
390,
768
],
"browser": "Microsoft Edge via Playwright; owned loopback QA relay with actual CA verification",
"nativeSafariTrustCookiePWA": "pending-real-iPhone",
"osTrustChanged": false,
"certificateWarningsBypassed": false,
"realModelRequests": 0,
"taskId": "13fa547f-36a1-44c2-9fb3-cae522b04231",
"runId": "3357c3d8-fab9-4250-8057-48c13c33393d"
}
@@ -0,0 +1,34 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T16:05:29.326Z",
"passed": [
"desktop request estimate, actual usage, complete goal and history identity are visible",
"paged complete history opens actual tool result artifacts without executing tools",
"historical and resumed Runs retain their own request records",
"390px history, original JSON and sent-body dialogs fit and retain close controls",
"late old history failure stays in its original scope after switching projects",
"late old Run failure stays in its original scope after switching projects",
"late old request-body failure stays in its original scope after switching projects",
"context-limit pause explains the intact requirement and explicit continuation",
"390px repeated-read pause explains the cause and explicit continuation retains the same Task",
"desktop working evidence shows actual code, original result provenance and the current Task",
"390px working evidence and sent request stay readable and closing the artifact retains task navigation"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
".qa/screenshots/reproducible-env-desktop-plan.png",
".qa/screenshots/reproducible-env-desktop-history.png",
".qa/screenshots/reproducible-env-mobile-history.png",
".qa/screenshots/reproducible-env-mobile-original.png",
".qa/screenshots/reproducible-env-mobile-request-body.png",
".qa/screenshots/reproducible-env-mobile-read-pause.png",
".qa/screenshots/reproducible-env-desktop-working-evidence.png",
".qa/screenshots/reproducible-env-mobile-working-evidence.png"
],
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-0e797bcf-adf3-4447-8a08-c76ea5928057",
"data": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-0e797bcf-adf3-4447-8a08-c76ea5928057\\data",
"mode": "saved synthetic context evidence; no real model or project commands executed by this UI verifier",
"browser": "156.0.4314.50"
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,31 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T16:04:54.593Z",
"browser": "156.0.4314.50",
"passed": [
"actual failing tests and four source proposals retain the original project and task",
"reviewed changes continue the same Task through 14 real tests and model-prepared Git review",
"review shows actual paths, diffs, tests, author and policy; cancelling leaves Git unchanged",
"an index change after confirmation preview refuses the stale job and preserves both staged owners",
"390px confirmation keeps file hashes, diffs and actions inside the modal",
"double confirmation creates one four-file commit, retains owner bytes and publishes report with completion",
"report viewing and Markdown/JSON downloads preserve verified artifact bytes and truthful acceptance limits",
"mobile report preview closes cleanly and keeps the task input fixed",
"unknown Git results block new submission and the explicit reconcile action restores the existing commit"
],
"pageErrors": [],
"requestFailures": [],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\delivery-ui-ba72a53c-33f9-44b4-8354-08032ffb38d2\\四模块交付工程",
"projectId": "4cca60df-c87d-4338-b0e6-d4496c8381c9",
"sessionId": "1282d40b-c04e-4acf-afb3-61d72a5ccf32",
"taskId": "8c9def71-ebd5-4e77-b985-3d2df6b29087",
"commit": "fb8714061405b8020f8d45675e76783e579dda99",
"recoveryCommit": "ac30665298d1ddc249e5f200695f37574800e3e4",
"testCounts": {
"baselineFailed": 13,
"passed": 14
},
"model": "controlled local HTTP fixture",
"confirmations": 2
}
@@ -0,0 +1,22 @@
{
"success": true,
"version": "1.21.0",
"url": "http://127.0.0.1:49482",
"date": "2026-11-01T16:03:41.970Z",
"passed": [
"model response validation checks the tentative connection before saving",
"a model failure after successful tools shows source, attempts and local runtime diagnosis",
"explicit retry preserves the completed tool result without replaying the task",
"an error question receives the actual session diagnosis and formatted answer",
"review state exposes the review action and prevents application during a running request",
"approved Unicode commands execute in the declared shell and retain Chinese output",
"authentication errors do not retry and error/diagnostic controls fit a 390 px viewport",
"stop cancels pending retry and clears running model state",
"a transient service failure recovers within the bounded retry policy"
],
"pageErrors": [],
"requestFailures": [],
"diagnosticReads": 1,
"diagnosticProjectionUsed": true,
"modelValidation": "controlled local HTTP fixture; actual configured model is verified separately"
}
@@ -0,0 +1,232 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T16:07:17.385Z",
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-7f2c8d4f-d10b-4466-9267-3817d9e37796",
"browser": "156.0.4314.50",
"passed": [
"independent desktop engine entry detects the declared installation and clearly separates connection from project execution",
"missing installations and edited directories cannot launch a check until detection succeeds",
"UI launch seals the selected installation into the current Task/Run and renders actual startup and process-close facts",
"original record paging, full download SHA256 and nested-dialog keyboard close preserve the exact evidence",
"an explicit new check creates a different process and record while retaining the original check unchanged",
"declared pending-initialize fixture stops its owned process and explicit retry preserves the stopped result",
"the same product UI verifies the actual installed DeepSeek SDK without a prompt or configured-model call",
"390px installation paths, source chain, original record, paging and keyboard close remain readable without page overflow",
"late detection failure from a closed panel cannot appear in a different task or reveal its prior engine records",
"actual host restart preserves all native and declared-fixture records with no protocol replay or project modification"
],
"pageErrors": [],
"requestFailures": [],
"expectedRequestFailures": [],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-7f2c8d4f-d10b-4466-9267-3817d9e37796\\screenshots\\engines-native-desktop.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-7f2c8d4f-d10b-4466-9267-3817d9e37796\\screenshots\\engines-record-mobile.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-7f2c8d4f-d10b-4466-9267-3817d9e37796\\screenshots\\engines-native-mobile.png"
],
"starts": [
{
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-7f2c8d4f-d10b-4466-9267-3817d9e37796\\本地 SDK #",
"identitySha256": "0827f3b8f1c5798af0b2e0767ee4077f934bbb4728a5ab7a875a23d371019c6d"
},
{
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-7f2c8d4f-d10b-4466-9267-3817d9e37796\\本地 SDK #",
"retry": true
},
{
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-7f2c8d4f-d10b-4466-9267-3817d9e37796\\本地 SDK #",
"identitySha256": "0827f3b8f1c5798af0b2e0767ee4077f934bbb4728a5ab7a875a23d371019c6d"
},
{
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-7f2c8d4f-d10b-4466-9267-3817d9e37796\\本地 SDK #",
"retry": true
},
{
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
"identitySha256": "65483d7f8aa644d890100a22bc52555ce91c009ba2d213b510f3da1a9ede7ff3"
}
],
"nativeJob": {
"schemaVersion": 1,
"id": "8bb3604b-b810-4920-8c94-461a0821cbac",
"sessionId": "60a1fa8d-4d51-4be0-91be-83e544642522",
"projectId": "05a70c5b-1317-43fe-a1ed-6e09b964b344",
"taskId": "37613dfa-14cd-455f-97c7-d923b70007d8",
"runId": "45934c19-3e73-437d-924f-dcf3b6f92063",
"engineId": "deepseek-harness",
"scope": "deepseek-sdk-connection-probe",
"source": "user",
"installation": {
"engineId": "deepseek-harness",
"name": "DeepSeek Harness",
"profile": "sdk-minimal",
"expectedVersion": "0.2.1-rc.2",
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
"capabilities": {
"connectionProbe": true,
"projectExecution": false,
"prompt": false,
"singleSessionCancel": false,
"protocolVersionNegotiation": false,
"cancellationUnit": "owned-process",
"tokenStreaming": false
},
"limitations": [
"当前接入核验启动、会话目录、协议错误和关闭;工程执行接入开发中。",
"SDK没有单会话cancel或close;停止以所属独立进程为单位。",
"SDK serverInfo.version与发行包版本分别核对,没有有效协议版本协商。",
"SDK事件覆盖运行时会话树,idle事件不能直接判项目交付完成。"
],
"status": "available",
"version": "0.2.1-rc.2",
"entry": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\lib\\bin.js",
"inputs": [
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\package.json",
"bytes": 8138,
"sha256": "d42efe9f3ff424f602f11598af8805ad25039953ebbbd3c163d67875f7e8658b",
"relative": "apps/cli/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\lib\\bin.js",
"bytes": 11772,
"sha256": "80112efe368efb1a39720c7ada0af00442e5131fb2744edaaff8a3e8bb499e6f",
"relative": "apps/cli/lib/bin.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\boot\\cmdline\\lib\\index.js",
"bytes": 6973,
"sha256": "7253190611566485f8b6f836fae6e0f2a7abbc59bb807c42e874844016e6d3a0",
"relative": "packages/boot/cmdline/lib/index.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-app\\lib\\index.js",
"bytes": 1921,
"sha256": "cc7e6c38b0b38c0e92a0dffb45210c1dac6ef518547436e805e84b772f91a475",
"relative": "packages/bundle/sdk-app/lib/index.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-minimal\\package.json",
"bytes": 2920,
"sha256": "0e177cbca85148207343db5afd7f12829723cf3f2afedfa8e85a5c5dcd58f604",
"relative": "packages/bundle/sdk-minimal/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-minimal\\cordis.patch.yml",
"bytes": 5636,
"sha256": "464ea07c03d3639c2c387fa3a684f5d4001e7ca39f8257b361c604f19487af66",
"relative": "packages/bundle/sdk-minimal/cordis.patch.yml"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\server\\package.json",
"bytes": 2155,
"sha256": "2690f99763c3e1e7bd57f680f26e53010c2a3d7c4dffe06ff64a07ae3928cb17",
"relative": "packages/sdk/server/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\server\\lib\\index.js",
"bytes": 16454,
"sha256": "55412923f9f7c279f7e0b2a1e2853eaf238f390b3d84046cb9c94dc5f22a1e4a",
"relative": "packages/sdk/server/lib/index.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\protocol\\package.json",
"bytes": 1237,
"sha256": "b030b0431d69723b5424dc2519cd4b381ec91acd22b73e0b30d6b8a19f1f2f94",
"relative": "packages/sdk/protocol/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\protocol\\lib\\index.js",
"bytes": 7336,
"sha256": "371c38ca3514797d86df5f4bb78a56c40a2637294b83aababe8145bec6a20253",
"relative": "packages/sdk/protocol/lib/index.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\client\\package.json",
"bytes": 1325,
"sha256": "ff33f2ecec2d48bb8a24397cc664fc2dd50ba49d5288eb11fea1cb12931e5d5f",
"relative": "packages/sdk/client/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\pnpm-lock.yaml",
"bytes": 1090222,
"sha256": "4637cca3b89c4c8d5a147321710e597aa62ec2444a3772ab542be5690893dfe4",
"relative": "pnpm-lock.yaml"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\vendor\\cordis\\lib\\index.js",
"bytes": 60361,
"sha256": "6a9394c0877ff45218818c6e815edd038f8057e1a1deb390a8d43ec81c57691e",
"relative": "vendor/cordis/lib/index.js"
}
],
"node": {
"path": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
"bytes": 93915464,
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5",
"version": "24.22.1"
},
"identitySha256": "65483d7f8aa644d890100a22bc52555ce91c009ba2d213b510f3da1a9ede7ff3",
"serverInfo": {
"name": "deepseek-harness-sdk-runtime",
"version": "0.0.1"
},
"message": "已找到匹配版本,可验证原程序的连接与停止。"
},
"sdkSessionId": "c6d39697-053f-4bb0-ba05-12e6f934a256",
"directory": "C:\\Users\\wangy\\AppData\\Local\\Temp\\AgentWorkbench-Engines\\8bb3604b-b810-4920-8c94-461a0821cbac",
"status": "completed",
"startedAt": "2026-11-01T16:07:12.826Z",
"finishedAt": "2026-11-01T16:07:13.948Z",
"requiresVerification": false,
"verification": {
"verified": true,
"installationSha256": "65483d7f8aa644d890100a22bc52555ce91c009ba2d213b510f3da1a9ede7ff3",
"readySignal": "appReady",
"sdkSessionId": "c6d39697-053f-4bb0-ba05-12e6f934a256",
"connectionId": "b5ba6a48-c4e3-4162-b922-e0e48e8db422",
"rootExited": true,
"modelRequests": 0
},
"summary": "连接通过,启动、协议返回、会话目录与进程结束均已核对。",
"contractArtifactId": "1a37bdf5-7217-4884-84a7-6002f32e22fc",
"contractSha256": "2c1a4f6fa8245389f0bdb3659399cc3b8f3ccdac40b043894ab61ec841237b1b",
"eventId": "52e57d3c-4735-4cdc-9e7e-08d15ae9fa9e",
"pid": 49444,
"connectionId": "b5ba6a48-c4e3-4162-b922-e0e48e8db422",
"readiness": {
"schemaVersion": 1,
"nonce": "28040abc-54e0-4d57-a7c7-da437af57171",
"pid": 49444,
"signal": "appReady",
"readyAt": "2026-11-01T16:07:13.680Z",
"artifact": {
"path": "C:\\Users\\wangy\\AppData\\Local\\Temp\\AgentWorkbench-Engines\\8bb3604b-b810-4920-8c94-461a0821cbac\\ready.json",
"bytes": 135,
"sha256": "5809580265ace7cfd6cce006003b472d6a0dacd4081941cd01c10432e2ce0328"
}
},
"serverInfo": {
"name": "deepseek-harness-sdk-runtime",
"version": "0.0.1"
},
"reportArtifactId": "652b89e4-d8c4-4c9e-824d-6797a97caac0",
"reportSha256": "3785415ef946aac8007355f9c9f897c619fa9b88e32ce6fd71d53dc77f5713ad",
"reportSummary": {
"status": "verified",
"modelRequests": 0,
"providerRequests": 0,
"observedResponses": 6,
"rootExited": true
}
},
"actualSdk": {
"version": "0.2.1-rc.2",
"identitySha256": "65483d7f8aa644d890100a22bc52555ce91c009ba2d213b510f3da1a9ede7ff3",
"nativeMethods": 6,
"modelRequests": 0,
"rootExited": true
},
"stopScope": "declared private SDK pending-initialize fixture",
"scope": "Independent service and data. Original 4318 Provider, tasks and credentials were not accessed."
}
@@ -0,0 +1,130 @@
{
"success": true,
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench",
"version": "1.21.0",
"checks": [
"desktop diagnosis, fixed plan, explicit approval, actual npm, original log and refresh",
"390px same real flow and bounded plan modal",
"explicit script approval and original nonzero install failure",
"stop kills only owned npm tree and keeps cancelled logs",
"changed lock rejected before process dispatch",
"recovered unknown remains original unknown after explicit reconciliation",
"late plan response cannot replace another project or task"
],
"screenshots": [
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c\\desktop-plan.png",
"sha256": "eb3bfc912b43069d5b846f971ce88ad7501a4ac025e98996a534260a87d0e9eb"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c\\desktop-prepared.png",
"sha256": "b214f04c355a79f4a9927324ebeb0d79ebbe1d911147e140b9b20d317a3265b2"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c\\mobile-plan.png",
"sha256": "b44516e0cb0c0ac0e5695e57677ca3ac3c1b7dd44afd5f12c464aea3f70df974"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c\\mobile-prepared.png",
"sha256": "19fb7f1063fd1be82fee124137c01b98ba10e1a8b16f7648074e5656df094498"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c\\failure-original-log.png",
"sha256": "9723604776498eae8216a2d863fcce42f20a7756b7e1c07de2e5b04f80f3c74f"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c\\stopped-owned-process.png",
"sha256": "d3aec3e8bacf038f9751ebe191578b41edaeb15ba0c7d5b3fe98c6cc26a72841"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c\\stale-input-rejected.png",
"sha256": "0bbaed1bd4c052937aa4d8e4c6897d8490c87cd84eeefb533711ef8a67b2a46b"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c\\recovery-reconciled.png",
"sha256": "f302141871a102461e91c304f01ad4c3d040a1a5e26d74e8421a31b45b97acf6"
}
],
"pageErrors": [],
"failures": [],
"events": [
{
"url": "http://127.0.0.1:59786/api/sessions/5b9fb234-f469-43ec-97b7-04f11ca7a6d8/environment-diagnostics",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/5b9fb234-f469-43ec-97b7-04f11ca7a6d8/environment-plans",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/5b9fb234-f469-43ec-97b7-04f11ca7a6d8/environment-jobs",
"status": 202
},
{
"url": "http://127.0.0.1:59786/api/sessions/6a6c6a45-0831-4f9e-9bd1-34a003e3b90c/environment-diagnostics",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/6a6c6a45-0831-4f9e-9bd1-34a003e3b90c/environment-plans",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/6a6c6a45-0831-4f9e-9bd1-34a003e3b90c/environment-jobs",
"status": 202
},
{
"url": "http://127.0.0.1:59786/api/sessions/456a8f9f-3a32-4536-9d2c-8c87e197131b/environment-diagnostics",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/456a8f9f-3a32-4536-9d2c-8c87e197131b/environment-plans",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/456a8f9f-3a32-4536-9d2c-8c87e197131b/environment-jobs",
"status": 202
},
{
"url": "http://127.0.0.1:59786/api/sessions/6f42331f-dcce-42a5-8092-67cff187cda3/environment-diagnostics",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/6f42331f-dcce-42a5-8092-67cff187cda3/environment-plans",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/6f42331f-dcce-42a5-8092-67cff187cda3/environment-jobs",
"status": 202
},
{
"url": "http://127.0.0.1:59786/api/sessions/6f42331f-dcce-42a5-8092-67cff187cda3/environment-jobs/da90520b-d3d6-4978-9251-014702dffd89/stop",
"status": 200
},
{
"url": "http://127.0.0.1:59786/api/sessions/b4d98b4e-43ee-4bb2-9197-6ed8e4ed297d/environment-diagnostics",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/b4d98b4e-43ee-4bb2-9197-6ed8e4ed297d/environment-plans",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/b4d98b4e-43ee-4bb2-9197-6ed8e4ed297d/environment-jobs",
"status": 409
},
{
"url": "http://127.0.0.1:59786/api/sessions/2194f7a8-c3bb-4c9a-8519-61ae39c5cecf/environment-jobs/6edbf691-b5b7-44a2-85fc-806fd19f33e7/reconcile",
"status": 200
},
{
"url": "http://127.0.0.1:59786/api/sessions/8221afb8-7df6-465b-aae4-33692b256b5d/environment-diagnostics",
"status": 201
},
{
"url": "http://127.0.0.1:59786/api/sessions/8221afb8-7df6-465b-aae4-33692b256b5d/environment-plans",
"status": 201
}
],
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\environment-ui-79b5ba7c-733e-4ee9-bee0-bd2724c9549c",
"realModelRequests": 0
}
@@ -0,0 +1,73 @@
{
"passed": true,
"version": "1.21.0",
"evidenceKind": "owned fixed response, actual isolated Git/checks and desktop/390px UI",
"realModelRequests": 0,
"fixtureRequests": 6,
"assertions": [
"desktop/390px form rejects candidate test edits, keeps entered requirements, persists fixed model/source/budget and reloads the original plan",
"explicit preparation seals two same-source checkouts and actual commands; original real three-test failure is retained with zero model requests",
"candidate navigates to its original restricted task for real change review and check approval, runs the original test/build and preserves the parent source",
"parallel comparison preserves original failure, candidate pass, real approval/application counts and absent cost; export and refresh retain the original report and fixture label",
"adoption forms a fresh parent review batch; completion requires applied source, fresh real parent checks and local Git delivery while owner modifications remain exact",
"stop waits for the owned candidate request, preserves stopped outcome and never turns cancellation into a passed sample or a replay",
"changed owner source is rejected before workspace creation and the error stays attached to the original batch instead of a generic chat reply"
],
"screenshots": [
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\desktop-empty.png",
"sha256": "ce25861b022d60c8a2ef10222fb1ee84a3334bd404bef8cbd544547e6ffc4f90"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\mobile-form-scope-error.png",
"sha256": "e1c31b36acad53cb4d9bdef85a202f2d1e6046b94ed9df5985153f1f1d8c7f23"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\desktop-ready.png",
"sha256": "4e4586abd374709fc04c753731e882006549df3daccb822be9cd0456b30a4d38"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\desktop-candidate-complete.png",
"sha256": "864f2f6e0325ae94ed50d9aef91b7f21774462fb258e3684aa54956c3101efc7"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\desktop-comparison.png",
"sha256": "a094ae1043e625fe78ba212d0dfee43869fba8c8f49a94f70bf689a5f7c62d03"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\mobile-comparison.png",
"sha256": "bd245ea15b1c760234b30da87bed0f8f80a7da12bc3304b796185a1ee2417ac6"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\mobile-candidate-evidence.png",
"sha256": "bc9eb179fc27f3bebfe7c8987cd4d0131bcdde9a3e967536ff483546b52f556a"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\desktop-delivered.png",
"sha256": "e9e5d27d770b7f7c0946eca07c3a73004aaf254e3d7a14c80ac36c327bf8724c"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\mobile-stopped.png",
"sha256": "68de8d613217137c6336444eaf7fec19bb84f14a6be5955152c7796384885a19"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\mobile-source-error.png",
"sha256": "f210677549a4dc2bd504faa54866efb525f7b901b50088bc365323366f02d378"
}
],
"exports": [
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\downloaded-report.json",
"sha256": "c48cc67e5d24fa42d5f6d51c5f810b8395aafea936dcf04e62ff56693d49c2c5"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\report-6d06050c-de29-4b62-bf7e-a794d3375761.json",
"sha256": "c48cc67e5d24fa42d5f6d51c5f810b8395aafea936dcf04e62ff56693d49c2c5"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engineering-evals-ui-6203036a-9ced-49ed-9914-1ebc693b6efa\\report-b2cdf71b-cf05-4037-99c1-7b8cf393cbf8.json",
"sha256": "1f6a8b5829530fc093d07bda3dc8373d5c04cd858717e4fc2c5677aa2ccc7bb2"
}
],
"errors": []
}
@@ -0,0 +1,19 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T16:04:08.135Z",
"browser": "156.0.4314.50",
"passed": [
"model-selected checks wait for approval and display actual counted results",
"verified artifact preview shows the real check log and hash",
"changed source invalidates old checks and manual confirmation runs the new plan",
"390px task drawer, log preview, close controls and fixed composer remain operable",
"reconnection synchronizes missed session changes in other projects",
"budget controls pause before tools and preserve the goal across recorded runs",
"applied proposals continue the original task into actual engineering verification"
],
"pageErrors": [],
"requestFailures": [],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\execution-ui-b81f0131-0ea4-463b-a4e1-7666250bd0b1\\project",
"model": "controlled local HTTP fixture"
}
@@ -0,0 +1,19 @@
{
"checkedAt": "2026-11-01T16:05:01.892Z",
"version": "1.21.0",
"passed": [
"工程索引可独立于任务使用,实际覆盖范围与损坏文件显示明确",
"真实AST查询打开原文件第181行并仅滚动代码容器,输入区和顶部保持可见",
"查询词保留;过期SHA不高亮旧位置,增量刷新后正确定位第184行",
"切换项目时延迟返回的旧索引不覆盖新项目结果",
"Python候选、字符串误报排除和局部导入文件候选保留真实证据标签",
"两处唯一锚点成为待审核提案,真实界面应用后BOM/CRLF和未选择原字节保留",
"390px索引查询、范围和完整指纹可读且无横向溢出,实际文件行定位通过",
"索引刷新失败保留归属和解释,旧结果禁用并可重试恢复"
],
"pageErrors": [],
"requestFailures": [],
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\index-ui-2b6fcfbf-c76e-4277-9576-74bee244fc68",
"primaryProjectId": "37e3fff1-ece0-439d-8b6a-25f609706158",
"otherProjectId": "0a6904db-d8f0-4242-bdd0-07c3f405e8fb"
}
@@ -0,0 +1,33 @@
import fs from 'node:fs';
import assert from 'node:assert/strict';
const read=file=>JSON.parse(fs.readFileSync(file,'utf8'));
const identity=read('docs/reproducible-env-release-identity.json'),v=identity.validation,c=identity.formal.counts;
assert.equal(identity.version,'1.21.0');assert.equal(identity.formal.currentProviderPreserved,true);
assert.equal(v.sourceTests.tests,v.sourceTests.pass);assert.equal(v.sourceTests.fail,0);
const summary=`1.21.0已完成工程环境与固定依赖准备的本地交付:只读Node/npm和Python诊断、管理工作区npm ci计划/审批/所属进程/停止/原日志、中断unknown核对、检查和原版/候选评测的实际依赖身份。独立冻结源码${v.sourceTests.pass}/${v.sourceTests.tests}、${v.historicalUiScripts}类${v.historicalUiGroups}组历史界面(前15类与后17类分段串行,来源明确)、源码/便携各7组新环境界面、同载荷安装7组、正式${v.formalPanels}页及Edge/Electron两视口通过。原PID${identity.formal.pid}/Provider保持,${c.projects}项目/${c.sessions}全部会话/${c.records}记录/${c.events}事件及${identity.formal.artifactFiles}工件文件原字节保持,9229关闭。本轮验收发起真实模型请求0,原失败不改写。`;
const links='见[环境准备说明](ENVIRONMENT-PREPARATION.md)、[1.21验收](QA-1.21.md)、[回顾](RETROSPECTIVE-1.21.md)与[发行身份](reproducible-env-release-identity.json)。下一[1.22内置浏览器](PLAN-1.22.md)仍为计划。';
const update=(file,transform)=>{const old=fs.readFileSync(file,'utf8'),next=transform(old);assert.notEqual(next,old,'Expected a concrete documentation update: '+file);fs.writeFileSync(file,next);};
const prepend=(text,body)=>text.replace(/^(#[^\r\n]+\r?\n)/,'$1\n'+body+'\n');
update('AGENTS.md',text=>{
let next=prepend(text,summary+' 当前身份以docs/reproducible-env-release-identity.json为准,1.22内置浏览器按计划继续;真实模型收益和新iPhone流程另验。\n');
next=next.replace('当前接续优先级:1.20.3模型原生参数与错误保留已本地上线,原状态/失败保持;内置浏览器已排1.22。','当前接续优先级:1.21工程环境与固定依赖准备已本地交付,原状态/失败保持;下一按PLAN-1.22实施内置浏览器。');
next=next.replace('- 正式服务入口http://127.0.0.1:4318,当前1.20.3,沿用原PID36552与Provider;当前身份以docs/model-fidelity-release-identity.json为准。','- 正式服务入口http://127.0.0.1:4318,当前1.21.0,沿用原PID36552与Provider;当前身份以docs/reproducible-env-release-identity.json为准。');return next;
});
update('README.md',text=>text.replace(/^1\.21\.0工程环境与固定依赖准备已进入发行验收:[^\r\n]+/m,
'1.21.0已本地上线:任务记录可诊断工程环境,在管理的独立工作区核对并批准npm依赖准备,查看原日志、停止或核对中断结果,实际检查绑定依赖身份。'+`独立源码${v.sourceTests.pass}项、${v.historicalUiGroups}组历史界面及安装/升级通过,原连接和全部历史保持。见[工作台](http://127.0.0.1:4318/?release=1.21.0)、[使用说明](docs/ENVIRONMENT-PREPARATION.md)、[验收](docs/QA-1.21.md)、[回顾](docs/RETROSPECTIVE-1.21.md)和[发行身份](docs/reproducible-env-release-identity.json)。`));
update('CHANGELOG.md',text=>text.replace('## 1.21.0 · 工程环境与可复现依赖(发行验收中)','## 1.21.0 · 工程环境与可复现依赖(已本地交付)\n\n- '+summary));
update('task_plan.md',text=>text.replace('6. [in_progress] F:迁移登记1.21后两组升级通过;源码验证串行,避免固定9229端口争用。继续固定Node/React/Python、完整回归、独立源码/发行/安装、保留状态升级、封存和本地Git。',
'6. [complete] F:'+summary+' 原成功/失败、发行身份、SHA、计划与回顾完成;按范围本地Git收尾,下一1.22保持计划。'));
update('progress.md',text=>prepend(text,'## 1.21最终交付核对\n\n'+summary+'\n\n源码冻结'+identity.sourceCommit+',最终证据见docs/reproducible-env-release-evidence/manifest.json;第一次候选和前三次历史界面失败原件均保留,不修改不可变目录。\n'));
update('findings.md',text=>prepend(text,'- 最新结论:'+summary+' 下一1.22从所属开发服务和桌面浏览区开始。\n').replace('新增环境账本使inspect_session达到27645字符并被原预算封存','本轮inspect_session原返回27645字符并在实际请求预算下投影为最新工具反馈'));
update('docs/QA-1.21.md',text=>{
let next=text.replace('当前为发行验收记录,正式服务尚未升级。','本阶段已完成本地交付,以下过程与原失败保持历史含义。');
next=prepend(next,summary+'\n\n'+links+'\n');
next=next.replace('| 最终发行 | 历史UI、冻结源码全套、归档、便携、同载荷安装及保留状态正式升级在执行,未完成项不计通过 | 后续按原收据追加 |',`| 最终发行 | 独立源码${v.sourceTests.pass}/${v.sourceTests.tests}、32类233组分段历史UI、归档/便携/同载荷安装7组、保留状态升级及正式${v.formalPanels}页/原生两视口通过 | [原件清单](reproducible-env-release-evidence/manifest.json)与[发行身份](reproducible-env-release-identity.json) |`);
return next+'\n## 最终来源与限制\n\n独立解压源码按固定Node24/Python3.12.10与pytest8.4.2执行,普通测试并发2、固定9229升级测试独占;源码'+identity.sourceCommit+','+v.sourceInputFiles+'份输入、22份独立重建产物字节一致。历史界面前15类与后17类保留各自执行记录,仅诊断HTTP夹具适配已有投影协议,产品执行输入未变。实际React原版失败/候选9项测试和构建、Python2项、原生窗口/引擎/工程等结果按原报告分别判定,不相加为模型成功率。\n\n正式stage、单次保留Provider升级、activate与最终verify收据分别封存。全部原表每行/会话导出/公开连接/工件原字节比较一致;原SQLite备份和完整原状态快照仅在本机忽略目录,未进Git。\n';
});
update('docs/RETROSPECTIVE-1.21.md',text=>text.replace('最终发行和正式数据核对仍在执行,完成事实以[验收记录](QA-1.21.md)与原收据为准。','最终发行和正式数据核对已通过。'+summary+' 原始收据见[验收记录](QA-1.21.md)与[原件清单](reproducible-env-release-evidence/manifest.json)。')+'\n诊断UI旧HTTP夹具忽略预算投影而重复inspect_session,修正后实际只查询一次并消费原投影,九组通过;没有放宽产品无进展限制。历史UI分两段串行完成并保留每段来源,冻结源码另有完整整轮通过。安装体积和阶段耗时仍为后续维护项,不把校验完成误写成性能优化完成。\n');
update('docs/PLAN-1.21.md',text=>text.replace('本阶段已进入实现及发行验收,当前状态见[1.21验收](QA-1.21.md)。A–E已接入;F在核对真实工程、历史回归和独立发行。正式服务在通过发行门槛前保持1.20.3。','本阶段A–F已完成本地交付,实际范围及来源见[1.21验收](QA-1.21.md)。正式服务已保留原PID/Provider升级至1.21.0,原记录和失败保持。'));
update('docs/NEXT-STEPS.md',text=>text.replace(/^最新执行顺序:[^\r\n]+/m,'最新执行顺序:1.20.3模型错误保留与现有协议原生参数已上线 → 1.21工程依赖与可复现环境已本地交付 → [1.22工作台内置浏览器](PLAN-1.22.md)下一阶段实施。'+links+' 先完成所属开发服务预览与桌面浏览区,再增加代理操作及明确登录/下载/敏感提交权限。以下旧版段落保留其当时状态。'));
for(const file of ['docs/CAPABILITIES.md','docs/MILESTONE-AUDIT.md'])update(file,text=>prepend(text,summary+'\n\n'+links+'\n'));
console.log(JSON.stringify({success:true,version:identity.version,sourceCommit:identity.sourceCommit,sourceTests:v.sourceTests.tests,uiGroups:v.historicalUiGroups,counts:c}));
@@ -0,0 +1,42 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { execFileSync } from 'node:child_process';
import { createHash } from 'node:crypto';
import { validateInstalledVersion } from '../src/core/desktop/install-manager.mjs';
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const read = file => JSON.parse(fs.readFileSync(file));
const release = read('releases/latest.json'), commit = read('.qa/reproducible-env-b-code-baseline.json').codeCommit;
assert.equal(release.installer.version, '1.21.0'); assert.equal(release.installer.qaFixture, null);
assert.equal(execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8', windowsHide: true }).trim(), commit);
assert.equal(execFileSync('git', ['status', '--porcelain', '--', 'src', 'scripts', 'tests', 'package.json', 'package-lock.json'], { encoding: 'utf8', windowsHide: true }).trim(), '');
const paths = execFileSync('git', ['ls-tree', '-r', '--name-only', commit, '--', 'src', 'scripts', 'tests', 'package.json', 'package-lock.json', 'vite.config.ts', 'tsconfig.json', 'index.html', 'mobile.html'], { encoding: 'utf8', windowsHide: true }).trim().split('\n');
const blobOutput = execFileSync('git', ['cat-file', '--batch'], { input: paths.map(file => commit + ':' + file).join('\n') + '\n', windowsHide: true, maxBuffer: 64 * 1024 * 1024 });
let position = 0; const inputs = [];
for (const file of paths) {
const end = blobOutput.indexOf(10, position), header = blobOutput.subarray(position, end).toString(); assert.match(header, /^[a-f0-9]+ blob \d+$/);
const length = Number(header.split(' ').at(-1)), committed = blobOutput.subarray(end + 1, end + 1 + length); position = end + 2 + length;
const bytes = fs.readFileSync(path.join(release.sourceRoot, file));
const equal = bytes.equals(committed), normalized = bytes.toString('utf8').replaceAll('\r\n', '\n');
if (!equal) assert.equal(normalized, committed.toString('utf8'), 'Only CRLF normalization allowed: ' + file);
assert.deepEqual(bytes, fs.readFileSync(file), 'Source candidate matches frozen input: ' + file);
inputs.push({ path: file, bytes: bytes.length, sha256: hash(bytes), gitSha256: hash(committed), ...(equal ? {} : { normalization: 'Complete CRLF to LF equality' }) });
}
assert.equal(position, blobOutput.length);
const compiled = [];
for (const directory of ['dist-client', 'dist-server', 'dist-desktop']) {
const walk = relative => { for (const entry of fs.readdirSync(path.join(directory, relative), { withFileTypes: true })) {
const file = path.posix.join(directory, relative, entry.name); if (entry.isDirectory()) walk(path.posix.join(relative, entry.name)); else {
const bytes = fs.readFileSync(file); assert.deepEqual(bytes, fs.readFileSync(path.join(release.portableRoot, file))); compiled.push({ path: file, bytes: bytes.length, sha256: hash(bytes) });
}
} }; walk('');
}
const identity = validateInstalledVersion(release.portableRoot), sourceManifest = read(path.join(release.sourceRoot, 'MANIFEST.json'));
assert.equal(sourceManifest.version, '1.21.0');
for (const artifact of [release.portable, release.source, release.installer]) { assert.equal(fs.statSync(artifact.path).size, artifact.bytes); assert.equal(hash(fs.readFileSync(artifact.path)), artifact.sha256); }
const result = { success: true, version: '1.21.0', sourceCommit: commit, portableRoot: release.portableRoot, sourceRoot: release.sourceRoot,
portableIdentity: identity.identitySha256, portableManifestSha256: identity.manifestSha256, sourceManifestSha256: hash(fs.readFileSync(path.join(release.sourceRoot, 'MANIFEST.json'))),
setupSha256: release.installer.sha256, portable: release.portable, source: release.source, installer: release.installer, inputs, compiled,
scope: 'Every committed source/test/script/build input bound to frozen Git blobs with full CRLF-only normalization; all current compiled files identical; portable full manifest validated; source/archive/installer identity checked. No model calls.' };
fs.writeFileSync('.qa/reproducible-env-package-binding.json', JSON.stringify(result, null, 2), { flag: 'wx' });
console.log(JSON.stringify({ success: true, inputs: inputs.length, compiled: compiled.length, portableRoot: release.portableRoot }));
@@ -0,0 +1,75 @@
import fs from 'node:fs';
import path from 'node:path';
import net from 'node:net';
import assert from 'node:assert/strict';
import { execFile } from 'node:child_process';
import { promisify } from 'node:util';
import { DatabaseSync, backup } from 'node:sqlite';
import { publicSnapshot, compareOriginalState, hash } from './desktop-f-state.mjs';
import { InstallationManager, validateInstalledVersion } 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 read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
const save = (file, value) => fs.writeFileSync(file, JSON.stringify(value, null, 2) + '\n', { flag: 'wx' });
const mode = process.argv[2]; assert.ok(['stage', 'upgrade', 'activate', 'verify'].includes(mode));
const release = read('releases/latest.json'); assert.equal(release.installer.version, '1.21.0'); assert.equal(release.installer.qaFixture, null);
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
const validated = read('.qa/reproducible-env-package-validation.json'); assert.equal(validated.success, true); assert.equal(validated.setupSha256, release.installer.sha256);
const installRoot = 'C:/Users/wangy/AppData/Local/Programs/AgentWorkbench', originalPointer = read(path.join(installRoot, 'current.json'));
const dataRoot = fs.realpathSync.native(originalPointer.dataRoot), candidate = path.resolve(installRoot, 'versions', release.installer.candidateDirectory);
const url = 'http://127.0.0.1:4318', port = 4318, expectedPid = 36552, prefix = '.qa/reproducible-env-formal-';
const output = prefix + mode + '.json', beforeFile = prefix + 'before.json'; assert.equal(fs.existsSync(output), false, 'Do not repeat a sealed phase');
const startedAt = new Date().toISOString();
const originalProcess = () => { const value = observeWindowsProcess(expectedPid); assert.ok(value); assert.equal(value.createdAt, '2026-10-31T06:30:34.359Z'); assert.equal(hash(fs.readFileSync(value.executable)), 'd702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5'); return value; };
async function inspectorClosed() { return new Promise((resolve, reject) => { const socket = net.createConnection({ host: '127.0.0.1', port: 9229 }); socket.setTimeout(1500); socket.once('connect', () => { socket.destroy(); reject(Error('An inspector is open')); }); socket.once('timeout', () => { socket.destroy(); reject(Error('Inspector state unknown')); }); socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve(true) : reject(error); }); }); }
let result;
try {
originalProcess(); await inspectorClosed();
if (mode === 'stage') {
assert.equal(fs.existsSync(candidate), false); assert.equal(fs.existsSync(beforeFile), false);
const before = await publicSnapshot(url, dataRoot); assert.equal(before.version, '1.20.3'); assert.equal(before.pid, expectedPid); assert.deepEqual(before.active, []);
const controller = new HostController({ appRoot: before.runtimeRoot, dataRoot, port, nodePath: process.execPath }); assert.ok(await controller.connect());
const status = await controller.status(); assert.equal(status.desktopWindows.count, 0); assert.equal(status.activity.active, false);
const gateway = await controller.api('/companion'); assert.equal(gateway.enabled, false); assert.deepEqual(gateway.devices, []);
save(beforeFile, before); save(prefix + 'original-pointer.json', originalPointer);
const db = new DatabaseSync(path.join(dataRoot, 'workbench.sqlite'), { readOnly: true }), backupPath = path.resolve(prefix + 'original.sqlite'); assert.equal(fs.existsSync(backupPath), false);
try { await backup(db, backupPath); } finally { db.close(); }
const copy = new DatabaseSync(backupPath, { readOnly: true }); try { assert.equal(copy.prepare('PRAGMA quick_check').get().quick_check, 'ok'); } finally { copy.close(); }
save(prefix + 'private-backup-receipt.json', { path: backupPath, bytes: fs.statSync(backupPath).size, sha256: hash(fs.readFileSync(backupPath)), committed: false, credentialsExtracted: false });
compareOriginalState(before, await publicSnapshot(url, dataRoot));
const log = path.resolve(prefix + 'setup.log'); assert.equal(fs.existsSync(log), false);
await promisify(execFile)(release.installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/TASKS=desktopicon', '/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=' + port, '/STAGE_ONLY=1', '/LOG=' + log], { windowsHide: true, env: projectEnvironment(), timeout: 900000, maxBuffer: 1048576 });
const identity = validateInstalledVersion(candidate), after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after);
assert.equal(after.version, '1.20.3'); assert.deepEqual(read(path.join(installRoot, 'current.json')), originalPointer);
result = { success: true, phase: 'staged', version: '1.21.0', candidateIdentity: identity.identitySha256, manifestSha256: identity.manifestSha256, retained, setupLog: log, setupLogSha256: hash(fs.readFileSync(log)) };
} else {
const staged = read(prefix + 'stage.json'), before = read(beforeFile); assert.equal(staged.success, true); assert.equal(staged.setupSha256, release.installer.sha256);
// Stage already verified every immutable candidate file; subsequent phase
// gates bind the unchanged manifest and loaded inputs to that sealed proof.
// Product activation still independently runs all of its full validations.
const identity = inspectHostInstallation(candidate); assert.equal(identity.identitySha256, staged.candidateIdentity); assert.equal(identity.manifestSha256, staged.manifestSha256);
const current = await publicSnapshot(url, dataRoot); compareOriginalState(before, current); assert.deepEqual(current.active, []);
if (mode === 'upgrade') {
assert.equal(current.version, '1.20.3'); const info = read(path.join(dataRoot, 'service-info.json')); assert.equal(info.pid, expectedPid);
const upgraded = await upgradeRunning({ url, pid: expectedPid, currentRoot: info.appRoot, handlerRoot: current.runtimeRoot, newRoot: candidate }); assert.equal(upgraded.connectionPreserved, true);
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after); assert.equal(after.version, '1.21.0'); assert.equal(after.runtimeRoot, candidate);
await inspectorClosed(); save(prefix + 'after-upgrade.json', after);
result = { success: true, phase: 'upgraded', version: '1.21.0', upgraded, retained, currentProviderPreserved: true };
} else {
assert.equal(read(prefix + 'upgrade.json').success, true); assert.equal(current.version, '1.21.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); }
const controller = new HostController({ appRoot: candidate, dataRoot, port, nodePath: process.execPath }); assert.ok(await controller.connect()); const status = await controller.status();
assert.equal(status.identity.pid, expectedPid); assert.equal(status.activity.active, false);
const gateway = await controller.api('/companion'); assert.equal(gateway.enabled, false); assert.deepEqual(gateway.devices, []); assert.equal(gateway.certificate, null);
const pointer = read(path.join(installRoot, 'current.json')); assert.equal(pointer.active.directory, release.installer.candidateDirectory); assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
assert.equal(fs.realpathSync.native(pointer.dataRoot), dataRoot); assert.equal(hash(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe'))), hash(fs.readFileSync(path.join(candidate, 'AgentWorkbench.exe'))));
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after); await inspectorClosed(); save(prefix + 'after-' + mode + '.json', after);
result = { success: true, phase: mode, activated, identity: status.identity, pointer, retained, currentProviderPreserved: true, companion: { enabled: gateway.enabled, devices: gateway.devices.length, certificate: gateway.certificate }, counts: { projects: after.projects, visibleSessions: after.visibleSessions, sessions: after.database.sessionIds.length, records: after.database.tables.records.count, events: after.database.tables.events.count, artifacts: after.persistent.artifacts.length }, inspectorClosed: true };
}
}
} catch (error) { result = { success: false, phase: mode, error: error.stack }; process.exitCode = 1; }
save(output, { ...result, startedAt, finishedAt: new Date().toISOString(), installRoot, dataRoot, candidate, setupSha256: release.installer.sha256, originalProcess: originalProcess(), realModelRequests: 0 });
console.log(JSON.stringify({ success: result.success, phase: result.phase, output, error: result.error }));
@@ -0,0 +1,25 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { fixture, launchWorkbench } from '../tests/helpers.mjs';
import { publicSnapshot, compareOriginalState } from './desktop-f-state.mjs';
import { upgradeRunning } from '../scripts/upgrade-running.mjs';
const oldPointer = JSON.parse(fs.readFileSync('C:/Users/wangy/AppData/Local/Programs/AgentWorkbench/current.json'));
const oldRoot = path.join('C:/Users/wangy/AppData/Local/Programs/AgentWorkbench/versions', oldPointer.active.directory);
const release = JSON.parse(fs.readFileSync('releases/latest.json')); assert.equal(release.installer.version, '1.21.0');
const disposers = [], t = { after: action => disposers.push(action) }, f = fixture(t); f.store.close();
let host, result;
try {
host = await launchWorkbench(t, f.data, {}, { appRoot: oldRoot, nodePath: path.join(oldRoot, 'runtime/node.exe') });
const member = await host.api('/model-center/connections', { name: 'Owned retained credential', model: 'owned-model', baseUrl: 'http://127.0.0.1:1/v1', apiKey: 'owned-upgrade-key', requiresKey: true });
const pool = await host.api('/model-center/pools', { name: 'Owned retained pool', members: [{ connectionId: member.id }] });
await host.api('/model-center/select', { type: 'pool', id: pool.id });
const before = await publicSnapshot(host.url, f.data); assert.equal(before.version, '1.20.3');
const upgraded = await upgradeRunning({ url: host.url, pid: before.pid, currentRoot: oldRoot, handlerRoot: oldRoot, newRoot: release.portableRoot });
assert.equal(upgraded.connectionPreserved, true); assert.equal(upgraded.verified, true);
const after = await publicSnapshot(host.url, f.data), retained = compareOriginalState(before, after);
assert.equal(after.version, '1.21.0'); assert.equal(after.runtimeRoot, release.portableRoot);
assert.equal(after.modelCenter.selected.id, pool.id); assert.equal(after.modelCenter.connections.find(row => row.id === member.id).hasKey, true);
result = { success: true, from: '1.20.3', version: '1.21.0', retained, upgraded, before, after, realModelRequests: 0, scope: 'Actual old compiled host to new immutable compiled handler; own credential and pool, original PID/public config/every table/export/artifact retained. No request to model endpoint.' };
} catch (error) { result = { success: false, error: error.stack, realModelRequests: 0 }; throw error; }
finally { for (const dispose of disposers.reverse()) await dispose(); fs.writeFileSync('.qa/reproducible-env-owned-upgrade.json', JSON.stringify(result, null, 2), { flag: 'wx' }); console.log(JSON.stringify({ success: result.success, error: result.error, retained: result.retained })); }
@@ -0,0 +1,27 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { randomUUID, createHash } from 'node:crypto';
import { buildWindowsInstaller } from '../scripts/build-installer.mjs';
const release = JSON.parse(fs.readFileSync('releases/latest.json', 'utf8')); assert.equal(release.installer.version, '1.21.0');
const appId = randomUUID(), destination = '.qa/reproducible-env-qa-installer.json'; assert.equal(fs.existsSync(destination), false);
const installer = buildWindowsInstaller({ root: process.cwd(), portableRoot: release.portableRoot, outputRoot: path.resolve('.qa'),
name: 'reproducible-env-installer-qa-' + appId, qaFixture: { appId, fault: 'none' } });
const source = fs.readFileSync(installer.source, 'utf8'), product = fs.readFileSync(release.installer.source, 'utf8');
const body = value => value.split('\n').filter(line => !line.startsWith('#define OutputRoot ') && !line.startsWith('#define OutputName ')).join('\n');
assert.equal(body(source).replaceAll(appId, 'E914E883-46F9-4B82-B27F-BDB2B40DCC90')
.replace('DefaultGroupName=Agent Workbench QA E914E883-46F9-4B82-B27F-BDB2B40DCC90', 'DefaultGroupName=Agent Workbench'), body(product));
fs.writeFileSync(destination, JSON.stringify({ ...installer, productSetup: release.installer,
samePayloadManifestSha256: createHash('sha256').update(fs.readFileSync(path.join(release.portableRoot, 'MANIFEST.json'))).digest('hex'),
sourceComparison: 'Only isolated QA AppId/group and output destination/name differ; entire product payload and installation behavior are exact. Product setup will separately stage the existing formal installation.' }, null, 2) + '\n', { flag: 'wx' });
let code = fs.readFileSync('.qa/verify-desktop-f-canonical-storage-guard-install.mjs', 'utf8');
for (const [before, after] of [['desktop-host-f-canonical-storage-guard-qa-installer.json', 'reproducible-env-qa-installer.json'],
['desktop-host-f-canonical-storage-install-location.json', 'reproducible-env-install-location.json'],
['ff4e7d22-f233-4021-829a-6f5c71933c46', appId], ['1.15.0', '1.21.0'], ['AWQA15', 'AWQA21I'], ['timeout = 300000', 'timeout = 900000']]) {
assert.ok(code.includes(before), before); code = code.replaceAll(before, after);
}
const nativeSpawn = " const chunks = [], child = spawn(binary, args, { cwd: path.dirname(binary), env, windowsHide: true, stdio: bootstrap ? 'ignore' : ['ignore', 'pipe', 'pipe'] });";
assert.ok(code.includes(nativeSpawn));
code = code.replace(nativeSpawn, " const nativeOutput = bootstrap ? fs.openSync(path.join(root, label + '-native-output.txt'), 'wx') : null;\n const chunks = [], child = spawn(binary, args, { cwd: path.dirname(binary), env, windowsHide: true, stdio: bootstrap ? ['ignore', nativeOutput, nativeOutput] : ['ignore', 'pipe', 'pipe'] });\n if (nativeOutput !== null) fs.closeSync(nativeOutput);");
fs.writeFileSync('.qa/verify-reproducible-env-install.mjs', code, { flag: 'wx' });
console.log(JSON.stringify({ success: true, appId, installerSha256: installer.sha256, productSetupSha256: release.installer.sha256, samePayload: true }));
@@ -0,0 +1,18 @@
import fs from 'node:fs';
import assert from 'node:assert/strict';
const write=(file,content)=>fs.writeFileSync(file,content,{flag:'wx'});
let installer=fs.readFileSync('.qa/prepare-task-control-j-installer.mjs','utf8').replaceAll('task-control-j','reproducible-env').replaceAll('1.20.1','1.21.0').replaceAll('AWQATC','AWQA21I');
write('.qa/reproducible-env-b-prepare-installer.mjs',installer);
let owned=fs.readFileSync('.qa/model-fidelity-owned-upgrade.mjs','utf8');
const oldLine=owned.split('\n').find(line=>line.startsWith('const oldRoot = '));assert.ok(oldLine);
owned=owned.replace(oldLine,"const oldPointer = JSON.parse(fs.readFileSync('C:/Users/wangy/AppData/Local/Programs/AgentWorkbench/current.json'));\nconst oldRoot = path.join('C:/Users/wangy/AppData/Local/Programs/AgentWorkbench/versions', oldPointer.active.directory);")
.replaceAll("'1.20.3'","'1.21.0'").replaceAll("'1.20.2'","'1.20.3'").replaceAll('model-fidelity','reproducible-env');
write('.qa/reproducible-env-b-owned-upgrade.mjs',owned);
let binding=fs.readFileSync('.qa/model-fidelity-bind-package.mjs','utf8').replaceAll('model-fidelity','reproducible-env').replaceAll('1.20.3','1.21.0')
.replace("commit = '4bf4f7a8b271264420b7450c08a305529570d0dd'","commit = read('.qa/reproducible-env-b-code-baseline.json').codeCommit");
binding=binding.replace("assert.equal(execFileSync('git', ['status', '--porcelain'], { encoding: 'utf8', windowsHide: true }).trim(), '');","assert.equal(execFileSync('git', ['status', '--porcelain', '--', 'src', 'scripts', 'tests', 'package.json', 'package-lock.json'], { encoding: 'utf8', windowsHide: true }).trim(), '');");
write('.qa/reproducible-env-b-bind-package.mjs',binding);
let formal=fs.readFileSync('.qa/model-fidelity-formal.mjs','utf8').replaceAll("'1.20.3'","'1.21.0'").replaceAll("'1.20.2'","'1.20.3'").replaceAll('model-fidelity','reproducible-env');
formal=formal.replace("const validated = read('.qa/reproducible-env-b-package-validation.json'); assert.equal(validated.success, true); assert.equal(validated.setupSha256, release.installer.sha256);","const validated = read('.qa/reproducible-env-b-independent-result.json'); assert.equal(validated.success, true); assert.equal(validated.release.installer.sha256, release.installer.sha256);\nconst bound = read('.qa/reproducible-env-b-package-binding.json'); assert.equal(bound.success,true); assert.equal(bound.setupSha256,release.installer.sha256);");
write('.qa/reproducible-env-b-formal.mjs',formal);
console.log('Prepared separate owned upgrade, exact-payload installer, package binding and retained formal phase drivers.');
@@ -0,0 +1,15 @@
import fs from 'node:fs';
import assert from 'node:assert/strict';
const write=(file,content)=>fs.writeFileSync(file,content,{flag:'wx'});
let full=fs.readFileSync('.qa/verify-task-control-j-formal-ui.mjs','utf8').replaceAll('task-control-j','reproducible-env').replaceAll('1.20.1','1.21.0');
const anchor=" await page.getByRole('button', { name: '查看任务记录', exact: true }).click();";
assert.ok(full.includes(anchor));
full=full.replace(anchor,anchor+"\n await expect(page.getByRole('region',{name:'工程环境与依赖',exact:true})).toBeVisible();\n results.push({width,height,panel:'工程环境与依赖入口(未执行诊断)',readOnly:true,...await screenshot(page,'environment-entry-'+width+'.png')});");
write('.qa/verify-reproducible-env-b-formal-ui.mjs',full);
let native=fs.readFileSync('.qa/model-fidelity-formal-ui.mjs','utf8').replaceAll('model-fidelity','reproducible-env').replaceAll('1.20.3','1.21.0');
const nativeAnchor=" results.push({ label, width, height, originalStatus, originalSessionPreserved: true, nativeSettingsMatchPublicConnection: true, saveFullyReachable: true, submitted: false });";
assert.ok(native.includes(nativeAnchor));
native=native.replace(nativeAnchor," await page.getByRole('button',{name:'查看任务记录',exact:true}).click();\n const environment=page.getByRole('region',{name:'工程环境与依赖',exact:true});await environment.scrollIntoViewIfNeeded();await expect(environment).toBeVisible();\n await expect(environment.getByRole('button',{name:'诊断工程环境',exact:true})).toBeVisible();\n await capture(page,label+'-environment-entry');\n"+nativeAnchor);
native=native.replace("directory = path.resolve('.qa/reproducible-env-b-formal-ui')","directory = path.resolve('.qa/reproducible-env-b-native-ui')").replace("fs.writeFileSync('.qa/reproducible-env-b-formal-ui.json'","fs.writeFileSync('.qa/reproducible-env-b-native-ui.json'");
write('.qa/verify-reproducible-env-b-native-ui.mjs',native);
console.log('Prepared separate read-only formal screens and actual installed Electron checks for 1.21.');
@@ -0,0 +1,67 @@
{
"success": true,
"observedAt": "2026-11-01T16:35:40.789Z",
"sourceCommit": "d0abbd1e5c696fb79425e44359bba4c9348db849",
"frozenProductInputsUnchanged": true,
"completedOperationsReplayed": false,
"cause": "Generated candidate B scripts kept the original evidence prefix because the source replacement omitted the trailing hyphen used by the outer copy. Two exact follow-up replacements therefore never matched.",
"changes": [
{
"path": ".qa/reproducible-env-b-prepare-tools.mjs",
"original": ".qa\\reproducible-env-b-driver-path-review\\reproducible-env-b-prepare-tools.mjs.original.txt",
"beforeSha256": "b83343f9c9a7150e943b0dfe3d2066f8309448950b21f6e641e6324e4b461af0",
"afterSha256": "369c945064e96cf5e32f1e815ca20ca5295710285dfba6fa581c25ad5684c4e0",
"syntaxPassed": true
},
{
"path": ".qa/reproducible-env-b-prepare-ui.mjs",
"original": ".qa\\reproducible-env-b-driver-path-review\\reproducible-env-b-prepare-ui.mjs.original.txt",
"beforeSha256": "d57254a74e1be6860ad225624482f5909ad9385a33efc47fa63b5e5dfddc5cd5",
"afterSha256": "f5578a653801fb714748865211d3e7460c54f7d2f66b55b30bef8a56bf2f7bf3",
"syntaxPassed": true
},
{
"path": ".qa/reproducible-env-b-prepare-installer.mjs",
"original": ".qa\\reproducible-env-b-driver-path-review\\reproducible-env-b-prepare-installer.mjs.original.txt",
"beforeSha256": "8af3c593475d2f96242c8737e8beb0b0fc5c00b4e0a25af2ae79f89f09d62213",
"afterSha256": "a8cfa6e5327f0d669aa9e0a43a9b1da57c67428823b782106dab40e37a05e7af",
"syntaxPassed": true
},
{
"path": ".qa/reproducible-env-b-owned-upgrade.mjs",
"original": ".qa\\reproducible-env-b-driver-path-review\\reproducible-env-b-owned-upgrade.mjs.original.txt",
"beforeSha256": "7ee79a598f95d0e67bd041c3859d2dda0fae0dd6e9ce7168b2444c1321f1844f",
"afterSha256": "466f4b1667ba615bca23e9718e16b9dcf8a656149864dd30d67323b64674e1b4",
"syntaxPassed": true
},
{
"path": ".qa/reproducible-env-b-bind-package.mjs",
"original": ".qa\\reproducible-env-b-driver-path-review\\reproducible-env-b-bind-package.mjs.original.txt",
"beforeSha256": "19ab71cda5d50f6cba8719463e4304acc459b10164f91ef22c3d3a96fa444f7b",
"afterSha256": "a86a4442ae7918a990433470e5cc50c4118d4914ef3465acfdf37a1e5147a221",
"syntaxPassed": true
},
{
"path": ".qa/reproducible-env-b-formal.mjs",
"original": ".qa\\reproducible-env-b-driver-path-review\\reproducible-env-b-formal.mjs.original.txt",
"beforeSha256": "980d5f933c9187b6260224f742fa4a6bcd0d09bedcffb846d87640055b37a714",
"afterSha256": "a5563adb7f1a81c9ccda3ae7b153ccedfbc40c1d899d40ab6d970453b8c7a146",
"syntaxPassed": true
},
{
"path": ".qa/verify-reproducible-env-b-formal-ui.mjs",
"original": ".qa\\reproducible-env-b-driver-path-review\\verify-reproducible-env-b-formal-ui.mjs.original.txt",
"beforeSha256": "90434591efed59fc1441baa5a21d6c0584d2c5d1bb2bac4e2926b27d78a6fa98",
"afterSha256": "b336db934c06349cdfe77f3e47cdf7cfb85a17b88a5e32347dc56513ab1724fe",
"syntaxPassed": true
},
{
"path": ".qa/verify-reproducible-env-b-native-ui.mjs",
"original": ".qa\\reproducible-env-b-driver-path-review\\verify-reproducible-env-b-native-ui.mjs.original.txt",
"beforeSha256": "ed0030b9ccc6ea6427b57c64e0602b8a25390f9400609bfe4595bbb49244a622",
"afterSha256": "0f079d9e3672aab981371745effe9ad7a4619f05fd346f1273081452d6e4691b",
"syntaxPassed": true
}
],
"scope": "Only not-yet-executed ignored QA drivers and their generators. All original versions retained; installer payload, product code, running tests and production state untouched."
}
@@ -0,0 +1,69 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import {createHash} from 'node:crypto';
const prefix='.qa/reproducible-env-b-',root='docs/reproducible-env-release-evidence';
const read=file=>JSON.parse(fs.readFileSync(file,'utf8'));
const hash=bytes=>createHash('sha256').update(bytes).digest('hex');
const independent=read(prefix+'independent-result.json'),binding=read(prefix+'package-binding.json');
const allUi=read('.qa/reproducible-env-all-ui-validation.json');
const formal=read(prefix+'formal-verify.json'),native=read('.qa/reproducible-env-b-native-ui.json');
const ui=read('.qa/reproducible-env-b-formal-ui-validation.json'),promotion=read(prefix+'promotion-result.json');
for(const value of [independent,binding,allUi,formal,native,ui,promotion])assert.equal(value.success,true);
assert.equal(independent.version,'1.21.0');assert.equal(independent.codeCommit,binding.sourceCommit);
assert.equal(independent.release.installer.sha256,binding.setupSha256);
assert.equal(allUi.results.length,32);assert.equal(allUi.groups,allUi.results.reduce((sum,row)=>sum+row.groups,0));
const source=read(prefix+'source-original-result.json');assert.equal(source.success,true);
assert.equal(source.tests.pass,source.tests.tests);for(const name of ['fail','cancelled','skipped','todo'])assert.equal(source.tests[name],0);
assert.equal(native.actualInstalledElectron,true);assert.equal(native.results.length,4);
assert.equal(fs.existsSync(root),false);fs.mkdirSync(root);const files=[];
function copy(from,to){
assert.ok(!/\.sqlite(?:-|$)/i.test(from),'Private SQLite excluded');
const bytes=fs.readFileSync(from),target=path.join(root,to);
fs.mkdirSync(path.dirname(target),{recursive:true});fs.writeFileSync(target,bytes,{flag:'wx'});
files.push({path:to,source:from,bytes:bytes.length,sha256:hash(bytes)});
}
const receipts=['code-baseline','independent-result','package-binding','source-short-path','source-original-result','archives-original-result','portable-original-result','owned-upgrade','promotion-result','formal-stage','formal-upgrade','formal-activate','formal-verify'];
for(const name of receipts)copy(prefix+name+'.json','receipts/'+name+'.json');
for(const receipt of independent.completed){assert.equal(receipt.exitCode,0);assert.equal(hash(fs.readFileSync(receipt.logPath)),receipt.logSha256);copy(receipt.logPath,'pipeline/'+path.basename(receipt.logPath).replace(/\.log$/,'.txt'));copy(prefix+receipt.name+'-receipt.json','receipts/'+receipt.name+'-receipt.json');}
for(const receipt of promotion.completed){assert.equal(receipt.exitCode,0);assert.equal(hash(fs.readFileSync(receipt.log)),receipt.logSha256);copy(receipt.log,'promotion/'+path.basename(receipt.log).replace(/\.log$/,'.txt'));copy(prefix+receipt.name+'-outer-receipt.json','receipts/'+receipt.name+'-outer-receipt.json');}
for(const row of source.logs){assert.equal(hash(fs.readFileSync(row.path)),row.sha256);assert.equal(fs.statSync(row.path).size,row.bytes);copy(row.path,'source/'+path.basename(row.path).replace(/\.log$/,'.txt'));}
copy('.qa/reproducible-env-all-ui-validation.json','historical-ui/result.json');
for(const row of allUi.results){const name=path.basename(row.script,'.mjs');copy(row.evidence,'historical-ui/'+name+'.json');copy(row.log,'historical-ui/'+name+'.txt');}
for(const name of ['environment-all-ui-third-original.log','environment-all-ui-third-result.json','environment-diagnostics-original.log','environment-diagnostics-original.png','environment-diagnostics-cause.json','environment-all-ui-remaining.log','environment-all-ui-remaining-fixed.log'])copy('.qa/'+name,'review/'+name.replace(/\.log$/,'.txt'));
const portableEnvironment=read(prefix+'portable-environment-validated.json'),portableEnvironmentUi=read(path.join(portableEnvironment.directory,'result.json'));
for(const [name,value]of [['source-environment',source.actualEnvironment],['portable-environment',portableEnvironmentUi]]){
assert.equal(value.success,true);const original=path.join(value.directory,'result.json');assert.deepEqual(read(original),value);copy(original,name+'/result.json');
for(const row of value.screenshots){const file=row.path??row.file;assert.equal(hash(fs.readFileSync(file)),row.sha256);copy(file,name+'/'+path.basename(file));}
}
for(const [name,value]of [['formal-ui',ui],['native-ui',native]]){
copy('.qa/reproducible-env-b-'+(name==='formal-ui'?'formal-ui-validation':'native-ui')+'.json',name+'/result.json');
for(const row of value.screenshots??value.results){const file=row.file??row.path??row.screenshot;if(file)copy(file,name+'/'+path.basename(file));}
}
const installation=read(prefix+'install-location.json');const installed=read(installation.result);assert.equal(installed.success,true);assert.equal(installed.cases.length,7);copy(installation.result,'installation/result.json');
for(const name of ['independent','prepare-tools','prepare-ui','bind-package','owned-upgrade','prepare-installer','formal','promotion','finalize-docs','final-audit','seal'])copy(prefix+name+'.mjs','verifiers/'+name+'.mjs');
for(const name of ['reproducible-env-remaining-ui-fixed','verify-reproducible-env-b-formal-ui','verify-reproducible-env-b-native-ui','verify-reproducible-env-b-install','desktop-f-state'])copy('.qa/'+name+'.mjs','verifiers/'+name+'.mjs');
const before=read(prefix+'formal-before.json'),after=read(prefix+'formal-after-verify.json'),backup=read(prefix+'formal-private-backup-receipt.json');
assert.equal(before.version,'1.20.3');assert.equal(after.version,'1.21.0');assert.equal(after.pid,before.pid);
const retained={observedBefore:before.observedAt,observedAfter:after.observedAt,pid:after.pid,counts:formal.counts,retained:formal.retained,
before:{configSha256:before.configSha256,modelCenterSha256:before.modelCenterSha256,eventCursor:before.eventCursor},
after:{configSha256:after.configSha256,modelCenterSha256:after.modelCenterSha256,eventCursor:after.eventCursor},
tableDigests:Object.fromEntries(Object.entries(before.database.tables).map(([name,row])=>[name,{count:row.count,schemaSha256:row.schemaSha256,sha256:row.sha256}])),
originalSessionExports:before.exports.length,sessionExports:after.exports.length,originalArtifactFiles:before.persistent.artifacts.length,artifactFiles:after.persistent.artifacts.length,
privateBackup:{bytes:backup.bytes,sha256:backup.sha256,committed:false,credentialsExtracted:false},scope:'All original rows/exports/config/artifact bytes checked by original verifiers. Full snapshots and SQLite backup stay only in ignored QA.'};
fs.writeFileSync(prefix+'retained-summary.json',JSON.stringify(retained,null,2)+'\n',{flag:'wx'});copy(prefix+'retained-summary.json','retained-summary.json');
files.sort((a,b)=>a.path.localeCompare(b.path));
const manifest={schemaVersion:1,version:'1.21.0',sourceCommit:binding.sourceCommit,createdAt:new Date().toISOString(),files,realModelRequests:0,
scope:'Original immutable candidate B verification logs/receipts and actual UI evidence. Development and rejected candidate originals remain in their separate committed manifests. No private production snapshots, SQLite or model credentials.'};
fs.writeFileSync(root+'/manifest.json',JSON.stringify(manifest,null,2)+'\n',{flag:'wx'});
const identity={schemaVersion:1,version:'1.21.0',sourceCommit:binding.sourceCommit,portableRoot:binding.portableRoot,sourceRoot:binding.sourceRoot,
portableIdentity:binding.portableIdentity,portableManifestSha256:binding.portableManifestSha256,sourceManifestSha256:binding.sourceManifestSha256,
portable:binding.portable,source:binding.source,installer:binding.installer,
validation:{sourceTests:source.tests,sourceInputFiles:source.inputFiles,buildMatchedFiles:source.buildMatchedFiles,historicalUiScripts:allUi.results.length,historicalUiGroups:allUi.groups,
historicalUiExecutionNote:allUi.executionNote??'Serial scripts in owned independent fixtures',containedEnvironmentGroups:7,containedSuites:8,samePayloadInstallGroups:7,formalPanels:ui.results.length,nativeViews:native.results.length,nativeScreenshots:native.screenshots.length,actualOldToNewUpgrade:true,realModelRequests:0},
formal:{pid:after.pid,runtimeRoot:after.runtimeRoot,pointer:formal.pointer,currentProviderPreserved:formal.currentProviderPreserved,retained:formal.retained,counts:formal.counts,artifactFiles:after.persistent.artifacts.length,companion:formal.companion,inspectorClosed:formal.inspectorClosed},
evidence:{manifest:root+'/manifest.json',sha256:hash(fs.readFileSync(root+'/manifest.json')),files:files.length,bytes:files.reduce((sum,row)=>sum+row.bytes,0)},
limitations:['Preparation supports npm package-lock v2/v3 in managed worktrees; no npm workspaces or automatic Python package install.','Lifecycle scripts default to skipped and require explicit approval.','Owned processes use local account permissions; worktree isolation is not an OS sandbox.','No real upstream model inference, Purge benefit or new physical iPhone acceptance in this milestone.','General embedded browser remains the next planned 1.22 milestone.','Original failures and unknown outcomes retained; completed operations not automatically replayed.']};
fs.writeFileSync('docs/reproducible-env-release-identity.json',JSON.stringify(identity,null,2)+'\n',{flag:'wx'});
console.log(JSON.stringify({success:true,files:files.length,bytes:identity.evidence.bytes,tests:source.tests,uiGroups:allUi.groups,counts:formal.counts,sourceCommit:binding.sourceCommit}));
@@ -0,0 +1,57 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { execFileSync } from 'node:child_process';
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const root = '.qa/reproducible-env-b-driver-path-review';
assert.equal(fs.existsSync(root), false);
const files = [
'reproducible-env-b-prepare-tools.mjs', 'reproducible-env-b-prepare-ui.mjs',
'reproducible-env-b-prepare-installer.mjs', 'reproducible-env-b-owned-upgrade.mjs',
'reproducible-env-b-bind-package.mjs', 'reproducible-env-b-formal.mjs',
'verify-reproducible-env-b-formal-ui.mjs', 'verify-reproducible-env-b-native-ui.mjs',
];
for (const suffix of ['owned-upgrade.json', 'package-binding.json', 'qa-installer.json', 'formal-stage.json', 'formal-verify.json', 'native-ui.json']) {
assert.equal(fs.existsSync('.qa/reproducible-env-b-' + suffix), false, 'No completed phase may be edited or replayed');
}
const changes = files.map(name => {
const file = '.qa/' + name, before = fs.readFileSync(file);
let after = before.toString('utf8').replace(/reproducible-env(?!-b)/g, 'reproducible-env-b');
if (name === 'reproducible-env-b-formal.mjs') {
const anchor = "const validated = read('.qa/reproducible-env-b-package-validation.json'); assert.equal(validated.success, true); assert.equal(validated.setupSha256, release.installer.sha256);";
assert.ok(after.includes(anchor));
after = after.replace(anchor,
"const validated = read('.qa/reproducible-env-b-independent-result.json'); assert.equal(validated.success, true); assert.equal(validated.release.installer.sha256, release.installer.sha256);\n" +
"const bound = read('.qa/reproducible-env-b-package-binding.json'); assert.equal(bound.success, true); assert.equal(bound.setupSha256, release.installer.sha256);");
}
if (name === 'verify-reproducible-env-b-native-ui.mjs') {
const directory = "directory = path.resolve('.qa/reproducible-env-b-formal-ui')";
const output = "fs.writeFileSync('.qa/reproducible-env-b-formal-ui.json'";
assert.ok(after.includes(directory)); assert.ok(after.includes(output));
after = after.replace(directory, "directory = path.resolve('.qa/reproducible-env-b-native-ui')")
.replace(output, "fs.writeFileSync('.qa/reproducible-env-b-native-ui.json'");
}
assert.notEqual(after, before.toString('utf8'), name);
assert.ok(!/reproducible-env(?!-b)/.test(after), name + ' has a stale evidence prefix');
return { name, file, before, after: Buffer.from(after) };
});
fs.mkdirSync(root);
for (const row of changes) {
fs.writeFileSync(path.join(root, row.name + '.original.txt'), row.before, { flag: 'wx' });
fs.writeFileSync(row.file, row.after);
execFileSync(process.execPath, ['--check', row.file], { windowsHide: true, stdio: 'pipe' });
}
const baseline = JSON.parse(fs.readFileSync('.qa/reproducible-env-b-code-baseline.json'));
for (const row of [...baseline.inputs, ...baseline.builds]) {
const bytes = fs.readFileSync(row.path);
assert.equal(bytes.length, row.bytes, row.path); assert.equal(hash(bytes), row.sha256, row.path);
}
const result = { success: true, observedAt: new Date().toISOString(), sourceCommit: baseline.codeCommit,
frozenProductInputsUnchanged: true, completedOperationsReplayed: false,
cause: 'Generated candidate B scripts kept the original evidence prefix because the source replacement omitted the trailing hyphen used by the outer copy. Two exact follow-up replacements therefore never matched.',
changes: changes.map(row => ({ path: row.file, original: path.join(root, row.name + '.original.txt'), beforeSha256: hash(row.before), afterSha256: hash(row.after), syntaxPassed: true })),
scope: 'Only not-yet-executed ignored QA drivers and their generators. All original versions retained; installer payload, product code, running tests and production state untouched.' };
fs.writeFileSync(path.join(root, 'review.json'), JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, scripts: changes.length, frozenProductInputsUnchanged: true, review: path.join(root, 'review.json') }));
@@ -0,0 +1,145 @@
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', 'reproducible-env-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/reproducible-env-formal-activate.json', 'utf8'));
const output = process.argv[3] ?? '.qa/reproducible-env-formal-ui-validation.json';
assert.equal(deployed.success, true); assert.equal(health.version, '1.21.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.21.0', { waitUntil: 'domcontentloaded' })]);
await expect(page.locator('.connection small')).toHaveText('v1.21.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();
await expect(page.getByRole('region',{name:'工程环境与依赖',exact:true})).toBeVisible();
results.push({width,height,panel:'工程环境与依赖入口(未执行诊断)',readOnly:true,...await screenshot(page,'environment-entry-'+width+'.png')});
const plan = page.getByLabel('执行计划', { exact: true }); await expect(plan).toBeVisible();
await expect(plan).not.toHaveAttribute('aria-busy', 'true', { timeout: 15000 });
await expect(plan).not.toContainText('正在核对任务计划', { timeout: 15000 });
await expect(plan.getByRole('heading', { name: '执行计划', exact: true })).toBeVisible();
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '执行计划', readOnly: true, ...await screenshot(page, 'plan-' + width + '.png') });
if (width <= 940) await page.getByRole('button', { name: '关闭检视区', exact: true }).click();
for (const [launcher, title, suffix] of [['打开模型中心', '模型中心', '/api/model-center'], ['项目技能', '项目技能', '/skills'], ['项目MCP工具', '项目 MCP 工具', '/mcp']]) {
await Promise.all([page.waitForResponse(response => response.url().endsWith(suffix) && response.status() === 200),
page.getByRole('button', { name: launcher, exact: true }).click()]);
const dialog = page.getByRole('dialog', { name: title, exact: true }); await expect(dialog).toBeVisible();
await expect(dialog.getByRole('heading', { name: title, exact: true })).toBeVisible();
for (const loading of ['正在读取实际连接状态', '正在核对已登记技能', '正在读取项目注册']) await expect(dialog).not.toContainText(loading);
const bounds = await dialog.boundingBox(); assert.ok(bounds.x >= 0 && bounds.x + bounds.width <= width + 1);
results.push({ width, height, panel: title, readOnly: true, ...await screenshot(page, suffix.split('/').at(-1) + '-' + width + '.png') });
if (title === '模型中心') {
await Promise.all([page.waitForResponse(response => response.url().endsWith('/api/model-center/credentials') && response.status() === 200),
dialog.getByRole('button', { name: '凭据保存', exact: true }).click()]);
await expect(dialog.getByRole('heading', { name: '本机加密凭据', exact: true })).toBeVisible();
await expect(dialog).not.toContainText('正在核对本机保存状态');
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '本机加密凭据只读状态', readOnly: true, ...await screenshot(page, 'credentials-' + width + '.png') });
await dialog.getByRole('button', { name: '运行巡检', exact: true }).click();
await Promise.all([page.waitForResponse(response => response.url().includes('/api/operations') && response.status() === 200),
dialog.getByRole('button', { name: '开始本地巡检', exact: true }).click()]);
await expect(dialog.getByLabel('历史工件巡检分页', { exact: true })).toBeVisible();
await expect(dialog.getByRole('checkbox', { name: '在此页面每30秒检查,离开即停止', exact: true })).not.toBeChecked();
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '运行巡检及实际覆盖范围', readOnly: true, ...await screenshot(page, 'operations-' + width + '.png') });
}
await dialog.getByRole('button', { name: '关闭窗口', exact: true }).click(); await expect(dialog).toHaveCount(0);
}
await page.getByRole('button', { name: '隔离协作', exact: true }).click();
const workers = page.getByRole('dialog', { name: '隔离协作', exact: true }); await expect(workers).toBeVisible();
await expect(workers.getByRole('heading', { name: '隔离协作', exact: true })).toBeVisible();
await expect(workers.getByLabel('父目标', { exact: true })).toBeVisible();
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '隔离协作', readOnly: true, ...await screenshot(page, 'controlled-engine-' + width + '.png') });
await workers.getByLabel('执行方式', { exact: true }).selectOption('deepseek');
await workers.getByLabel('Harness 安装目录', { exact: true }).fill(controlledAvailability.root);
await workers.getByRole('button', { name: '检测受控安装', exact: true }).click(); await expect(workers).toContainText('受控安装可用');
const experiment = workers.getByLabel('Purge 提示实验', { exact: true }), toggle = experiment.getByRole('checkbox', { name: '启用 Purge 提示实验', exact: true });
await expect(toggle).not.toBeChecked(); assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '受控引擎安装与默认关闭策略', readOnly: true, ...await screenshot(page, 'controlled-native-' + width + '.png') });
await toggle.check(); await experiment.getByLabel('Purge 源码目录', { exact: true }).fill(purgeSource.root);
await experiment.getByRole('button', { name: '检测 Purge 来源', exact: true }).click(); await expect(experiment).toContainText('已核对 Purge ' + purgeSource.version);
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: 'Purge来源只读核对', readOnly: true, ...await screenshot(page, 'controlled-purge-' + width + '.png') });
await toggle.uncheck(); await workers.getByRole('button', { name: '关闭窗口', exact: true }).click();
await page.getByRole('button', { name: '工程评测', exact: true }).click();
const evaluations = page.getByRole('dialog', { name: '工程质量评测', exact: true }); await expect(evaluations).toBeVisible();
await expect(evaluations.getByLabel('工程评测控制台', { exact: true })).toBeVisible(); await expect(evaluations).toContainText('每批 1–3 个样本');
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '工程评测固定样本入口', readOnly: true, ...await screenshot(page, 'evaluations-' + width + '.png') });
await evaluations.getByRole('button', { name: '关闭窗口', exact: true }).click();
await page.getByRole('button', { name: '手机连接', exact: true }).click();
const companion = page.getByRole('dialog', { name: '手机连接', exact: true }); await expect(companion).toBeVisible();
await expect(companion).toContainText('默认关闭');
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '默认关闭的手机网关与设备管理', readOnly: true, ...await screenshot(page, 'companion-' + width + '.png') });
await companion.getByRole('button', { name: '关闭窗口', exact: true }).click();
if (width <= 940) await page.getByRole('button', { name: '查看文件', exact: true }).click();
await page.locator('.inspector-tabs').getByRole('button', { name: '索引', exact: true }).click();
const index = page.getByLabel('工程索引', { exact: true });
await expect(index.locator('.index-cache')).toBeVisible({ timeout: 30000 });
await index.locator('.index-cache summary').click();
await expect(index).toContainText('2 轮 SHA 核对');
await expect(index.getByRole('switch', { name: '启用本机解析缓存', exact: true })).toBeChecked();
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '工程解析缓存及本次来源核对', readOnly: true, derivedIndexRead: true, ...await screenshot(page, 'engineering-evals-' + width + '.png') });
if (width <= 940) await page.getByRole('button', { name: '关闭检视区', exact: true }).click();
await page.getByRole('button', { name: '运行诊断', exact: true }).last().click();
const diagnostics = page.getByRole('dialog', { name: '运行诊断', exact: true });
await expect(diagnostics.getByLabel('解析缓存诊断')).toContainText('32 MiB');
results.push({ width, height, panel: '解析缓存诊断与当前工程', readOnly: true, ...await screenshot(page, 'cache-diagnostics-' + width + '.png') });
await diagnostics.getByRole('button', { name: '关闭窗口', exact: true }).click();
console.log(JSON.stringify({ width, passedPanels: 13 }));
} 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. Opening the source index may create derived parsing cache only; 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,71 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { chromium, expect } from 'playwright/test';
import { _electron } from 'playwright';
import { HostController } from '../src/core/desktop/host-controller.mjs';
import { projectEnvironment } from '../src/core/process-environment.mjs';
import { publicSnapshot, compareOriginalState, hash } from './desktop-f-state.mjs';
const deployed = JSON.parse(fs.readFileSync('.qa/reproducible-env-formal-verify.json')); assert.equal(deployed.success, true);
const base = 'http://127.0.0.1:4318', directory = path.resolve('.qa/reproducible-env-formal-ui');
assert.equal(fs.existsSync(directory), false); fs.mkdirSync(directory);
const before = await publicSnapshot(base, deployed.dataRoot); assert.equal(before.version, '1.21.0'); assert.equal(before.pid, 36552);
const bootstrap = await (await fetch(base + '/api/bootstrap')).json(), originalId = '22c90b01-6b82-43d9-b2b6-88a4b245c781';
const original = await (await fetch(base + '/api/sessions/' + originalId + '/export', { headers: { 'X-Workbench-Token': bootstrap.token } })).json();
const originalStatus = original.session.status;
const selection = { projectId: original.project.id, sessionId: originalId }, errors = [], blockedWrites = [], screenshots = [], results = [];
let browser, application, result;
async function prepare(page) {
page.on('pageerror', error => errors.push(error.message));
await page.route('**/api/**', route => {
if (!['GET', 'HEAD', 'OPTIONS'].includes(route.request().method())) { blockedWrites.push(route.request().method() + ' ' + route.request().url()); return route.abort(); }
return route.continue();
});
}
async function capture(page, name) {
const file = path.join(directory, name + '.png'); await page.screenshot({ path: file }); screenshots.push({ file, sha256: hash(fs.readFileSync(file)) });
}
async function inspect(page, width, height, label) {
await expect(page.locator('.connection small')).toHaveText('v1.21.0', { timeout: 30000 });
await expect(page.locator('.work-header .work-title')).toContainText(original.session.title);
await capture(page, label + '-original-session');
await page.getByRole('button', { name: '打开模型中心', exact: true }).click();
const dialog = page.getByRole('dialog', { name: '模型中心', exact: true }); await expect(dialog).toBeVisible();
await dialog.locator('.mc-connection').first().getByRole('button', { name: '原生参数', exact: true }).click();
const form = dialog.getByRole('form', { name: '原生请求参数', exact: true }); await expect(form).toBeVisible();
const current = before.modelCenter.connections[0];
assert.deepEqual(JSON.parse(await form.getByLabel('原生参数 JSON', { exact: true }).inputValue()), current.nativeParameters ?? {});
await expect(form.getByLabel('输出上限字段', { exact: true })).toHaveValue(current.outputTokenField ?? (current.protocol === 'responses' ? 'max_output_tokens' : 'max_tokens'));
const save = form.getByRole('button', { name: '保存原生参数', exact: true }); await save.scrollIntoViewIfNeeded();
const box = await save.boundingBox(); assert.ok(box && box.x >= 0 && box.y >= 0 && box.x + box.width <= width + 1 && box.y + box.height <= height + 1);
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth));
await capture(page, label + '-native-parameters');
await form.getByRole('button', { name: '取消', exact: true }).click(); await page.keyboard.press('Escape');
await page.getByRole('button',{name:'查看任务记录',exact:true}).click();
const environment=page.getByRole('region',{name:'工程环境与依赖',exact:true});await environment.scrollIntoViewIfNeeded();await expect(environment).toBeVisible();
await expect(environment.getByRole('button',{name:'诊断工程环境',exact:true})).toBeVisible();
await capture(page,label+'-environment-entry');
results.push({ label, width, height, originalStatus, originalSessionPreserved: true, nativeSettingsMatchPublicConnection: true, saveFullyReachable: true, submitted: false });
}
try {
browser = await chromium.launch({ channel: 'msedge', headless: true });
for (const [width, height] of [[1440, 1000], [390, 844]]) {
const context = await browser.newContext({ viewport: { width, height } });
await context.addInitScript(value => { localStorage.setItem('awb-project', value.projectId); localStorage.setItem('awb-session', value.sessionId); }, selection);
const page = await context.newPage(); await prepare(page); await page.goto(base + '/?release=1.21.0');
await inspect(page, width, height, 'edge-' + width); await context.close();
}
const controller = new HostController({ appRoot: deployed.candidate, dataRoot: deployed.dataRoot, port: 4318, nodePath: process.execPath });
assert.equal((await controller.status()).desktopWindows.count, 0);
application = await _electron.launch({ executablePath: path.join(deployed.candidate, 'desktop/AgentWorkbench.exe'), args: ['--app-root', deployed.candidate, '--data-root', deployed.dataRoot, '--port', '4318'], cwd: deployed.candidate, env: projectEnvironment(), timeout: 90000 });
const page = await application.firstWindow(); await expect(page.locator('.connection small')).toHaveText('v1.21.0', { timeout: 30000 });
await prepare(page); await page.evaluate(value => { localStorage.setItem('awb-project', value.projectId); localStorage.setItem('awb-session', value.sessionId); }, selection);
await page.reload({ waitUntil: 'domcontentloaded' }); assert.equal((await controller.status()).desktopWindows.count, 1);
for (const [width, height] of [[1280, 900], [390, 844]]) { await page.setViewportSize({ width, height }); await inspect(page, width, height, 'electron-' + width); }
await application.close(); application = null; assert.equal((await controller.status()).desktopWindows.count, 0);
assert.deepEqual(errors, []); assert.deepEqual(blockedWrites, []);
const after = await publicSnapshot(base, deployed.dataRoot), retained = compareOriginalState(before, after);
result = { success: true, version: before.version, pid: before.pid, candidate: deployed.candidate, results, screenshots, errors, blockedWrites, retained, originalSession: originalId, actualInstalledElectron: true, realModelRequests: 0,
scope: 'Read-only formal Edge and visible installed Electron at two viewports; actual original session/current status and native parameters/save reachability. Original historical session was already completed at deployment baseline; no invented failure display. No settings saved, models called or tasks retried.' };
} catch (error) { result = { success: false, results, screenshots, errors, blockedWrites, error: error.stack }; process.exitCode = 1; }
finally { await application?.close().catch(() => {}); await browser?.close(); fs.writeFileSync('.qa/reproducible-env-formal-ui.json', JSON.stringify(result, null, 2), { flag: 'wx' }); console.log(JSON.stringify({ success: result.success, results: results.length, screenshots: screenshots.length, error: result.error })); }
@@ -0,0 +1,322 @@
{
"success": false,
"rejected": true,
"version": "1.21.0",
"candidate": "B",
"sourceCommit": "d0abbd1e5c696fb79425e44359bba4c9348db849",
"partialPassed": 598,
"completeSuitePassed": false,
"assertionFailuresObserved": 0,
"reason": "The single ordinary-suite process reached the unchanged 30-minute runner deadline before completing.",
"formalOperationsExecuted": 0,
"originalProcessesCleanedByRunner": true,
"nextPlan": "New immutable candidate, every original file once in bounded batches, complete suite rerun from the beginning.",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-win-x64-20261101160803469",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-source-20261101160803469",
"portable": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-win-x64-20261101160803469.zip",
"bytes": 644030931,
"sha256": "840351b8e8cdc461c564e002e22960d09febeb2547e7d4933979386e30206d83"
},
"source": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-source-20261101160803469.zip",
"bytes": 644230217,
"sha256": "332f555e56f98c571dcd0c8a44866d16f8dd8bcb5c2b4aa4ef8eeacb9cc01e2e"
},
"installer": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-win-x64-20261101160803469-Setup.exe",
"bytes": 603082066,
"sha256": "203c2d1c271b5eb4ae7ab8f4393c72694b6051fc3439cd756bd9e39d7afb2dc3",
"compiler": {
"version": "6.3.1",
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
},
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-1138391b-b1f4-4a86-8e30-287616e4faa0\\installer.iss",
"version": "1.21.0",
"candidateDirectory": "Agent-Workbench-1.21.0-win-x64-20261101160803469",
"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": 19925,
"licenseTexts": 135,
"browserRuntime": {
"playwrightVersion": "1.64.1",
"packages": [
{
"name": "playwright",
"version": "1.64.1",
"files": 60
},
{
"name": "playwright-core",
"version": "1.64.1",
"files": 115
}
]
}
},
"files": [
{
"path": "driver-path-review/finalize-docs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/finalize-docs.original.txt",
"bytes": 8099,
"sha256": "0b2bc94373a227b7f8165249b5261b6b95e2c0aaa66375cdb33b0ebb537ee24c"
},
{
"path": "driver-path-review/reproducible-env-b-bind-package.mjs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/reproducible-env-b-bind-package.mjs.original.txt",
"bytes": 4276,
"sha256": "19ab71cda5d50f6cba8719463e4304acc459b10164f91ef22c3d3a96fa444f7b"
},
{
"path": "driver-path-review/reproducible-env-b-formal.mjs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/reproducible-env-b-formal.mjs.original.txt",
"bytes": 9360,
"sha256": "980d5f933c9187b6260224f742fa4a6bcd0d09bedcffb846d87640055b37a714"
},
{
"path": "driver-path-review/reproducible-env-b-owned-upgrade.mjs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/reproducible-env-b-owned-upgrade.mjs.original.txt",
"bytes": 2707,
"sha256": "7ee79a598f95d0e67bd041c3859d2dda0fae0dd6e9ce7168b2444c1321f1844f"
},
{
"path": "driver-path-review/reproducible-env-b-prepare-installer.mjs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/reproducible-env-b-prepare-installer.mjs.original.txt",
"bytes": 3104,
"sha256": "8af3c593475d2f96242c8737e8beb0b0fc5c00b4e0a25af2ae79f89f09d62213"
},
{
"path": "driver-path-review/reproducible-env-b-prepare-tools.mjs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/reproducible-env-b-prepare-tools.mjs.original.txt",
"bytes": 2606,
"sha256": "b83343f9c9a7150e943b0dfe3d2066f8309448950b21f6e641e6324e4b461af0"
},
{
"path": "driver-path-review/reproducible-env-b-prepare-ui.mjs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/reproducible-env-b-prepare-ui.mjs.original.txt",
"bytes": 2096,
"sha256": "d57254a74e1be6860ad225624482f5909ad9385a33efc47fa63b5e5dfddc5cd5"
},
{
"path": "driver-path-review/review.json",
"source": ".qa/reproducible-env-b-driver-path-review/review.json",
"bytes": 3768,
"sha256": "a8715fe53f23454b618814612653b300d43ffd8e74f5a3854ef29326366c58a0"
},
{
"path": "driver-path-review/seal.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/seal.original.txt",
"bytes": 9480,
"sha256": "79725bbf61a5df99f6189779fc015a952f6f0aa3430ad43b7f5f8301d83c3b87"
},
{
"path": "driver-path-review/verifier.mjs",
"source": ".qa/reproducible-env-b-review-paths.mjs",
"bytes": 4187,
"sha256": "27a6a7f436c0d3b4b6e21fbc3b54754a1ed3100eae59c9004941100687c77cd0"
},
{
"path": "driver-path-review/verify-reproducible-env-b-formal-ui.mjs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/verify-reproducible-env-b-formal-ui.mjs.original.txt",
"bytes": 14521,
"sha256": "90434591efed59fc1441baa5a21d6c0584d2c5d1bb2bac4e2926b27d78a6fa98"
},
{
"path": "driver-path-review/verify-reproducible-env-b-native-ui.mjs.original.txt",
"source": ".qa/reproducible-env-b-driver-path-review/verify-reproducible-env-b-native-ui.mjs.original.txt",
"bytes": 7114,
"sha256": "ed0030b9ccc6ea6427b57c64e0602b8a25390f9400609bfe4595bbb49244a622"
},
{
"path": "pipeline/after-remaining-console.txt",
"source": ".qa/reproducible-env-b-after-remaining-console.log",
"bytes": 15663,
"sha256": "edfc09b2caf512bfc75635d49711ee90b25032f14dc8cbfba68ab36a375ad36e"
},
{
"path": "pipeline/archives.txt",
"source": ".qa/reproducible-env-b-archives.log",
"bytes": 815,
"sha256": "9cc6f8a1a10edc2194f2694c7bd1cadd121fc4c810ec11611fdc7aaff4fab999"
},
{
"path": "pipeline/package.txt",
"source": ".qa/reproducible-env-b-package.log",
"bytes": 2876,
"sha256": "6c1fb17df714acad37a045fce47106a147a5ed90938028e3d1e6c91eaa40b40e"
},
{
"path": "pipeline/promotion-console.txt",
"source": ".qa/reproducible-env-b-promotion-console.log",
"bytes": 353,
"sha256": "95a516820ad66036135f20a9c1de25664a833e7a3fdf53a4b0b766ef2e18eb73"
},
{
"path": "pipeline/source.txt",
"source": ".qa/reproducible-env-b-source.log",
"bytes": 14020,
"sha256": "5d039484afc01dbb5ee28f14a049a608faaf65086fa5f6fa54f1af682780309f"
},
{
"path": "receipts/archives-original-result.json",
"source": ".qa/reproducible-env-b-archives-original-result.json",
"bytes": 932,
"sha256": "b7e6d6014d2d7e98483910cdbbac2451bdbaf569c17487da6f5ee30f7f2cc7e8"
},
{
"path": "receipts/archives-receipt.json",
"source": ".qa/reproducible-env-b-archives-receipt.json",
"bytes": 446,
"sha256": "aab26d392d5b92355e86c947d3aa5209e53e07dafe53d8501693f6ec7047ee1c"
},
{
"path": "receipts/code-baseline.json",
"source": ".qa/reproducible-env-b-code-baseline.json",
"bytes": 78085,
"sha256": "886fcaa01f60c7ffb2af042b84f8b96c75e35e720777a5394514bf797a7a6824"
},
{
"path": "receipts/independent-result.json",
"source": ".qa/reproducible-env-b-independent-result.json",
"bytes": 16156,
"sha256": "9672156b28be4e37ffbfa3d22e783ef74d61e07fc325ae6e382384af63146f8f"
},
{
"path": "receipts/package-receipt.json",
"source": ".qa/reproducible-env-b-package-receipt.json",
"bytes": 319,
"sha256": "6b441d6ae32549f164cbbaec0e78021d0d572587bb06e76cdd4639d3ebc45ad3"
},
{
"path": "receipts/promotion-result.json",
"source": ".qa/reproducible-env-b-promotion-result.json",
"bytes": 324,
"sha256": "2ece2c796a04f83819c4bea62ac3517e5fac6bad4df7695e5aa45ab17be8a29f"
},
{
"path": "receipts/source-original-result.json",
"source": ".qa/reproducible-env-b-source-original-result.json",
"bytes": 90940,
"sha256": "7cfc7787596853bb23d34171c4ebf6c0a3303a8b25d08c5d727d15f51836289a"
},
{
"path": "receipts/source-receipt.json",
"source": ".qa/reproducible-env-b-source-receipt.json",
"bytes": 450,
"sha256": "737f6d1cce32c327e37025a4e4775781f6dc267278aa80989c057b47c9e237b4"
},
{
"path": "source/browser.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\browser.log",
"bytes": 1170,
"sha256": "346c8eb9c110ae200015264b95837e983c1e1360737ea7b3f4406be1f8e9ae06"
},
{
"path": "source/build.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\build.log",
"bytes": 1398,
"sha256": "7d330009539b874973927df13c7f88f42a5ff88cb715b4e096e2a28eb10e8c86"
},
{
"path": "source/companion-ui.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\companion-ui.log",
"bytes": 787,
"sha256": "b7d2e62f3b1cad5371038b798c64b4ef4bdb50f7db8c346d717cbe8c83fd39f1"
},
{
"path": "source/controlled-engine.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\controlled-engine.log",
"bytes": 826,
"sha256": "6e5e5e028fafa3b56153590c977a628cfda7773209579fd64f8b6727f2ee0fd7"
},
{
"path": "source/engines.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\engines.log",
"bytes": 315,
"sha256": "67cac35c7eaab0df8d7e6ed695825c1813a3ef504e0a45bdeaa8ff06c8d66345"
},
{
"path": "source/environment-engineering.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\environment-engineering.log",
"bytes": 782,
"sha256": "bcce3a5cabc35e196b1950f4fa1bbae6cdf84d9f8fff3acf84cc3ad72e58b3ce"
},
{
"path": "source/environment-ui.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\environment-ui.log",
"bytes": 4967,
"sha256": "f3a9e92de9fa869dec7f6fbd0faeb633ccd967c71b4941c6cedb1df51b7ffe40"
},
{
"path": "source/inputs.json",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\inputs.json",
"bytes": 69916,
"sha256": "75e7ecc12980da957071f33f30237ecfabea0952f121629662a9517df8896a40"
},
{
"path": "source/install.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\install.log",
"bytes": 26,
"sha256": "ccadc66257b35ff93e9461fce551b7b197fc1cc71af1c9052c33404987e20f0f"
},
{
"path": "source/model-protocols-ui.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\model-protocols-ui.log",
"bytes": 696,
"sha256": "b5fbaacdcf84f77af6724213ed21ffb539dd97470b3cb96051c6399b0dce6cfe"
},
{
"path": "source/project-cache-ui.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\project-cache-ui.log",
"bytes": 777,
"sha256": "06ca8836f5f474c412ae64097ffd6215a38711507b3c77b85c8d51fde8886f2f"
},
{
"path": "source/rea.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\rea.log",
"bytes": 842,
"sha256": "cbd22dbed2fae971af65726fd04844f5b21c4c03b9b64352034966e9f5d7fb2c"
},
{
"path": "source/tests.tap",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\tests.tap",
"bytes": 165305,
"sha256": "9a3b8de957f64fe1e5db7a43f9307089c6b4113769514329a3f74c39a7560256"
},
{
"path": "source/vision-ui.txt",
"source": "D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3\\vision-ui.log",
"bytes": 599,
"sha256": "518b1274b8990bb7f0dd60eeb80ee0aae145c946099722c49bda5773d8476432"
}
],
"createdAt": "2026-11-01T16:48:33.446Z",
"realModelRequests": 0
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"success": true, "version": "1.21.0", "testedAt": "2026-11-01T16:12:44.840689+00:00", "archives": [{"kind": "portable", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-win-x64-20261101160803469.zip", "files": 19925, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "840351b8e8cdc461c564e002e22960d09febeb2547e7d4933979386e30206d83"}, {"kind": "source", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-source-20261101160803469.zip", "files": 20274, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "332f555e56f98c571dcd0c8a44866d16f8dd8bcb5c2b4aa4ef8eeacb9cc01e2e"}], "extractionRoot": "D:\\AWQA21\\source-check-6970c6746fac4e3aa51af81ea8993946\\Agent-Workbench-1.21.0-source-20261101160803469"}
@@ -0,0 +1,70 @@
{
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-win-x64-20261101160803469",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-source-20261101160803469",
"portable": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-win-x64-20261101160803469.zip",
"bytes": 644030931,
"sha256": "840351b8e8cdc461c564e002e22960d09febeb2547e7d4933979386e30206d83"
},
"source": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-source-20261101160803469.zip",
"bytes": 644230217,
"sha256": "332f555e56f98c571dcd0c8a44866d16f8dd8bcb5c2b4aa4ef8eeacb9cc01e2e"
},
"installer": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-win-x64-20261101160803469-Setup.exe",
"bytes": 603082066,
"sha256": "203c2d1c271b5eb4ae7ab8f4393c72694b6051fc3439cd756bd9e39d7afb2dc3",
"compiler": {
"version": "6.3.1",
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
},
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-1138391b-b1f4-4a86-8e30-287616e4faa0\\installer.iss",
"version": "1.21.0",
"candidateDirectory": "Agent-Workbench-1.21.0-win-x64-20261101160803469",
"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": 19925,
"licenseTexts": 135,
"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,2 @@
Waiting for the immutable candidate B independent source/portable/install pipeline.
{"success":false,"completed":[],"error":"AssertionError [ERR_ASSERTION]: Independent pipeline failed. Formal deployment is forbidden.\n\nfalse !== true\n\n at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/reproducible-env-b-promotion.mjs:26:64"}
@@ -0,0 +1,290 @@
{"sourceRoot":"D:\\AWQA21\\s-ad7f7475","directory":"D:\\AWQA21\\s-ad7f7475\\.qa\\package-validation-272e2ae6-4a45-4026-bf00-d2c3740228f3","nodeVersion":"v24.22.1","python":{"version":"3.12.10","pytest":"8.4.2","path":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\python-qa-1.7.0\\Scripts\\python.exe"}}
Source package: install
Source package: build
Source package: contained REA
Source package: native DeepSeek SDK
Source package: contained browser runtime
Source package: compiled controlled-engine delivery
Source package: contained companion gateway and UI
Source package: contained model protocols and mobile streams
Source package: contained screenshot inputs and exact Task budget resume
Source package: contained source-verified parsing cache controls
Source package: contained environment approval, stop and recovery UI
Source package: real locked React dependency preparation and Python engineering
Source package: full tests without fixed inspector
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-source-package.mjs:62
code === 0 && !timedOut ? resolve(tail) : reject(new Error(stage + (timedOut ? ' timed out after 30 minutes' : ' failed (' + code + ')') + ': ' + tail));
^
Error: full tests without fixed inspector timed out after 30 minutes: # Subtest: the runtime supplies owned read IDs and completes a plan only after original step evidence verification
ok 555 - the runtime supplies owned read IDs and completes a plan only after original step evidence verification
---
duration_ms: 2137.1041
type: 'test'
...
# Subtest: premature model completion pauses the original Task and resume preserves the existing plan without replay
ok 556 - premature model completion pauses the original Task and resume preserves the existing plan without replay
---
duration_ms: 3029.1674
type: 'test'
...
# Subtest: plan operations participate in project activity and orderly shutdown
ok 557 - plan operations participate in project activity and orderly shutdown
---
duration_ms: 715.7455
type: 'test'
...
# Subtest: actual process exit before plan save restores only committed plan evidence without replay
ok 558 - actual process exit before plan save restores only committed plan evidence without replay
---
duration_ms: 1471.7044
type: 'test'
...
# Subtest: actual process exit after plan save restores only committed plan evidence without replay
ok 559 - actual process exit after plan save restores only committed plan evidence without replay
---
duration_ms: 1312.3347
type: 'test'
...
# Subtest: actual process exit before proof save restores only committed plan evidence without replay
ok 560 - actual process exit before proof save restores only committed plan evidence without replay
---
duration_ms: 1202.2777
type: 'test'
...
# Subtest: actual process exit after proof save restores only committed plan evidence without replay
ok 561 - actual process exit after proof save restores only committed plan evidence without replay
---
duration_ms: 1121.3561
type: 'test'
...
# Subtest: the latest oversized session result reaches the next request together with already read source modules
ok 562 - the latest oversized session result reaches the next request together with already read source modules
---
duration_ms: 2541.3243
type: 'test'
...
# Subtest: every call in a large latest group keeps its actual outcome, including denied and unknown results
ok 563 - every call in a large latest group keeps its actual outcome, including denied and unknown results
---
duration_ms: 2097.8235
type: 'test'
...
# Subtest: a small complete latest tool group is sent once and needs no duplicate feedback view
ok 564 - a small complete latest tool group is sent once and needs no duplicate feedback view
---
duration_ms: 1035.7931
type: 'test'
...
# Subtest: real HTTP repeated state inspection pauses after three identical engineering outcomes and preserves tool pairing
ok 565 - real HTTP repeated state inspection pauses after three identical engineering outcomes and preserves tool pairing
---
duration_ms: 2757.1988
type: 'test'
...
# Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
ok 566 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
---
duration_ms: 4168.8119
type: 'test'
...
# Subtest: failed upgrade restores the original artifact object, provider and request handler
ok 567 - failed upgrade restores the original artifact object, provider and request handler
---
duration_ms: 1830.3561
type: 'test'
...
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
ok 568 - claiming the same runtime owner twice preserves its original metadata and every database row
---
duration_ms: 668.2828
type: 'test'
...
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
ok 569 - sessions without controlled-engine history retain their prior export shape and never expose another session record
---
duration_ms: 647.8944
type: 'test'
...
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
ok 570 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
---
duration_ms: 656.3089
type: 'test'
...
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
ok 571 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
---
duration_ms: 768.9179
type: 'test'
...
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
ok 572 - an installation failure restores old managers, original record maps, handlers and all existing database rows
---
duration_ms: 1557.3156
type: 'test'
...
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
ok 573 - the owned controlled driver remains an active session and project even after outer task activity has ended
---
duration_ms: 617.5102
type: 'test'
...
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
ok 574 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
---
duration_ms: 783.6379
type: 'test'
...
# Subtest: hot upgrade adopts a retained virtual data root without reopening SQLite or changing rows, Provider or routing
ok 575 - hot upgrade adopts a retained virtual data root without reopening SQLite or changing rows, Provider or routing
---
duration_ms: 1287.0052
type: 'test'
...
# Subtest: failed adoption restores the original virtual data-root name and original open database
ok 576 - failed adoption restores the original virtual data-root name and original open database
---
duration_ms: 782.8167
type: 'test'
...
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
ok 577 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
---
duration_ms: 826.362
type: 'test'
...
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
ok 578 - hot upgrade refuses active probes and restores retained model methods if installation fails
---
duration_ms: 813.6255
type: 'test'
...
# Subtest: HTTP worker identities require a current sealed plan, reject overrides and close unused plans without touching source
ok 579 - HTTP worker identities require a current sealed plan, reject overrides and close unused plans without touching source
---
duration_ms: 18731.2309
type: 'test'
...
# Subtest: HTTP unknown recovery only accepts the original evidence SHA and preserves changed source for explicit retention
ok 580 - HTTP unknown recovery only accepts the original evidence SHA and preserves changed source for explicit retention
---
duration_ms: 27301.0395
type: 'test'
...
# Subtest: verified isolated outputs form a new parent batch, rerun real checks and commit only reviewed source
ok 581 - verified isolated outputs form a new parent batch, rerun real checks and commit only reviewed source
---
duration_ms: 75138.9087
type: 'test'
...
# Subtest: overlapping worker paths are explicit conflicts even if each independent task checks successfully
ok 582 - overlapping worker paths are explicit conflicts even if each independent task checks successfully
---
duration_ms: 44451.4817
type: 'test'
...
# Subtest: source edits after isolated work preserve the owner file and invalidate collection without proposing a merge
ok 583 - source edits after isolated work preserve the owner file and invalidate collection without proposing a merge
---
duration_ms: 42003.2931
type: 'test'
...
# Subtest: changed child bytes after parent preview block the entire batch before any parent write
ok 584 - changed child bytes after parent preview block the entire batch before any parent write
---
duration_ms: 59449.0733
type: 'test'
...
# Subtest: corrupt original check logs cannot become collected outputs or a parent review
ok 585 - corrupt original check logs cannot become collected outputs or a parent review
---
duration_ms: 42971.0427
type: 'test'
...
# Subtest: stopping a parent accounts late responses and executes none of their proposed tools
ok 586 - stopping a parent accounts late responses and executes none of their proposed tools
---
duration_ms: 22218.9122
type: 'test'
...
# Subtest: unreported interrupted requests reserve estimated usage and the total deadline cannot reset on resume
ok 587 - unreported interrupted requests reserve estimated usage and the total deadline cannot reset on resume
---
duration_ms: 21737.5106
type: 'test'
...
# Subtest: a deadline before worker request dispatch records no invented usage and cannot reset on resume
ok 588 - a deadline before worker request dispatch records no invented usage and cannot reset on resume
---
duration_ms: 21307.3279
type: 'test'
...
# Subtest: a response exceeding the cumulative token allocation stops before registering or executing its tools
ok 589 - a response exceeding the cumulative token allocation stops before registering or executing its tools
---
duration_ms: 20730.663
type: 'test'
...
# Subtest: cumulative tool allocation rejects the entire returned batch before any tool side effect
ok 590 - cumulative tool allocation rejects the entire returned batch before any tool side effect
---
duration_ms: 21223.4729
type: 'test'
...
# Subtest: single response 16 tool ceiling rejects the entire returned batch before any tool side effect
ok 591 - single response 16 tool ceiling rejects the entire returned batch before any tool side effect
---
duration_ms: 20590.6775
type: 'test'
...
# Subtest: consumed request steps remain consumed across explicit worker resumes
ok 592 - consumed request steps remain consumed across explicit worker resumes
---
duration_ms: 23480.8208
type: 'test'
...
# Subtest: a saved completed response with missing usage is conservatively accounted exactly once during recovery
ok 593 - a saved completed response with missing usage is conservatively accounted exactly once during recovery
---
duration_ms: 18678.6398
type: 'test'
...
# Subtest: an unexecuted second workspace plan resumes its original identity without recreating the first checkout
ok 594 - an unexecuted second workspace plan resumes its original identity without recreating the first checkout
---
duration_ms: 22925.9389
type: 'test'
...
# Subtest: a verified interrupted parent proposal resumes sealing without duplicating or replacing its original change
ok 595 - a verified interrupted parent proposal resumes sealing without duplicating or replacing its original change
---
duration_ms: 71695.6721
type: 'test'
...
# Subtest: recovery attaches a sealed parent batch saved before its group reference without creating another batch
ok 596 - recovery attaches a sealed parent batch saved before its group reference without creating another batch
---
duration_ms: 63427.2065
type: 'test'
...
# Subtest: explicitly retaining an unexecuted parent merge cancels its batch and frees the next parent goal
ok 597 - explicitly retaining an unexecuted parent merge cancels its batch and frees the next parent goal
---
duration_ms: 60773.8502
type: 'test'
...
# Subtest: unknown collaboration blocks ordinary proposals but permits only original batch recovery and rollback
ok 598 - unknown collaboration blocks ordinary proposals but permits only original batch recovery and rollback
---
duration_ms: 63822.1891
type: 'test'
...
at Array.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-source-package.mjs:62:56)
at callFinishedCallbacks (node:internal/streams/writable:984:25)
at finish (node:internal/streams/writable:955:3)
at node:internal/streams/writable:938:13
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Node.js v24.22.1
@@ -0,0 +1,24 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T16:12:44.840689+00:00",
"archives": [
{
"kind": "portable",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-win-x64-20261101160803469.zip",
"files": 19925,
"crcPassed": true,
"manifestAndDirectoryMatch": true,
"sha256": "840351b8e8cdc461c564e002e22960d09febeb2547e7d4933979386e30206d83"
},
{
"kind": "source",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.21.0-source-20261101160803469.zip",
"files": 20274,
"crcPassed": true,
"manifestAndDirectoryMatch": true,
"sha256": "332f555e56f98c571dcd0c8a44866d16f8dd8bcb5c2b4aa4ef8eeacb9cc01e2e"
}
],
"extractionRoot": "D:\\AWQA21\\source-check-6970c6746fac4e3aa51af81ea8993946\\Agent-Workbench-1.21.0-source-20261101160803469"
}
@@ -0,0 +1,13 @@
{
"name": "archives",
"exitCode": 0,
"finishedAt": "2026-11-01T16:12:44.894Z",
"logPath": ".qa/reproducible-env-b-archives.log",
"logBytes": 815,
"logSha256": "9cc6f8a1a10edc2194f2694c7bd1cadd121fc4c810ec11611fdc7aaff4fab999",
"evidence": {
"path": ".qa/archives-validation.json",
"sha256": "b7e6d6014d2d7e98483910cdbbac2451bdbaf569c17487da6f5ee30f7f2cc7e8"
},
"codeCommit": "d0abbd1e5c696fb79425e44359bba4c9348db849"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,10 @@
{
"name": "package",
"exitCode": 0,
"finishedAt": "2026-11-01T16:11:58.748Z",
"logPath": ".qa/reproducible-env-b-package.log",
"logBytes": 2876,
"logSha256": "6c1fb17df714acad37a045fce47106a147a5ed90938028e3d1e6c91eaa40b40e",
"evidence": null,
"codeCommit": "d0abbd1e5c696fb79425e44359bba4c9348db849"
}
@@ -0,0 +1,6 @@
{
"success": false,
"completed": [],
"error": "AssertionError [ERR_ASSERTION]: Independent pipeline failed. Formal deployment is forbidden.\n\nfalse !== true\n\n at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/reproducible-env-b-promotion.mjs:26:64",
"finishedAt": "2026-11-01T16:47:01.259Z"
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,13 @@
{
"name": "source",
"exitCode": 1,
"finishedAt": "2026-11-01T16:47:00.752Z",
"logPath": ".qa/reproducible-env-b-source.log",
"logBytes": 14020,
"logSha256": "5d039484afc01dbb5ee28f14a049a608faaf65086fa5f6fa54f1af682780309f",
"evidence": {
"path": ".qa/source-package-validation.json",
"sha256": "7cfc7787596853bb23d34171c4ebf6c0a3303a8b25d08c5d727d15f51836289a"
},
"codeCommit": "d0abbd1e5c696fb79425e44359bba4c9348db849"
}
@@ -0,0 +1 @@
{"success":true,"version":"1.21.0","directory":"D:\\AWQA21\\s-ad7f7475\\.qa\\browser-native-6541b0dc-27ba-432c-a94b-752e95ac36c9","results":[{"jobId":"9634af4d-b927-49c9-aef6-d09cfdb3dd33","taskId":"03b46ac7-df30-4ce8-9936-ac43dc9ed7b2","viewport":{"width":1280,"height":900},"status":"passed","assertions":{"total":3,"passed":3,"failed":0},"resultSha256":"fbdec8cbd18526983f27c24dab2c6a7fffc67fe1c626864e674c01508c150c6a","buildSha256":"1128c86f9108e72bc1ada18b7c48c9f865283f46d5e530b99caa04d7507f46cd","screenshotSha256":"a0b9187034642bb65372f74db669b60f07c0888d7ce86deb60a4a202b505ca54","browserExited":true,"reusedOriginalJob":true},{"jobId":"0cb64b05-c075-4ca6-806a-c38e5f413c83","taskId":"03b46ac7-df30-4ce8-9936-ac43dc9ed7b2","viewport":{"width":390,"height":844},"status":"passed","assertions":{"total":3,"passed":3,"failed":0},"resultSha256":"3fa72e73256f317ec11823710074879e8bca56a23f752c9310acc8a17e95830e","buildSha256":"1128c86f9108e72bc1ada18b7c48c9f865283f46d5e530b99caa04d7507f46cd","screenshotSha256":"590ef1090d857bc7a7eb30ed790f918d76ebabe4d53b54b82948de4db20cfb4f","browserExited":true,"reusedOriginalJob":true}],"modelRequests":0,"rootExited":true}
@@ -0,0 +1,20 @@
> local-agent-workbench@1.21.0 build
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
vite v7.3.7 building client environment for production...
transforming...
✓ 1738 modules transformed.
rendering chunks...
computing gzip size...
dist-client/.vite/manifest.json  0.55 kB │ gzip: 0.22 kB
dist-client/index.html  0.58 kB │ gzip: 0.39 kB
dist-client/mobile.html  0.82 kB │ gzip: 0.46 kB
dist-client/assets/mobile-CNDnI_ru.css  11.92 kB │ gzip: 3.12 kB
dist-client/assets/desktop-DhswnYpl.css 151.93 kB │ gzip: 28.80 kB
dist-client/assets/mobile-DVWh54VU.js  24.31 kB │ gzip: 8.65 kB
dist-client/assets/x-Cc3T3VuL.js 225.51 kB │ gzip: 70.77 kB
dist-client/assets/desktop-Boh19aFk.js 346.55 kB │ gzip: 98.03 kB
✓ built in 1.62s
Mobile shell built: 3 allowed assets; API and project data are never cached.
Server bundle built.
@@ -0,0 +1,8 @@
PASS desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust
PASS 390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop
PASS phone UI confirms original Task/Run approval and the existing Runtime executes one command
PASS original paginated diff and counted check/report display verified content from the same Task
PASS disconnect and refresh recover from persistent seq without submitting a new command or Run
PASS PWA service worker stores the shell and no API/project response
PASS desktop revocation removes mobile project content immediately on the next read while preserving the original completed tool
EVIDENCE D:\AWQA21\s-ad7f7475\.qa\companion-ui-404afafe-6ebe-40cd-9332-d647b7c62e59
@@ -0,0 +1,6 @@
PASS compiled host seals actual Harness/source identities and prepares one owned worktree while retaining parent bytes and staging
PASS compiled native execution retains failing tests, requires original check approvals, seals literal prompt/model/receipts/results and accounts each owned HTTP request once
PASS compiled parent review and immutable merge pass the original 8 functional tests and actual ESM build
PASS compiled Git delivery contains only reviewed modules, preserves staged/unstaged/untracked owner bytes and completes the parent with sealed original evidence
EVIDENCE C:\Users\wangy\AppData\Local\Temp\awb-controlled-ie05Ut
{"success":true,"version":"1.21.0","directory":"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb-controlled-ie05Ut","cases":4,"rootExited":true,"fixtureModelRequests":7,"realModelRequests":0}
@@ -0,0 +1 @@
{"success":true,"version":"1.21.0","directory":"D:\\AWQA21\\s-ad7f7475\\.qa\\native-engine-e602ca0b-8d23-462d-a266-31e2e64c8c5d","sdkVersion":"0.2.1-rc.2","nativeMethods":["initialize","session/working-directory/get","session/wait","session/resume","session/cancel","shutdown"],"modelRequests":0,"rootExited":true}
@@ -0,0 +1,5 @@
PASS actual React npm ci: eef72f50-4bf4-42ea-b845-48ec8eadda70
PASS actual React npm ci: b27f9104-cf85-4dd6-9a64-28bc3d8ae1db
Observed dependency changes: ["node_modules/.vite-temp"]
Observed dependency changes: ["node_modules/.vite-temp"]
{"success":true,"directory":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-projects-1156829b-8d51-42c2-80f6-6c1e1700835f","reports":5,"reactOriginal":"failed","reactCandidate":"passed","reactTests":9,"pythonTests":2,"requests":138,"originalLockSha256":"48c138a05408667bbd332000731598415c9ae281d5072daa18544025ad89f7ff","ownedLockSha256":"82d48a6b8399a8edc05041861cbf9a112d59925caa84f0888bcfd095f88ec41e","downloadSource":"local HTTP feed of existing npm tarball bytes by locked SRI; no config/credentials or remote network","realModelRequests":0}
@@ -0,0 +1,8 @@
PASS desktop diagnosis, fixed plan, explicit approval, actual npm, original log and refresh
PASS 390px same real flow and bounded plan modal
PASS explicit script approval and original nonzero install failure
PASS stop kills only owned npm tree and keeps cancelled logs
PASS changed lock rejected before process dispatch
PASS recovered unknown remains original unknown after explicit reconciliation
PASS late plan response cannot replace another project or task
{"success":true,"appRoot":"D:\\AWQA21\\s-ad7f7475","version":"1.21.0","checks":["desktop diagnosis, fixed plan, explicit approval, actual npm, original log and refresh","390px same real flow and bounded plan modal","explicit script approval and original nonzero install failure","stop kills only owned npm tree and keeps cancelled logs","changed lock rejected before process dispatch","recovered unknown remains original unknown after explicit reconciliation","late plan response cannot replace another project or task"],"screenshots":[{"path":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a\\desktop-plan.png","sha256":"a7b37a65723b39bf535e4b9d6c47474b49d00f9ffa705afa525d93cb1e7a26e0"},{"path":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a\\desktop-prepared.png","sha256":"875df3f5d95996bbe55c63b0433d44607c7e208fb72de8ab3f8bbf9837eab101"},{"path":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a\\mobile-plan.png","sha256":"9243587ce9575e656f8d725a4f42d9fe6fc3ca5632aab8676733f6d64060a6f6"},{"path":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a\\mobile-prepared.png","sha256":"70b871085c4ea648aa7f74feb397618b594ba53a16e62cd9037808d3e3c4f823"},{"path":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a\\failure-original-log.png","sha256":"1afe87e49f4216c7dc30c63aa5b76b2fd12d53d61cc7ce9a282fbd8293582d52"},{"path":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a\\stopped-owned-process.png","sha256":"65b29183ecf699125a02fb6a2f868ca45c82ae81c21f73eb7599cf9996dc358f"},{"path":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a\\stale-input-rejected.png","sha256":"c718b0c6679a8e019a02d2f1d587495c63d882878a46cf0993f055fe211e5404"},{"path":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a\\recovery-reconciled.png","sha256":"64ddfb6d8827e759a6294e254f5cbf90f40e3f724aef2ecda99d9a993479da56"}],"pageErrors":[],"failures":[],"events":[{"url":"http://127.0.0.1:58726/api/sessions/2a771372-6fcd-4e0c-9645-22c97b62399f/environment-diagnostics","status":201},{"url":"http://127.0.0.1:58726/api/sessions/2a771372-6fcd-4e0c-9645-22c97b62399f/environment-plans","status":201},{"url":"http://127.0.0.1:58726/api/sessions/2a771372-6fcd-4e0c-9645-22c97b62399f/environment-jobs","status":202},{"url":"http://127.0.0.1:58726/api/sessions/727fa1b0-a84f-4c0e-b769-38b55a6e1729/environment-diagnostics","status":201},{"url":"http://127.0.0.1:58726/api/sessions/727fa1b0-a84f-4c0e-b769-38b55a6e1729/environment-plans","status":201},{"url":"http://127.0.0.1:58726/api/sessions/727fa1b0-a84f-4c0e-b769-38b55a6e1729/environment-jobs","status":202},{"url":"http://127.0.0.1:58726/api/sessions/9af4af8f-267b-4556-91e3-c1f970b8a3a7/environment-diagnostics","status":201},{"url":"http://127.0.0.1:58726/api/sessions/9af4af8f-267b-4556-91e3-c1f970b8a3a7/environment-plans","status":201},{"url":"http://127.0.0.1:58726/api/sessions/9af4af8f-267b-4556-91e3-c1f970b8a3a7/environment-jobs","status":202},{"url":"http://127.0.0.1:58726/api/sessions/090fe21c-71e0-4534-9926-00da6bd19c63/environment-diagnostics","status":201},{"url":"http://127.0.0.1:58726/api/sessions/090fe21c-71e0-4534-9926-00da6bd19c63/environment-plans","status":201},{"url":"http://127.0.0.1:58726/api/sessions/090fe21c-71e0-4534-9926-00da6bd19c63/environment-jobs","status":202},{"url":"http://127.0.0.1:58726/api/sessions/090fe21c-71e0-4534-9926-00da6bd19c63/environment-jobs/d52c5f8f-9848-4112-a5a3-b8603da88aa0/stop","status":200},{"url":"http://127.0.0.1:58726/api/sessions/5a3926c5-9bd8-4943-9432-d1134eab6930/environment-diagnostics","status":201},{"url":"http://127.0.0.1:58726/api/sessions/5a3926c5-9bd8-4943-9432-d1134eab6930/environment-plans","status":201},{"url":"http://127.0.0.1:58726/api/sessions/5a3926c5-9bd8-4943-9432-d1134eab6930/environment-jobs","status":409},{"url":"http://127.0.0.1:58726/api/sessions/b366a6e4-6bd8-4c77-a516-187a3ac75ffd/environment-jobs/77020498-bdde-47bf-95e5-498be8697a8d/reconcile","status":200},{"url":"http://127.0.0.1:58726/api/sessions/1d04d605-08ec-4a5b-8e76-e6e14fb0a066/environment-diagnostics","status":201},{"url":"http://127.0.0.1:58726/api/sessions/1d04d605-08ec-4a5b-8e76-e6e14fb0a066/environment-plans","status":201}],"directory":"D:\\AWQA21\\s-ad7f7475\\.qa\\environment-ui-ddf086b0-ac47-4558-adda-26afd0920f2a","realModelRequests":0}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,2 @@
added 137 packages in 8s
@@ -0,0 +1,6 @@
PASS actual form saves Responses and declared stream, refresh preserves both and narrow editor remains operable
PASS separate text, nonce tool and actual SSE probes bind only their requested capability and own attempts
PASS actual pooled task excludes text-only before dispatch, executes original tool once and downloads SHA-matched original SSE
PASS desktop and actual paired gateway show same bounded stream; mobile stops original HTTP with zero fragment tool dispatch or replay
PASS truncated output keeps explicit unknown ledger, partial evidence and no automatic failover or incomplete tool execution
EVIDENCE D:\AWQA21\s-ad7f7475\.qa\model-protocols-ui-f43e352a-75aa-499c-88fb-91a3471a7f21
@@ -0,0 +1,8 @@
PASS desktop query shows two-pass current SHA verification and real parsing reuse
PASS same-size restored-mtime edit invalidates the actual source and displays the reason
PASS disable persists across page reload and future queries parse current sources
PASS clear removes only derived project material; next query rebuilds while sessions and configuration remain byte-semantically unchanged
PASS failed settings keep actual switch and query state; the same operation can recover
PASS diagnostics displays bounded cache and last project verification without triggering another query
PASS 390px controls support keyboard, 44px targets, readable metrics and no horizontal page/panel overflow
EVIDENCE D:\AWQA21\s-ad7f7475\.qa\project-cache-ui-96c3f02d-e024-4cac-b4b9-aef8be52ebdc
@@ -0,0 +1 @@
{"success":true,"version":"1.21.0","directory":"D:\\AWQA21\\s-ad7f7475\\.qa\\rea-integration-c88853ce-d6d0-4fc9-9d2f-95f8110fc783","results":[{"operation":"javascript","evidenceId":"ev_ba6ca34e6f8b5e8065fe92d9a10fb9fa92cd4fb61ab397f3982b0c0735cfd9f8","targetSha256":"284be0b1f5419955018b85aec6fa2f11b4150a2b3356afe387ee3fdc57998229","advertisedTools":229,"rootExited":true},{"operation":"pe-imports","evidenceId":"ev_0edf81ea75fc38eb5ce3b8a1e2e0a26b4dfd0342574c5fa230a6654ffd948242","targetSha256":"7102754492d544b471ff84afdb3bbec983824049e4c2118bd0e240f8e7cbe973","advertisedTools":229,"rootExited":true},{"operation":"pe-resources","evidenceId":"ev_f3837a79a361d6703b8f2ca3944e9e60a4b21219fb346bd38f8250afbc4f8e3c","targetSha256":"7102754492d544b471ff84afdb3bbec983824049e4c2118bd0e240f8e7cbe973","advertisedTools":229,"rootExited":true}]}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,6 @@
PASS desktop upload, explicit route, refreshed draft, original download SHA, one paired tool and narrow task history
PASS forged image rejects without losing task text or sending a model request
PASS explicit budget preview and confirmation retain Task, attachment and completed tool while global capacity stays unchanged
PASS paired TLS companion verifies same screenshot, refresh restores it and revoke clears project/image content
PASS stopping screenshot SSE closes original HTTP and dispatches zero partial tools
EVIDENCE D:\AWQA21\s-ad7f7475\.qa\vision-ui-290db1f0-9cef-4c9b-9ab5-405a00f48de2
@@ -0,0 +1,16 @@
{
"success": true,
"assertions": [
"actual host crash with no result report exposes its original verified input and unknown status",
"390px original-input review clears the job and invocation gates while retaining unknown, no report and no automatic model replay"
],
"viewportWidths": [
1440,
390
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 1,
"realModelRequests": 0,
"jobId": "7fec3f93-a8a6-4c15-9fc9-f6c25fd14675"
}
@@ -0,0 +1,24 @@
{
"success": true,
"assertions": [
"MCP registration stays disabled and shows the hashed local executable and Node entry",
"actual stdio tools/list schema is visible; only the reviewed echo tool is enabled",
"an enabled program whose source changes can be disabled immediately without executing the changed entry",
"approved external call interrupted after dispatch remains unknown and does not replay",
"TaskPanel exposes Task/Run source, original report, and human acknowledgement without marking unknown as success",
"390px MCP registry, long executable paths, controls, and operation history have no horizontal overflow"
],
"viewportWidths": [
1440,
390
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 1,
"realModelRequests": 0,
"unknownJobId": "00a8bed8-a8b4-4c48-b3e0-faaf973cf883",
"screenshots": [
"desktop-mcp-registry.png",
"mobile-mcp-registry.png"
]
}
@@ -0,0 +1,23 @@
{
"url": "http://127.0.0.1:60781",
"viewportWidths": [
1440,
390
],
"assertions": [
"connection form stores only the volatile credential and renders configured status without exposing it",
"pool editor saves weighted members and binds selection for new Runs",
"schema-bound import preview, opt-in automatic sync, revision update and sync shutdown keep credentials hidden",
"real historical pagination detects the owned corrupted older artifact, retains its identity and leaves original bytes unchanged",
"local inspection shows real database and artifact checks and emits zero model requests",
"390px model-center modal and connection cards remain operable without horizontal page overflow"
],
"pageErrors": [],
"requestFailures": [],
"modelRequests": 0,
"screenshots": [
"desktop-operations.png",
"mobile-operations.png",
"mobile-connections.png"
]
}
@@ -0,0 +1,57 @@
{
"success": true,
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench",
"checks": [
"native parameters persist after reload and the narrow form remains usable without calling a model",
"unsupported field is rejected visibly before any dispatch",
"actual HTTP error shows raw fields and original wait, keeps secrets hidden and downloads SHA-verified original at both widths",
"physical request ledger preserves the same error origin and offers the sealed actual request",
"Responses failed event retains original identity and reported use at both widths; partial tool is never dispatched or retried",
"explicit synthetic probe also shows the API diagnostic and labels its preview-only retention without inventing a Task artifact"
],
"screenshots": [
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\native-desktop.png",
"sha256": "6791c24c1dcd46c22623d7563872b7b0084f7c30f86870b82a550ea5a56fb05e"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\native-390.png",
"sha256": "bf0c6db94447284972e44f196b5136a33a41e71510deec9d5d09202e9290537e"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\http-error-desktop.png",
"sha256": "42f25f18e706b5a8537e8507279a647c3acebae77f86eafa3743a1630fdc1f44"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\http-raw-desktop.png",
"sha256": "32f24350091bce59bcf7025ae3587834c94a002ad9d3c619266f4bf45949b200"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\http-error-390.png",
"sha256": "226acd4a2054e49b21ff7a91782c17edbfe14e46ecbd4c6657e86e5ce174075b"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\ledger-390.png",
"sha256": "44fe2eefda683f3ade5633d1b05dcd68aa69b8d1024ce0a6a50d2599d1acc5dc"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\sse-error-desktop.png",
"sha256": "359b2740911da7e69fca09ca4905608b1f3797d3254d737fc63e7340ad2fb0f3"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\sse-error-390.png",
"sha256": "fcd867e34ae732dd6b8c74e060e6cb5ec2a8ec4d4a1c8e58d9c7848d6183c252"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\sse-raw-390.png",
"sha256": "6ee6572d62ecd366f12ed32510971eb2c84913d7bc46d1047a3d027a43b2d45b"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-fidelity-ui-2261d4e7-74f3-4500-a547-51e942cb6bc9\\probe-error-390.png",
"sha256": "a524f176017fa2e69baee1bf364729e5294fe87dc5587b7c140b7cb7768a2075"
}
],
"errors": [],
"modelRequests": 3,
"realModelRequests": 0
}
@@ -0,0 +1,41 @@
{
"success": true,
"version": "1.21.0",
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench",
"nodePath": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
"containedRuntime": false,
"nodeSha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5",
"passed": [
"actual form saves Responses and declared stream, refresh preserves both and narrow editor remains operable",
"separate text, nonce tool and actual SSE probes bind only their requested capability and own attempts",
"actual pooled task excludes text-only before dispatch, executes original tool once and downloads SHA-matched original SSE",
"desktop and actual paired gateway show same bounded stream; mobile stops original HTTP with zero fragment tool dispatch or replay",
"truncated output keeps explicit unknown ledger, partial evidence and no automatic failover or incomplete tool execution"
],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\desktop-editor.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\narrow-editor.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\desktop-capabilities.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\narrow-capabilities.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\desktop-ledger.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\desktop-streaming.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\narrow-streaming.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\mobile-streaming.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\mobile-stopped.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\narrow-stopped.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\desktop-incomplete.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-protocols-ui-ebec5627-2825-45b3-aa0d-d9cfd0589651\\narrow-incomplete.png"
],
"pageErrors": [],
"requestFailures": [],
"fixtureModelRequests": 7,
"realModelRequests": 0,
"osTrustChanged": false,
"nativeIPhone": "not exercised; paired Edge viewport uses CA-verifying owned relay",
"taskId": "66d3614a-ae6e-41ba-bdf1-7e3fe8ffb265",
"runIds": [
"6c26c05e-8421-4afb-9460-132d3961316b",
"a7177d11-2e24-4b7c-9144-0dbcbdf32647",
"57b9e502-db70-49e5-a109-fed9908c623d"
]
}
@@ -0,0 +1,32 @@
{
"success": true,
"checks": [
"desktop saves seconds, preserves original pool/member and sends no model request",
"invalid timeout rejected without saving",
"saved values survive reload; narrow screen remains usable",
"active request locks wait changes in both API and UI",
"actual stalled stream shows exact idle reason, saves unknown use, never writes or retries"
],
"screenshots": [
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-wait-ui-4ebbb8d2-4cc3-4490-84c9-832b8268a771\\settings-desktop.png",
"sha256": "8fd62c306178e2a2e0189c73b921520ed63025517c2eb1359f848fcf29f79e85"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-wait-ui-4ebbb8d2-4cc3-4490-84c9-832b8268a771\\settings-390.png",
"sha256": "34ea2ab9a1987b05495f19ebe0b2070b6fae0b334dd67c127811724c47eb8881"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-wait-ui-4ebbb8d2-4cc3-4490-84c9-832b8268a771\\idle-error-desktop.png",
"sha256": "2624568e785d2325ad3001c260fad4e165a90e947100d4198184ecaeed107357"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-wait-ui-4ebbb8d2-4cc3-4490-84c9-832b8268a771\\idle-error-390.png",
"sha256": "2a159f626e5c7a70e036ffd77e3bdd7e842f4d62e411a6d6d15feacb59d562ec"
}
],
"pageErrors": [],
"requests": 1,
"realModelRequests": 0,
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench"
}
@@ -0,0 +1,41 @@
{
"success": true,
"version": "1.21.0",
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench",
"realModelRequests": 0,
"passed": [
"desktop query shows two-pass current SHA verification and real parsing reuse",
"same-size restored-mtime edit invalidates the actual source and displays the reason",
"disable persists across page reload and future queries parse current sources",
"clear removes only derived project material; next query rebuilds while sessions and configuration remain byte-semantically unchanged",
"failed settings keep actual switch and query state; the same operation can recover",
"diagnostics displays bounded cache and last project verification without triggering another query",
"390px controls support keyboard, 44px targets, readable metrics and no horizontal page/panel overflow"
],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\project-cache-ui-386e8c83-ba5c-4c20-b100-dc83d5caaf47\\desktop-cold.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\project-cache-ui-386e8c83-ba5c-4c20-b100-dc83d5caaf47\\desktop-warm.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\project-cache-ui-386e8c83-ba5c-4c20-b100-dc83d5caaf47\\desktop-invalidated.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\project-cache-ui-386e8c83-ba5c-4c20-b100-dc83d5caaf47\\desktop-disabled.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\project-cache-ui-386e8c83-ba5c-4c20-b100-dc83d5caaf47\\desktop-cleared.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\project-cache-ui-386e8c83-ba5c-4c20-b100-dc83d5caaf47\\desktop-error.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\project-cache-ui-386e8c83-ba5c-4c20-b100-dc83d5caaf47\\desktop-diagnostics.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\project-cache-ui-386e8c83-ba5c-4c20-b100-dc83d5caaf47\\narrow-cache.png"
],
"pageErrors": [],
"requestFailures": [],
"contrast": [
5.6547953800002615,
13.85710152658139,
5.6547953800002615,
13.85710152658139,
5.6547953800002615,
13.85710152658139,
5.6547953800002615,
13.85710152658139,
5.6547953800002615,
13.85710152658139
],
"sourceBeforeSha256": "deebbdd0a042596cab6ef2cb98c16d432598c6c34a7d24b6ec1582d7c8ff25d0",
"sourceAfterSha256": "37315c4d7ce309e3496e2c428644dfdea79f1d49070ee58472386314d4f4ef62"
}
@@ -0,0 +1,24 @@
{
"success": true,
"url": "http://127.0.0.1:53814",
"viewportWidths": [
1440,
390
],
"assertions": [
"source hashes remain visible and a changed file is explicitly expired with retained provenance",
"incomplete inventory marks existing facts unverified and blocks new saves",
"390px memory review stays within the viewport with the incomplete-scan warning visible",
"desktop and 390px request records expose the exact memory snapshot used by one owned local HTTP request"
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 1,
"realModelRequests": 0,
"screenshots": [
"desktop-expired-memory.png",
"mobile-incomplete-memory.png",
"desktop-sent-memory.png",
"mobile-sent-memory.png"
]
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,35 @@
{
"success": true,
"version": "1.21.0",
"at": "2026-11-01T16:06:16.046Z",
"browser": "156.0.4314.50",
"passed": [
"mixed projects retain npm defaults and explicitly seal the selected Python checks",
"the confirmation shows the actual interpreter and cancellation executes no checks",
"actual unittest failures and the separately passed compilation display their counted results",
"the log and original structured result are independently viewable and hash-bound",
"a reviewed three-file repair runs new checks while retaining the original failed job and protected files",
"390px checks, interpreter paths, original result dialog and composer remain operable without page overflow",
"Git confirmation and the Python execution report deliver only the three reviewed sources and preserve owner changes"
],
"pageErrors": [],
"requestFailures": [],
"checks": {
"before": {
"total": 6,
"passed": 1,
"failed": 5,
"skipped": 0,
"cancelled": 0
},
"after": {
"total": 6,
"passed": 6,
"failed": 0,
"skipped": 0,
"cancelled": 0
}
},
"commit": "1097d63af67f1f7222dd765416b0f346970dd470",
"scope": "Independent host and owned fixture. Real Python processes, reviewed API repairs and actual local Git. No configured model requests or production credentials."
}
@@ -0,0 +1,76 @@
{
"success": true,
"version": "1.21.0",
"at": "2026-11-01T16:06:41.200Z",
"browser": "156.0.4314.50",
"passed": [
"the sealed React TypeScript project builds but its real domain tests first expose the functional failures",
"a real browser separately observes that the broken pending filter wrongly shows all three tasks",
"the four-file reviewed repair passes all nine domain tests, actual TypeScript checking and the Vite production build",
"the production React app passes real filtering, search, single-task toggling and updated statistics",
"the same built React app remains operable at 390px without horizontal overflow",
"Workbench Git commits only the four reviewed files and binds the actual checks while preserving tests, configuration and owner changes"
],
"pageErrors": [],
"requestFailures": [],
"originalTests": {
"total": 9,
"passed": 2,
"failed": 7,
"cancelled": 0,
"skipped": 0
},
"repairedTests": {
"total": 9,
"passed": 9,
"failed": 0,
"cancelled": 0,
"skipped": 0
},
"beforePending": 3,
"checks": [
{
"name": "test",
"status": "passed",
"exitCode": 0,
"tests": {
"total": 9,
"passed": 9,
"failed": 0,
"cancelled": 0,
"skipped": 0
}
},
{
"name": "typecheck",
"status": "passed",
"exitCode": 0,
"tests": null
},
{
"name": "build",
"status": "passed",
"exitCode": 0,
"tests": null
}
],
"commit": "7f0d267da2b5c0e5a35d4f6101b676a4a5d2b971",
"changes": [
"src/App.tsx",
"src/query.ts",
"src/summary.ts",
"src/transition.ts"
],
"protectedFiles": {
"package.json": "db3c6bfd79d1ebb1f5692727715e2b48d3f09e0314d9f1d455d335774f5e7db8",
"package-lock.json": "48c138a05408667bbd332000731598415c9ae281d5072daa18544025ad89f7ff",
"tsconfig.json": "9dcf064d622cb31ae94ef348655f4f7af84076241601148929232314ef1b0c8a",
"vite.config.mjs": "0ea84b4e2909b04e4c1cb1b92392a9f85bcb46605472763b15935d3498ba8ed3",
"index.html": "37e9fd3172422ecca3902378c567331363dc1277ac749dd9f6bdf74f04540787",
"test/domain.test.mjs": "3fbd155cfc4919f3d0570a7ee26ff5ff4243e3e94250f3d0dbebe93c2b925ec0",
"src/types.ts": "d2bbcac2cb175e7bcafe087915f02c3cf2e0ea4b65235d6231bbcd4c3a682246",
"src/main.tsx": "c9a5787f5544788757ab654e1dfd83b5bc51495144e17aa078c2ee2f4412a302",
"src/styles.css": "60bcb8f7f73f4328274096132a3d73b7ef1fc9e6fbf6a3a3477fb9d519f2c25c"
},
"scope": "Owned frozen React TypeScript project with offline-installed fixed dependencies, real npm/typecheck/build/browser and Workbench review/Git/report. API fixtures supply repairs; configured-model success is separate."
}
@@ -0,0 +1,138 @@
{
"success": true,
"version": "1.21.0",
"at": "2026-11-01T16:07:05.431Z",
"browser": "156.0.4314.50",
"passed": [
"independent desktop research entry detects the installed fixed REA version",
"UI registration seals the artifact identity in the current project and creates no model request",
"actual REA ASAR analysis renders the verified source chain and downloads the exact original Bundle",
"original field selection, paging and limitations retain exact bytes; Escape closes only the top dialog",
"raw responses and connection records are readable; repeat analysis reuses the verified original without dispatch",
"UI PE operation selection performs actual import and resource analysis with independently verified target hashes",
"changed artifact versions refuse dispatch, retain the stale record and require a separately registered version",
"390px research, long identities and original evidence dialogs fit the viewport and retain usable close controls",
"a real host restart preserves exact target/job identities and serves sealed Evidence without producer replay",
"a delayed evidence response cannot reopen a closed research panel or change another task",
"declared owned stdio fault fixture stops its root process and explicit retry adds a new record without changing history"
],
"pageErrors": [],
"requestFailures": [],
"expectedRequestFailures": [],
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\research-ui-1b33e244-0e6b-4b01-b14f-a83721fc2c3c",
"actualRea": {
"version": "6.8.0",
"operations": [
"javascript",
"pe-imports",
"pe-resources"
],
"jobs": [
{
"id": "48794d34-da68-4256-855d-80d085fd269d",
"status": "completed",
"evidenceId": "ev_a016977e2a4ed5d3fca24fd6c2e9e7efad638844a3c19dd0d5a3cf582de75b2e"
},
{
"id": "291c5b17-9deb-435a-98fb-25945f8928b5",
"status": "completed",
"evidenceId": "ev_a016977e2a4ed5d3fca24fd6c2e9e7efad638844a3c19dd0d5a3cf582de75b2e"
},
{
"id": "4a5c0fb1-f7c9-41e2-9f66-5400342f9f9a",
"status": "completed",
"evidenceId": "ev_531d8aecec595cb109d8b63637c533493130d5e8e232677ee9a763211c2c0365"
},
{
"id": "56dc31ed-3627-474c-8ffa-972e25b829b4",
"status": "completed",
"evidenceId": "ev_285bfdf134e72ddc9a60368830ac1b5ff3de41a0bf597126dfab25f2401b32a7"
},
{
"id": "8d42bc5a-4879-4d16-aa87-920b659d312b",
"status": "stale"
},
{
"id": "fc1458b4-492a-4758-8dcd-d8fe9cce7d54",
"status": "completed",
"evidenceId": "ev_c5fa4fcc9aee033df8169e0df21b929daa6511559466c2e11da06b24998c8979"
}
],
"targetExecution": false,
"modelRequests": 0
},
"stopScope": "explicitly declared private stdio handshake fault fixture",
"screenshots": [
".qa/screenshots/reproducible-env-research-desktop.png",
".qa/screenshots/reproducible-env-research-mobile.png",
".qa/screenshots/reproducible-env-research-evidence-mobile.png",
".qa/screenshots/reproducible-env-research-stop-desktop.png"
],
"analysisRequests": [
{
"url": "http://127.0.0.1:60347/api/sessions/19ec0531-6040-4f6e-a9cf-1f364947f233/research/jobs",
"input": {
"targetId": "d9208395-c956-4f51-96aa-f4ab2ad1b2b1",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:60347/api/sessions/19ec0531-6040-4f6e-a9cf-1f364947f233/research/jobs",
"input": {
"targetId": "d9208395-c956-4f51-96aa-f4ab2ad1b2b1",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:60347/api/sessions/19ec0531-6040-4f6e-a9cf-1f364947f233/research/jobs",
"input": {
"targetId": "c8d53a70-853c-4550-acec-48f326791289",
"operation": "pe-imports",
"refresh": false
}
},
{
"url": "http://127.0.0.1:60347/api/sessions/19ec0531-6040-4f6e-a9cf-1f364947f233/research/jobs",
"input": {
"targetId": "c8d53a70-853c-4550-acec-48f326791289",
"operation": "pe-resources",
"refresh": false
}
},
{
"url": "http://127.0.0.1:60347/api/sessions/19ec0531-6040-4f6e-a9cf-1f364947f233/research/jobs",
"input": {
"targetId": "d9208395-c956-4f51-96aa-f4ab2ad1b2b1",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:60347/api/sessions/19ec0531-6040-4f6e-a9cf-1f364947f233/research/jobs",
"input": {
"targetId": "21cc9f50-24dd-46cd-8b17-6e58e5a28375",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:55717/api/sessions/6a08c52f-dda5-4e67-8002-2cfbc6c900ed/research/jobs",
"input": {
"targetId": "09d86789-e2e4-40d6-a8d0-129822de463c",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:55717/api/sessions/6a08c52f-dda5-4e67-8002-2cfbc6c900ed/research/jobs",
"input": {
"targetId": "09d86789-e2e4-40d6-a8d0-129822de463c",
"operation": "javascript",
"refresh": true
}
}
],
"scope": "Independent ports/data and self-owned inert artifacts. No production service, configured-model request or real key read/copied."
}
@@ -0,0 +1,22 @@
{
"success": true,
"viewportWidths": [
1440,
390
],
"assertions": [
"desktop registers a disabled skill, reviews original UTF-8 instructions and explicitly enables it with no model calls",
"source edit blocks activation until a new reviewed revision is registered; original revision remains available",
"390px review and activation retain readable paths, revision history and visible source state without horizontal overflow",
"actual local HTTP task reads precisely revision 2 and exposes its SHA-bound sent catalog in task evidence"
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 2,
"realModelRequests": 0,
"screenshots": [
"desktop-skill-source.png",
"mobile-skill-source.png",
"desktop-sent-skill-catalog.png"
]
}
@@ -0,0 +1,20 @@
{
"success": true,
"passed": [
"desktop saves and inspects the full original Task and tool provenance without another model request",
"an outside source change is visible and removes the checkpoint continuation action",
"390px explicit continuation keeps the same Task and one original read; a second resume of the old checkpoint is blocked"
],
"viewportWidths": [
1440,
390
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
"desktop-original-checkpoint.png",
"mobile-checkpoint-ready.png"
],
"localFixtureModelRequests": 3,
"realModelRequests": 0
}
@@ -0,0 +1,42 @@
{
"success": true,
"version": "1.21.0",
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench",
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-control-ui-19545f3b-6d43-4e7b-b3f4-d8959d3f8e62",
"passed": [
"HTML applies once, ends without tests or continuation prompt, and shows actual model",
"390px result and task panel remain usable without horizontal overflow",
"one approved real failing check is reused across new plans and the no-progress task pauses",
"diagnostic answer completes separately and preserves original unfinished task at both widths",
"required empty arguments reject the entire batch and reported usage remains once after reload"
],
"screenshots": [
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-control-ui-19545f3b-6d43-4e7b-b3f4-d8959d3f8e62\\html-desktop.png",
"sha256": "84182c8064a2d2e82342eacdf23d1e16aafcb02ef1bb6f1dd2be2112cee2c5db"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-control-ui-19545f3b-6d43-4e7b-b3f4-d8959d3f8e62\\html-390.png",
"sha256": "08a8285ed5495548a318877b65cae9d4cabcffe8be1d7a8d845e43469d41d251"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-control-ui-19545f3b-6d43-4e7b-b3f4-d8959d3f8e62\\checks-desktop.png",
"sha256": "bf0e246e0182d262d8c0ca4fac513350a3ec8d2daf1ad07715726ec3275e0697"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-control-ui-19545f3b-6d43-4e7b-b3f4-d8959d3f8e62\\diagnostic-desktop.png",
"sha256": "53ca4b22a4681348109683ab69386f72b95eac15935259af294ef75c49ac3eee"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-control-ui-19545f3b-6d43-4e7b-b3f4-d8959d3f8e62\\diagnostic-390.png",
"sha256": "ee6797fc52a3c6b4a67b7f78e5080cc2a355b07d929df2b4dba870b8d4dc28cf"
},
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-control-ui-19545f3b-6d43-4e7b-b3f4-d8959d3f8e62\\protocol-desktop.png",
"sha256": "d0b9bfd77608b528af402f98f953b6ec83ce983b276db86fe4f554467cf23c83"
}
],
"pageErrors": [],
"requestCount": 11,
"realModelRequests": 0
}
@@ -0,0 +1,31 @@
{
"success": true,
"version": "1.21.0",
"testedAt": "2026-11-01T15:59:45.621Z",
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-4c54b6c9-7cfd-48ee-98e4-b654259b5ff9",
"passed": [
"structured editor seals two real steps and their dependency without running tools",
"original owned read verifies the prerequisite and opens its hashed proof without replay",
"real two-test and build job supplies the current-source proof and completes the sealed plan",
"outside source edits invalidate the current proof, retain the rejection and block a passed delivery report",
"390px immutable revision adds a mobile step, preserves old criteria and keeps evidence dialogs operable",
"a delayed plan-read failure stays with the original task after selection changes",
"controlled tab unmount during a delayed successful save retains the original task result without restoring the closed editor",
"real host restart retains all plan revisions, accepted/rejected proofs and the original operations without replay"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-4c54b6c9-7cfd-48ee-98e4-b654259b5ff9\\task-plan-desktop-editor.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-4c54b6c9-7cfd-48ee-98e4-b654259b5ff9\\task-plan-desktop-verified.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-4c54b6c9-7cfd-48ee-98e4-b654259b5ff9\\task-plan-mobile-editor.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-4c54b6c9-7cfd-48ee-98e4-b654259b5ff9\\task-plan-mobile-artifact.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-4c54b6c9-7cfd-48ee-98e4-b654259b5ff9\\task-plan-mobile-steps.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-4c54b6c9-7cfd-48ee-98e4-b654259b5ff9\\task-plan-mobile-overview.png"
],
"taskId": "922b5178-1efb-4986-bf9e-29f5c09e5772",
"sessionId": "cf74221d-7e28-44e9-9785-22b4dd3d0432",
"planRevisions": 3,
"proofs": 4,
"scope": "Independent real Edge desktop/390px Workbench UI, actual npm checks and owned read fixture. No real model credentials or production service access; semantic project acceptance is separate."
}
@@ -0,0 +1,51 @@
{
"success": true,
"version": "1.21.0",
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench",
"containedRuntime": false,
"realModelRequests": 0,
"passed": [
"desktop upload, explicit route, refreshed draft, original download SHA, one paired tool and narrow task history",
"forged image rejects without losing task text or sending a model request",
"explicit budget preview and confirmation retain Task, attachment and completed tool while global capacity stays unchanged",
"paired TLS companion verifies same screenshot, refresh restores it and revoke clears project/image content",
"stopping screenshot SSE closes original HTTP and dispatches zero partial tools"
],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-ui-fa070955-39d1-412e-8cbe-d26be215e833\\desktop-draft.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-ui-fa070955-39d1-412e-8cbe-d26be215e833\\desktop-attached.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-ui-fa070955-39d1-412e-8cbe-d26be215e833\\narrow-attached.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-ui-fa070955-39d1-412e-8cbe-d26be215e833\\desktop-budget-preview.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-ui-fa070955-39d1-412e-8cbe-d26be215e833\\narrow-budget-preview.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-ui-fa070955-39d1-412e-8cbe-d26be215e833\\companion-image.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\vision-ui-fa070955-39d1-412e-8cbe-d26be215e833\\desktop-image-stopped.png"
],
"requests": [
{
"route": "/v1/responses",
"sha256": "b190295627738ca46b654315822fee53fdea413ca5d9de2256af2a9f8041470f",
"imageCount": 1
},
{
"route": "/v1/responses",
"sha256": "fa452a49403105e02b64ae2792ec554c1f1f4b2e22fd77fc41f2a0cb3618ee7b",
"imageCount": 1
},
{
"route": "/v1/responses",
"sha256": "772bd397271379235524196d9c203d277dd633ae75f17a2ab079ab9459c1e2fd",
"imageCount": 1
},
{
"route": "/v1/responses",
"sha256": "be3d83958d4895cd28d63aeb7af454c7aa07313ea5433237096ba0dc536abc16",
"imageCount": 1
},
{
"route": "/v1/responses",
"sha256": "59da3032eb393d3e82898b43085eea11e287b86608774e4a02ea1c21bb0c2a72",
"imageCount": 1
}
],
"pageErrors": []
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,28 @@
{
"success": true,
"version": "1.21.0",
"at": "2026-11-01T16:05:57.956Z",
"browser": "156.0.4314.50",
"passed": [
"desktop preview seals the committed version and shows existing staged/unstaged/untracked source changes",
"repeated create clicks execute once and preserve the exact source index and owner files",
"opening the child, returning to the source and reloading retain stable project/session identity",
"a record owned by another session navigates to that saved owner instead of accepting its actions",
"explicit recovery preserves outside content and acknowledgement does not report successful creation",
"390×844 preview/create/open/return stays within viewport and preserves source ownership",
"late-failure stays with the original session after project switching",
"late-success stays with the original session after project switching",
"a delayed bootstrap cannot navigate after the task panel has unmounted"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
".qa/screenshots/reproducible-env-workspaces-review-desktop.png",
".qa/screenshots/reproducible-env-workspaces-ready-desktop.png",
".qa/screenshots/reproducible-env-workspaces-recovery-desktop.png",
".qa/screenshots/reproducible-env-workspaces-review-mobile.png",
".qa/screenshots/reproducible-env-workspaces-child-mobile.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workspace-ui-61636270-4d5f-4132-9a1f-e4753655f377",
"scope": "Independent synthetic Git projects and real browser flows. Desktop/390×844, actual worktree creation, source preservation, explicit external recovery, ownership navigation, delayed success/error/navigation. No production service or real model credential used."
}
+16
View File
@@ -1058,6 +1058,22 @@ A–C首实现已写入:只读Node/npm/Python/pytest诊断、锁定npm ci、
完整F原件、字节清单和发行身份已封存;不重写旧失败或不可变安装包。下一1.21仅方案,优先工程依赖与可复现环境。
# 1.21接续:回顾、修复与最终验证
候选B于2026-11-01T16:47Z源码验证失败:原完整测试子进程触及30分钟总截止,最后598项ok/0项not ok但没有最终统计。原失败收据/部分TAP保持,正式promotion被前置门槛自动拒绝,安装和正式副作用0;已核对没有遗留测试Node进程。将源码回归按最多8个原文件分批串行,一般并发2、每批30分钟和固定升级独占不变,所有发现文件恰好执行一次。新候选重新冻结并完整重验,不把原部分结果算完成。
候选B中断原件39份及来源清单已封存。暂存检查正确指出其中Python生成原归档收据的CRLF;仅为该原证据目录声明cr-at-eol,保持原字节不做换行归一化,重新核对后提交。候选C只改变穷尽回归的分批驱动和原件Git属性,产品src/tests/构建不改;使用已修正的候选驱动并重新绑定来源。
接续回顾:候选B完整源码仍在原目录连续运行,未见新失败。发现八份尚未执行的QA驱动/生成器仍保留原候选前缀,导致后续收据读写路径不一致;原件及SHA保存在`.qa/reproducible-env-b-driver-path-review`,仅修正忽略目录内驱动的候选归属与前置成功收据绑定,八份语法检查通过,443输入和22产物全部SHA保持。另核对文档收尾器的F序号应为5,原封存器/文档收尾器也先保留原件再修正。正式阶段和安装尚未执行,没有重放副作用。恢复阶段两次只读路径/Windows通配查询失败已改为实际清单和目录glob;不计作产品失败或验证通过。
再次目视独立源码环境UI的failure-original-log与mobile-plan原PNG:失败明确保留退出码23、1.3秒、原日志入口;390px确认层的目标/注册源/300秒/脚本策略和两项底部操作可见,长命令在有界区域滚动。零锁定包诊断ready与安装脚本执行失败属于不同结果,未把准备失败隐藏为通过。历史侧栏选中会话对比度偏弱仍为已记录待办,不宣称本轮改好。
独立源码普通测试仍在原冻结目录连续运行,已观察到Git各durable阶段真实进程退出与不重放提交的原断言通过;当前仅记录进行中,不把中间ok计为完整源码通过。没有追加并行重型验收或修改冻结代码,正式门槛仍关闭。
独立源码B的环境7组和真实React/Python工程已通过,普通完整测试于2026-11-01T16:17Z开始,固定升级测试随后独占执行。已实际回看新解压源码的desktop-plan与390px mobile-prepared原PNG:目标/注册源/脚本策略/固定命令和确认按钮可核对,窄屏换行及日志/准备入口可用;零依赖样本显示“没有node_modules”与其0锁定包相符,准备成功仍提示继续工程检查,没有把安装等同测试通过。截图原件后续随发行证据封存。
32类233组历史UI已全部完成(15类原通过+17类修订后串行接续,明确保留执行来源)。B候选20261101160803469绑定d0abbd1e5c696fb79425e44359bba4c9348db849、443份执行输入和22份编译产物;package/archives均通过,独立解压至D:/AWQA21/s-ad7f7475,源码离线安装/构建一致并进入REA/原生引擎等验证。原驱动`.qa/reproducible-env-b-after-remaining-ui.mjs`(session19203),独立控制台`.qa/reproducible-env-b-after-remaining-console.log`。后续正式驱动(session89453)仅在独立管线完整成功后执行绑定及stage/upgrade/activate/verify和只读正式/原生界面,每阶段一次、失败即停;尚未进行正式升级。
诊断根因的来源限定:原自有工件证实本次请求预算把27645字符的inspect_session投影为最新工具反馈;未将预算差异单独归因于“新增环境账本”。原8个关联工件SHA、请求角色序列和修正后只inspect一次的9组结果,保存在`.qa/environment-diagnostics-cause.json`。此前阶段性因果措辞以本核对为准。
修正后的诊断UI 9组通过,实际记录diagnosticReads=1、diagnosticProjectionUsed=true;原503只核对一次,格式化答复、命令中文、401不重试、停止重试及有限恢复全部通过。仅提交验收适配和本轮回顾,产品src与编译产物保持;后17类串行继续。
第三轮原15类界面通过后,diagnostics追问场景失败,B等待驱动在打包前拒绝继续。只读原自有SQLite/模型请求及截图证实:inspect_session原返回27645字符,新环境执行记录使它按现有预算投影为latest-tool-feedback,原结果与503来源均保留;旧HTTP夹具只认原tool消息,重复请求三次而触发no_progress。产品没有丢失原结果。已修正诊断验收夹具读取投影视图,核对原session/错误来源/HTTP503且只能inspect一次。原第三轮驱动、失败日志和截图先另存;其余17类在保留已通过15类的基础上串行接续,最终报告明示跨两段执行及夹具修订,不宣称未执行的单轮全通过。接续驱动首个副本因同目录qa-evidence相对import未改在启动前退出,原日志保留;新副本仅修正import后启动,无产品或正式状态写入。
+16 -4
View File
@@ -181,12 +181,24 @@ try {
// Only this file opens the fixed inspector port. Run it separately so another
// test's child host can never compete for that port during the full suite.
const testFiles = files(path.join(sourceRoot, 'tests')).filter(file => !file.includes(path.sep) && file.endsWith('.test.mjs'));
const testGroups = [testFiles.filter(file => file !== 'upgrade.test.mjs'), ['upgrade.test.mjs']];
const ordinaryTests = testFiles.filter(file => file !== 'upgrade.test.mjs');
const testGroups = [];
// Keep the per-process deadline, while letting the growing suite complete in
// bounded batches. A slow worker recovery file must not consume the deadline
// of every preceding, unrelated file. Every discovered file runs exactly once.
for (let offset = 0; offset < ordinaryTests.length; offset += 8) testGroups.push(ordinaryTests.slice(offset, offset + 8));
testGroups.push(['upgrade.test.mjs']);
assert.deepEqual(testGroups.flat().slice().sort(), testFiles.slice().sort());
assert.equal(new Set(testGroups.flat()).size, testFiles.length);
const testPlan = testGroups.map((group, index) => ({ index, files: group, concurrency: index === testGroups.length - 1 ? 1 : 2, timeoutMs: 30 * 60 * 1000 }));
fs.writeFileSync(path.join(directory, 'test-plan.json'), JSON.stringify(testPlan, null, 2));
const stats = Object.fromEntries(['tests', 'pass', 'fail', 'cancelled', 'skipped', 'todo'].map(key => [key, 0]));
for (const [index, group] of testGroups.entries()) {
assert.ok(group.length > 0);
stage = index === 0 ? 'full tests without fixed inspector' : 'exclusive retained upgrade tests';
const output = await run(['--test', '--test-concurrency=' + (index === 0 ? 2 : 1), '--test-reporter=tap', ...group.map(file => path.join('tests', file))], index === 0 ? 'tests.tap' : 'upgrade-tests.tap');
const exclusiveUpgrade = index === testGroups.length - 1;
stage = exclusiveUpgrade ? 'exclusive retained upgrade tests' : 'full source tests batch ' + (index + 1) + '/' + (testGroups.length - 1);
const logName = exclusiveUpgrade ? 'upgrade-tests.tap' : 'tests-' + String(index + 1).padStart(2, '0') + '.tap';
const output = await run(['--test', '--test-concurrency=' + testPlan[index].concurrency, '--test-reporter=tap', ...group.map(file => path.join('tests', file))], logName);
const groupStats = Object.fromEntries([...output.matchAll(/^# (tests|pass|fail|cancelled|skipped|todo) (\d+)\s*$/gm)].map(match => [match[1], Number(match[2])]));
assert.ok(groupStats.tests > 0); assert.equal(groupStats.pass, groupStats.tests);
for (const key of Object.keys(stats)) { assert.ok(Number.isInteger(groupStats[key])); stats[key] += groupStats[key]; }
@@ -263,7 +275,7 @@ try {
}
assert.deepEqual(snapshot(), inputs, 'Source package inputs changed during validation.');
const result = { success: true, version: evidence.version, testedAt: new Date().toISOString(), sourceRoot, directory, nodeVersion: process.version, python, offlineInstall: true,
inputs, inputFiles: inputs.length, logs, buildMatchedFiles: Object.keys(expected).length, buildFiles: Object.entries(expected).map(([path, sha256]) => ({ path: path.replaceAll('\\', '/'), sha256 })), tests: stats, actualEnvironment, actualEnvironmentEngineering, actualTaskControl, actualRea, actualEngine, actualBrowser, actualControlled, actualDesktop, actualCompanion, actualProtocols, actualProtocolEngineering, actualVision, actualVisionEngineering, actualProjectCache, actualCacheEngineering, actualEvaluations, actualEvaluationEngineering, credentialsHandling: 'Only build/runtime environment paths are inherited; no configured model credentials are used. The controlled-engine stage supplies a declared owned local response fixture.' };
inputs, inputFiles: inputs.length, logs, buildMatchedFiles: Object.keys(expected).length, buildFiles: Object.entries(expected).map(([path, sha256]) => ({ path: path.replaceAll('\\', '/'), sha256 })), tests: stats, testPlan, actualEnvironment, actualEnvironmentEngineering, actualTaskControl, actualRea, actualEngine, actualBrowser, actualControlled, actualDesktop, actualCompanion, actualProtocols, actualProtocolEngineering, actualVision, actualVisionEngineering, actualProjectCache, actualCacheEngineering, actualEvaluations, actualEvaluationEngineering, credentialsHandling: 'Only build/runtime environment paths are inherited; no configured model credentials are used. The controlled-engine stage supplies a declared owned local response fixture.' };
save(result); console.log(JSON.stringify({ success: true, version: result.version, sourceRoot, directory, tests: stats, nodeVersion: process.version, python, inputFiles: inputs.length, buildMatchedFiles: result.buildMatchedFiles, rea: !!actualRea?.success, engine: !!actualEngine?.success, browser: !!actualBrowser?.success, controlled: !!actualControlled?.success }));
} catch (error) {
save({ success: false, version: evidence.version, testedAt: new Date().toISOString(), stage, error: error.message, sourceRoot, directory, nodeVersion: process.version, python, inputs, logs });