release: install verified Purge repair build and seal original state
This commit is contained in:
@@ -131,3 +131,6 @@ docs/live-original-purge-e-evidence/development/** binary
|
||||
docs/live-original-purge-e-evidence/baselines/** binary
|
||||
docs/live-original-purge-e-evidence/samples/**/*.tap binary
|
||||
docs/live-original-purge-e-offline-*.txt binary
|
||||
docs/original-purge-release-f-evidence/** -text
|
||||
docs/original-purge-release-f-evidence/files/** binary
|
||||
docs/original-purge-release-f-offline.txt binary
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
!/docs/companion-f-iphone-recovery-evidence/**/*.log
|
||||
!/docs/existing-results-1.24-evidence/**/*.log
|
||||
!/docs/live-model-purge-1.24-evidence/**/*.log
|
||||
!/docs/original-purge-release-f-evidence/**/*.log
|
||||
*.tmp
|
||||
/.qa/
|
||||
/releases/
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Agent Workbench项目执行规范
|
||||
|
||||
当前F发行门控:首候选20261102151352527/source3934667的独立源码ZIP重建发现dist-server/install-manager.mjs遗漏已修正升级脚本的重新编译;其它21份编译完全一致,原D/E执行服务载荷与原证据保持。原候选不正式安装,失败保留。已补齐构建并新增scripts/verify-packaged-build.mjs;先固定新候选、独立重建和真实安装,再保留Provider交付。不得继续宣称三项验收/升级脚本都不影响产品编译。正式仍同源临时运行目录,未等同新安装发行。
|
||||
当前F固定安装已完成:1.24.0/source c03860d/候选20261102152844546,原PID36552/Provider保持,原42项目/58会话/4953记录/10329事件/2850工件/公开模型中心精确保持,调试端口关闭。独立源码ZIP514输入/22编译完全一致、三归档、实际便携、12组隔离安装及安装副本16组成果/9组文件流程通过;69份/46795742字节证据离线通过。首候选安装管理器漏编译及原60秒QA超时保持失败,见docs/QA-ORIGINAL-PURGE-RELEASE-F.md。正式原生窗口回看被物理Escape停止,未验收;不能宣称本切片全部体验验收完成。先补该项,再按docs/LIVE-DELIVERY-EFFICIENCY-PLAN.md处理原小源码保留抖动和完整批次后的检视空转。不得以新的发行源码重写D/E原编译身份或收益结论。
|
||||
|
||||
当前E实测完成:同源修复载荷、真实claude-opus-5-5/Chat/32K六新例52请求/621486报告tokens/0未知;Python原6/6/编译/审查Git通过,React和四原版AB/BA未交付。两次原版实际apply与11开启/17关闭输入通过核对,不证明收益。889份证据见docs/LIVE-RETEST-E-RESULTS.md;46原会话/2143工件/原表每行与96原尝试保持,公开参数和原池恢复。当前同源临时宿主已启用但尚非新安装发行,先固定同一载荷本地交付,再按docs/LIVE-DELIVERY-EFFICIENCY-PLAN.md修复原结果反复读取和审查交接空转;不重跑本批旧失败,不擅自扩大预算,不复制Key。
|
||||
E实测完成:同源修复载荷、真实claude-opus-5-5/Chat/32K六新例52请求/621486报告tokens/0未知;Python原6/6/编译/审查Git通过,React和四原版AB/BA未交付。两次原版实际apply与11开启/17关闭输入通过核对,不证明收益。889份证据见docs/LIVE-RETEST-E-RESULTS.md;46原会话/2143工件/原表每行与96原尝试保持,公开参数和原池恢复。F现已固定安装:21份执行服务/网页/桌面编译与E保持,一个安装管理器入口补齐已修正脚本的重新编译。不重跑旧失败,不擅自扩大预算,不复制Key。
|
||||
|
||||
当前可靠性修复A/B/C已按源码切片完成并各自封存,正式宿主未部署:A上下文、B所属网络/未知POST、C实际Task模型身份和每次发送前的已知usage预留。C实现bb45dab,最终425输入/149项、两协议固定16K各5组、编译UI两视口及离线核验通过;见docs/QA-LIVE-BUDGET-C.md。原六例仍未交付,Responses开发轮一次unknown/reset原因未明并保留,不自动重放。下一D原版插件隔离/固定输入/无Key加载验收,随后E另开有界真实批次;此轮真实模型请求0,不使用正式Key续跑旧六例。
|
||||
|
||||
@@ -28,7 +28,7 @@ D固定可信来源生产策略已完成:实现9106655/最终验收d05a741,6
|
||||
|
||||
## 范围与目标
|
||||
|
||||
当前接续优先级:1.24已有成果续接已完整本地交付;真实模型与内置Purge提示先导实测已完成但六例未交付。先按docs/LIVE-EXECUTION-REPAIR-PLAN.md修复真实执行瓶颈,再开新批次,原版插件收益和新iPhone仍单独待验。docs/PLAN-1.25.md要求与交付复核方案继续保留。原状态、原失败与沿用边界保持,后续按用户要求与docs/NEXT-STEPS.md推进。
|
||||
当前接续优先级:A–D可靠性/固定原版接入与E新真实批次完成,F固定本地安装完成但正式原生窗口回看因Escape待补。先补该项并按docs/LIVE-DELIVERY-EFFICIENCY-PLAN.md修复已定位的上下文保留与审查交接问题;不重跑旧失败或将未交付的对照宣称有收益。docs/PLAN-1.25.md及新iPhone/其它供应商方案保留,按当前证据逐切片推进。
|
||||
|
||||
本仓库专注AI编程与能力研究工作台。其他项目不纳入本项目计划或代码。用户确定的研究对象为Codex、Claude Code、Cursor、DeepSeek Harness、WorkBuddy及DSH-purge;目标是将有证据的机制独立开发成自有Harness内置能力。
|
||||
|
||||
@@ -86,7 +86,7 @@ D固定可信来源生产策略已完成:实现9106655/最终验收d05a741,6
|
||||
|
||||
## 当前本地服务与Windows
|
||||
|
||||
- 正式服务入口http://127.0.0.1:4318,当前1.24.0,沿用原PID36552与Provider;当前身份以docs/existing-results-release-identity.json为准。原模型连接、全部表/会话/工件保持;普通源码/规划/Git工作不重启服务、不读取或复制Key。
|
||||
- 正式服务入口http://127.0.0.1:4318,当前1.24.0,沿用原PID36552与Provider;当前身份以docs/original-purge-release-identity.json为准。原模型连接、全部表/会话/工件保持;普通源码/规划/Git工作不重启服务、不读取或复制Key。正式窗口目视回看因本轮物理Escape停止待补,隔离安装界面通过不代替该项。
|
||||
- 浏览器/fixture验证使用独立端口与数据目录;用户项目与研究对象的登录/会话配置不用于测试凭据。
|
||||
- Windows执行环境以实测shell为准。现有工具使用PowerShell 5.1和UTF-8;不用&&/||拼接命令,使用换行和$LASTEXITCODE核对结果。
|
||||
- 桌面与移动共用执行宿主。手机127.0.0.1指手机,远程接入通过未来经验证的配对网关。
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
# E 原件离线效率回顾
|
||||
|
||||
来源是 E 原样本清单 `1eafc592adb267f6487cf9b48893480e9b8a987780307d1f945befa4e851ba22`。全部 889 份原件先按大小及 SHA-256 核对,再解析实际模型请求、工具账本和上下文工件;没有发送模型请求、改写旧结果或重跑任务。本回顾定位下一切片,不把离线推断算作修复或收益验收。
|
||||
|
||||
React 总计 26 次工具调用,其中 11 次读取工件。按同工件 ID、SHA 和返回字符区间核对,有 4 次非空页已被此前读取范围完整覆盖,另有 1 次从总长度 621 的末尾读取空页。必要的不同页读取不计作重复。
|
||||
|
||||
六个原文件均很小:App 1,991、原测试 1,715、transition 167、query 142、types 82、summary 155 字符。第 7 次模型请求包含全部六份完整内容。将多行 system 消息中的实际 JSON 工作依据也解码后,后续发送情况如下;“缺失”仅指该版本完整内容不在请求中,摘要、SHA、部分摘录或定位信息另存,不能据此声称模型完全不知道文件。
|
||||
|
||||
| 实际请求 | 完整保留 | 缺少完整内容 |
|
||||
| --- | --- | --- |
|
||||
| 7 | 六份 | 无 |
|
||||
| 8 | 五份 | query |
|
||||
| 9 | 五份 | summary |
|
||||
| 10 | 四份 | transition、query |
|
||||
| 11、12 | 原测试、types | 四个待修模块;App 留有部分摘录 |
|
||||
|
||||
原上下文工件第 8/9/10 次分别保留 5/4/3 份工作依据,随后只剩三份且 App 被截断。配置窗口的输入上限仍有 27,552 tokens,但发送视图的目标为 16,000;第 8/9/10/11 次实际估算分别为 15,873/15,905/15,779/16,000。这支持检查软目标下的必要代码保留顺序、历史索引成本和读取后抖动;不能直接把软目标调大就宣称效率提高。
|
||||
|
||||
Python 的 `prepare_change_set` 于 `2026-11-02T14:55:34.851Z` 成功封存三份提案,状态 `awaiting_review`,批次 `23ea167e-88cd-4012-9a75-66645ae7bc76`。随后同一原运行在 `14:55:50.309Z` 和 `14:55:55.091Z` 又调用两次 `inspect_session`,两份原结果均仍显示 `running`。当前运行循环对 Git 交付预览有确定暂停边界,对完整文件审查批次缺少相应交接;这是下一切片需要行为测试的具体位置。
|
||||
|
||||
开发次序保持为:先完成 F 固定发行,再修完整批次交接及必要源码稳定保留。批次暂停须等待同轮所有工具结算,并覆盖部分批次、失败、冲突、多工具调用、停止及显式续接;代码保留须核对原结果归属、文件版本及当前提案,保持完整调用配对、权限和累计预算。不丢弃原工具结果,不自动应用文件或重放未知操作。新真实收益仍另建有界批次。
|
||||
|
||||
首版离线小工具只解析整个 system 字符串,漏掉其中逐行 JSON 工作依据,误判后续源码全部缺失;v3 已按原上下文工件逐项纠正。原 v1/v2 输出与本次修正一并保存,不将该解析错误写成产品缺陷。
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
起点是 [E原样本](LIVE-RETEST-E-RESULTS.md),不是重新扩大预算。原版Purge默认保持关闭,本轮没有证明收益。先完成相同载荷的本地发行和原状态核对,再做以下独立切片;旧失败不改写,新真实试验另建样本和分母。
|
||||
|
||||
F 等待安装验收期间的[原件离线回顾](LIVE-DELIVERY-EFFICIENCY-AUDIT.md)已定位四次非空重复页、一次末尾空页、六份小源码的保留抖动,以及完整三文件批次后两次仍为 running 的检视。首版多行 JSON 解析误判已纠正,后续实现按最终原件和上下文工件复现。
|
||||
|
||||
1. 从React原请求/工具/工件离线复现重复读取路径,区分不同页的必要读取、已完整读过的原结果、历史索引和检视状态。核对已读源码、原检查和当前提案在下一实际请求中的保留情况,不靠模型补猜文件,不通过删除原指令或篡改工具结果压缩。
|
||||
2. 核对完整变更集后的控制权交接。Python本次在完整批次后仍两次inspect_session才停止;调查是否应在模型封存完整批次、同轮所有工具结算后确定暂停到审查,保留失败/冲突和多工具组的正确语义,避免增加模型等待调用。审批后须按原Task显式续接,不自动重放未知操作。
|
||||
3. 审查续接前的最小固定成本,尤其是已应用三文件但未复查即耗尽预算的两组。封存原始/发送视图、工具目录、最近必要失败与实际预留分解;保留必要目标、权限和调用配对。将剩余预算不足与上下文窗口不足清晰区分。
|
||||
|
||||
@@ -29,4 +29,4 @@ Python Git:`f3378a802ea0abb2208a67dc4e6cfda9393c47ba`,状态 `verified_commi
|
||||
|
||||
全部6个原生进程树结束,原PID36552/Provider保留,9229关闭;原模型连接公开参数及号池已恢复,连接修订2→3→4和config修订18→33按实际记录。原46会话完整导出、2,143份原工件、3,845原records/7,700原events/7,700原outbox保持。新增12自有项目/12会话;所有原表逐行核对,仅精确逆算新增项目位置、所属尝试追加、声明配置修订和事件序列,96条原模型尝试保持。私有快照不入Git,未读取或复制Key。
|
||||
|
||||
这批源码在同源固定副本上实测,尚未等同新安装发行。下一先将同一验证载荷固定发布到本地并核对原状态/桌面入口,再按 [交付效率修复计划](LIVE-DELIVERY-EFFICIENCY-PLAN.md)减少无进展读取和待审查阶段空转;不再重跑本批失败样本。
|
||||
这批源码在同源固定副本上实测。后续 [F 固定安装](QA-ORIGINAL-PURGE-RELEASE-F.md)已完成:21份执行服务/网页/桌面编译与E相同,仅安装管理器入口补齐已修正升级脚本的重新编译;原数据/Provider保持。正式原生窗口目视回看因物理Escape停止待补。之后按 [交付效率修复计划](LIVE-DELIVERY-EFFICIENCY-PLAN.md)减少无进展读取和待审查阶段空转;不再重跑本批失败样本。
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 后续执行计划
|
||||
|
||||
当前接续:A–D可靠性及固定原版策略、E新六例52请求/621486报告tokens实测、F固定安装已完成相应范围;E仅Python交付、React与四原版对照未交付,收益未证明。F原PID/Provider与全部原状态精确保持,源码ZIP重建22/22、三归档和12组隔离安装通过,正式窗口因物理Escape停止未目视验收。先补该项,再按[效率修复计划](LIVE-DELIVERY-EFFICIENCY-PLAN.md)处理[原件已定位问题](LIVE-DELIVERY-EFFICIENCY-AUDIT.md);1.25及其它能力方案继续保留。当前身份见[固定安装](original-purge-release-identity.json)和[F验收](QA-ORIGINAL-PURGE-RELEASE-F.md),下方各“最新”段落按原历史时间理解。
|
||||
|
||||
最新实测:1.24后按用户要求完成六个真实模型原样本,20请求/419597上游报告tokens,另1次未知用量,均未交付。四个原生Harness内置Purge提示对照均停在16K上下文容量门槛;原版插件未加载,收益未测。原池已恢复,原PID36552/正式1.24/Provider和原用户数据保持,只有自有测试项目/会话与所属记录追加。见[原样本结果](LIVE-MODEL-PURGE-RESULTS.md)和[证据](live-model-purge-1.24-evidence/manifest.json)。先按[真实执行可靠性修复](LIVE-EXECUTION-REPAIR-PLAN.md)处理上下文承载、连接诊断、预算/实际模型身份和原版插件隔离契约,再开新批次复验;1.25及后续产品方案继续保留,不能让夹具数量替代真实交付。
|
||||
|
||||
最新:1.24.0已完成已有成果续接与真实交付的本地部署。A独立源码716/716完整原轮通过;B仅验收器版本入口变化,逐源码/日志/运行时SHA与22份构建严格绑定后,实际离线重建并重验16组成果。C完整界面36类282组、最终便携/安装各16组成果和9组基础文件、真实安装生命周期12组通过。正式网页5组与原生窗口回看通过;原PID36552/Provider、17项目/33全部会话/3239记录/6230事件/1780工件,每表每行/全导出/原工件字节及模型中心保持,9229关闭。本轮真实配置模型请求0,原失败保持。 见[1.24验收](QA-1.24.md)、[回顾](RETROSPECTIVE-1.24.md)和[发行身份](existing-results-release-identity.json)。下一[1.25任务要求与交付复核](PLAN-1.25.md)仅方案。下方旧版本段落保留其历史结论。
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# F 固定发行与保留状态本地安装
|
||||
|
||||
修复载荷已从临时 QA 运行目录切换到正式固定安装目录。版本仍为 **1.24.0**,候选 `20261102152844546`,来源 `c03860da74e837d3185ca1264b67ffad503a7eab`;没有将分支名 1.24.1 当作已发行版本。正式原生窗口目视回看因 Computer Use 收到物理 Escape 停止而未执行,本切片不记为全部体验验收完成。
|
||||
|
||||
首候选 `20261102151352527` 的独立源码重建发现安装管理器遗漏了升级脚本修正的重新编译。该候选没有安装到正式环境。已补齐完整构建,增加 `verify-packaged-build.mjs`,并用旧候选实际验证会拒绝这一个编译差异;旧失败、旧包和 D/E 原清单保持。新候选的另外 21 份服务、网页和桌面编译文件与 D/E 相同,只有 `dist-server/install-manager.mjs` 从 76,499 字节修正为 76,554 字节;源码闭包中原 436 份输入保持。
|
||||
|
||||
| 验证范围 | 本次实际结果 |
|
||||
| --- | --- |
|
||||
| 三归档 | 便携、源码及历史证据包完整 CRC、目录、逐文件原字节和 SHA-256 通过 |
|
||||
| 源码 ZIP 独立重建 | 提取 514 份编译输入,离线安装依赖,实际 TypeScript/Vite/手机/服务/桌面构建;全部 22 份与便携包逐字节一致 |
|
||||
| 实际便携包 | 随包 Node、REA 三操作、原生 SDK、受控工程执行、审批、原失败检查、父工程审查/构建与交付通过;自有本机 HTTP 夹具,真实模型请求 0 |
|
||||
| 实际隔离安装 | 12 组通过:首次安装、窗口/在途请求/审批阻拦、候选损坏拒绝、发布指针后回退、原 PID/数据保留、启动器、桌面登记、保存凭据重载、成果/HTML 流程、卸载保留数据 |
|
||||
| 安装副本界面 | 原成果审查 16 组和保存后文件/HTML 9 组实际通过;与正式原生窗口目视回看分别记录 |
|
||||
| 正式实际安装 | 原 PID36552/Provider 保留,处理器位于正式 versions 目录;原表每行/58 份会话导出/2,850 份工件原字节及公开模型中心完全一致;引擎来源可用,9229 关闭 |
|
||||
| 正式原生窗口目视回看 | 未执行。Computer Use 返回物理 Escape 停止;此后没有继续发出界面操作或用其它输入方式补做 |
|
||||
|
||||
隔离安装首轮在受控请求等待期间发生 QA 客户端 60 秒超时,原失败保持。预检包含同步完整清单核对;修正仅将这个明确悬置的本机响应客户端期限设为 300 秒,并断言只有初始及悬置两次认证请求、没有重试。最终实际记录 42,382ms 后成功结算。产品的响应/空闲超时与真实模型参数未调整。该验收脚本修正晚于源包冻结,只影响验收驱动,差异和 SHA 已封存。
|
||||
|
||||
正式安装操作 `d2307abc48811e0bf46a387d21bf243f2fd3951c22d6c8c21b66b1cd5c286384` 完成,指针修订16,原操作计时675.500秒;该计时不包含外层完整快照比较,不借用历史版本速度。安装前后均为42项目/58会话/4,953 records/10,329 events/2,850工件,模型凭据存在,活动任务为空。未重启正式宿主、复制 Key、重放旧任务或发送真实模型请求。
|
||||
|
||||
发行身份见 [identity](original-purge-release-identity.json)。69份/46,795,742字节证据见 [manifest](original-purge-release-f-evidence/manifest.json),SHA-256 `f9009f4b785edff138feab9968c284cdf44592f6d795308745ec6e25a42a7970`。离线核验包括原 D/E 清单、436源码/22编译谱系、旧候选重建拒绝、新候选重建与归档、12组安装、正式安装收据及未完成的窗口回看;不接触模型、插件或网络。私有全量快照保留在忽略的 QA 目录,仅哈希收据入 Git。
|
||||
|
||||
提交预检已逐字节核对72份封存及身份文件在Git索引中的原字节。首轮发现独立离线收据在增加binary属性之前已暂存为文本,索引比原件少1个CR;原件未修改,仅按现有属性重新暂存后全部匹配。首拒绝和最终核对见[提交复核](original-purge-release-f-review.json)。
|
||||
|
||||
D 的完整原轮仍为751/756,后续15/15、2/2、53/53是独立复验;没有为了发行文档重复整轮或改写分母。E 的52真实请求/621,486报告tokens及Python成功、React和四组原版对照未交付保持;原版Purge默认关闭,本轮没有证明收益。下一先补正式原生回看,再按[效率修复计划](LIVE-DELIVERY-EFFICIENCY-PLAN.md)推进[原件定位的问题](LIVE-DELIVERY-EFFICIENCY-AUDIT.md),旧失败不续跑。
|
||||
+2438
File diff suppressed because it is too large
Load Diff
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"success": true,
|
||||
"sourceCommit": "c03860da74e837d3185ca1264b67ffad503a7eab",
|
||||
"currentRuntime": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-retest-e-20261102-c\\runtime",
|
||||
"pid": 36552,
|
||||
"hasKey": true,
|
||||
"privateState": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\original-purge-release-f-20261102-c\\private-before.json",
|
||||
"bytes": 7135617,
|
||||
"sha256": "42406d82993cbaa5dd6d12fc1bfb3bbfe9db6fa87c4c8dc7dc098a6bd829ce40"
|
||||
},
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\release-validation.json",
|
||||
"bytes": 1293048,
|
||||
"sha256": "b594fadc5f288a04c972e10dc474c933adb9e9558ffce1a751f90e1b7cd6beb6"
|
||||
},
|
||||
"archives": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\archives-validation.json",
|
||||
"bytes": 1171,
|
||||
"sha256": "8d9c508863eebde12809964a81b52f46bd49537e46048896b0a27652933a335f"
|
||||
},
|
||||
"installation": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\result.json",
|
||||
"bytes": 48270,
|
||||
"sha256": "5322430c4bbc2edd41794eb69f2848410941d5f7c8065c1702afcce6986dbabb"
|
||||
},
|
||||
"startedAt": "2026-11-02T15:57:25.453Z",
|
||||
"finishedAt": "2026-11-02T15:57:31.558Z"
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
> local-agent-workbench@1.24.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...
|
||||
✓ 1752 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
dist-client/index.html 0.60 kB │ gzip: 0.41 kB
|
||||
dist-client/.vite/manifest.json 0.65 kB │ gzip: 0.24 kB
|
||||
dist-client/mobile.html 0.84 kB │ gzip: 0.47 kB
|
||||
dist-client/assets/mobile-joLHctQw.css 12.39 kB │ gzip: 3.22 kB
|
||||
dist-client/assets/desktop-BYZSVsL1.css 165.03 kB │ gzip: 31.29 kB
|
||||
dist-client/assets/mobile-4zqcwTeD.js 27.19 kB │ gzip: 9.34 kB
|
||||
dist-client/assets/approval-presentation-Chut4EFA.js 226.80 kB │ gzip: 71.65 kB
|
||||
dist-client/assets/desktop-BjkP8SXr.js 391.31 kB │ gzip: 110.74 kB
|
||||
✓ built in 1.33s
|
||||
Mobile shell built: 3 allowed assets; API and project data are never cached.
|
||||
Server bundle built.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"success": false,
|
||||
"error": "AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n\n76554 !== 76499\n\n at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/original-purge-release-f-rebuild.mjs:62:12\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)",
|
||||
"realModelRequests": 0
|
||||
}
|
||||
+1813
File diff suppressed because it is too large
Load Diff
+65
@@ -0,0 +1,65 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
const root = path.resolve('docs/live-original-purge-e-evidence');
|
||||
const sha = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const read = relative => JSON.parse(fs.readFileSync(path.join(root, relative)));
|
||||
const manifest = read('manifest.json');
|
||||
for (const entry of manifest.entries) {
|
||||
const raw = fs.readFileSync(path.join(root, entry.path)); assert.equal(raw.length, entry.bytes); assert.equal(sha(raw), entry.sha256);
|
||||
}
|
||||
const core = {};
|
||||
for (const row of read('receipts/owned-records.json')) (core[row.kind] ??= new Map()).set(row.id, JSON.parse(row.payload));
|
||||
const artifacts = new Map(manifest.artifacts.map(a => [a.id, a]));
|
||||
function artifact(id) { const a = artifacts.get(id); assert.ok(a, id); return JSON.parse(fs.readFileSync(path.join(root, a.file))); }
|
||||
const attempts = read('receipts/all-model-attempts.json');
|
||||
function strings(value, output = [], depth = 0) {
|
||||
if (depth > 12) return output;
|
||||
if (typeof value === 'string') {
|
||||
output.push(value);
|
||||
for (const text of new Set([value, ...value.split('\n').filter(line => /^\s*[\[{]/.test(line))])) {
|
||||
if (/^\s*[\[{]/.test(text)) { try { strings(JSON.parse(text), output, depth + 1); } catch {} }
|
||||
}
|
||||
} else if (value && typeof value === 'object') for (const v of Object.values(value)) strings(v, output, depth + 1);
|
||||
return output;
|
||||
}
|
||||
const reports = [];
|
||||
for (const sample of manifest.samples.slice(0, 2)) {
|
||||
const tools = [...core.tool.values()].filter(t => t.sessionId === sample.sessionId)
|
||||
.map(t => ({ ...t, result: t.result ?? (t.resultArtifactId ? artifact(t.resultArtifactId) : null) }))
|
||||
.sort((a, b) => a.startedAt.localeCompare(b.startedAt));
|
||||
const reads = tools.filter(t => t.tool === 'read_file' && t.result?.content).map(t => ({ path: t.result.path, start: t.result.start_line, end: t.result.end_line,
|
||||
complete: !t.result.truncated && t.result.start_line === 1 && t.result.end_line === t.result.total_lines,
|
||||
content: t.result.content, toolId: t.id, at: t.finishedAt }));
|
||||
const ranges = new Map();
|
||||
const pages = tools.filter(t => t.tool === 'read_artifact').map(t => {
|
||||
const r = t.result, id = r?.artifact_id, a = artifacts.get(id);
|
||||
if (!id) return { toolId: t.id, state: t.state, resultKeys: Object.keys(r ?? {}) };
|
||||
const prior = ranges.get(id) ?? [], start = r.offset, end = r.next_offset;
|
||||
const alreadyCovered = prior.some(p => p.start <= start && p.end >= end);
|
||||
const overlap = prior.some(p => p.start < end && start < p.end);
|
||||
prior.push({ start, end }); ranges.set(id, prior);
|
||||
let source;
|
||||
try { const value = JSON.parse(r.content); source = { path: value.path, tool: value.tool, keys: Object.keys(value).slice(0, 10) }; } catch {}
|
||||
return { toolId: t.id, at: t.finishedAt, artifactId: id, kind: a?.kind, sha256: a?.sha256, offset: start, nextOffset: end,
|
||||
total: r.total_characters, truncated: r.truncated, alreadyCovered, overlap, source };
|
||||
});
|
||||
const requestReports = attempts.filter(a => a.sessionId === sample.sessionId).sort((a, b) => a.startedAt.localeCompare(b.startedAt)).map((a, i) => {
|
||||
const request = artifact(a.requestArtifactId), bodyStrings = strings(request.messages ?? request.input ?? request);
|
||||
const before = reads.filter(r => r.at < a.startedAt);
|
||||
return { request: i + 1, attemptId: a.id, reportedTokens: a.usage?.total_tokens, startedAt: a.startedAt,
|
||||
completeSource: before.filter(r => r.complete).map(r => ({ path: r.path, toolId: r.toolId, retained: bodyStrings.some(s => s.includes(r.content)) })),
|
||||
toolsBefore: tools.filter(t => t.finishedAt < a.startedAt).length };
|
||||
});
|
||||
const prepared = tools.findIndex(t => t.tool === 'prepare_change_set' && t.state === 'completed');
|
||||
reports.push({ name: sample.name, sessionId: sample.sessionId, tools: tools.map(t => ({ toolId: t.id, name: t.tool, state: t.state, at: t.finishedAt,
|
||||
resultKeys: Object.keys(t.result ?? {}), ...(t.tool === 'prepare_change_set' ? { result: t.result } : {}) })),
|
||||
reads: reads.map(({ content, ...r }) => ({ ...r, characters: content.length })), pages, requests: requestReports,
|
||||
afterPrepared: prepared < 0 ? [] : tools.slice(prepared + 1).map(t => ({ name: t.tool, at: t.finishedAt, state: t.state })) });
|
||||
}
|
||||
const result = { success: true, manifestSha256: sha(fs.readFileSync(path.join(root, 'manifest.json'))), realModelRequests: 0,
|
||||
scope: 'Offline observations of sealed original E samples only. Exact source retention checks inspect nested JSON tool content; repeated artifact pages are measured by original byte-identity and returned character interval. No source changes or inferred model cognition.', reports };
|
||||
fs.writeFileSync('.qa/original-purge-release-f-20261102-c/efficiency-audit-v3.json', JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
|
||||
for (const r of reports) console.log(JSON.stringify({ name: r.name, toolCalls: r.tools.length, reads: r.reads, pages: r.pages,
|
||||
requests: r.requests, afterPrepared: r.afterPrepared }));
|
||||
+181
@@ -0,0 +1,181 @@
|
||||
2026-11-02 23:45:39.441 Log opened. (Time zone: UTC+08:00)
|
||||
2026-11-02 23:45:39.441 Setup version: Inno Setup version 6.3.1
|
||||
2026-11-02 23:45:39.441 Original Setup EXE: D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\owned-b-1.24.0-Setup.exe
|
||||
2026-11-02 23:45:39.441 Setup command line: /SL5="$2E012E,211627192,721408,D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\owned-b-1.24.0-Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /LOG=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\approval-block-setup.log /DIR=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\program /DATA_ROOT=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\user-data /PORT=61398
|
||||
2026-11-02 23:45:39.443 Windows version: 10.0.26200
|
||||
2026-11-02 23:45:39.443 Windows architecture: x64 (64-bit)
|
||||
2026-11-02 23:45:39.443 Machine types supported by system: x86 x64
|
||||
2026-11-02 23:45:39.443 User privileges: None
|
||||
2026-11-02 23:45:39.468 Administrative install mode: No
|
||||
2026-11-02 23:45:39.468 Install mode root key: HKEY_CURRENT_USER
|
||||
2026-11-02 23:45:39.468 64-bit install mode: Yes
|
||||
2026-11-02 23:45:39.468 Created temporary directory: C:\Users\wangy\AppData\Local\Temp\is-4HB94.tmp
|
||||
2026-11-02 23:45:39.557 Extracting temporary file: C:\Users\wangy\AppData\Local\Temp\is-4HB94.tmp\awb-install-node.exe
|
||||
2026-11-02 23:45:41.088 Extracting temporary file: C:\Users\wangy\AppData\Local\Temp\is-4HB94.tmp\awb-install-manager.mjs
|
||||
2026-11-02 23:45:43.164 AWBPROGRESS 准备安装核对
|
||||
2026-11-02 23:45:43.164 AWBFILES -
|
||||
2026-11-02 23:45:43.227 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:45:43.228 AWBFILES -
|
||||
2026-11-02 23:45:43.290 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:45:43.290 AWBFILES -
|
||||
2026-11-02 23:45:43.290 AWBPROGRESS 核对原活动版本 · 0/10925 文件 · 0/655559438 字节
|
||||
2026-11-02 23:45:43.290 AWBFILES 0/10925
|
||||
2026-11-02 23:45:43.851 AWBPROGRESS 核对原活动版本 · 152/10925 文件 · 383117572/655559438 字节 · dist-server/hot-upgrade.mjs
|
||||
2026-11-02 23:45:43.851 AWBFILES 152/10925
|
||||
2026-11-02 23:45:44.355 AWBPROGRESS 核对原活动版本 · 455/10925 文件 · 484711511/655559438 字节 · runtime/node_modules/@babel/helper-string-parser/package.json
|
||||
2026-11-02 23:45:44.355 AWBFILES 455/10925
|
||||
2026-11-02 23:45:44.917 AWBPROGRESS 核对原活动版本 · 697/10925 文件 · 489931999/655559438 字节 · runtime/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js
|
||||
2026-11-02 23:45:44.917 AWBFILES 697/10925
|
||||
2026-11-02 23:45:45.479 AWBPROGRESS 核对原活动版本 · 950/10925 文件 · 491413814/655559438 字节 · runtime/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map
|
||||
2026-11-02 23:45:45.479 AWBFILES 950/10925
|
||||
2026-11-02 23:45:45.978 AWBPROGRESS 核对原活动版本 · 1217/10925 文件 · 505249609/655559438 字节 · runtime/node_modules/@modelcontextprotocol/server/dist/src-Cqbh3MYc.mjs
|
||||
2026-11-02 23:45:45.978 AWBFILES 1217/10925
|
||||
2026-11-02 23:45:46.542 AWBPROGRESS 核对原活动版本 · 1495/10925 文件 · 507331991/655559438 字节 · runtime/node_modules/@scalar/openapi-types/3.1/media-type.d.ts
|
||||
2026-11-02 23:45:46.542 AWBFILES 1495/10925
|
||||
2026-11-02 23:45:47.102 AWBPROGRESS 核对原活动版本 · 1763/10925 文件 · 518666923/655559438 字节 · runtime/node_modules/ajv/.runkit_example.js
|
||||
2026-11-02 23:45:47.102 AWBFILES 1763/10925
|
||||
2026-11-02 23:45:47.606 AWBPROGRESS 核对原活动版本 · 2030/10925 文件 · 519280465/655559438 字节 · runtime/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map
|
||||
2026-11-02 23:45:47.606 AWBFILES 2030/10925
|
||||
2026-11-02 23:45:48.168 AWBPROGRESS 核对原活动版本 · 2302/10925 文件 · 519956231/655559438 字节 · runtime/node_modules/call-bind-apply-helpers/functionApply.js
|
||||
2026-11-02 23:45:48.168 AWBFILES 2302/10925
|
||||
2026-11-02 23:45:48.672 AWBPROGRESS 核对原活动版本 · 2582/10925 文件 · 521267169/655559438 字节 · runtime/node_modules/diff/libcjs/util/array.d.ts.map
|
||||
2026-11-02 23:45:48.672 AWBFILES 2582/10925
|
||||
2026-11-02 23:45:49.235 AWBPROGRESS 核对原活动版本 · 2880/10925 文件 · 523055526/655559438 字节 · runtime/node_modules/fast-deep-equal/package.json
|
||||
2026-11-02 23:45:49.235 AWBFILES 2880/10925
|
||||
2026-11-02 23:45:49.738 AWBPROGRESS 核对原活动版本 · 3185/10925 文件 · 525654657/655559438 字节 · runtime/node_modules/incur/dist/Fetch.js.map
|
||||
2026-11-02 23:45:49.738 AWBFILES 3185/10925
|
||||
2026-11-02 23:45:50.306 AWBPROGRESS 核对原活动版本 · 3462/10925 文件 · 530791436/655559438 字节 · runtime/node_modules/is-typed-array/README.md
|
||||
2026-11-02 23:45:50.306 AWBFILES 3462/10925
|
||||
2026-11-02 23:45:50.808 AWBPROGRESS 核对原活动版本 · 3737/10925 文件 · 537857719/655559438 字节 · runtime/node_modules/lru-cache/dist/commonjs/node/perf.d.ts
|
||||
2026-11-02 23:45:50.808 AWBFILES 3737/10925
|
||||
2026-11-02 23:45:51.374 AWBPROGRESS 核对原活动版本 · 4019/10925 文件 · 541160120/655559438 字节 · runtime/node_modules/npm/docs/content/commands/npm-sbom.md
|
||||
2026-11-02 23:45:51.374 AWBFILES 4019/10925
|
||||
2026-11-02 23:45:51.879 AWBPROGRESS 核对原活动版本 · 4285/10925 文件 · 543357348/655559438 字节 · runtime/node_modules/npm/lib/utils/strict-allow-scripts-preflight.js
|
||||
2026-11-02 23:45:51.879 AWBFILES 4285/10925
|
||||
2026-11-02 23:45:52.446 AWBPROGRESS 核对原活动版本 · 4547/10925 文件 · 545055583/655559438 字节 · runtime/node_modules/npm/node_modules/@npmcli/promise-spawn/LICENSE
|
||||
2026-11-02 23:45:52.446 AWBFILES 4547/10925
|
||||
2026-11-02 23:45:53.010 AWBPROGRESS 核对原活动版本 · 4795/10925 文件 · 545849416/655559438 字节 · runtime/node_modules/npm/node_modules/ci-info/index.js
|
||||
2026-11-02 23:45:53.010 AWBFILES 4795/10925
|
||||
2026-11-02 23:45:53.515 AWBPROGRESS 核对原活动版本 · 5056/10925 文件 · 547330893/655559438 字节 · runtime/node_modules/npm/node_modules/libnpmpack/LICENSE
|
||||
2026-11-02 23:45:53.515 AWBFILES 5056/10925
|
||||
2026-11-02 23:45:54.078 AWBPROGRESS 核对原活动版本 · 5309/10925 文件 · 550292663/655559438 字节 · runtime/node_modules/npm/node_modules/node-gyp/src/win_delay_load_hook.cc
|
||||
2026-11-02 23:45:54.078 AWBFILES 5309/10925
|
||||
2026-11-02 23:45:54.581 AWBPROGRESS 核对原活动版本 · 5572/10925 文件 · 551326655/655559438 字节 · runtime/node_modules/npm/node_modules/socks/package.json
|
||||
2026-11-02 23:45:54.581 AWBFILES 5572/10925
|
||||
2026-11-02 23:45:55.148 AWBPROGRESS 核对原活动版本 · 5823/10925 文件 · 552917393/655559438 字节 · runtime/node_modules/npm/node_modules/undici/lib/web/fetch/formdata-parser.js
|
||||
2026-11-02 23:45:55.148 AWBFILES 5823/10925
|
||||
2026-11-02 23:45:55.711 AWBPROGRESS 核对原活动版本 · 6098/10925 文件 · 572761763/655559438 字节 · runtime/node_modules/pino/docs/transports.md
|
||||
2026-11-02 23:45:55.711 AWBFILES 6098/10925
|
||||
2026-11-02 23:45:56.216 AWBPROGRESS 核对原活动版本 · 6383/10925 文件 · 578711819/655559438 字节 · runtime/node_modules/playwright-core/lib/server/android/backendAdb.js
|
||||
2026-11-02 23:45:56.216 AWBFILES 6383/10925
|
||||
2026-11-02 23:45:56.783 AWBPROGRESS 核对原活动版本 · 6644/10925 文件 · 585015766/655559438 字节 · runtime/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf
|
||||
2026-11-02 23:45:56.783 AWBFILES 6644/10925
|
||||
2026-11-02 23:45:57.287 AWBPROGRESS 核对原活动版本 · 6919/10925 文件 · 599686750/655559438 字节 · runtime/node_modules/rea-agents/dist/apktool/ApktoolDecodeOutput.js
|
||||
2026-11-02 23:45:57.287 AWBFILES 6919/10925
|
||||
2026-11-02 23:45:57.850 AWBPROGRESS 核对原活动版本 · 7196/10925 文件 · 601576977/655559438 字节 · runtime/node_modules/rea-agents/dist/application/javascript/JavaScriptArtifactGraphBundlers.js
|
||||
2026-11-02 23:45:57.850 AWBFILES 7196/10925
|
||||
2026-11-02 23:45:58.351 AWBPROGRESS 核对原活动版本 · 7460/10925 文件 · 603766474/655559438 字节 · runtime/node_modules/rea-agents/dist/browser/network/PlaywrightScenarioNetwork.js
|
||||
2026-11-02 23:45:58.351 AWBFILES 7460/10925
|
||||
2026-11-02 23:45:58.912 AWBPROGRESS 核对原活动版本 · 7736/10925 文件 · 616218209/655559438 字节 · runtime/node_modules/rea-agents/dist/composition/javascriptRuntimeObservation.js
|
||||
2026-11-02 23:45:58.912 AWBFILES 7736/10925
|
||||
2026-11-02 23:45:59.479 AWBPROGRESS 核对原活动版本 · 8007/10925 文件 · 618164441/655559438 字节 · runtime/node_modules/rea-agents/dist/domain/apple/appleApplication.js
|
||||
2026-11-02 23:45:59.479 AWBFILES 8007/10925
|
||||
2026-11-02 23:46:00.044 AWBPROGRESS 核对原活动版本 · 8272/10925 文件 · 620294644/655559438 字节 · runtime/node_modules/rea-agents/dist/domain/javascript/javascriptSemanticSlots.js
|
||||
2026-11-02 23:46:00.044 AWBFILES 8272/10925
|
||||
2026-11-02 23:46:00.549 AWBPROGRESS 核对原活动版本 · 8542/10925 文件 · 622084007/655559438 字节 · runtime/node_modules/rea-agents/dist/filesystem/callerPath.js
|
||||
2026-11-02 23:46:00.549 AWBFILES 8542/10925
|
||||
2026-11-02 23:46:01.114 AWBPROGRESS 核对原活动版本 · 8813/10925 文件 · 634712268/655559438 字节 · runtime/node_modules/rea-agents/dist/mcp/canonicalDigest-BTvxtxxs.js
|
||||
2026-11-02 23:46:01.114 AWBFILES 8813/10925
|
||||
2026-11-02 23:46:01.615 AWBPROGRESS 核对原活动版本 · 9084/10925 文件 · 645166520/655559438 字节 · runtime/node_modules/rea-agents/dist/server/registerAnalysisSettingsTools.js
|
||||
2026-11-02 23:46:01.615 AWBFILES 9084/10925
|
||||
2026-11-02 23:46:02.176 AWBPROGRESS 核对原活动版本 · 9369/10925 文件 · 648464042/655559438 字节 · runtime/node_modules/set-function-length/CHANGELOG.md
|
||||
2026-11-02 23:46:02.176 AWBFILES 9369/10925
|
||||
2026-11-02 23:46:02.738 AWBPROGRESS 核对原活动版本 · 9650/10925 文件 · 649423624/655559438 字节 · runtime/node_modules/stream-json/src/disassembler.d.ts
|
||||
2026-11-02 23:46:02.738 AWBFILES 9650/10925
|
||||
2026-11-02 23:46:03.241 AWBPROGRESS 核对原活动版本 · 9941/10925 文件 · 650075435/655559438 字节 · runtime/node_modules/xmlbuilder/lib/XMLText.js
|
||||
2026-11-02 23:46:03.241 AWBFILES 9941/10925
|
||||
2026-11-02 23:46:03.810 AWBPROGRESS 核对原活动版本 · 10214/10925 文件 · 650985112/655559438 字节 · runtime/node_modules/zod/mini/index.cjs
|
||||
2026-11-02 23:46:03.810 AWBFILES 10214/10925
|
||||
2026-11-02 23:46:04.311 AWBPROGRESS 核对原活动版本 · 10464/10925 文件 · 652974773/655559438 字节 · runtime/node_modules/zod/src/v4/locales/no.ts
|
||||
2026-11-02 23:46:04.311 AWBFILES 10464/10925
|
||||
2026-11-02 23:46:04.877 AWBPROGRESS 核对原活动版本 · 10725/10925 文件 · 654897501/655559438 字节 · runtime/node_modules/zod/v4/locales/es.js
|
||||
2026-11-02 23:46:04.877 AWBFILES 10725/10925
|
||||
2026-11-02 23:46:05.256 AWBPROGRESS 核对原活动版本 · 10925/10925 文件 · 655559438/655559438 字节 · scripts/upgrade-running.mjs
|
||||
2026-11-02 23:46:05.256 AWBFILES 10925/10925
|
||||
2026-11-02 23:46:05.319 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:46:05.319 AWBFILES -
|
||||
2026-11-02 23:46:05.883 AWBPROGRESS 核对原活动版本 · 499/10926 文件 · runtime/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/enum.d.ts
|
||||
2026-11-02 23:46:05.883 AWBFILES 499/10926
|
||||
2026-11-02 23:46:06.385 AWBPROGRESS 核对原活动版本 · 915/10926 文件 · runtime/node_modules/@electron/asar/lib/crawlfs.js.map
|
||||
2026-11-02 23:46:06.385 AWBFILES 915/10926
|
||||
2026-11-02 23:46:06.949 AWBPROGRESS 核对原活动版本 · 1350/10926 文件 · runtime/node_modules/@pinojs/redact/benchmarks/basic.js
|
||||
2026-11-02 23:46:06.949 AWBFILES 1350/10926
|
||||
2026-11-02 23:46:07.450 AWBPROGRESS 核对原活动版本 · 1778/10926 文件 · runtime/node_modules/ajv/dist/compile/names.js
|
||||
2026-11-02 23:46:07.450 AWBFILES 1778/10926
|
||||
2026-11-02 23:46:08.017 AWBPROGRESS 核对原活动版本 · 2195/10926 文件 · runtime/node_modules/ajv/lib/vocabularies/validation/enum.ts
|
||||
2026-11-02 23:46:08.017 AWBFILES 2195/10926
|
||||
2026-11-02 23:46:08.582 AWBPROGRESS 核对原活动版本 · 2624/10926 文件 · runtime/node_modules/diff/libesm/patch/create.d.ts.map
|
||||
2026-11-02 23:46:08.582 AWBFILES 2624/10926
|
||||
2026-11-02 23:46:09.087 AWBPROGRESS 核对原活动版本 · 3064/10926 文件 · runtime/node_modules/gopd/index.js
|
||||
2026-11-02 23:46:09.087 AWBFILES 3064/10926
|
||||
2026-11-02 23:46:09.653 AWBPROGRESS 核对原活动版本 · 3517/10926 文件 · runtime/node_modules/jose/dist/types/index.d.ts
|
||||
2026-11-02 23:46:09.653 AWBFILES 3517/10926
|
||||
2026-11-02 23:46:10.218 AWBPROGRESS 核对原活动版本 · 3934/10926 文件 · runtime/node_modules/minimisted/README.md
|
||||
2026-11-02 23:46:10.218 AWBFILES 3934/10926
|
||||
2026-11-02 23:46:10.716 AWBPROGRESS 核对原活动版本 · 4374/10926 文件 · runtime/node_modules/npm/man/man7/package-spec.7
|
||||
2026-11-02 23:46:10.716 AWBFILES 4374/10926
|
||||
2026-11-02 23:46:11.283 AWBPROGRESS 核对原活动版本 · 4717/10926 文件 · runtime/node_modules/npm/node_modules/agent-base/package.json
|
||||
2026-11-02 23:46:11.283 AWBFILES 4717/10926
|
||||
2026-11-02 23:46:11.851 AWBPROGRESS 核对原活动版本 · 5065/10926 文件 · runtime/node_modules/npm/node_modules/libnpmteam/lib/index.js
|
||||
2026-11-02 23:46:11.851 AWBFILES 5065/10926
|
||||
2026-11-02 23:46:12.356 AWBPROGRESS 核对原活动版本 · 5423/10926 文件 · runtime/node_modules/npm/node_modules/proggy/lib/index.js
|
||||
2026-11-02 23:46:12.356 AWBFILES 5423/10926
|
||||
2026-11-02 23:46:12.923 AWBPROGRESS 核对原活动版本 · 5786/10926 文件 · runtime/node_modules/npm/node_modules/undici/lib/llhttp/llhttp-wasm.js
|
||||
2026-11-02 23:46:12.923 AWBFILES 5786/10926
|
||||
2026-11-02 23:46:13.427 AWBPROGRESS 核对原活动版本 · 6179/10926 文件 · runtime/node_modules/pino/test/jest/basic.spec.js
|
||||
2026-11-02 23:46:13.427 AWBFILES 6179/10926
|
||||
2026-11-02 23:46:13.992 AWBPROGRESS 核对原活动版本 · 6598/10926 文件 · runtime/node_modules/playwright-core/lib/server/utils/socksProxy.js
|
||||
2026-11-02 23:46:13.992 AWBFILES 6598/10926
|
||||
2026-11-02 23:46:14.495 AWBPROGRESS 核对原活动版本 · 7008/10926 文件 · runtime/node_modules/rea-agents/dist/application/decompileDirectory/selection.js
|
||||
2026-11-02 23:46:14.495 AWBFILES 7008/10926
|
||||
2026-11-02 23:46:15.061 AWBPROGRESS 核对原活动版本 · 7430/10926 文件 · runtime/node_modules/rea-agents/dist/browser/PlaywrightElectronActiveActions.js
|
||||
2026-11-02 23:46:15.061 AWBFILES 7430/10926
|
||||
2026-11-02 23:46:15.566 AWBPROGRESS 核对原活动版本 · 7883/10926 文件 · runtime/node_modules/rea-agents/dist/domain/analysisView/androidPackageView.js
|
||||
2026-11-02 23:46:15.566 AWBFILES 7883/10926
|
||||
2026-11-02 23:46:16.132 AWBPROGRESS 核对原活动版本 · 8332/10926 文件 · runtime/node_modules/rea-agents/dist/domain/native/kernelModule.js
|
||||
2026-11-02 23:46:16.132 AWBFILES 8332/10926
|
||||
2026-11-02 23:46:16.638 AWBPROGRESS 核对原活动版本 · 8775/10926 文件 · runtime/node_modules/rea-agents/dist/mcp/canonicalDigest-BTvxtxxs.js
|
||||
2026-11-02 23:46:16.638 AWBFILES 8775/10926
|
||||
2026-11-02 23:46:17.204 AWBPROGRESS 核对原活动版本 · 9215/10926 文件 · runtime/node_modules/rea-agents/licenses/xterm-MIT.txt
|
||||
2026-11-02 23:46:17.204 AWBFILES 9215/10926
|
||||
2026-11-02 23:46:17.774 AWBPROGRESS 核对原活动版本 · 9642/10926 文件 · runtime/node_modules/stream-json/src/core/utils/verifier.js
|
||||
2026-11-02 23:46:17.774 AWBFILES 9642/10926
|
||||
2026-11-02 23:46:18.277 AWBPROGRESS 核对原活动版本 · 10071/10926 文件 · runtime/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts
|
||||
2026-11-02 23:46:18.277 AWBFILES 10071/10926
|
||||
2026-11-02 23:46:18.844 AWBPROGRESS 核对原活动版本 · 10499/10926 文件 · runtime/node_modules/zod/src/v4/mini/tests/string.test.ts
|
||||
2026-11-02 23:46:18.844 AWBFILES 10499/10926
|
||||
2026-11-02 23:46:19.350 AWBPROGRESS 核对原活动版本 · 10926/10926 文件 · THIRD_PARTY_NOTICES.txt
|
||||
2026-11-02 23:46:19.350 AWBFILES 10926/10926
|
||||
2026-11-02 23:46:19.413 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:46:19.413 AWBFILES -
|
||||
2026-11-02 23:46:19.413 AWBPROGRESS 核对原活动版本 · 0/22 文件 · 0/9143948 字节
|
||||
2026-11-02 23:46:19.413 AWBFILES 0/22
|
||||
2026-11-02 23:46:19.536 AWBPROGRESS 核对原活动版本 · 22/22 文件 · 9143948/9143948 字节 · dist-server/server.mjs
|
||||
2026-11-02 23:46:19.536 AWBFILES 22/22
|
||||
2026-11-02 23:46:19.536 AWBPROGRESS 核对安装目录
|
||||
2026-11-02 23:46:19.536 AWBFILES -
|
||||
2026-11-02 23:46:19.599 AWBPROGRESS 核对后台宿主与活动任务
|
||||
2026-11-02 23:46:19.599 AWBFILES -
|
||||
2026-11-02 23:46:22.705 AWBPROGRESS 安装未完成,请核对原始原因
|
||||
2026-11-02 23:46:22.705 AWBFILES -
|
||||
2026-11-02 23:46:22.705 AWBERROR 先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
2026-11-02 23:46:22.705 {"success":false,"code":"INSTALLATION_REJECTED","message":"先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。"}
|
||||
2026-11-02 23:46:22.715 PrepareToInstall failed: 安装预检未通过:先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
原程序和用户数据保留。日志及阶段记录见 .installation 目录。
|
||||
2026-11-02 23:46:22.715 Need to restart Windows? No
|
||||
2026-11-02 23:46:22.715 Defaulting to OK for suppressed message box (OK):
|
||||
安装预检未通过:先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
原程序和用户数据保留。日志及阶段记录见 .installation 目录。
|
||||
2026-11-02 23:46:22.715 Got EAbort exception.
|
||||
2026-11-02 23:46:22.715 Deinitializing Setup.
|
||||
2026-11-02 23:46:22.723 Log closed.
|
||||
+56320
File diff suppressed because it is too large
Load Diff
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"success": false,
|
||||
"error": "Error: ENOENT: no such file or directory, open 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102151352527\\dist-client\\.vite\\manifest.json'\n at Object.openSync (node:fs:621:18)\n at Object.readFileSync (node:fs:487:35)\n at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/original-purge-release-f.mjs:49:26\n at Array.map (<anonymous>)\n at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/original-purge-release-f.mjs:47:33",
|
||||
"realModelRequests": 0,
|
||||
"startedAt": "2026-11-02T15:19:33.592Z",
|
||||
"finishedAt": "2026-11-02T15:19:33.677Z"
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"code":0,"root":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\\program","log":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\original-purge-release-f-20261102-b\\failed-fixture-uninstall.log","appId":"e236983c-31eb-494c-aeb2-fedfa32e4e37","formalHostChanged":false}
|
||||
+17146
File diff suppressed because one or more lines are too long
+2853
File diff suppressed because it is too large
Load Diff
+2
@@ -0,0 +1,2 @@
|
||||
|
||||
added 137 packages in 6s
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102152844546",
|
||||
"evidenceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102152844546",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546.zip",
|
||||
"bytes": 242444348,
|
||||
"sha256": "6a6161860cf13f1cfaf42dec31d3e1bbe72ad4636f2e2cb92adcfb7a0db28b75"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102152844546.zip",
|
||||
"bytes": 841886165,
|
||||
"sha256": "bf7f589411df384d3ca72b50ac02aeb0848cadb05ca195a81d046078e23acf8a"
|
||||
},
|
||||
"evidence": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102152844546.zip",
|
||||
"bytes": 600854797,
|
||||
"sha256": "9a860897738406bf2439e67827f00a287b022a1b65a5403a39d1639a8ac491a6"
|
||||
},
|
||||
"documentation": {
|
||||
"sourceCommit": "c03860da74e837d3185ca1264b67ffad503a7eab",
|
||||
"originalFiles": 15126,
|
||||
"originalBytes": 1772869173,
|
||||
"shippedFiles": 129,
|
||||
"shippedBytes": 1028249,
|
||||
"evidenceManifestSha256": "7de0f8fd3ed13e1d900f058a3bbb8893afae953c9ba88640b3b55c94f4a690c8"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546-Setup.exe",
|
||||
"bytes": 212871802,
|
||||
"sha256": "b00033b8d4ee1565d22b59522b6001751d46a97a8b02ead30eefa05b09d0c580",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-6ff5c23d-091b-45cc-a128-3eb81e5e6c1d\\installer.iss",
|
||||
"version": "1.24.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"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": 10924,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
web: directory selection, cancel, invalid path recovery, project persistence: passed
|
||||
web: inline JS, relative modules/CSS/image/JSON, workbench isolation and interaction: passed
|
||||
web: source switch and fresh saved-file reload: passed
|
||||
web: independent page renders: passed
|
||||
web: project switch clears old file preview: passed
|
||||
electron: inline JS, relative modules/CSS/image/JSON, workbench isolation and interaction: passed
|
||||
electron: source switch and fresh saved-file reload: passed
|
||||
electron: preview subframe has no native bridge or Node: passed
|
||||
electron: existing native picker cancel leaves project unchanged (explicit dialog fixture): passed
|
||||
{"success":true,"checks":9,"root":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078"}
|
||||
+37201
File diff suppressed because it is too large
Load Diff
+2
File diff suppressed because one or more lines are too long
+84
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102152844546",
|
||||
"evidenceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102152844546",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546.zip",
|
||||
"bytes": 242444348,
|
||||
"sha256": "6a6161860cf13f1cfaf42dec31d3e1bbe72ad4636f2e2cb92adcfb7a0db28b75"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102152844546.zip",
|
||||
"bytes": 841886165,
|
||||
"sha256": "bf7f589411df384d3ca72b50ac02aeb0848cadb05ca195a81d046078e23acf8a"
|
||||
},
|
||||
"evidence": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102152844546.zip",
|
||||
"bytes": 600854797,
|
||||
"sha256": "9a860897738406bf2439e67827f00a287b022a1b65a5403a39d1639a8ac491a6"
|
||||
},
|
||||
"documentation": {
|
||||
"sourceCommit": "c03860da74e837d3185ca1264b67ffad503a7eab",
|
||||
"originalFiles": 15126,
|
||||
"originalBytes": 1772869173,
|
||||
"shippedFiles": 129,
|
||||
"shippedBytes": 1028249,
|
||||
"evidenceManifestSha256": "7de0f8fd3ed13e1d900f058a3bbb8893afae953c9ba88640b3b55c94f4a690c8"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546-Setup.exe",
|
||||
"bytes": 212871802,
|
||||
"sha256": "b00033b8d4ee1565d22b59522b6001751d46a97a8b02ead30eefa05b09d0c580",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-6ff5c23d-091b-45cc-a128-3eb81e5e6c1d\\installer.iss",
|
||||
"version": "1.24.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"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": 10924,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+2
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"success": true, "version": "1.24.0", "testedAt": "2026-11-02T15:20:44.632059+00:00", "archives": [{"kind": "portable", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102151352527.zip", "files": 10924, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "505a0bf18bb25a1db8e300c8b7d24905c11fb3c95aa2ebc53f9a0cedd37d1648"}, {"kind": "source", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102151352527.zip", "files": 26337, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "b7ee30a4f0f75a4eb8df38221fa38553d64d7655ecda9936634b64f8150d6204"}, {"kind": "evidence", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102151352527.zip", "files": 15126, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "6bce806fc4f4fe3721df69dee46e5230b92c21f8a218a30b6c444d0427d428a6"}], "extractionRoot": null}
|
||||
+56466
File diff suppressed because it is too large
Load Diff
+2316
File diff suppressed because it is too large
Load Diff
+11
@@ -0,0 +1,11 @@
|
||||
PASS actual clean user-level installation
|
||||
PASS actual installer rejects an open attested desktop window
|
||||
PASS actual update rejects a pending owned model request
|
||||
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37
|
||||
node:internal/modules/run_main:107
|
||||
triggerUncaughtException(
|
||||
^
|
||||
|
||||
[DOMException [TimeoutError]: The operation was aborted due to timeout]
|
||||
|
||||
Node.js v24.22.1
|
||||
+753
@@ -0,0 +1,753 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f",
|
||||
"installRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\program",
|
||||
"dataRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\user-data",
|
||||
"port": 61398,
|
||||
"appId": "973ebdf3-656f-4b62-96ad-e5ecaac79c86",
|
||||
"packagedSource": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"results": [
|
||||
{
|
||||
"name": "actual clean user-level installation",
|
||||
"passed": true,
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\owned-a-1.24.0-Setup.exe",
|
||||
"bytes": 212870579,
|
||||
"sha256": "11a9527fbf59bfab77039bc93a89f2bbd91799907adbb5940094639732663f90",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-dd36697e-07be-4cdc-b4e4-8d99fc7c4795\\installer.iss",
|
||||
"version": "1.24.0",
|
||||
"candidateDirectory": "owned-a-1.24.0",
|
||||
"qaFixture": {
|
||||
"appId": "973ebdf3-656f-4b62-96ad-e5ecaac79c86"
|
||||
}
|
||||
},
|
||||
"code": 0,
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\clean-setup.log",
|
||||
"sha256": "4c3c5caf8988392907f8521ac826348bee9e363cfc75df1d1d600089efca00b9",
|
||||
"hostPid": 53256,
|
||||
"electronPid": 35100
|
||||
},
|
||||
{
|
||||
"name": "actual installer rejects an open attested desktop window",
|
||||
"passed": true,
|
||||
"code": 7,
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\window-block-setup.log",
|
||||
"sha256": "f64dbb81d97e00bc3fec98a528ac0d665a6de3cf76c85ef1b10fc830906ef566"
|
||||
},
|
||||
{
|
||||
"name": "actual update rejects a pending owned model request",
|
||||
"passed": true,
|
||||
"fixture": "Actual owned HTTP response held until full manifest/preflight and original PID verification settle. No configured-model call or product timeout change.",
|
||||
"elapsedMs": 42382
|
||||
},
|
||||
{
|
||||
"name": "actual installer rejects a persistent original task approval",
|
||||
"passed": true,
|
||||
"code": 7,
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\approval-block-setup.log",
|
||||
"sha256": "0e9db9d79c4165e80c8c94262875282ac416e46f8b759b53c5905a6c7ca2b67a",
|
||||
"approvalId": "44992495-522b-484f-935a-11d8f351aaf7"
|
||||
},
|
||||
{
|
||||
"name": "actual manifest fault installer preserves original pointer, PID and all data",
|
||||
"passed": true,
|
||||
"code": 8,
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\candidate-fault-setup.log",
|
||||
"sha256": "1658fae2780fe6b3122a3f35ab57e93bc3549e4284482d82c538fbf06359c99e"
|
||||
},
|
||||
{
|
||||
"name": "actual pointer-published fault rolls original host and pointer back",
|
||||
"passed": true,
|
||||
"fixture": "Explicit in-process afterPointer error with real retained host; original pointer bytes, database rows and artifact bytes checked."
|
||||
},
|
||||
{
|
||||
"name": "actual update retains original PID, instance, DPAPI ciphertext and every persistent byte",
|
||||
"passed": true,
|
||||
"code": 0,
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\update-setup.log",
|
||||
"sha256": "b31b7155d822877046514082c8841fd9fd812dfac988971d54d8453c65a909e5",
|
||||
"hostPid": 53256,
|
||||
"instanceId": "99a61d3d-c3ec-4226-b32d-ef095918e736",
|
||||
"data": {
|
||||
"tables": {
|
||||
"events": {
|
||||
"count": 46,
|
||||
"hashes": [
|
||||
"05e7fd06fc0c6fad9010887e8ce7826eabdfd695e8edcf1fc5ef3f5936cdc587",
|
||||
"07ef2454c6acf979f3e186be8d997647a58d025126047e777bed24767a8fe5da",
|
||||
"168b7825635b55357818211e1e0b22b787c50e75a1ca953b8e4ee616ae44560d",
|
||||
"1be12d1e2657e3e4d1456096094d9e573ac3406653f7e1e4ff80d5be7619ad07",
|
||||
"1efc71df1e02718aa2822267e27e5749207b76d6467010f4831ebd48c44af7e4",
|
||||
"2ae030e874409d9cf0e2a4073e3ee46fa33e4520921bd33aa56b235d6c65db85",
|
||||
"31be4a86657bae72821f68fe61fe29fc20e4ab5a860a870e628e36d4676beca6",
|
||||
"33f6047fc06449a0fa27e6ba9a6419eaeb9c56da48de72d344bf15b951d92a3a",
|
||||
"362440f174cb6e4227035c068d455a4d7c0fcb1ebcbe29a41eb56c37d55ded9a",
|
||||
"4acc48d51a8e5b909cfcd20044062525707f52eb37e16b8baa82ad7b73340fd4",
|
||||
"4b1151f941e5d197c62b5451510992f98d6444b141058b143cf91091f84125f3",
|
||||
"511839a8741aba1b93b71f0ed1df96dae9ef4cfc5d6133c5e6b219f6cd456057",
|
||||
"5150b97bd306e970b8c026b252810c7663cef7916536a7bdcf874e9a71d18b20",
|
||||
"51d511439babf7511bdaac806bf0a4c71f60bc31bb842f84788da7b10cde8c8d",
|
||||
"5373c4ca56d29cbce4d2e01fd76a115b4780552117365b0ae670fe625143c134",
|
||||
"5a48961a01676c2a1355cdac62a6423b9a1219723c8948c1acdecdb77e112e36",
|
||||
"63b7eb6a54a483f25762ebcd529b9c22d5dc68cfb8f33a13eb7cd7c4e48ad304",
|
||||
"68adec9ba236375da14bed1c540282c1c3e2c281a92b82c1e7151480ef4a4119",
|
||||
"6cbb19735fea11e17bcdb88813ae95cbfa553af50aa76ac563899f0ff9bf629e",
|
||||
"6d0268c5c20a390dbd2340290b21a3321d53066ca7673eadfbfa033a7fffdde6",
|
||||
"72ed2886214e7170d9dbd9f994b454af2188b528ec5eb6a902eb6c43da417aee",
|
||||
"77898993a1613d6aa96c5e6a5bb14fdc1bcfd575bb735b19cd1d11e804b6743f",
|
||||
"781d0ffcc024a35bff3ab62cf6dd9b895e75057fa33b14d2878aec0b2e816a22",
|
||||
"7974fd3d979d4d4e25da8614e794f6658f312091a5912b792b7add8bea29b64e",
|
||||
"7ac98e8002150ee727f8df787e6c7efebef87368bad5d17fc00bd0fa23698dd8",
|
||||
"80ed4de7c9c9cd830c3ecb17042c04a292bcb90d8abfc392cce1b1a0041706d0",
|
||||
"8919d86d06542faa901021b576020dee4f446d5e5289358a81d71996e3425dda",
|
||||
"8a56827a84436bf1700f94864e8cc02a7c044fb587e8242ff7822f162e8fa561",
|
||||
"8ae4955d08f87e8771d67097f66e7405028859f42f36db189ce62cf8aff55ba0",
|
||||
"8d07039f4f4502fc01ec63dcb4b3d766b50bddba76493af80f320ccd67b98fab",
|
||||
"91e095a573e7360f162315f5a8116ee8a73648a5eecb99f5042d740a6bccacae",
|
||||
"94520ec8b3bf463727478e8056011b382d6124e89bb92d6432f477fd6f179cd6",
|
||||
"95c30f3595f12c28535d50336c44f1a9d7c2d217b0e978c3a8d31c423212fb7e",
|
||||
"9629ec3eb0c6d7d633290a43166b0f2ae974c936e385ed88a91fc437bf8b0a33",
|
||||
"97b50bd94d9e7cf260d7e7beb0316156fa3fd369a2c8e201a3db9d3008415840",
|
||||
"b1e094a35bc08f13eafa4deb43a9939e3884fa2a88b3e05893159d9d4722555c",
|
||||
"b9c4053af0da0f1469eb1998b99894111eea77c16c721fa2db46c5cf2f43bd95",
|
||||
"bcd6f86b9de4457185c0417c64d65827810a16b3703f855cc80033799e46233f",
|
||||
"bd1be16e512c5d680a5e7843bec2e95774ca095ca3e15b7910c5c2500f2e1bf4",
|
||||
"c8bcf829514b02c3b8003955a450244fbe10a0ffc84cc11e6c8330df67e502fd",
|
||||
"d9bf408149f899728b2dc21da073d95581eabce6068c405e1e0d818befd67dee",
|
||||
"e1d3d4a5d11e4396392f21d98e654c07f84d7ee3b9deb1f85384634d999fa01d",
|
||||
"e491c49b68c58358d725aa4f53192e5512ba0a344c2e2f59ce9cba467593062f",
|
||||
"e82b0157c4b53abc3eb11237fb7fa50fed74a5b191bc7f5c837aeac6b84b7726",
|
||||
"ede9db97a6210c7abe07ddb4722e1379b80cf78bea906e69ccbb3489d00dd7dc",
|
||||
"f094fb65045e8b850d5df0adf6ec674a7bd4b73c34787bf509e3c1e7d377e006"
|
||||
]
|
||||
},
|
||||
"metadata": {
|
||||
"count": 6,
|
||||
"hashes": [
|
||||
"1dc33c60735b138f4dcabb5335bfc907e63b4edd2faaf3b5bbae1b7cca1fd9e9",
|
||||
"2cfe839230e949b5b2a4956c511768cc99d9cf3ef2ba6fd436fc962b4bc481d5",
|
||||
"41e6ff8867f50debdbc0d60a83f90b181a552913f3787365d228270f00cecaa5",
|
||||
"52f507ee3bf852766983d37b5ad92ce8db7cb0e558412b4513c01aca539458ad",
|
||||
"cf6747b873f691f009e5ccbbf7e94a9fc310b300fd552a8bb90d7d81d41e4130",
|
||||
"f47011b196f85f6424a28141c6936e5d8463c1e80ebd49620b47f8757a3f7903"
|
||||
]
|
||||
},
|
||||
"outbox": {
|
||||
"count": 46,
|
||||
"hashes": [
|
||||
"10526149ee20531f41afc679c82df01d5ac9f6c44558c0103bca8c5a4fe873b0",
|
||||
"1878d7d0d0fd8dc08b6643462916f4d85005f946b6112a457cd8e1432914e7df",
|
||||
"1e53e2187f3fed535306d84353d6c7d62760effdcdae71912e015ed2f1b165ab",
|
||||
"240ee33efd464ecbce2dde2df964a5bd1078788993b3d8c8d3166cbfc8497aff",
|
||||
"2d1356f016850a5253a36495fbcadac2a7b60df2baea1218ca62e944236224bf",
|
||||
"37b4a27445081e10493e0280e03060ebca6bca6a31520517da9e73cdd72d96b5",
|
||||
"3ae9e188785512bc51555f054731ea3b2b16f01cdc709ddba009c6c90bfe5d02",
|
||||
"412d3caca09b8ac8a85145c83363b55f29b1e947092f576908763b5fcc08c8a8",
|
||||
"467383ef83968be79fd1eff15f3ddef143ded1661940ad3abaf5dab53e53c23d",
|
||||
"541261ce8e075f072f9b225c50082a7a1e092846f18632418fea977cf689dd1d",
|
||||
"5ccf16c24115bb60536af112e81fb585299510de2d928e899a49cc2b9809c0f4",
|
||||
"66242058c909a9416c9f5ffd17fd7985473787b9c2e9b602966b22820ef637e7",
|
||||
"6a70151db9824b4b3470496eccab86f7a2379376631413c3f53b3f5cb681f31f",
|
||||
"6b9fd7d2d2f7f29c7d9fbdcb8900c0cdf7afd037dbc8937b7477f2da56640464",
|
||||
"6f6a0e2e16bd6945164f9c25e1bf95dc093c74d3828fe0fcc58742ac492969a7",
|
||||
"6fd93babd46cc114653a5d358be1ebc7260df2d0c62240175c13cbb73ebf629f",
|
||||
"780af2f4b39deeed0af8ff0f5c6e04c107d4ffe83de3a1144a75c162f49b8d0a",
|
||||
"79928ae68f01ddf4013d30bccbfa2017c626609420665f86ae0a9f873d597585",
|
||||
"7d9cf727526754a88fd6d41cf0de13a622902d1ce9954cfc4ad92c6721930974",
|
||||
"7df4f0ea6ee2c613569e0fc63a14684ca836815e42e920ba922910ac8e4f9db9",
|
||||
"7e1c38b5d4b2c05fa2d2f5760516a3f95d5cd28b39ddc16613229cd6ba3868cc",
|
||||
"7ef41a53418b6841b8bcef5d3c7459ff6a8715cf7d0e8db3392410c27da2c1ac",
|
||||
"847147139858253fe03a153b22da3b49d494f84d84ade1e18494c000953d1c71",
|
||||
"863fac8b0778b918e066ab3a9335c95730ac07d37472318e00c1e3c2ecf19b68",
|
||||
"8b5b2e03bb70a33a458f3959fddcdd4922f1a60af10d1c5c11aa827bd0f56677",
|
||||
"8ec787ad821d6acf6dface8c9e8112f5e741e679f1ae128624b450f73476d090",
|
||||
"8f3c98abc984b1e2bb0017867342550012d56e7a5dfb182ff5be7e7e44580553",
|
||||
"8f3d146acc4ea11a3f84df0e4b8168694206d46a45a1b642e23c646a7d76303e",
|
||||
"95a29ca9a34dffb3c5dc8e7c00951cf8780c2bac07f7e24a088b23d4d28356cd",
|
||||
"9d5f8de00a3522ed58947b10012818f3de516783a324fbf603d95f8e5d3f411b",
|
||||
"a4c079ea9fb0b625e60b40103e853e3a81f6ecbbd22b029aece2b5f367572d6e",
|
||||
"af484d8bd05f4cbc33b4ba2e8f9b86918ef0343c0cb6797d7e602a2b52bb0524",
|
||||
"b340a6564de390dec0277533797591a87d9579da18203316232de4634abc8f5d",
|
||||
"b723375dd2fd6a334f390245a6223ade9f6accf3330c3bf876f20b72869cf680",
|
||||
"c9ab3a022712d71f272fe3051356f979cc684d0f80f5ba6a212ffbf130c0ea0c",
|
||||
"cad241413147ac8de8e4a317bae981b6916c181510bd0e6883c39576cf377006",
|
||||
"cb58916dda3dbc2623c222d30c843ce8c24bfb90a45a337730e333a9b69f34ab",
|
||||
"cd9ce116440586479b290e6e13915e4e39caa78945c2a3a1f2bea53b7b6f62a4",
|
||||
"cea5a2fba329931bd0ebbf7dfea3434a8c928c9b92c1fb95cef085ddcb32fe3b",
|
||||
"d5e0b335aac12b034c42e8592aa1b9d5f7f4bd5aadbd9e810eef0df28e9df4e0",
|
||||
"de941b55c755b55f0f9b88b39719577f6f3a6e2861678bb4a76c10ab16ac771f",
|
||||
"dff6fc80efc93a193172fe25173ef7bc6bc95c9b30f01c8cbf075117b1388806",
|
||||
"ef40c4b8b99adef52e2a033fbeaf3f9c3587f2f314e80ab6fb319a40dad0d16c",
|
||||
"f30e0e42a33eb13c8f09bead5621d30fe02feeae3505d56167684f133972e95d",
|
||||
"faa75183e8735791ebf34806ff05035f02fd407cac620d057861590cccfa757b",
|
||||
"fd3d781943671554769810cee30a65a9d492bdfd991342bc97feb0e08267ca72"
|
||||
]
|
||||
},
|
||||
"projects": {
|
||||
"count": 2,
|
||||
"hashes": [
|
||||
"ddc91f78e4b1fe778785fdde75ca78f95c580590ae38084322a1e89779ffe5f3",
|
||||
"ef78dea352e3a28e12fbf0cfd936fecbe7dcecda294a0113a6fd51fd28983328"
|
||||
]
|
||||
},
|
||||
"records": {
|
||||
"count": 26,
|
||||
"hashes": [
|
||||
"01fd2b471c9205e30ea69c6d23d9a809e5af90a437dbcb8f2414f251ef55a677",
|
||||
"05999ee1868e9698f364bf3a8a02ba10d1b7c70976a45c3918c5978bbcedb16e",
|
||||
"0bb45e2c808f67b10f553781632550917364556b704c53a646f080716cc2fb01",
|
||||
"17485610272d38dfeeec1ec2ba9ae8dd9310f83dcae75e5638f55d31d5ace7d8",
|
||||
"17caa836a8495d381195cd012393fcf8dec440214e7a3c35c1d2946ea611334b",
|
||||
"20530940c4e134b73a7e012b1486afeed93384b60ce9607987d88014ef09a84f",
|
||||
"2b80c1dd444230e3cbbad996fe33fae6546a5733b8315c3eba2afd3c06bca550",
|
||||
"2f2a14645065493e6ca0143e2e9803b603df3d0037467dc00ab9b9e8b1d69949",
|
||||
"376804acb491155fea725cb512259a7af28ef5f3f4b8323dda7c69d2e8985c75",
|
||||
"3bc7f1aca27e8e7e02873731de156d30e8cdb4d8bf98d854bb230290a2e7b676",
|
||||
"3db0b751691248e79236fe230ef613ec3eba37edb245c7868cf1a372a2304455",
|
||||
"42992d912835f487aa461f2af3f337e787fc5135af1f35d4caf63b9f56871eb4",
|
||||
"42c356d7b3a9486ded54ba98b1a136b095e40c57a7f0cf151dfd35e7de988dec",
|
||||
"5ab8c26af4896844ef6a5780747910cdef86529d28f97371ef8e755b1c561b42",
|
||||
"5bebd9e6bd88b175badf644ee97095a194f2276c1478725bf4209200a6fd0ccf",
|
||||
"75317ee7380adf660f594c19fca26be20faa3c683d067504d1a8f516af113b95",
|
||||
"7b642a26867e9f7dca2d336167f2b567c96a24f09f7d31cfc037461397ab41da",
|
||||
"7df976901a2740ae2296e3edfca521fc89f65c2a3fca727ebb31a46a34d4ae08",
|
||||
"91801df5d9ed4d4e34392d80219d507d7fa99d82e00bad35eb198211f716e720",
|
||||
"9e34666410a620e86c9eba69e5f6e6dd84906d2f6aac03cf768c5178aa404ea3",
|
||||
"aae5a3cda3e91deed9ac5ff6b91fa4c3d8d811466144828a123a3d05969ddd95",
|
||||
"bd893b003f5d1c01fe72f94ae81da35d8d914bda5aedd4f8b76b466472f8a3a1",
|
||||
"c14086dbde11ac5b630ff09506c76d09babb97040fc0367b6777bd218f0ed449",
|
||||
"c34021d7bf4110c652b725cb8e930805222cab8d2e93630ea09432ddb41ff17a",
|
||||
"c923499eee30f833df9c4fbb5e382acadb8541d28aab8c2bbf2cef89edfdf5b2",
|
||||
"cf0f64ef25beb20abaa5b162b6938c7544e84b300ae69ba8a8dde2e00ad081c9"
|
||||
]
|
||||
},
|
||||
"sessions": {
|
||||
"count": 1,
|
||||
"hashes": [
|
||||
"3a430bc17ceb2b88d15c741cc0380cd28f60c487152a7efa0ce080251170b64f"
|
||||
]
|
||||
}
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"path": "0e/0eec75a7605768ab5a07d403c4ec3fcec89fdcc2dbe338947bcdea376270b0b3.blob",
|
||||
"bytes": 2017,
|
||||
"sha256": "0eec75a7605768ab5a07d403c4ec3fcec89fdcc2dbe338947bcdea376270b0b3"
|
||||
},
|
||||
{
|
||||
"path": "27/274f18b0eca1a38be6699a8490efcd649e12b1c7e14ec10b1ea946b3e2825d50.blob",
|
||||
"bytes": 21601,
|
||||
"sha256": "274f18b0eca1a38be6699a8490efcd649e12b1c7e14ec10b1ea946b3e2825d50"
|
||||
},
|
||||
{
|
||||
"path": "29/2965c59e41762e0af54e93e05c52c4f5e2b4b21c52858fefe3e850e9b5e8fc65.blob",
|
||||
"bytes": 20583,
|
||||
"sha256": "2965c59e41762e0af54e93e05c52c4f5e2b4b21c52858fefe3e850e9b5e8fc65"
|
||||
},
|
||||
{
|
||||
"path": "29/29fdde28c48e753bd9a6e4d8ab88d6963f267be9428f4f194290fa3ddf00c854.blob",
|
||||
"bytes": 198,
|
||||
"sha256": "29fdde28c48e753bd9a6e4d8ab88d6963f267be9428f4f194290fa3ddf00c854"
|
||||
},
|
||||
{
|
||||
"path": "44/448e7707b7dbb327cf2c6b7121a96c275218c9837e3a93ed06992cb8c6916e72.blob",
|
||||
"bytes": 2022,
|
||||
"sha256": "448e7707b7dbb327cf2c6b7121a96c275218c9837e3a93ed06992cb8c6916e72"
|
||||
},
|
||||
{
|
||||
"path": "52/52c1df2d70cc59c87a44df76a20f1087fb8fdf4d70550800a2e0980599fe00ad.blob",
|
||||
"bytes": 230,
|
||||
"sha256": "52c1df2d70cc59c87a44df76a20f1087fb8fdf4d70550800a2e0980599fe00ad"
|
||||
},
|
||||
{
|
||||
"path": "7e/7ec9a292c92114557ab1539515ce4dfedc416b478e4d2eb867954336b5d4109b.blob",
|
||||
"bytes": 85,
|
||||
"sha256": "7ec9a292c92114557ab1539515ce4dfedc416b478e4d2eb867954336b5d4109b"
|
||||
},
|
||||
{
|
||||
"path": "a2/a24c7fc0cf3320a6d11f799313acb78f616f681ce25f9640c9c1fa1f2006d7ac.blob",
|
||||
"bytes": 431,
|
||||
"sha256": "a24c7fc0cf3320a6d11f799313acb78f616f681ce25f9640c9c1fa1f2006d7ac"
|
||||
},
|
||||
{
|
||||
"path": "aa/aa73e854beb5785e94cb8f4876cffec1b8954aca4089c6b259f0dd9c3c147424.blob",
|
||||
"bytes": 23103,
|
||||
"sha256": "aa73e854beb5785e94cb8f4876cffec1b8954aca4089c6b259f0dd9c3c147424"
|
||||
},
|
||||
{
|
||||
"path": "ac/acf3ebb46027d48fafce29a266154ad26ac90e0940ee193af03b2215fa27061d.blob",
|
||||
"bytes": 25485,
|
||||
"sha256": "acf3ebb46027d48fafce29a266154ad26ac90e0940ee193af03b2215fa27061d"
|
||||
},
|
||||
{
|
||||
"path": "db/db4ec9c06127ac817ffc844781565a11c221bb3558710f42ee23bef3227375c7.blob",
|
||||
"bytes": 2024,
|
||||
"sha256": "db4ec9c06127ac817ffc844781565a11c221bb3558710f42ee23bef3227375c7"
|
||||
},
|
||||
{
|
||||
"path": "e0/e07abd26add2385b0ef2dd9a95bf8d08d382fcd3f7a09c2df166ad93b3a0d672.blob",
|
||||
"bytes": 2018,
|
||||
"sha256": "e07abd26add2385b0ef2dd9a95bf8d08d382fcd3f7a09c2df166ad93b3a0d672"
|
||||
}
|
||||
],
|
||||
"files": [],
|
||||
"scope": "Every persistent database row except runtimeOwner, every original artifact byte and existing public config/project files; no credential is decrypted or returned."
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "installed native bootstrap verifies and opens the registered release",
|
||||
"passed": true,
|
||||
"electronPid": 21688,
|
||||
"hostPid": 53256,
|
||||
"repeatLaunchReusedWindow": true
|
||||
},
|
||||
{
|
||||
"name": "native desktop remains registered before explicit owned cleanup",
|
||||
"passed": true,
|
||||
"fixture": "Explicit owned Electron crash after exact actual PID/creation check; independent host retained."
|
||||
},
|
||||
{
|
||||
"name": "real host restart restores the owned saved credential and actual HTTP authentication",
|
||||
"passed": true,
|
||||
"originalPid": 53256,
|
||||
"restartedPid": 53304,
|
||||
"authenticatedRequests": 3
|
||||
},
|
||||
{
|
||||
"name": "actual installed current results and saved HTML user paths",
|
||||
"passed": true,
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"installedRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\program\\versions\\owned-b-1.24.0",
|
||||
"packagedSource": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"proofs": [
|
||||
{
|
||||
"script": "verify-file-results-ui.mjs",
|
||||
"proof": {
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\program\\versions\\owned-b-1.24.0",
|
||||
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18",
|
||||
"checks": [
|
||||
"edge: changed SHA refuses stale save, retains input, rereads actual bytes and records owned receipt",
|
||||
"edge: current receipt ends no-test task, preserves old failed run and creates no file change/check/commit/model request",
|
||||
"edge: refresh retains receipt and later file edits produce specific stale recovery without discarding reason",
|
||||
"edge: 390px task entry displays readable paths/hashes and actions without page overflow",
|
||||
"edge: new task explicitly selects original source, preserving old/current SHA and Task/Run",
|
||||
"edge: unchanged adoption cannot satisfy explicit modification, error retains current task and form",
|
||||
"edge: delayed successful save remains with original Task after UI selection changes",
|
||||
"mobile 390px: actual paired TLS gateway exposes current Task/Run and file SHA through observation only; no OS trust changes",
|
||||
"mobile 390px: authenticated refresh reports stale bytes and retains original SHA without granting file/finish permissions",
|
||||
"electron: changed SHA refuses stale save, retains input, rereads actual bytes and records owned receipt",
|
||||
"electron: current receipt ends no-test task, preserves old failed run and creates no file change/check/commit/model request",
|
||||
"electron: refresh retains receipt and later file edits produce specific stale recovery without discarding reason",
|
||||
"electron: 390px task entry displays readable paths/hashes and actions without page overflow",
|
||||
"electron: new task explicitly selects original source, preserving old/current SHA and Task/Run",
|
||||
"electron: unchanged adoption cannot satisfy explicit modification, error retains current task and form",
|
||||
"electron: delayed successful save remains with original Task after UI selection changes"
|
||||
],
|
||||
"screenshots": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-current-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-390-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-adopted.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\mobile-current-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\mobile-stale-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-current-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-390-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-adopted.png"
|
||||
],
|
||||
"errors": [],
|
||||
"realModelRequests": 0,
|
||||
"scope": "Actual isolated Edge and Electron UI; 390px is desktop narrow validation, not a new iPhone test."
|
||||
},
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\installed-verify-file-results-ui.mjs.log",
|
||||
"sha256": "75037dae70e8384adf154aecf220dcd8aa65913dbb9f927a38f6d77bfc518354"
|
||||
},
|
||||
{
|
||||
"script": "verify-local-files.mjs",
|
||||
"proof": {
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\program\\versions\\owned-b-1.24.0",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078",
|
||||
"checks": [
|
||||
"web: directory selection, cancel, invalid path recovery, project persistence",
|
||||
"web: inline JS, relative modules/CSS/image/JSON, workbench isolation and interaction",
|
||||
"web: source switch and fresh saved-file reload",
|
||||
"web: independent page renders",
|
||||
"web: project switch clears old file preview",
|
||||
"electron: inline JS, relative modules/CSS/image/JSON, workbench isolation and interaction",
|
||||
"electron: source switch and fresh saved-file reload",
|
||||
"electron: preview subframe has no native bridge or Node",
|
||||
"electron: existing native picker cancel leaves project unchanged (explicit dialog fixture)"
|
||||
],
|
||||
"screenshots": [
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\web-directory-wide.png",
|
||||
"sha256": "32d1efe60b778c5fa4a1deb849c7e0c02d90460a6a00e24d88a403f4c9879471"
|
||||
},
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\web-preview-wide.png",
|
||||
"sha256": "5487f565aae173b85ff06865f0b2367d0c7491221fd7daafe7bcd19f1d6bfb91"
|
||||
},
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\web-preview-390.png",
|
||||
"sha256": "1015ef86969afcee695cd8e8e1bc42e284d78641ca522bb269fec64429a7b320"
|
||||
},
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\web-directory-390.png",
|
||||
"sha256": "8c762cd5a76023887d3f6f2705545da7f3c7111fcc2e839cfcbeeab8017c6aa5"
|
||||
},
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\electron-preview-wide.png",
|
||||
"sha256": "ef6500b5fd8e5ac25162753d37f91b2090f753da04561c4e04bec19389fe34a1"
|
||||
}
|
||||
],
|
||||
"realModelRequests": 0,
|
||||
"errors": [],
|
||||
"hostPid": 54936
|
||||
},
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\installed-verify-local-files.mjs.log",
|
||||
"sha256": "2db050c4124dbf42fe74c2fcd68665d9bda0fc6218976fc22119db3e78069772"
|
||||
}
|
||||
],
|
||||
"realModelRequests": 0
|
||||
},
|
||||
{
|
||||
"name": "actual uninstall closes only the idle owned host and preserves user data",
|
||||
"passed": true,
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\uninstall.log",
|
||||
"originalDataRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\user-data",
|
||||
"data": {
|
||||
"tables": {
|
||||
"events": {
|
||||
"count": 46,
|
||||
"hashes": [
|
||||
"05e7fd06fc0c6fad9010887e8ce7826eabdfd695e8edcf1fc5ef3f5936cdc587",
|
||||
"07ef2454c6acf979f3e186be8d997647a58d025126047e777bed24767a8fe5da",
|
||||
"168b7825635b55357818211e1e0b22b787c50e75a1ca953b8e4ee616ae44560d",
|
||||
"1be12d1e2657e3e4d1456096094d9e573ac3406653f7e1e4ff80d5be7619ad07",
|
||||
"1efc71df1e02718aa2822267e27e5749207b76d6467010f4831ebd48c44af7e4",
|
||||
"2ae030e874409d9cf0e2a4073e3ee46fa33e4520921bd33aa56b235d6c65db85",
|
||||
"31be4a86657bae72821f68fe61fe29fc20e4ab5a860a870e628e36d4676beca6",
|
||||
"33f6047fc06449a0fa27e6ba9a6419eaeb9c56da48de72d344bf15b951d92a3a",
|
||||
"362440f174cb6e4227035c068d455a4d7c0fcb1ebcbe29a41eb56c37d55ded9a",
|
||||
"4acc48d51a8e5b909cfcd20044062525707f52eb37e16b8baa82ad7b73340fd4",
|
||||
"4b1151f941e5d197c62b5451510992f98d6444b141058b143cf91091f84125f3",
|
||||
"511839a8741aba1b93b71f0ed1df96dae9ef4cfc5d6133c5e6b219f6cd456057",
|
||||
"5150b97bd306e970b8c026b252810c7663cef7916536a7bdcf874e9a71d18b20",
|
||||
"51d511439babf7511bdaac806bf0a4c71f60bc31bb842f84788da7b10cde8c8d",
|
||||
"5373c4ca56d29cbce4d2e01fd76a115b4780552117365b0ae670fe625143c134",
|
||||
"5a48961a01676c2a1355cdac62a6423b9a1219723c8948c1acdecdb77e112e36",
|
||||
"63b7eb6a54a483f25762ebcd529b9c22d5dc68cfb8f33a13eb7cd7c4e48ad304",
|
||||
"68adec9ba236375da14bed1c540282c1c3e2c281a92b82c1e7151480ef4a4119",
|
||||
"6cbb19735fea11e17bcdb88813ae95cbfa553af50aa76ac563899f0ff9bf629e",
|
||||
"6d0268c5c20a390dbd2340290b21a3321d53066ca7673eadfbfa033a7fffdde6",
|
||||
"72ed2886214e7170d9dbd9f994b454af2188b528ec5eb6a902eb6c43da417aee",
|
||||
"77898993a1613d6aa96c5e6a5bb14fdc1bcfd575bb735b19cd1d11e804b6743f",
|
||||
"781d0ffcc024a35bff3ab62cf6dd9b895e75057fa33b14d2878aec0b2e816a22",
|
||||
"7974fd3d979d4d4e25da8614e794f6658f312091a5912b792b7add8bea29b64e",
|
||||
"7ac98e8002150ee727f8df787e6c7efebef87368bad5d17fc00bd0fa23698dd8",
|
||||
"80ed4de7c9c9cd830c3ecb17042c04a292bcb90d8abfc392cce1b1a0041706d0",
|
||||
"8919d86d06542faa901021b576020dee4f446d5e5289358a81d71996e3425dda",
|
||||
"8a56827a84436bf1700f94864e8cc02a7c044fb587e8242ff7822f162e8fa561",
|
||||
"8ae4955d08f87e8771d67097f66e7405028859f42f36db189ce62cf8aff55ba0",
|
||||
"8d07039f4f4502fc01ec63dcb4b3d766b50bddba76493af80f320ccd67b98fab",
|
||||
"91e095a573e7360f162315f5a8116ee8a73648a5eecb99f5042d740a6bccacae",
|
||||
"94520ec8b3bf463727478e8056011b382d6124e89bb92d6432f477fd6f179cd6",
|
||||
"95c30f3595f12c28535d50336c44f1a9d7c2d217b0e978c3a8d31c423212fb7e",
|
||||
"9629ec3eb0c6d7d633290a43166b0f2ae974c936e385ed88a91fc437bf8b0a33",
|
||||
"97b50bd94d9e7cf260d7e7beb0316156fa3fd369a2c8e201a3db9d3008415840",
|
||||
"b1e094a35bc08f13eafa4deb43a9939e3884fa2a88b3e05893159d9d4722555c",
|
||||
"b9c4053af0da0f1469eb1998b99894111eea77c16c721fa2db46c5cf2f43bd95",
|
||||
"bcd6f86b9de4457185c0417c64d65827810a16b3703f855cc80033799e46233f",
|
||||
"bd1be16e512c5d680a5e7843bec2e95774ca095ca3e15b7910c5c2500f2e1bf4",
|
||||
"c8bcf829514b02c3b8003955a450244fbe10a0ffc84cc11e6c8330df67e502fd",
|
||||
"d9bf408149f899728b2dc21da073d95581eabce6068c405e1e0d818befd67dee",
|
||||
"e1d3d4a5d11e4396392f21d98e654c07f84d7ee3b9deb1f85384634d999fa01d",
|
||||
"e491c49b68c58358d725aa4f53192e5512ba0a344c2e2f59ce9cba467593062f",
|
||||
"e82b0157c4b53abc3eb11237fb7fa50fed74a5b191bc7f5c837aeac6b84b7726",
|
||||
"ede9db97a6210c7abe07ddb4722e1379b80cf78bea906e69ccbb3489d00dd7dc",
|
||||
"f094fb65045e8b850d5df0adf6ec674a7bd4b73c34787bf509e3c1e7d377e006"
|
||||
]
|
||||
},
|
||||
"metadata": {
|
||||
"count": 6,
|
||||
"hashes": [
|
||||
"1dc33c60735b138f4dcabb5335bfc907e63b4edd2faaf3b5bbae1b7cca1fd9e9",
|
||||
"41e6ff8867f50debdbc0d60a83f90b181a552913f3787365d228270f00cecaa5",
|
||||
"52f507ee3bf852766983d37b5ad92ce8db7cb0e558412b4513c01aca539458ad",
|
||||
"7c4acae6e8adc77a201f84db5c21b161661d0806d15d90317b9b991f64bc3dc7",
|
||||
"8aa9656334f1a6a1071579f3e5e9d339fa1003cfbca674a724d7772005eae693",
|
||||
"f47011b196f85f6424a28141c6936e5d8463c1e80ebd49620b47f8757a3f7903"
|
||||
]
|
||||
},
|
||||
"outbox": {
|
||||
"count": 46,
|
||||
"hashes": [
|
||||
"10526149ee20531f41afc679c82df01d5ac9f6c44558c0103bca8c5a4fe873b0",
|
||||
"1878d7d0d0fd8dc08b6643462916f4d85005f946b6112a457cd8e1432914e7df",
|
||||
"1e53e2187f3fed535306d84353d6c7d62760effdcdae71912e015ed2f1b165ab",
|
||||
"240ee33efd464ecbce2dde2df964a5bd1078788993b3d8c8d3166cbfc8497aff",
|
||||
"2d1356f016850a5253a36495fbcadac2a7b60df2baea1218ca62e944236224bf",
|
||||
"37b4a27445081e10493e0280e03060ebca6bca6a31520517da9e73cdd72d96b5",
|
||||
"3ae9e188785512bc51555f054731ea3b2b16f01cdc709ddba009c6c90bfe5d02",
|
||||
"412d3caca09b8ac8a85145c83363b55f29b1e947092f576908763b5fcc08c8a8",
|
||||
"467383ef83968be79fd1eff15f3ddef143ded1661940ad3abaf5dab53e53c23d",
|
||||
"541261ce8e075f072f9b225c50082a7a1e092846f18632418fea977cf689dd1d",
|
||||
"5ccf16c24115bb60536af112e81fb585299510de2d928e899a49cc2b9809c0f4",
|
||||
"66242058c909a9416c9f5ffd17fd7985473787b9c2e9b602966b22820ef637e7",
|
||||
"6a70151db9824b4b3470496eccab86f7a2379376631413c3f53b3f5cb681f31f",
|
||||
"6b9fd7d2d2f7f29c7d9fbdcb8900c0cdf7afd037dbc8937b7477f2da56640464",
|
||||
"6f6a0e2e16bd6945164f9c25e1bf95dc093c74d3828fe0fcc58742ac492969a7",
|
||||
"6fd93babd46cc114653a5d358be1ebc7260df2d0c62240175c13cbb73ebf629f",
|
||||
"780af2f4b39deeed0af8ff0f5c6e04c107d4ffe83de3a1144a75c162f49b8d0a",
|
||||
"79928ae68f01ddf4013d30bccbfa2017c626609420665f86ae0a9f873d597585",
|
||||
"7d9cf727526754a88fd6d41cf0de13a622902d1ce9954cfc4ad92c6721930974",
|
||||
"7df4f0ea6ee2c613569e0fc63a14684ca836815e42e920ba922910ac8e4f9db9",
|
||||
"7e1c38b5d4b2c05fa2d2f5760516a3f95d5cd28b39ddc16613229cd6ba3868cc",
|
||||
"7ef41a53418b6841b8bcef5d3c7459ff6a8715cf7d0e8db3392410c27da2c1ac",
|
||||
"847147139858253fe03a153b22da3b49d494f84d84ade1e18494c000953d1c71",
|
||||
"863fac8b0778b918e066ab3a9335c95730ac07d37472318e00c1e3c2ecf19b68",
|
||||
"8b5b2e03bb70a33a458f3959fddcdd4922f1a60af10d1c5c11aa827bd0f56677",
|
||||
"8ec787ad821d6acf6dface8c9e8112f5e741e679f1ae128624b450f73476d090",
|
||||
"8f3c98abc984b1e2bb0017867342550012d56e7a5dfb182ff5be7e7e44580553",
|
||||
"8f3d146acc4ea11a3f84df0e4b8168694206d46a45a1b642e23c646a7d76303e",
|
||||
"95a29ca9a34dffb3c5dc8e7c00951cf8780c2bac07f7e24a088b23d4d28356cd",
|
||||
"9d5f8de00a3522ed58947b10012818f3de516783a324fbf603d95f8e5d3f411b",
|
||||
"a4c079ea9fb0b625e60b40103e853e3a81f6ecbbd22b029aece2b5f367572d6e",
|
||||
"af484d8bd05f4cbc33b4ba2e8f9b86918ef0343c0cb6797d7e602a2b52bb0524",
|
||||
"b340a6564de390dec0277533797591a87d9579da18203316232de4634abc8f5d",
|
||||
"b723375dd2fd6a334f390245a6223ade9f6accf3330c3bf876f20b72869cf680",
|
||||
"c9ab3a022712d71f272fe3051356f979cc684d0f80f5ba6a212ffbf130c0ea0c",
|
||||
"cad241413147ac8de8e4a317bae981b6916c181510bd0e6883c39576cf377006",
|
||||
"cb58916dda3dbc2623c222d30c843ce8c24bfb90a45a337730e333a9b69f34ab",
|
||||
"cd9ce116440586479b290e6e13915e4e39caa78945c2a3a1f2bea53b7b6f62a4",
|
||||
"cea5a2fba329931bd0ebbf7dfea3434a8c928c9b92c1fb95cef085ddcb32fe3b",
|
||||
"d5e0b335aac12b034c42e8592aa1b9d5f7f4bd5aadbd9e810eef0df28e9df4e0",
|
||||
"de941b55c755b55f0f9b88b39719577f6f3a6e2861678bb4a76c10ab16ac771f",
|
||||
"dff6fc80efc93a193172fe25173ef7bc6bc95c9b30f01c8cbf075117b1388806",
|
||||
"ef40c4b8b99adef52e2a033fbeaf3f9c3587f2f314e80ab6fb319a40dad0d16c",
|
||||
"f30e0e42a33eb13c8f09bead5621d30fe02feeae3505d56167684f133972e95d",
|
||||
"faa75183e8735791ebf34806ff05035f02fd407cac620d057861590cccfa757b",
|
||||
"fd3d781943671554769810cee30a65a9d492bdfd991342bc97feb0e08267ca72"
|
||||
]
|
||||
},
|
||||
"projects": {
|
||||
"count": 2,
|
||||
"hashes": [
|
||||
"ddc91f78e4b1fe778785fdde75ca78f95c580590ae38084322a1e89779ffe5f3",
|
||||
"ef78dea352e3a28e12fbf0cfd936fecbe7dcecda294a0113a6fd51fd28983328"
|
||||
]
|
||||
},
|
||||
"records": {
|
||||
"count": 26,
|
||||
"hashes": [
|
||||
"01fd2b471c9205e30ea69c6d23d9a809e5af90a437dbcb8f2414f251ef55a677",
|
||||
"05999ee1868e9698f364bf3a8a02ba10d1b7c70976a45c3918c5978bbcedb16e",
|
||||
"0bb45e2c808f67b10f553781632550917364556b704c53a646f080716cc2fb01",
|
||||
"17485610272d38dfeeec1ec2ba9ae8dd9310f83dcae75e5638f55d31d5ace7d8",
|
||||
"17caa836a8495d381195cd012393fcf8dec440214e7a3c35c1d2946ea611334b",
|
||||
"20530940c4e134b73a7e012b1486afeed93384b60ce9607987d88014ef09a84f",
|
||||
"2b80c1dd444230e3cbbad996fe33fae6546a5733b8315c3eba2afd3c06bca550",
|
||||
"2f2a14645065493e6ca0143e2e9803b603df3d0037467dc00ab9b9e8b1d69949",
|
||||
"376804acb491155fea725cb512259a7af28ef5f3f4b8323dda7c69d2e8985c75",
|
||||
"3bc7f1aca27e8e7e02873731de156d30e8cdb4d8bf98d854bb230290a2e7b676",
|
||||
"3db0b751691248e79236fe230ef613ec3eba37edb245c7868cf1a372a2304455",
|
||||
"42992d912835f487aa461f2af3f337e787fc5135af1f35d4caf63b9f56871eb4",
|
||||
"42c356d7b3a9486ded54ba98b1a136b095e40c57a7f0cf151dfd35e7de988dec",
|
||||
"5ab8c26af4896844ef6a5780747910cdef86529d28f97371ef8e755b1c561b42",
|
||||
"5bebd9e6bd88b175badf644ee97095a194f2276c1478725bf4209200a6fd0ccf",
|
||||
"75317ee7380adf660f594c19fca26be20faa3c683d067504d1a8f516af113b95",
|
||||
"7b642a26867e9f7dca2d336167f2b567c96a24f09f7d31cfc037461397ab41da",
|
||||
"7df976901a2740ae2296e3edfca521fc89f65c2a3fca727ebb31a46a34d4ae08",
|
||||
"91801df5d9ed4d4e34392d80219d507d7fa99d82e00bad35eb198211f716e720",
|
||||
"9e34666410a620e86c9eba69e5f6e6dd84906d2f6aac03cf768c5178aa404ea3",
|
||||
"aae5a3cda3e91deed9ac5ff6b91fa4c3d8d811466144828a123a3d05969ddd95",
|
||||
"bd893b003f5d1c01fe72f94ae81da35d8d914bda5aedd4f8b76b466472f8a3a1",
|
||||
"c14086dbde11ac5b630ff09506c76d09babb97040fc0367b6777bd218f0ed449",
|
||||
"c34021d7bf4110c652b725cb8e930805222cab8d2e93630ea09432ddb41ff17a",
|
||||
"c923499eee30f833df9c4fbb5e382acadb8541d28aab8c2bbf2cef89edfdf5b2",
|
||||
"cf0f64ef25beb20abaa5b162b6938c7544e84b300ae69ba8a8dde2e00ad081c9"
|
||||
]
|
||||
},
|
||||
"sessions": {
|
||||
"count": 1,
|
||||
"hashes": [
|
||||
"3a430bc17ceb2b88d15c741cc0380cd28f60c487152a7efa0ce080251170b64f"
|
||||
]
|
||||
}
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"path": "0e/0eec75a7605768ab5a07d403c4ec3fcec89fdcc2dbe338947bcdea376270b0b3.blob",
|
||||
"bytes": 2017,
|
||||
"sha256": "0eec75a7605768ab5a07d403c4ec3fcec89fdcc2dbe338947bcdea376270b0b3"
|
||||
},
|
||||
{
|
||||
"path": "27/274f18b0eca1a38be6699a8490efcd649e12b1c7e14ec10b1ea946b3e2825d50.blob",
|
||||
"bytes": 21601,
|
||||
"sha256": "274f18b0eca1a38be6699a8490efcd649e12b1c7e14ec10b1ea946b3e2825d50"
|
||||
},
|
||||
{
|
||||
"path": "29/2965c59e41762e0af54e93e05c52c4f5e2b4b21c52858fefe3e850e9b5e8fc65.blob",
|
||||
"bytes": 20583,
|
||||
"sha256": "2965c59e41762e0af54e93e05c52c4f5e2b4b21c52858fefe3e850e9b5e8fc65"
|
||||
},
|
||||
{
|
||||
"path": "29/29fdde28c48e753bd9a6e4d8ab88d6963f267be9428f4f194290fa3ddf00c854.blob",
|
||||
"bytes": 198,
|
||||
"sha256": "29fdde28c48e753bd9a6e4d8ab88d6963f267be9428f4f194290fa3ddf00c854"
|
||||
},
|
||||
{
|
||||
"path": "44/448e7707b7dbb327cf2c6b7121a96c275218c9837e3a93ed06992cb8c6916e72.blob",
|
||||
"bytes": 2022,
|
||||
"sha256": "448e7707b7dbb327cf2c6b7121a96c275218c9837e3a93ed06992cb8c6916e72"
|
||||
},
|
||||
{
|
||||
"path": "52/52c1df2d70cc59c87a44df76a20f1087fb8fdf4d70550800a2e0980599fe00ad.blob",
|
||||
"bytes": 230,
|
||||
"sha256": "52c1df2d70cc59c87a44df76a20f1087fb8fdf4d70550800a2e0980599fe00ad"
|
||||
},
|
||||
{
|
||||
"path": "7e/7ec9a292c92114557ab1539515ce4dfedc416b478e4d2eb867954336b5d4109b.blob",
|
||||
"bytes": 85,
|
||||
"sha256": "7ec9a292c92114557ab1539515ce4dfedc416b478e4d2eb867954336b5d4109b"
|
||||
},
|
||||
{
|
||||
"path": "a2/a24c7fc0cf3320a6d11f799313acb78f616f681ce25f9640c9c1fa1f2006d7ac.blob",
|
||||
"bytes": 431,
|
||||
"sha256": "a24c7fc0cf3320a6d11f799313acb78f616f681ce25f9640c9c1fa1f2006d7ac"
|
||||
},
|
||||
{
|
||||
"path": "aa/aa73e854beb5785e94cb8f4876cffec1b8954aca4089c6b259f0dd9c3c147424.blob",
|
||||
"bytes": 23103,
|
||||
"sha256": "aa73e854beb5785e94cb8f4876cffec1b8954aca4089c6b259f0dd9c3c147424"
|
||||
},
|
||||
{
|
||||
"path": "ac/acf3ebb46027d48fafce29a266154ad26ac90e0940ee193af03b2215fa27061d.blob",
|
||||
"bytes": 25485,
|
||||
"sha256": "acf3ebb46027d48fafce29a266154ad26ac90e0940ee193af03b2215fa27061d"
|
||||
},
|
||||
{
|
||||
"path": "db/db4ec9c06127ac817ffc844781565a11c221bb3558710f42ee23bef3227375c7.blob",
|
||||
"bytes": 2024,
|
||||
"sha256": "db4ec9c06127ac817ffc844781565a11c221bb3558710f42ee23bef3227375c7"
|
||||
},
|
||||
{
|
||||
"path": "e0/e07abd26add2385b0ef2dd9a95bf8d08d382fcd3f7a09c2df166ad93b3a0d672.blob",
|
||||
"bytes": 2018,
|
||||
"sha256": "e07abd26add2385b0ef2dd9a95bf8d08d382fcd3f7a09c2df166ad93b3a0d672"
|
||||
}
|
||||
],
|
||||
"files": [],
|
||||
"scope": "Every persistent database row except runtimeOwner, every original artifact byte and existing public config/project files; no credential is decrypted or returned."
|
||||
}
|
||||
}
|
||||
],
|
||||
"installedUI": {
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"installedRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\program\\versions\\owned-b-1.24.0",
|
||||
"packagedSource": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"proofs": [
|
||||
{
|
||||
"script": "verify-file-results-ui.mjs",
|
||||
"proof": {
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\program\\versions\\owned-b-1.24.0",
|
||||
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18",
|
||||
"checks": [
|
||||
"edge: changed SHA refuses stale save, retains input, rereads actual bytes and records owned receipt",
|
||||
"edge: current receipt ends no-test task, preserves old failed run and creates no file change/check/commit/model request",
|
||||
"edge: refresh retains receipt and later file edits produce specific stale recovery without discarding reason",
|
||||
"edge: 390px task entry displays readable paths/hashes and actions without page overflow",
|
||||
"edge: new task explicitly selects original source, preserving old/current SHA and Task/Run",
|
||||
"edge: unchanged adoption cannot satisfy explicit modification, error retains current task and form",
|
||||
"edge: delayed successful save remains with original Task after UI selection changes",
|
||||
"mobile 390px: actual paired TLS gateway exposes current Task/Run and file SHA through observation only; no OS trust changes",
|
||||
"mobile 390px: authenticated refresh reports stale bytes and retains original SHA without granting file/finish permissions",
|
||||
"electron: changed SHA refuses stale save, retains input, rereads actual bytes and records owned receipt",
|
||||
"electron: current receipt ends no-test task, preserves old failed run and creates no file change/check/commit/model request",
|
||||
"electron: refresh retains receipt and later file edits produce specific stale recovery without discarding reason",
|
||||
"electron: 390px task entry displays readable paths/hashes and actions without page overflow",
|
||||
"electron: new task explicitly selects original source, preserving old/current SHA and Task/Run",
|
||||
"electron: unchanged adoption cannot satisfy explicit modification, error retains current task and form",
|
||||
"electron: delayed successful save remains with original Task after UI selection changes"
|
||||
],
|
||||
"screenshots": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-current-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-390-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-adopted.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\mobile-current-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\mobile-stale-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-current-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-390-results.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-adopted.png"
|
||||
],
|
||||
"errors": [],
|
||||
"realModelRequests": 0,
|
||||
"scope": "Actual isolated Edge and Electron UI; 390px is desktop narrow validation, not a new iPhone test."
|
||||
},
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\installed-verify-file-results-ui.mjs.log",
|
||||
"sha256": "75037dae70e8384adf154aecf220dcd8aa65913dbb9f927a38f6d77bfc518354"
|
||||
},
|
||||
{
|
||||
"script": "verify-local-files.mjs",
|
||||
"proof": {
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\program\\versions\\owned-b-1.24.0",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078",
|
||||
"checks": [
|
||||
"web: directory selection, cancel, invalid path recovery, project persistence",
|
||||
"web: inline JS, relative modules/CSS/image/JSON, workbench isolation and interaction",
|
||||
"web: source switch and fresh saved-file reload",
|
||||
"web: independent page renders",
|
||||
"web: project switch clears old file preview",
|
||||
"electron: inline JS, relative modules/CSS/image/JSON, workbench isolation and interaction",
|
||||
"electron: source switch and fresh saved-file reload",
|
||||
"electron: preview subframe has no native bridge or Node",
|
||||
"electron: existing native picker cancel leaves project unchanged (explicit dialog fixture)"
|
||||
],
|
||||
"screenshots": [
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\web-directory-wide.png",
|
||||
"sha256": "32d1efe60b778c5fa4a1deb849c7e0c02d90460a6a00e24d88a403f4c9879471"
|
||||
},
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\web-preview-wide.png",
|
||||
"sha256": "5487f565aae173b85ff06865f0b2367d0c7491221fd7daafe7bcd19f1d6bfb91"
|
||||
},
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\web-preview-390.png",
|
||||
"sha256": "1015ef86969afcee695cd8e8e1bc42e284d78641ca522bb269fec64429a7b320"
|
||||
},
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\web-directory-390.png",
|
||||
"sha256": "8c762cd5a76023887d3f6f2705545da7f3c7111fcc2e839cfcbeeab8017c6aa5"
|
||||
},
|
||||
{
|
||||
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\local-files-67be90e4-2d06-4f66-aaae-71f03b9a3078\\electron-preview-wide.png",
|
||||
"sha256": "ef6500b5fd8e5ac25162753d37f91b2090f753da04561c4e04bec19389fe34a1"
|
||||
}
|
||||
],
|
||||
"realModelRequests": 0,
|
||||
"errors": [],
|
||||
"hostPid": 54936
|
||||
},
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\installed-verify-local-files.mjs.log",
|
||||
"sha256": "2db050c4124dbf42fe74c2fcd68665d9bda0fc6218976fc22119db3e78069772"
|
||||
}
|
||||
],
|
||||
"realModelRequests": 0
|
||||
},
|
||||
"realModelRequests": 0,
|
||||
"scope": "Actual isolated user-level Windows installers and shipped Electron/Node runtimes; own credentials and HTTP fixture only. QA appId, corruption, pointer-fault and crash fixtures explicitly recorded."
|
||||
}
|
||||
+148
@@ -0,0 +1,148 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import net from 'node:net';
|
||||
import { spawn, execFileSync } from 'node:child_process';
|
||||
import { publicSnapshot, compareOriginalState, hash } from './desktop-f-state.mjs';
|
||||
import { inspectHostInstallation } from '../src/core/desktop/app-installation.mjs';
|
||||
|
||||
const root = path.resolve('.qa/original-purge-release-f-20261102-c');
|
||||
fs.mkdirSync(root, { recursive: true });
|
||||
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
|
||||
const save = (name, value) => fs.writeFileSync(path.join(root, name), JSON.stringify(value, null, 2) + '\n', { flag: 'wx' });
|
||||
const receipt = file => ({ path: path.resolve(file), bytes: fs.statSync(file).size, sha256: hash(fs.readFileSync(file)) });
|
||||
const release = read('releases/latest.json');
|
||||
const sourceCommit = execFileSync('git', ['rev-parse', 'c03860d'], { encoding: 'utf8' }).trim();
|
||||
assert.equal(release.documentation.sourceCommit, sourceCommit);
|
||||
assert.equal(path.basename(release.portableRoot), 'Agent-Workbench-1.24.0-win-x64-20261102152844546');
|
||||
const manifest = read(path.join(release.portableRoot, 'MANIFEST.json'));
|
||||
assert.equal(manifest.version, '1.24.0');
|
||||
const url = 'http://127.0.0.1:4318';
|
||||
const installRoot = 'C:/Users/wangy/AppData/Local/Programs/AgentWorkbench';
|
||||
const dataRoot = 'C:/Users/wangy/AppData/Local/Packages/OpenAI.Codex_2p2nqsd0c76g0/LocalCache/Local/AgentWorkbench';
|
||||
const mode = process.argv[2];
|
||||
assert.ok(['preflight', 'before', 'install', 'final'].includes(mode));
|
||||
assert.equal(fs.existsSync(path.join(root, mode + '.json')), false, 'Keep original receipts.');
|
||||
const startedAt = new Date().toISOString();
|
||||
async function api(route) {
|
||||
const bootstrap = await (await fetch(url + '/api/bootstrap', { signal: AbortSignal.timeout(20000) })).json();
|
||||
const response = await fetch(url + '/api' + route, { headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' }, signal: AbortSignal.timeout(20000) });
|
||||
assert.equal(response.status, 200, route); return response.json();
|
||||
}
|
||||
async function inspectorClosed() {
|
||||
await new Promise((resolve, reject) => {
|
||||
const socket = net.createConnection({ host: '127.0.0.1', port: 9229 });
|
||||
socket.setTimeout(1500);
|
||||
socket.once('connect', () => { socket.destroy(); reject(Error('Inspector open.')); });
|
||||
socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve() : reject(error); });
|
||||
socket.once('timeout', () => { socket.destroy(); reject(Error('Inspector unknown.')); });
|
||||
});
|
||||
}
|
||||
let result;
|
||||
try {
|
||||
if (mode === 'preflight') {
|
||||
assert.equal(execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8' }).trim(), sourceCommit);
|
||||
assert.equal(execFileSync('git', ['status', '--porcelain'], { encoding: 'utf8' }).trim(), 'M scripts/verify-desktop-install.mjs');
|
||||
const d = read('docs/original-purge-production-evidence/manifest.json');
|
||||
const build = d.buildInputs.map(entry => {
|
||||
const expected = entry.path === 'dist-server/install-manager.mjs'
|
||||
? { bytes: 76554, sha256: '4ad635c6547f07814b265e3afb8c5a6adaa111a4b1178e201b39f3b463072196' }
|
||||
: entry;
|
||||
for (const base of [process.cwd(), release.portableRoot]) {
|
||||
const bytes = fs.readFileSync(path.join(base, entry.path));
|
||||
assert.equal(bytes.length, expected.bytes, entry.path); assert.equal(hash(bytes), expected.sha256, entry.path);
|
||||
}
|
||||
return { path: entry.path, bytes: expected.bytes, sha256: expected.sha256, originalD: { bytes: entry.bytes, sha256: entry.sha256 }, recompiledUpgradeEntry: expected !== entry };
|
||||
});
|
||||
for (const folder of ['dist-client', 'dist-server', 'dist-desktop']) {
|
||||
assert.equal(fs.existsSync(path.join(release.sourceRoot, folder)), false, 'Source archive intentionally requires a source build.');
|
||||
}
|
||||
const source = d.sourceInputs.map(entry => {
|
||||
const bytes = fs.readFileSync(path.join(release.sourceRoot, entry.path));
|
||||
assert.equal(bytes.length, entry.bytes, entry.path); assert.equal(hash(bytes), entry.sha256, entry.path);
|
||||
return { path: entry.path, bytes: entry.bytes, sha256: entry.sha256 };
|
||||
});
|
||||
for (const item of manifest.files) {
|
||||
const bytes = fs.readFileSync(path.join(release.portableRoot, item.path));
|
||||
assert.equal(bytes.length, item.bytes, item.path); assert.equal(hash(bytes), item.sha256, item.path);
|
||||
}
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
assert.deepEqual(read(path.join(root, 'release.json')), release);
|
||||
const rebuildLine = fs.readFileSync(path.join(root, 'rebuild-output.txt'), 'utf8').trim().split('\n').at(-1);
|
||||
const rebuildLocation = JSON.parse(rebuildLine), rebuild = read(rebuildLocation.output);
|
||||
assert.equal(rebuild.success, true); assert.equal(rebuild.sourceCommit, sourceCommit); assert.equal(rebuild.sourceZip.sha256, release.source.sha256);
|
||||
assert.equal(rebuild.compiled.length, 22); assert.deepEqual(rebuild.mismatches, []);
|
||||
const qaFile = 'scripts/verify-desktop-install.mjs';
|
||||
const qaAmendment = { path: qaFile, frozenSha256: hash(fs.readFileSync(path.join(release.sourceRoot, qaFile))),
|
||||
actualSha256: hash(fs.readFileSync(qaFile)), diff: execFileSync('git', ['diff', sourceCommit, '--', qaFile], { encoding: 'utf8' }),
|
||||
scope: 'QA held local HTTP client timeout 60s to 300s across synchronous manifest verification, elapsed receipt and exactly-two/no-retry assertions. Product/model deadlines unchanged.' };
|
||||
for (const name of ['archives-validation.json', 'release-validation.json', 'desktop-install-location.json', 'existing-results-installed-ui.json']) {
|
||||
const file = path.join('.qa', name);
|
||||
if (fs.existsSync(file)) fs.copyFileSync(file, path.join(root, 'previous-' + name), fs.constants.COPYFILE_EXCL);
|
||||
}
|
||||
result = { success: true, sourceCommit, version: manifest.version, build, source, portableFiles: manifest.files.length,
|
||||
installer: release.installer, rebuild: receipt(rebuildLocation.output), qaAmendment,
|
||||
scope: 'D 21 unchanged compiled files and one independently rebuilt corrected installer entry; 436 frozen D source inputs unchanged in the source ZIP. Exact final 22-file ZIP rebuild passed. E execution inputs retain original bytes. No model requests or host mutation.' };
|
||||
} else {
|
||||
assert.equal(read(path.join(root, 'preflight.json')).success, true);
|
||||
assert.deepEqual(release, read(path.join(root, 'release.json')));
|
||||
await inspectorClosed();
|
||||
const current = await publicSnapshot(url, dataRoot), host = await api('/host/status');
|
||||
assert.equal(current.pid, 36552); assert.equal(current.hasKey, true); assert.equal(current.version, '1.24.0');
|
||||
assert.deepEqual(current.active, []); assert.equal(host.activity.active, false);
|
||||
if (mode === 'before') {
|
||||
assert.equal(host.desktopWindows.count, 0);
|
||||
assert.match(current.runtimeRoot.replaceAll('\\', '/'), /\/\.qa\/live-retest-e-20261102-c\/runtime$/);
|
||||
const portable = read('.qa/release-validation.json'); assert.equal(portable.success, true); assert.equal(portable.appRoot, release.portableRoot);
|
||||
const archives = read('.qa/archives-validation.json'); assert.equal(archives.success, true);
|
||||
assert.equal(archives.archives[0].sha256, release.portable.sha256);
|
||||
const installation = read(read('.qa/desktop-install-location.json').result);
|
||||
assert.equal(installation.success, true); assert.equal(installation.packagedSource, fs.realpathSync.native(release.portableRoot));
|
||||
save('private-before.json', current); save('pointer-before.json', read(path.join(installRoot, 'current.json')));
|
||||
result = { success: true, sourceCommit, currentRuntime: current.runtimeRoot, pid: current.pid, hasKey: current.hasKey,
|
||||
privateState: receipt(path.join(root, 'private-before.json')), portable: receipt('.qa/release-validation.json'),
|
||||
archives: receipt('.qa/archives-validation.json'), installation: receipt(read('.qa/desktop-install-location.json').result) };
|
||||
} else {
|
||||
const before = read(path.join(root, 'private-before.json'));
|
||||
compareOriginalState(before, current);
|
||||
if (mode === 'install') {
|
||||
assert.equal(host.desktopWindows.count, 0);
|
||||
assert.deepEqual(read(path.join(installRoot, 'current.json')), read(path.join(root, 'pointer-before.json')));
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
const logFile = path.join(root, 'installer.log'), processFile = path.join(root, 'installer-process.txt');
|
||||
const log = fs.openSync(processFile, 'wx'); let code;
|
||||
try {
|
||||
code = await new Promise((resolve, reject) => {
|
||||
const child = spawn(release.installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + logFile,
|
||||
'/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=4318'], { windowsHide: true, stdio: ['ignore', log, log] });
|
||||
child.once('error', reject); child.once('close', resolve);
|
||||
});
|
||||
} finally { fs.closeSync(log); }
|
||||
save('installer-exit.json', { code, installer: release.installer, logFile, finishedAt: new Date().toISOString() });
|
||||
assert.equal(code, 0, 'Do not replay installation with unknown outcome.');
|
||||
} else { assert.equal(read(path.join(root, 'install.json')).success, true); assert.equal(host.desktopWindows.count, 0); }
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after);
|
||||
const candidate = path.join(installRoot, 'versions', path.basename(release.portableRoot));
|
||||
assert.equal(fs.realpathSync.native(after.runtimeRoot), fs.realpathSync.native(candidate));
|
||||
const identity = inspectHostInstallation(candidate), pointer = read(path.join(installRoot, 'current.json'));
|
||||
assert.equal(pointer.active.directory, path.basename(candidate)); assert.equal(pointer.active.manifestSha256, identity.manifestSha256);
|
||||
assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
|
||||
const operations = fs.readdirSync(path.join(installRoot, '.installation')).filter(name => /^progress-.*\.json$/.test(name))
|
||||
.map(name => read(path.join(installRoot, '.installation', name))).sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
|
||||
const operation = operations[0]; assert.equal(operation.state, 'completed'); assert.equal(operation.candidate.manifestSha256, identity.manifestSha256);
|
||||
const availability = await api('/engines/deepseek/controlled-availability'); assert.equal(availability.status, 'available');
|
||||
const purge = await api('/engines/purge/source?kind=purge-original-restricted-v1');
|
||||
assert.equal(purge.status, 'available');
|
||||
await inspectorClosed(); save('private-after-' + mode + '.json', after);
|
||||
result = { success: true, sourceCommit, version: after.version, candidate, pid: after.pid, hasKey: after.hasKey, retained,
|
||||
counts: { projects: after.projects, sessions: after.database.sessionIds.length, records: after.database.tables.records.count,
|
||||
events: after.database.tables.events.count, artifacts: after.persistent.artifacts.length }, identity, pointer, operation,
|
||||
availability, purge, inspectorClosed: true, desktopWindows: (await api('/host/status')).desktopWindows.count,
|
||||
nativeWindowReview: { status: 'not_performed', reason: 'Computer Use reported physical Escape stop; no further UI actions this turn. Actual isolated installer/native-bootstrap/UI checks remain separate from formal-window review.' },
|
||||
privateState: receipt(path.join(root, 'private-after-' + mode + '.json')), realModelRequests: 0 };
|
||||
}
|
||||
}
|
||||
} catch (error) { result = { success: false, error: error.stack, realModelRequests: 0 }; process.exitCode = 1; }
|
||||
save(mode + '.json', { ...result, startedAt, finishedAt: new Date().toISOString() });
|
||||
console.log(JSON.stringify({ success: result.success, mode, evidenceRoot: root, counts: result.counts,
|
||||
sourceInputs: result.source?.length, buildInputs: result.build?.length, error: result.error }));
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
|
||||
added 137 packages in 7s
|
||||
+135
@@ -0,0 +1,135 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import net from 'node:net';
|
||||
import { spawn, execFileSync } from 'node:child_process';
|
||||
import { publicSnapshot, compareOriginalState, hash } from './desktop-f-state.mjs';
|
||||
import { inspectHostInstallation } from '../src/core/desktop/app-installation.mjs';
|
||||
|
||||
const root = path.resolve('.qa/original-purge-release-f-20261102-b');
|
||||
fs.mkdirSync(root, { recursive: true });
|
||||
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
|
||||
const save = (name, value) => fs.writeFileSync(path.join(root, name), JSON.stringify(value, null, 2) + '\n', { flag: 'wx' });
|
||||
const receipt = file => ({ path: path.resolve(file), bytes: fs.statSync(file).size, sha256: hash(fs.readFileSync(file)) });
|
||||
const release = read('releases/latest.json');
|
||||
const sourceCommit = '393466733f9f254f198c31264ffa9320707f3447';
|
||||
assert.equal(release.documentation.sourceCommit, sourceCommit);
|
||||
assert.equal(path.basename(release.portableRoot), 'Agent-Workbench-1.24.0-win-x64-20261102151352527');
|
||||
const manifest = read(path.join(release.portableRoot, 'MANIFEST.json'));
|
||||
assert.equal(manifest.version, '1.24.0');
|
||||
const url = 'http://127.0.0.1:4318';
|
||||
const installRoot = 'C:/Users/wangy/AppData/Local/Programs/AgentWorkbench';
|
||||
const dataRoot = 'C:/Users/wangy/AppData/Local/Packages/OpenAI.Codex_2p2nqsd0c76g0/LocalCache/Local/AgentWorkbench';
|
||||
const mode = process.argv[2];
|
||||
assert.ok(['preflight', 'before', 'install', 'final'].includes(mode));
|
||||
assert.equal(fs.existsSync(path.join(root, mode + '.json')), false, 'Keep original receipts.');
|
||||
const startedAt = new Date().toISOString();
|
||||
async function api(route) {
|
||||
const bootstrap = await (await fetch(url + '/api/bootstrap', { signal: AbortSignal.timeout(20000) })).json();
|
||||
const response = await fetch(url + '/api' + route, { headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' }, signal: AbortSignal.timeout(20000) });
|
||||
assert.equal(response.status, 200, route); return response.json();
|
||||
}
|
||||
async function inspectorClosed() {
|
||||
await new Promise((resolve, reject) => {
|
||||
const socket = net.createConnection({ host: '127.0.0.1', port: 9229 });
|
||||
socket.setTimeout(1500);
|
||||
socket.once('connect', () => { socket.destroy(); reject(Error('Inspector open.')); });
|
||||
socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve() : reject(error); });
|
||||
socket.once('timeout', () => { socket.destroy(); reject(Error('Inspector unknown.')); });
|
||||
});
|
||||
}
|
||||
let result;
|
||||
try {
|
||||
if (mode === 'preflight') {
|
||||
assert.equal(execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8' }).trim(), sourceCommit);
|
||||
assert.equal(execFileSync('git', ['status', '--porcelain'], { encoding: 'utf8' }).trim(), '');
|
||||
const d = read('docs/original-purge-production-evidence/manifest.json');
|
||||
const build = d.buildInputs.map(entry => {
|
||||
for (const base of [process.cwd(), release.portableRoot]) {
|
||||
const bytes = fs.readFileSync(path.join(base, entry.path));
|
||||
assert.equal(bytes.length, entry.bytes, entry.path); assert.equal(hash(bytes), entry.sha256, entry.path);
|
||||
}
|
||||
return { path: entry.path, bytes: entry.bytes, sha256: entry.sha256 };
|
||||
});
|
||||
for (const folder of ['dist-client', 'dist-server', 'dist-desktop']) {
|
||||
assert.equal(fs.existsSync(path.join(release.sourceRoot, folder)), false, 'Source archive intentionally requires a source build.');
|
||||
}
|
||||
const source = d.sourceInputs.map(entry => {
|
||||
const bytes = fs.readFileSync(path.join(release.sourceRoot, entry.path));
|
||||
assert.equal(bytes.length, entry.bytes, entry.path); assert.equal(hash(bytes), entry.sha256, entry.path);
|
||||
return { path: entry.path, bytes: entry.bytes, sha256: entry.sha256 };
|
||||
});
|
||||
for (const item of manifest.files) {
|
||||
const bytes = fs.readFileSync(path.join(release.portableRoot, item.path));
|
||||
assert.equal(bytes.length, item.bytes, item.path); assert.equal(hash(bytes), item.sha256, item.path);
|
||||
}
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
save('release.json', release);
|
||||
for (const name of ['archives-validation.json', 'release-validation.json', 'desktop-install-location.json', 'existing-results-installed-ui.json']) {
|
||||
const file = path.join('.qa', name);
|
||||
if (fs.existsSync(file)) fs.copyFileSync(file, path.join(root, 'previous-' + name), fs.constants.COPYFILE_EXCL);
|
||||
}
|
||||
result = { success: true, sourceCommit, version: manifest.version, build, source, portableFiles: manifest.files.length,
|
||||
installer: release.installer, scope: 'Exact D product/source/build lineage; E changes only acceptance, documentation and sealed evidence. No model requests or host mutation.' };
|
||||
} else {
|
||||
assert.equal(read(path.join(root, 'preflight.json')).success, true);
|
||||
assert.deepEqual(release, read(path.join(root, 'release.json')));
|
||||
await inspectorClosed();
|
||||
const current = await publicSnapshot(url, dataRoot), host = await api('/host/status');
|
||||
assert.equal(current.pid, 36552); assert.equal(current.hasKey, true); assert.equal(current.version, '1.24.0');
|
||||
assert.deepEqual(current.active, []); assert.equal(host.activity.active, false);
|
||||
if (mode === 'before') {
|
||||
assert.equal(host.desktopWindows.count, 0);
|
||||
assert.match(current.runtimeRoot.replaceAll('\\', '/'), /\/\.qa\/live-retest-e-20261102-c\/runtime$/);
|
||||
const portable = read('.qa/release-validation.json'); assert.equal(portable.success, true); assert.equal(portable.appRoot, release.portableRoot);
|
||||
const archives = read('.qa/archives-validation.json'); assert.equal(archives.success, true);
|
||||
assert.equal(archives.archives[0].sha256, release.portable.sha256);
|
||||
const installation = read(read('.qa/desktop-install-location.json').result);
|
||||
assert.equal(installation.success, true); assert.equal(installation.packagedSource, fs.realpathSync.native(release.portableRoot));
|
||||
save('private-before.json', current); save('pointer-before.json', read(path.join(installRoot, 'current.json')));
|
||||
result = { success: true, sourceCommit, currentRuntime: current.runtimeRoot, pid: current.pid, hasKey: current.hasKey,
|
||||
privateState: receipt(path.join(root, 'private-before.json')), portable: receipt('.qa/release-validation.json'),
|
||||
archives: receipt('.qa/archives-validation.json'), installation: receipt(read('.qa/desktop-install-location.json').result) };
|
||||
} else {
|
||||
const before = read(path.join(root, 'private-before.json'));
|
||||
compareOriginalState(before, current);
|
||||
if (mode === 'install') {
|
||||
assert.equal(host.desktopWindows.count, 0);
|
||||
assert.deepEqual(read(path.join(installRoot, 'current.json')), read(path.join(root, 'pointer-before.json')));
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
const logFile = path.join(root, 'installer.log'), processFile = path.join(root, 'installer-process.txt');
|
||||
const log = fs.openSync(processFile, 'wx'); let code;
|
||||
try {
|
||||
code = await new Promise((resolve, reject) => {
|
||||
const child = spawn(release.installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + logFile,
|
||||
'/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=4318'], { windowsHide: true, stdio: ['ignore', log, log] });
|
||||
child.once('error', reject); child.once('close', resolve);
|
||||
});
|
||||
} finally { fs.closeSync(log); }
|
||||
save('installer-exit.json', { code, installer: release.installer, logFile, finishedAt: new Date().toISOString() });
|
||||
assert.equal(code, 0, 'Do not replay installation with unknown outcome.');
|
||||
} else { assert.equal(read(path.join(root, 'install.json')).success, true); assert.equal(host.desktopWindows.count, 1); }
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after);
|
||||
const candidate = path.join(installRoot, 'versions', path.basename(release.portableRoot));
|
||||
assert.equal(fs.realpathSync.native(after.runtimeRoot), fs.realpathSync.native(candidate));
|
||||
const identity = inspectHostInstallation(candidate), pointer = read(path.join(installRoot, 'current.json'));
|
||||
assert.equal(pointer.active.directory, path.basename(candidate)); assert.equal(pointer.active.manifestSha256, identity.manifestSha256);
|
||||
assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
|
||||
const operations = fs.readdirSync(path.join(installRoot, '.installation')).filter(name => /^progress-.*\.json$/.test(name))
|
||||
.map(name => read(path.join(installRoot, '.installation', name))).sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
|
||||
const operation = operations[0]; assert.equal(operation.state, 'completed'); assert.equal(operation.candidate.manifestSha256, identity.manifestSha256);
|
||||
const availability = await api('/engines/deepseek/controlled-availability'); assert.equal(availability.status, 'available');
|
||||
const purge = await api('/engines/purge/source?kind=purge-original-restricted-v1');
|
||||
assert.equal(purge.status, 'available');
|
||||
await inspectorClosed(); save('private-after-' + mode + '.json', after);
|
||||
result = { success: true, sourceCommit, version: after.version, candidate, pid: after.pid, hasKey: after.hasKey, retained,
|
||||
counts: { projects: after.projects, sessions: after.database.sessionIds.length, records: after.database.tables.records.count,
|
||||
events: after.database.tables.events.count, artifacts: after.persistent.artifacts.length }, identity, pointer, operation,
|
||||
availability, purge, inspectorClosed: true, desktopWindows: (await api('/host/status')).desktopWindows.count,
|
||||
privateState: receipt(path.join(root, 'private-after-' + mode + '.json')), realModelRequests: 0 };
|
||||
}
|
||||
}
|
||||
} catch (error) { result = { success: false, error: error.stack, realModelRequests: 0 }; process.exitCode = 1; }
|
||||
save(mode + '.json', { ...result, startedAt, finishedAt: new Date().toISOString() });
|
||||
console.log(JSON.stringify({ success: result.success, mode, evidenceRoot: root, counts: result.counts,
|
||||
sourceInputs: result.source?.length, buildInputs: result.build?.length, error: result.error }));
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
PASS actual clean user-level installation
|
||||
PASS actual installer rejects an open attested desktop window
|
||||
PASS actual update rejects a pending owned model request
|
||||
PASS actual installer rejects a persistent original task approval
|
||||
PASS actual manifest fault installer preserves original pointer, PID and all data
|
||||
PASS actual pointer-published fault rolls original host and pointer back
|
||||
PASS actual update retains original PID, instance, DPAPI ciphertext and every persistent byte
|
||||
PASS installed native bootstrap verifies and opens the registered release
|
||||
PASS native desktop remains registered before explicit owned cleanup
|
||||
PASS real host restart restores the owned saved credential and actual HTTP authentication
|
||||
PASS actual installed current results and saved HTML user paths
|
||||
PASS actual uninstall closes only the idle owned host and preserves user data
|
||||
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f
|
||||
+95
@@ -0,0 +1,95 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash, randomUUID } from 'node:crypto';
|
||||
import { spawn, execFileSync } from 'node:child_process';
|
||||
import { projectEnvironment } from '../src/core/process-environment.mjs';
|
||||
|
||||
if (process.argv.includes('--help')) {
|
||||
console.log('node scripts/verify-packaged-build.mjs — extract compile inputs from the latest source ZIP, install offline, rebuild and compare every compiled file to its portable ZIP identity. Set AGENT_WORKBENCH_TEST_PYTHON to an absolute Python path. No model calls or formal-host changes.');
|
||||
process.exit(0);
|
||||
}
|
||||
assert.equal(process.argv.length, 2);
|
||||
assert.match(process.version, /^v24\./);
|
||||
const release = JSON.parse(fs.readFileSync('releases/latest.json'));
|
||||
const manifest = JSON.parse(fs.readFileSync(path.join(release.portableRoot, 'MANIFEST.json')));
|
||||
const root = path.resolve('.qa', 'packaged-build-' + randomUUID()), destination = path.join(root, 'source');
|
||||
fs.mkdirSync(destination, { recursive: true });
|
||||
const env = projectEnvironment();
|
||||
const python = process.env.AGENT_WORKBENCH_TEST_PYTHON;
|
||||
assert.ok(python && path.isAbsolute(python) && fs.existsSync(python), 'Select an explicit QA Python.');
|
||||
const npm = path.join(path.dirname(process.execPath), 'node_modules/npm/bin/npm-cli.js');
|
||||
assert.ok(fs.existsSync(npm), 'Use Node with its bundled npm.');
|
||||
const sha = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
async function digestFile(file) {
|
||||
const hash = createHash('sha256');
|
||||
for await (const bytes of fs.createReadStream(file)) hash.update(bytes);
|
||||
return hash.digest('hex');
|
||||
}
|
||||
const startedAt = new Date().toISOString();
|
||||
const extract = `import sys,zipfile,pathlib,json,hashlib
|
||||
archive,destination,top=sys.argv[1:]
|
||||
folders={'src','public','scripts','tests','examples','benchmarks','research'}
|
||||
names={'package.json','package-lock.json','vite.config.ts','tsconfig.json','index.html','mobile.html'}
|
||||
output=pathlib.Path(destination).resolve()
|
||||
with zipfile.ZipFile(archive) as bundle:
|
||||
manifest=json.loads(bundle.read(top+'/MANIFEST.json'))
|
||||
selected=[item for item in manifest['files'] if item['path'].split('/')[0] in folders or item['path'] in names]
|
||||
assert manifest['kind']=='source' and selected
|
||||
for item in selected:
|
||||
relative=pathlib.PurePosixPath(item['path'])
|
||||
assert not relative.is_absolute() and '..' not in relative.parts
|
||||
contents=bundle.read(top+'/'+item['path'])
|
||||
assert len(contents)==item['bytes'] and hashlib.sha256(contents).hexdigest()==item['sha256']
|
||||
target=(output/str(relative)).resolve()
|
||||
assert target.is_relative_to(output)
|
||||
target.parent.mkdir(parents=True,exist_ok=True)
|
||||
target.write_bytes(contents)
|
||||
print(json.dumps({'version':manifest['version'],'inputs':selected}))`;
|
||||
const logs = [];
|
||||
async function run(args, name) {
|
||||
const file = path.join(root, name + '.log'), log = fs.openSync(file, 'wx');
|
||||
let code;
|
||||
try {
|
||||
code = await new Promise((resolve, reject) => {
|
||||
const child = spawn(process.execPath, [npm, ...args], { cwd: destination, env, windowsHide: true, stdio: ['ignore', log, log] });
|
||||
child.once('error', reject); child.once('close', resolve);
|
||||
});
|
||||
} finally { fs.closeSync(log); }
|
||||
logs.push({ name, file, code, sha256: await digestFile(file) });
|
||||
assert.equal(code, 0, name + ': inspect original log ' + file);
|
||||
console.log('PASS ' + name);
|
||||
}
|
||||
let result, stage = 'source archive identity', inputs = [], compiled = [], mismatches = [];
|
||||
try {
|
||||
assert.equal(await digestFile(release.source.path), release.source.sha256);
|
||||
stage = 'extract fixed compile inputs';
|
||||
const extraction = JSON.parse(execFileSync(python, ['-I', '-c', extract, release.source.path, destination, path.basename(release.sourceRoot)],
|
||||
{ env, encoding: 'utf8', windowsHide: true, maxBuffer: 8 * 1024 * 1024 }));
|
||||
assert.equal(extraction.version, manifest.version); inputs = extraction.inputs;
|
||||
stage = 'offline install'; await run(['ci', '--offline', '--ignore-scripts', '--no-audit', '--no-fund'], 'offline-install');
|
||||
stage = 'actual source build'; await run(['run', 'build'], 'build');
|
||||
stage = 'source and compiled bytes';
|
||||
for (const input of inputs) assert.equal(await digestFile(path.join(destination, input.path)), input.sha256, 'Source input changed: ' + input.path);
|
||||
const folders = ['dist-client', 'dist-server', 'dist-desktop'];
|
||||
const walk = folder => fs.readdirSync(path.join(destination, folder), { withFileTypes: true })
|
||||
.flatMap(entry => entry.isDirectory() ? walk(path.posix.join(folder, entry.name)) : [path.posix.join(folder, entry.name)]);
|
||||
const expected = manifest.files.filter(item => folders.some(folder => item.path.startsWith(folder + '/')));
|
||||
assert.deepEqual(folders.flatMap(walk).sort(), expected.map(item => item.path).sort(), 'Exact compiled directory');
|
||||
for (const item of expected) {
|
||||
const file = path.join(destination, item.path), actual = { bytes: fs.statSync(file).size, sha256: await digestFile(file) };
|
||||
assert.equal(await digestFile(path.join(release.portableRoot, item.path)), item.sha256, 'Portable input drift: ' + item.path);
|
||||
compiled.push({ path: item.path, expected: { bytes: item.bytes, sha256: item.sha256 }, actual });
|
||||
if (actual.bytes !== item.bytes || actual.sha256 !== item.sha256) mismatches.push(compiled.at(-1));
|
||||
}
|
||||
assert.deepEqual(mismatches, [], 'Source ZIP rebuild differs from portable compilation.');
|
||||
result = { success: true };
|
||||
} catch (error) { result = { success: false, stage, error: error.stack }; process.exitCode = 1; }
|
||||
result = { ...result, startedAt, finishedAt: new Date().toISOString(), version: manifest.version, sourceCommit: release.documentation.sourceCommit,
|
||||
root, destination, sourceZip: release.source, portableManifestSha256: await digestFile(path.join(release.portableRoot, 'MANIFEST.json')),
|
||||
node: { version: process.version, sha256: await digestFile(process.execPath) }, inputCount: inputs.length, inputs, compiled, mismatches, logs, realModelRequests: 0,
|
||||
scope: 'Independent compile-input extraction from the exact source ZIP, offline dependency installation and actual TypeScript/Vite/mobile/server/desktop rebuild. Every source input retained and every compiled file compared. Historical source tests and full archive checks keep their separate receipts.' };
|
||||
const output = path.join(root, 'result.json');
|
||||
fs.writeFileSync(output, JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: result.success, stage: result.stage, root, output, inputCount: inputs.length,
|
||||
compiledFiles: compiled.length, mismatches: mismatches.length, error: result.error }));
|
||||
+1101
File diff suppressed because it is too large
Load Diff
+62
@@ -0,0 +1,62 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { DatabaseSync } from 'node:sqlite';
|
||||
import { snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
|
||||
export const hash = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
export const canonical = value => Array.isArray(value) ? value.map(canonical) : value && typeof value === 'object' ? Object.fromEntries(Object.keys(value).sort().map(key => [key, canonical(value[key])])) : value;
|
||||
export const digest = value => hash(JSON.stringify(canonical(value)));
|
||||
export function databaseSnapshot(dataRoot) {
|
||||
const database = new DatabaseSync(path.join(dataRoot, 'workbench.sqlite'), { readOnly: true }); database.exec('BEGIN');
|
||||
try {
|
||||
assert.equal(database.prepare('PRAGMA quick_check').get().quick_check, 'ok');
|
||||
const tables = {};
|
||||
for (const { name, sql } of database.prepare("SELECT name,sql FROM sqlite_schema WHERE type='table' ORDER BY name").all()) {
|
||||
assert.match(name, /^[a-z_]+$/);
|
||||
const rows = database.prepare('SELECT * FROM "' + name + '" ORDER BY rowid').all().filter(row => !(name === 'metadata' && row.key === 'runtimeOwner'));
|
||||
tables[name] = { count: rows.length, schemaSha256: hash(sql), sha256: digest(rows), rows: rows.map((row, index) => ({ id: row.id ?? row.key ?? row.seq ?? index, ...(row.kind ? { kind: row.kind } : {}), sha256: digest(row) })) };
|
||||
}
|
||||
const sessionIds = database.prepare('SELECT id FROM sessions ORDER BY id').all().map(row => row.id);
|
||||
const owner = database.prepare("SELECT value FROM metadata WHERE key='runtimeOwner'").get();
|
||||
return { tables, sessionIds, ownerSha256: owner ? digest(owner) : null, scope: 'Every original table schema and row field hashed, excluding only runtimeOwner lifecycle metadata. No row payload or credential is returned.' };
|
||||
} finally { database.exec('ROLLBACK'); database.close(); }
|
||||
}
|
||||
export async function publicSnapshot(url, dataRoot) {
|
||||
const healthResponse = await fetch(url + '/api/health', { headers: { Connection: 'close' }, signal: AbortSignal.timeout(20000) }); assert.equal(healthResponse.status, 200);
|
||||
const health = await healthResponse.json(), bootResponse = await fetch(url + '/api/bootstrap', { headers: { Connection: 'close' }, signal: AbortSignal.timeout(20000) }); assert.equal(bootResponse.status, 200);
|
||||
const bootstrap = await bootResponse.json(); const token = bootstrap.token;
|
||||
const api = async route => { const response = await fetch(url + '/api' + route, { headers: { 'X-Workbench-Token': token, Connection: 'close' }, signal: AbortSignal.timeout(20000) }); assert.ok(response.ok, route + ': HTTP ' + response.status); return response.json(); };
|
||||
const database = databaseSnapshot(dataRoot), exports = [];
|
||||
for (const id of database.sessionIds) {
|
||||
const report = await api('/sessions/' + id + '/export');
|
||||
exports.push({ id, project: digest(report.project), session: digest(report.session), execution: digest(report.execution) });
|
||||
}
|
||||
const center = await api('/model-center');
|
||||
// This is the documented public model-center view; Provider's private map and
|
||||
// API key are never accessed. Only this public object is retained for schema-aware comparison.
|
||||
const modelCenter = structuredClone(center);
|
||||
return { observedAt: new Date().toISOString(), version: health.version, pid: health.pid, runtimeRoot: bootstrap.runtimeRoot,
|
||||
configSha256: digest(bootstrap.config), projectsSha256: digest(bootstrap.projects), sessionsSha256: digest(bootstrap.sessions), modelCenterSha256: digest(modelCenter), modelCenter,
|
||||
projects: bootstrap.projects.length, visibleSessions: bootstrap.sessions.length, hasKey: !!bootstrap.config.hasKey,
|
||||
active: bootstrap.sessions.filter(value => ['running', 'awaiting_approval', 'stopping'].includes(value.status)).map(value => ({ id: value.id, status: value.status })),
|
||||
storage: bootstrap.storage, eventCursor: bootstrap.eventCursor, database, exports, persistent: snapshotPersistentData(dataRoot),
|
||||
scope: 'Read-only public state, every original session export digest, original table/row/schema hashes and every original artifact byte hash. No credential extraction, model probe, execution or mutation.' };
|
||||
}
|
||||
export function compareOriginalState(before, after, { modelCenterSchemaChange = false } = {}) {
|
||||
for (const field of ['pid', 'hasKey', 'configSha256', 'projectsSha256', 'sessionsSha256', 'eventCursor']) assert.deepEqual(after[field], before[field], field);
|
||||
assert.deepEqual(canonical(after.database.tables), canonical(before.database.tables), 'All original table schemas and every persistent row');
|
||||
assert.deepEqual(after.database.sessionIds, before.database.sessionIds); assert.deepEqual(after.exports, before.exports);
|
||||
assert.deepEqual(after.persistent, before.persistent, 'Every original artifact byte, persistent row and public disk config');
|
||||
if (modelCenterSchemaChange) {
|
||||
const original = structuredClone(before.modelCenter), next = structuredClone(after.modelCenter);
|
||||
// 1.15 changes only the public explanatory text about optional DPAPI storage.
|
||||
// Existing IDs, routes, revisions, credentials-present bits and all original attempts remain exact.
|
||||
assert.match(next.storage.restart, /临时凭据.*已明确本机加密保存/);
|
||||
next.storage.restart = original.storage.restart;
|
||||
assert.deepEqual(next, original, 'Original public model center, except versioned storage explanation');
|
||||
return { modelCenterChange: { path: '/storage/restart', original: before.modelCenter.storage.restart, actual: after.modelCenter.storage.restart }, originalRows: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact' };
|
||||
}
|
||||
assert.equal(after.modelCenterSha256, before.modelCenterSha256);
|
||||
return { originalRows: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact', originalModelCenter: 'exact' };
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
> local-agent-workbench@1.24.0 build
|
||||
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
|
||||
|
||||
[36mvite v7.3.7 [32mbuilding client environment for production...[36m[39m
|
||||
transforming...
|
||||
[32m✓[39m 1752 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
[2mdist-client/[22m[32mindex.html [39m[1m[2m 0.60 kB[22m[1m[22m[2m │ gzip: 0.41 kB[22m
|
||||
[2mdist-client/[22m[32m.vite/manifest.json [39m[1m[2m 0.65 kB[22m[1m[22m[2m │ gzip: 0.24 kB[22m
|
||||
[2mdist-client/[22m[32mmobile.html [39m[1m[2m 0.84 kB[22m[1m[22m[2m │ gzip: 0.47 kB[22m
|
||||
[2mdist-client/[22m[35massets/mobile-joLHctQw.css [39m[1m[2m 12.39 kB[22m[1m[22m[2m │ gzip: 3.22 kB[22m
|
||||
[2mdist-client/[22m[35massets/desktop-BYZSVsL1.css [39m[1m[2m165.03 kB[22m[1m[22m[2m │ gzip: 31.29 kB[22m
|
||||
[2mdist-client/[22m[36massets/mobile-4zqcwTeD.js [39m[1m[2m 27.19 kB[22m[1m[22m[2m │ gzip: 9.34 kB[22m
|
||||
[2mdist-client/[22m[36massets/approval-presentation-Chut4EFA.js [39m[1m[2m226.80 kB[22m[1m[22m[2m │ gzip: 71.65 kB[22m
|
||||
[2mdist-client/[22m[36massets/desktop-BjkP8SXr.js [39m[1m[2m391.31 kB[22m[1m[22m[2m │ gzip: 110.74 kB[22m
|
||||
[32m✓ built in 1.33s[39m
|
||||
Mobile shell built: 3 allowed assets; API and project data are never cached.
|
||||
Server bundle built.
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
PASS edge: changed SHA refuses stale save, retains input, rereads actual bytes and records owned receipt
|
||||
PASS edge: current receipt ends no-test task, preserves old failed run and creates no file change/check/commit/model request
|
||||
PASS edge: refresh retains receipt and later file edits produce specific stale recovery without discarding reason
|
||||
PASS edge: 390px task entry displays readable paths/hashes and actions without page overflow
|
||||
PASS edge: new task explicitly selects original source, preserving old/current SHA and Task/Run
|
||||
PASS edge: unchanged adoption cannot satisfy explicit modification, error retains current task and form
|
||||
PASS edge: delayed successful save remains with original Task after UI selection changes
|
||||
PASS mobile 390px: actual paired TLS gateway exposes current Task/Run and file SHA through observation only; no OS trust changes
|
||||
PASS mobile 390px: authenticated refresh reports stale bytes and retains original SHA without granting file/finish permissions
|
||||
PASS electron: changed SHA refuses stale save, retains input, rereads actual bytes and records owned receipt
|
||||
PASS electron: current receipt ends no-test task, preserves old failed run and creates no file change/check/commit/model request
|
||||
PASS electron: refresh retains receipt and later file edits produce specific stale recovery without discarding reason
|
||||
PASS electron: 390px task entry displays readable paths/hashes and actions without page overflow
|
||||
PASS electron: new task explicitly selects original source, preserving old/current SHA and Task/Run
|
||||
PASS electron: unchanged adoption cannot satisfy explicit modification, error retains current task and form
|
||||
PASS electron: delayed successful save remains with original Task after UI selection changes
|
||||
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18
|
||||
{"success":true,"version":"1.24.0","appRoot":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\\program\\versions\\owned-b-1.24.0","directory":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18","checks":["edge: changed SHA refuses stale save, retains input, rereads actual bytes and records owned receipt","edge: current receipt ends no-test task, preserves old failed run and creates no file change/check/commit/model request","edge: refresh retains receipt and later file edits produce specific stale recovery without discarding reason","edge: 390px task entry displays readable paths/hashes and actions without page overflow","edge: new task explicitly selects original source, preserving old/current SHA and Task/Run","edge: unchanged adoption cannot satisfy explicit modification, error retains current task and form","edge: delayed successful save remains with original Task after UI selection changes","mobile 390px: actual paired TLS gateway exposes current Task/Run and file SHA through observation only; no OS trust changes","mobile 390px: authenticated refresh reports stale bytes and retains original SHA without granting file/finish permissions","electron: changed SHA refuses stale save, retains input, rereads actual bytes and records owned receipt","electron: current receipt ends no-test task, preserves old failed run and creates no file change/check/commit/model request","electron: refresh retains receipt and later file edits produce specific stale recovery without discarding reason","electron: 390px task entry displays readable paths/hashes and actions without page overflow","electron: new task explicitly selects original source, preserving old/current SHA and Task/Run","electron: unchanged adoption cannot satisfy explicit modification, error retains current task and form","electron: delayed successful save remains with original Task after UI selection changes"],"screenshots":["D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-current-results.png","D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-390-results.png","D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\edge-adopted.png","D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\mobile-current-results.png","D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\mobile-stale-results.png","D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-current-results.png","D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-390-results.png","D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\file-results-ui-3cad5101-26b4-4b6e-a51b-0d76dfbf5d18\\electron-adopted.png"],"errors":[],"realModelRequests":0,"scope":"Actual isolated Edge and Electron UI; 390px is desktop narrow validation, not a new iPhone test."}
|
||||
+1715
File diff suppressed because it is too large
Load Diff
+176
@@ -0,0 +1,176 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import net from 'node:net';
|
||||
import http from 'node:http';
|
||||
import { spawn, execFile } from 'node:child_process';
|
||||
import { promisify } from 'node:util';
|
||||
import { createHash, randomUUID } from 'node:crypto';
|
||||
import { _electron } from 'playwright';
|
||||
import { planDesktopBundle, copyDesktopBundle, buildNativeLauncher } from './bundle-desktop.mjs';
|
||||
import { buildWindowsInstaller } from './build-installer.mjs';
|
||||
import { HostController } from '../src/core/desktop/host-controller.mjs';
|
||||
import { InstallationManager, snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
|
||||
import { observeWindowsProcess } from '../src/core/desktop/process-identity.mjs';
|
||||
import { projectEnvironment } from '../src/core/process-environment.mjs';
|
||||
|
||||
if (process.argv.includes('--help')) { console.log('node scripts/verify-desktop-install.mjs — isolated actual user-level setup/update/uninstall, full data retention, owned DPAPI/HTTP fixture, active-window and request guards, fault rollback and original PID retention. No configured-model credentials.'); process.exit(0); }
|
||||
assert.equal(process.argv.length, 2);
|
||||
const appRoot = process.cwd(), root = path.resolve('.qa', 'desktop-install-' + randomUUID()), installRoot = path.join(root, 'program'), dataRoot = path.join(root, 'user-data');
|
||||
const packagedSource = process.env.AGENT_WORKBENCH_QA_APP_ROOT ? fs.realpathSync.native(process.env.AGENT_WORKBENCH_QA_APP_ROOT) : null;
|
||||
const version = JSON.parse(fs.readFileSync('package.json')).version, results = [], appId = randomUUID(), hash = value => createHash('sha256').update(value).digest('hex');
|
||||
fs.mkdirSync(root, { recursive: true });
|
||||
const reserved = net.createServer(); await new Promise(resolve => reserved.listen(0, '127.0.0.1', resolve)); const port = reserved.address().port; await new Promise(resolve => reserved.close(resolve));
|
||||
const record = (name, detail = {}) => { results.push({ name, passed: true, ...detail }); console.log('PASS ' + name); };
|
||||
const until = async (action, timeout = 60000) => { const end = Date.now() + timeout; while (!await action()) { if (Date.now() > end) throw Error('Timeout: ' + stage); await new Promise(resolve => setTimeout(resolve, 100)); } };
|
||||
const run = promisify(execFile), env = projectEnvironment();
|
||||
let stage = 'prepare owned full releases', controller, application, ownedModel, report, heldRequest, releaseRequest, original, installedUI = null;
|
||||
const launcher = path.resolve('.qa/native-launcher/AgentWorkbench.exe'); buildNativeLauncher(appRoot, launcher); const desktop = planDesktopBundle(appRoot);
|
||||
function payload(name) {
|
||||
const directory = path.join(root, name); fs.mkdirSync(directory);
|
||||
if (packagedSource) {
|
||||
const original = JSON.parse(fs.readFileSync(path.join(packagedSource, 'MANIFEST.json')));
|
||||
assert.equal(original.kind, 'portable'); assert.equal(original.version, version);
|
||||
for (const entry of original.files) { const file = path.join(packagedSource, entry.path); assert.equal(hash(fs.readFileSync(file)), entry.sha256, entry.path); }
|
||||
fs.cpSync(packagedSource, directory, { recursive: true }); fs.unlinkSync(path.join(directory, 'MANIFEST.json'));
|
||||
} else {
|
||||
for (const item of ['dist-client', 'dist-server', 'dist-desktop', 'public', 'examples']) fs.cpSync(path.join(appRoot, item), path.join(directory, item), { recursive: true });
|
||||
fs.mkdirSync(path.join(directory, 'scripts')); fs.copyFileSync('scripts/python-check-runner.py', path.join(directory, 'scripts/python-check-runner.py'));
|
||||
fs.mkdirSync(path.join(directory, 'runtime')); fs.copyFileSync(process.execPath, path.join(directory, 'runtime/node.exe'));
|
||||
fs.cpSync(path.join(path.dirname(process.execPath), 'node_modules/npm'), path.join(directory, 'runtime/node_modules/npm'), { recursive: true });
|
||||
copyDesktopBundle(appRoot, directory, desktop, { launcher });
|
||||
}
|
||||
fs.writeFileSync(path.join(directory, 'owned-release.txt'), name + '\n');
|
||||
// A valid PE overlay explicitly models a future owned native bootstrap with
|
||||
// different bytes. The updated root entry must follow it and roll back with it.
|
||||
if (name.startsWith('owned-b-')) fs.appendFileSync(path.join(directory, 'AgentWorkbench.exe'), '\nowned-native-bootstrap-update-fixture\n');
|
||||
const walk = relative => fs.readdirSync(path.join(directory, relative), { withFileTypes: true }).flatMap(entry => {
|
||||
const next = path.posix.join(relative, entry.name), file = path.join(directory, next); return entry.isDirectory() ? walk(next) : [{ path: next, bytes: fs.statSync(file).size, sha256: hash(fs.readFileSync(file)) }];
|
||||
});
|
||||
fs.writeFileSync(path.join(directory, 'MANIFEST.json'), JSON.stringify({ app: 'agent-workbench', kind: 'portable', version, platform: 'win32-x64', nodeVersion: process.version, files: walk('') }, null, 2)); return directory;
|
||||
}
|
||||
async function setup(installer, label, expected = 0) {
|
||||
const log = path.join(root, label + '-setup.log');
|
||||
let code = 0, output = '';
|
||||
try { const result = await run(installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + log, '/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=' + port], { windowsHide: true, timeout: 300000, maxBuffer: 1024 * 1024, env }); output = result.stdout + result.stderr; }
|
||||
catch (error) { code = typeof error.code === 'number' ? error.code : -1; output = String(error.stdout ?? '') + String(error.stderr ?? ''); }
|
||||
fs.writeFileSync(path.join(root, label + '-process.txt'), output);
|
||||
if (expected === 0) assert.equal(code, 0, 'Actual installer failed; inspect ' + log); else assert.notEqual(code, 0, 'Actual installer unexpectedly accepted the rejected condition.');
|
||||
const logText = fs.readFileSync(log, 'utf8'); assert.match(logText, /AWBPROGRESS /, 'Actual installer must receive original stage output.');
|
||||
const records = fs.readdirSync(path.join(installRoot, '.installation')).filter(name => /^progress-.*\.json$/.test(name)).map(name => JSON.parse(fs.readFileSync(path.join(installRoot, '.installation', name)))).sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
|
||||
assert.equal(records[0].state, expected === 0 ? 'completed' : 'failed');
|
||||
if (expected === 0) { assert.ok(records[0].history.some(row => row.stage === 'verify-candidate' && row.scope === 'full-manifest' && row.counts.completedFiles === row.counts.totalFiles)); assert.match(logText, /AWBFILES \d+\/\d+/); }
|
||||
return { code, log, sha256: hash(fs.readFileSync(log)) };
|
||||
}
|
||||
async function launchElectron() {
|
||||
const current = JSON.parse(fs.readFileSync(path.join(installRoot, 'current.json'))), directory = path.join(installRoot, 'versions', current.active.directory);
|
||||
const client = await _electron.launch({ executablePath: path.join(directory, 'desktop/AgentWorkbench.exe'), args: ['--app-root', directory, '--data-root', dataRoot, '--port', String(port), '--hidden-window'], cwd: directory, env, timeout: 60000 });
|
||||
const page = await client.firstWindow(); await page.locator('.connection.connected').waitFor({ timeout: 30000 }); return client;
|
||||
}
|
||||
function ownedManager(candidateRoot) { return new InstallationManager({ installRoot, dataRoot, candidateRoot, port }); }
|
||||
try {
|
||||
const a = payload('owned-a-' + version), b = payload('owned-b-' + version), fault = payload('owned-fault-' + version);
|
||||
stage = 'compile isolated actual installers';
|
||||
const firstSetup = buildWindowsInstaller({ root: appRoot, portableRoot: a, outputRoot: root, qaFixture: { appId } });
|
||||
const secondSetup = buildWindowsInstaller({ root: appRoot, portableRoot: b, outputRoot: root, qaFixture: { appId } });
|
||||
const faultSetup = buildWindowsInstaller({ root: appRoot, portableRoot: fault, outputRoot: root, qaFixture: { appId, fault: 'corrupt-installed-candidate' } });
|
||||
stage = 'actual clean user-level installation'; const installed = await setup(firstSetup, 'clean');
|
||||
const activeA = path.join(installRoot, 'versions', path.basename(a)); controller = new HostController({ appRoot: activeA, dataRoot, port, nodePath: process.execPath });
|
||||
original = (await controller.start()).identity; application = await launchElectron();
|
||||
assert.equal((await controller.status()).desktopWindows.count, 1); record(stage, { installer: firstSetup, ...installed, hostPid: original.pid, electronPid: await application.evaluate(() => process.pid) });
|
||||
stage = 'actual installer rejects an open attested desktop window'; const windowRejection = await setup(secondSetup, 'window-block', 1);
|
||||
assert.equal(ownedManager(null).current().active.directory, path.basename(a)); assert.equal((await controller.connect()).identity.pid, original.pid); record(stage, windowRejection);
|
||||
await application.close(); application = null; await until(async () => (await controller.status()).desktopWindows.count === 0);
|
||||
const key = 'owned-install-credential-' + randomUUID(); let authenticated = 0, hold = false;
|
||||
ownedModel = http.createServer(async (request, response) => {
|
||||
const chunks = []; for await (const bytes of request) chunks.push(bytes);
|
||||
assert.equal(request.headers.authorization, 'Bearer ' + key); authenticated++;
|
||||
if (hold) { heldRequest = true; await new Promise(resolve => { releaseRequest = resolve; request.on('close', resolve); }); }
|
||||
response.writeHead(200, { 'Content-Type': 'application/json' }); response.end(JSON.stringify({ choices: [{ message: { role: 'assistant', content: 'OK' }, finish_reason: 'stop' }], usage: { prompt_tokens: 4, completion_tokens: 1, total_tokens: 5 } }));
|
||||
}); await new Promise(resolve => ownedModel.listen(0, '127.0.0.1', resolve));
|
||||
const connection = await controller.api('/model-center/connections', { method: 'POST', input: { name: 'Owned desktop install credential', model: 'owned', baseUrl: 'http://127.0.0.1:' + ownedModel.address().port + '/v1', apiKey: key, persistKey: true } });
|
||||
const connectionId = connection.id ?? connection.connection?.id ?? connection.center?.connections.at(-1).id;
|
||||
assert.ok(connectionId); await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 1);
|
||||
stage = 'actual update rejects a pending owned model request'; hold = true;
|
||||
const pending = controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId }, timeoutMs: 60000 }); pending.catch(() => {});
|
||||
await until(() => heldRequest); await assert.rejects(ownedManager(null).preflight(), /任务|请求/);
|
||||
assert.equal((await controller.connect()).identity.pid, original.pid); record(stage, { fixture: 'Actual pending owned HTTP request; manager preflight rejects before the product 20-second request timeout.' });
|
||||
releaseRequest?.(); hold = false; await pending;
|
||||
stage = 'actual installer rejects a persistent original task approval';
|
||||
const projectRoot = path.join(root, 'approval-project'); fs.mkdirSync(projectRoot); fs.writeFileSync(path.join(projectRoot, 'README.md'), '# Owned installer approval project\n');
|
||||
const project = await controller.api('/projects', { method: 'POST', input: { root: projectRoot } }), session = await controller.api('/sessions', { method: 'POST', input: { projectId: project.id } });
|
||||
await controller.api('/sessions/' + session.id + '/messages', { method: 'POST', input: { content: 'Read this owned project and prepare the offline demonstration proposal.' } });
|
||||
await until(async () => (await controller.api('/sessions/' + session.id)).approvals.some(value => value.status === 'pending'));
|
||||
const approval = (await controller.api('/sessions/' + session.id)).approvals.find(value => value.status === 'pending');
|
||||
const approvalRejection = await setup(secondSetup, 'approval-block', 1); assert.equal((await controller.api('/sessions/' + session.id)).approvals.find(value => value.status === 'pending').id, approval.id);
|
||||
await controller.api('/sessions/' + session.id + '/stop', { method: 'POST', input: {} }); record(stage, { ...approvalRejection, approvalId: approval.id });
|
||||
stage = 'actual manifest fault installer preserves original pointer, PID and all data'; const snapshot = snapshotPersistentData(dataRoot), pointer = fs.readFileSync(path.join(installRoot, 'current.json'));
|
||||
const faultResult = await setup(faultSetup, 'candidate-fault', 1);
|
||||
assert.deepEqual(fs.readFileSync(path.join(installRoot, 'current.json')), pointer); assert.deepEqual(snapshotPersistentData(dataRoot), snapshot); assert.equal((await controller.connect()).identity.pid, original.pid); assert.ok(fs.existsSync(path.join(installRoot, 'AgentWorkbench.exe'))); record(stage, faultResult);
|
||||
stage = 'actual pointer-published fault rolls original host and pointer back';
|
||||
const originalBootstrap = fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe'));
|
||||
const faultCandidate = path.join(installRoot, 'versions', 'owned-pointer-fault'); fs.cpSync(b, faultCandidate, { recursive: true });
|
||||
await assert.rejects(ownedManager(faultCandidate).activate({ afterPointer: () => { throw Error('owned-post-pointer-fault'); } }), /owned-post-pointer-fault/);
|
||||
assert.deepEqual(fs.readFileSync(path.join(installRoot, 'current.json')), pointer); assert.deepEqual(snapshotPersistentData(dataRoot), snapshot); assert.equal((await controller.connect()).identity.pid, original.pid); record(stage, { fixture: 'Explicit in-process afterPointer error with real retained host; original pointer bytes, database rows and artifact bytes checked.' });
|
||||
assert.deepEqual(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe')), originalBootstrap);
|
||||
stage = 'actual update retains original PID, instance, DPAPI ciphertext and every persistent byte';
|
||||
const updated = await setup(secondSetup, 'update'); const activeB = path.join(installRoot, 'versions', path.basename(b));
|
||||
controller = new HostController({ appRoot: activeB, dataRoot, port, nodePath: process.execPath }); const after = (await controller.connect()).identity;
|
||||
assert.equal(after.pid, original.pid); assert.equal(after.instanceId, original.instanceId); assert.deepEqual(snapshotPersistentData(dataRoot), snapshot); record(stage, { ...updated, hostPid: after.pid, instanceId: after.instanceId, data: snapshot });
|
||||
assert.notDeepEqual(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe')), originalBootstrap);
|
||||
assert.deepEqual(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe')), fs.readFileSync(path.join(activeB, 'AgentWorkbench.exe')));
|
||||
stage = 'installed native bootstrap verifies and opens the registered release';
|
||||
const nativeLauncher = spawn(path.join(installRoot, 'AgentWorkbench.exe'), ['--hidden-window'], { windowsHide: true, stdio: 'ignore', env });
|
||||
await new Promise((resolve, reject) => { nativeLauncher.once('error', reject); nativeLauncher.once('exit', code => code === 0 ? resolve() : reject(Error('Owned native bootstrap failed (' + code + ')'))); });
|
||||
await until(async () => (await controller.status()).desktopWindows.count === 1);
|
||||
const nativeWindow = (await controller.status()).desktopWindows.entries[0], nativeProcess = observeWindowsProcess(nativeWindow.pid); assert.ok(nativeProcess); assert.equal((await controller.connect()).identity.pid, original.pid);
|
||||
// A controlled WM_CLOSE to the owned main window is delegated to Electron by
|
||||
// a separate automation connection below; no unknown process is terminated.
|
||||
const child = spawn(path.join(activeB, 'desktop/AgentWorkbench.exe'), ['--app-root', activeB, '--data-root', dataRoot, '--port', String(port), '--hidden-window'], { cwd: activeB, env, windowsHide: true, stdio: 'ignore' });
|
||||
await new Promise(resolve => child.once('exit', resolve)); assert.equal((await controller.status()).desktopWindows.count, 1);
|
||||
record(stage, { electronPid: nativeWindow.pid, hostPid: original.pid, repeatLaunchReusedWindow: true });
|
||||
// The native process has no debugger. Its owned renderer closes itself through
|
||||
// the product's browser window action using a localhost, attested stop below.
|
||||
stage = 'native desktop remains registered before explicit owned cleanup';
|
||||
// Closing only this exactly observed test Electron tree after the launch check
|
||||
// models a desktop crash. Host/persistent results remain; stale registration is
|
||||
// removed through the normal identity check, without signalling a reused PID.
|
||||
const observed = observeWindowsProcess(nativeWindow.pid); assert.equal(observed.createdAt, nativeWindow.createdAt);
|
||||
await run('taskkill.exe', ['/PID', String(observed.pid), '/T', '/F'], { windowsHide: true, timeout: 15000, env });
|
||||
await until(async () => (await controller.status()).desktopWindows.count === 0); assert.equal((await controller.connect()).identity.pid, original.pid);
|
||||
record(stage, { fixture: 'Explicit owned Electron crash after exact actual PID/creation check; independent host retained.' });
|
||||
stage = 'real host restart restores the owned saved credential and actual HTTP authentication';
|
||||
const beforeRestart = snapshotPersistentData(dataRoot); await controller.stop(); const restarted = (await controller.start()).identity;
|
||||
assert.notEqual(restarted.pid, original.pid); assert.deepEqual(snapshotPersistentData(dataRoot), beforeRestart);
|
||||
await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 3); record(stage, { originalPid: original.pid, restartedPid: restarted.pid, authenticatedRequests: authenticated });
|
||||
if (version === '1.24.0') {
|
||||
stage = 'actual installed current results and saved HTML user paths';
|
||||
const pointer = JSON.parse(fs.readFileSync(path.join(installRoot, 'current.json')));
|
||||
const installedRoot = fs.realpathSync.native(path.join(installRoot, 'versions', pointer.active.directory)), proofs = [];
|
||||
for (const script of ['verify-file-results-ui.mjs', 'verify-local-files.mjs']) {
|
||||
const output = await run(process.execPath, [path.join(appRoot, 'scripts', script)], { cwd: appRoot,
|
||||
env: { ...env, AGENT_WORKBENCH_QA_APP_ROOT: installedRoot }, windowsHide: true, timeout: 180000, maxBuffer: 1024 * 1024 });
|
||||
const log = path.join(root, 'installed-' + script + '.log'); fs.writeFileSync(log, output.stdout + output.stderr);
|
||||
const summary = JSON.parse(output.stdout.trim().split(/\r?\n/).findLast(line => line.startsWith('{"success":')));
|
||||
const proofRoot = summary.directory ?? summary.root; assert.ok(proofRoot && path.resolve(proofRoot).startsWith(path.join(appRoot, '.qa') + path.sep));
|
||||
const proof = JSON.parse(fs.readFileSync(path.join(proofRoot, 'result.json'), 'utf8'));
|
||||
assert.equal(proof.success, true); assert.equal(proof.version, version); assert.equal(fs.realpathSync.native(proof.appRoot), installedRoot);
|
||||
assert.equal(proof.checks.length, script === 'verify-file-results-ui.mjs' ? 16 : 9); assert.deepEqual(proof.errors, []);
|
||||
assert.equal(proof.realModelRequests, 0); proofs.push({ script, proof, log, sha256: hash(fs.readFileSync(log)) });
|
||||
}
|
||||
installedUI = { success: true, version, installedRoot, packagedSource, proofs, realModelRequests: 0 };
|
||||
fs.writeFileSync('.qa/existing-results-installed-ui.json', JSON.stringify(installedUI, null, 2)); record(stage, installedUI);
|
||||
}
|
||||
stage = 'actual uninstall closes only the idle owned host and preserves user data';
|
||||
const uninstallSnapshot = snapshotPersistentData(dataRoot), uninstallLog = path.join(root, 'uninstall.log');
|
||||
await run(path.join(installRoot, 'unins000.exe'), ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + uninstallLog], { windowsHide: true, timeout: 180000, env });
|
||||
assert.equal(observeWindowsProcess(restarted.pid), null); assert.deepEqual(snapshotPersistentData(dataRoot), uninstallSnapshot); assert.equal(fs.existsSync(path.join(installRoot, 'AgentWorkbench.exe')), false); assert.equal(fs.existsSync(path.join(installRoot, 'current.json')), false);
|
||||
record(stage, { log: uninstallLog, originalDataRoot: dataRoot, data: uninstallSnapshot });
|
||||
report = { success: true, version, root, installRoot, dataRoot, port, appId, packagedSource, results, installedUI, realModelRequests: 0, scope: 'Actual isolated user-level Windows installers and shipped Electron/Node runtimes; own credentials and HTTP fixture only. QA appId, corruption, pointer-fault and crash fixtures explicitly recorded.' };
|
||||
} catch (error) { report = { success: false, version, root, installRoot, dataRoot, port, stage, error: error.stack, results, realModelRequests: 0 }; throw error; }
|
||||
finally {
|
||||
releaseRequest?.(); await application?.close().catch(() => {});
|
||||
if (controller) { try { const status = await controller.status(); if (!status.desktopWindows.count) await controller.stop(); } catch {} }
|
||||
if (ownedModel) { ownedModel.closeAllConnections(); await new Promise(resolve => ownedModel.close(resolve)); }
|
||||
fs.writeFileSync(path.join(root, 'result.json'), JSON.stringify(report, null, 2)); fs.writeFileSync('.qa/desktop-install-location.json', JSON.stringify({ root, result: path.join(root, 'result.json') })); console.log('EVIDENCE ' + root);
|
||||
}
|
||||
+12414
File diff suppressed because it is too large
Load Diff
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"testedAt": "2026-11-02T15:36:06.069693+00:00",
|
||||
"archives": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546.zip",
|
||||
"files": 10924,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "6a6161860cf13f1cfaf42dec31d3e1bbe72ad4636f2e2cb92adcfb7a0db28b75"
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102152844546.zip",
|
||||
"files": 26338,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "bf7f589411df384d3ca72b50ac02aeb0848cadb05ca195a81d046078e23acf8a"
|
||||
},
|
||||
{
|
||||
"kind": "evidence",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102152844546.zip",
|
||||
"files": 15126,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "9a860897738406bf2439e67827f00a287b022a1b65a5403a39d1639a8ac491a6"
|
||||
}
|
||||
],
|
||||
"extractionRoot": null
|
||||
}
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import net from 'node:net';
|
||||
import http from 'node:http';
|
||||
import { spawn, execFile } from 'node:child_process';
|
||||
import { promisify } from 'node:util';
|
||||
import { createHash, randomUUID } from 'node:crypto';
|
||||
import { _electron } from 'playwright';
|
||||
import { planDesktopBundle, copyDesktopBundle, buildNativeLauncher } from './bundle-desktop.mjs';
|
||||
import { buildWindowsInstaller } from './build-installer.mjs';
|
||||
import { HostController } from '../src/core/desktop/host-controller.mjs';
|
||||
import { InstallationManager, snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
|
||||
import { observeWindowsProcess } from '../src/core/desktop/process-identity.mjs';
|
||||
import { projectEnvironment } from '../src/core/process-environment.mjs';
|
||||
|
||||
if (process.argv.includes('--help')) { console.log('node scripts/verify-desktop-install.mjs — isolated actual user-level setup/update/uninstall, full data retention, owned DPAPI/HTTP fixture, active-window and request guards, fault rollback and original PID retention. No configured-model credentials.'); process.exit(0); }
|
||||
assert.equal(process.argv.length, 2);
|
||||
const appRoot = process.cwd(), root = path.resolve('.qa', 'desktop-install-' + randomUUID()), installRoot = path.join(root, 'program'), dataRoot = path.join(root, 'user-data');
|
||||
const packagedSource = process.env.AGENT_WORKBENCH_QA_APP_ROOT ? fs.realpathSync.native(process.env.AGENT_WORKBENCH_QA_APP_ROOT) : null;
|
||||
const version = JSON.parse(fs.readFileSync('package.json')).version, results = [], appId = randomUUID(), hash = value => createHash('sha256').update(value).digest('hex');
|
||||
fs.mkdirSync(root, { recursive: true });
|
||||
const reserved = net.createServer(); await new Promise(resolve => reserved.listen(0, '127.0.0.1', resolve)); const port = reserved.address().port; await new Promise(resolve => reserved.close(resolve));
|
||||
const record = (name, detail = {}) => { results.push({ name, passed: true, ...detail }); console.log('PASS ' + name); };
|
||||
const until = async (action, timeout = 60000) => { const end = Date.now() + timeout; while (!await action()) { if (Date.now() > end) throw Error('Timeout: ' + stage); await new Promise(resolve => setTimeout(resolve, 100)); } };
|
||||
const run = promisify(execFile), env = projectEnvironment();
|
||||
let stage = 'prepare owned full releases', controller, application, ownedModel, report, heldRequest, releaseRequest, original, installedUI = null;
|
||||
const launcher = path.resolve('.qa/native-launcher/AgentWorkbench.exe'); buildNativeLauncher(appRoot, launcher); const desktop = planDesktopBundle(appRoot);
|
||||
function payload(name) {
|
||||
const directory = path.join(root, name); fs.mkdirSync(directory);
|
||||
if (packagedSource) {
|
||||
const original = JSON.parse(fs.readFileSync(path.join(packagedSource, 'MANIFEST.json')));
|
||||
assert.equal(original.kind, 'portable'); assert.equal(original.version, version);
|
||||
for (const entry of original.files) { const file = path.join(packagedSource, entry.path); assert.equal(hash(fs.readFileSync(file)), entry.sha256, entry.path); }
|
||||
fs.cpSync(packagedSource, directory, { recursive: true }); fs.unlinkSync(path.join(directory, 'MANIFEST.json'));
|
||||
} else {
|
||||
for (const item of ['dist-client', 'dist-server', 'dist-desktop', 'public', 'examples']) fs.cpSync(path.join(appRoot, item), path.join(directory, item), { recursive: true });
|
||||
fs.mkdirSync(path.join(directory, 'scripts')); fs.copyFileSync('scripts/python-check-runner.py', path.join(directory, 'scripts/python-check-runner.py'));
|
||||
fs.mkdirSync(path.join(directory, 'runtime')); fs.copyFileSync(process.execPath, path.join(directory, 'runtime/node.exe'));
|
||||
fs.cpSync(path.join(path.dirname(process.execPath), 'node_modules/npm'), path.join(directory, 'runtime/node_modules/npm'), { recursive: true });
|
||||
copyDesktopBundle(appRoot, directory, desktop, { launcher });
|
||||
}
|
||||
fs.writeFileSync(path.join(directory, 'owned-release.txt'), name + '\n');
|
||||
// A valid PE overlay explicitly models a future owned native bootstrap with
|
||||
// different bytes. The updated root entry must follow it and roll back with it.
|
||||
if (name.startsWith('owned-b-')) fs.appendFileSync(path.join(directory, 'AgentWorkbench.exe'), '\nowned-native-bootstrap-update-fixture\n');
|
||||
const walk = relative => fs.readdirSync(path.join(directory, relative), { withFileTypes: true }).flatMap(entry => {
|
||||
const next = path.posix.join(relative, entry.name), file = path.join(directory, next); return entry.isDirectory() ? walk(next) : [{ path: next, bytes: fs.statSync(file).size, sha256: hash(fs.readFileSync(file)) }];
|
||||
});
|
||||
fs.writeFileSync(path.join(directory, 'MANIFEST.json'), JSON.stringify({ app: 'agent-workbench', kind: 'portable', version, platform: 'win32-x64', nodeVersion: process.version, files: walk('') }, null, 2)); return directory;
|
||||
}
|
||||
async function setup(installer, label, expected = 0) {
|
||||
const log = path.join(root, label + '-setup.log');
|
||||
let code = 0, output = '';
|
||||
try { const result = await run(installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + log, '/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=' + port], { windowsHide: true, timeout: 300000, maxBuffer: 1024 * 1024, env }); output = result.stdout + result.stderr; }
|
||||
catch (error) { code = typeof error.code === 'number' ? error.code : -1; output = String(error.stdout ?? '') + String(error.stderr ?? ''); }
|
||||
fs.writeFileSync(path.join(root, label + '-process.txt'), output);
|
||||
if (expected === 0) assert.equal(code, 0, 'Actual installer failed; inspect ' + log); else assert.notEqual(code, 0, 'Actual installer unexpectedly accepted the rejected condition.');
|
||||
const logText = fs.readFileSync(log, 'utf8'); assert.match(logText, /AWBPROGRESS /, 'Actual installer must receive original stage output.');
|
||||
const records = fs.readdirSync(path.join(installRoot, '.installation')).filter(name => /^progress-.*\.json$/.test(name)).map(name => JSON.parse(fs.readFileSync(path.join(installRoot, '.installation', name)))).sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
|
||||
assert.equal(records[0].state, expected === 0 ? 'completed' : 'failed');
|
||||
if (expected === 0) { assert.ok(records[0].history.some(row => row.stage === 'verify-candidate' && row.scope === 'full-manifest' && row.counts.completedFiles === row.counts.totalFiles)); assert.match(logText, /AWBFILES \d+\/\d+/); }
|
||||
return { code, log, sha256: hash(fs.readFileSync(log)) };
|
||||
}
|
||||
async function launchElectron() {
|
||||
const current = JSON.parse(fs.readFileSync(path.join(installRoot, 'current.json'))), directory = path.join(installRoot, 'versions', current.active.directory);
|
||||
const client = await _electron.launch({ executablePath: path.join(directory, 'desktop/AgentWorkbench.exe'), args: ['--app-root', directory, '--data-root', dataRoot, '--port', String(port), '--hidden-window'], cwd: directory, env, timeout: 60000 });
|
||||
const page = await client.firstWindow(); await page.locator('.connection.connected').waitFor({ timeout: 30000 }); return client;
|
||||
}
|
||||
function ownedManager(candidateRoot) { return new InstallationManager({ installRoot, dataRoot, candidateRoot, port }); }
|
||||
try {
|
||||
const a = payload('owned-a-' + version), b = payload('owned-b-' + version), fault = payload('owned-fault-' + version);
|
||||
stage = 'compile isolated actual installers';
|
||||
const firstSetup = buildWindowsInstaller({ root: appRoot, portableRoot: a, outputRoot: root, qaFixture: { appId } });
|
||||
const secondSetup = buildWindowsInstaller({ root: appRoot, portableRoot: b, outputRoot: root, qaFixture: { appId } });
|
||||
const faultSetup = buildWindowsInstaller({ root: appRoot, portableRoot: fault, outputRoot: root, qaFixture: { appId, fault: 'corrupt-installed-candidate' } });
|
||||
stage = 'actual clean user-level installation'; const installed = await setup(firstSetup, 'clean');
|
||||
const activeA = path.join(installRoot, 'versions', path.basename(a)); controller = new HostController({ appRoot: activeA, dataRoot, port, nodePath: process.execPath });
|
||||
original = (await controller.start()).identity; application = await launchElectron();
|
||||
assert.equal((await controller.status()).desktopWindows.count, 1); record(stage, { installer: firstSetup, ...installed, hostPid: original.pid, electronPid: await application.evaluate(() => process.pid) });
|
||||
stage = 'actual installer rejects an open attested desktop window'; const windowRejection = await setup(secondSetup, 'window-block', 1);
|
||||
assert.equal(ownedManager(null).current().active.directory, path.basename(a)); assert.equal((await controller.connect()).identity.pid, original.pid); record(stage, windowRejection);
|
||||
await application.close(); application = null; await until(async () => (await controller.status()).desktopWindows.count === 0);
|
||||
const key = 'owned-install-credential-' + randomUUID(); let authenticated = 0, hold = false;
|
||||
ownedModel = http.createServer(async (request, response) => {
|
||||
const chunks = []; for await (const bytes of request) chunks.push(bytes);
|
||||
assert.equal(request.headers.authorization, 'Bearer ' + key); authenticated++;
|
||||
if (hold) { heldRequest = true; await new Promise(resolve => { releaseRequest = resolve; request.on('close', resolve); }); }
|
||||
response.writeHead(200, { 'Content-Type': 'application/json' }); response.end(JSON.stringify({ choices: [{ message: { role: 'assistant', content: 'OK' }, finish_reason: 'stop' }], usage: { prompt_tokens: 4, completion_tokens: 1, total_tokens: 5 } }));
|
||||
}); await new Promise(resolve => ownedModel.listen(0, '127.0.0.1', resolve));
|
||||
const connection = await controller.api('/model-center/connections', { method: 'POST', input: { name: 'Owned desktop install credential', model: 'owned', baseUrl: 'http://127.0.0.1:' + ownedModel.address().port + '/v1', apiKey: key, persistKey: true } });
|
||||
const connectionId = connection.id ?? connection.connection?.id ?? connection.center?.connections.at(-1).id;
|
||||
assert.ok(connectionId); await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 1);
|
||||
stage = 'actual update rejects a pending owned model request'; hold = true;
|
||||
// Manifest verification is synchronous and can occupy this fixture's event
|
||||
// loop. Keep the explicitly held local response pending across that work;
|
||||
// this is the QA client's deadline, not a product/model timeout override.
|
||||
const pendingStarted = Date.now();
|
||||
const pending = controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId }, timeoutMs: 300000 }); pending.catch(() => {});
|
||||
await until(() => heldRequest); await assert.rejects(ownedManager(null).preflight(), /任务|请求/);
|
||||
assert.equal((await controller.connect()).identity.pid, original.pid);
|
||||
assert.equal(authenticated, 2, 'Exactly the initial and explicitly held owned requests; no retry.');
|
||||
record(stage, { fixture: 'Actual owned HTTP response held until full manifest/preflight and original PID verification settle. No configured-model call or product timeout change.', elapsedMs: Date.now() - pendingStarted });
|
||||
releaseRequest?.(); hold = false; assert.equal((await pending).ok, true);
|
||||
stage = 'actual installer rejects a persistent original task approval';
|
||||
const projectRoot = path.join(root, 'approval-project'); fs.mkdirSync(projectRoot); fs.writeFileSync(path.join(projectRoot, 'README.md'), '# Owned installer approval project\n');
|
||||
const project = await controller.api('/projects', { method: 'POST', input: { root: projectRoot } }), session = await controller.api('/sessions', { method: 'POST', input: { projectId: project.id } });
|
||||
await controller.api('/sessions/' + session.id + '/messages', { method: 'POST', input: { content: 'Read this owned project and prepare the offline demonstration proposal.' } });
|
||||
await until(async () => (await controller.api('/sessions/' + session.id)).approvals.some(value => value.status === 'pending'));
|
||||
const approval = (await controller.api('/sessions/' + session.id)).approvals.find(value => value.status === 'pending');
|
||||
const approvalRejection = await setup(secondSetup, 'approval-block', 1); assert.equal((await controller.api('/sessions/' + session.id)).approvals.find(value => value.status === 'pending').id, approval.id);
|
||||
await controller.api('/sessions/' + session.id + '/stop', { method: 'POST', input: {} }); record(stage, { ...approvalRejection, approvalId: approval.id });
|
||||
stage = 'actual manifest fault installer preserves original pointer, PID and all data'; const snapshot = snapshotPersistentData(dataRoot), pointer = fs.readFileSync(path.join(installRoot, 'current.json'));
|
||||
const faultResult = await setup(faultSetup, 'candidate-fault', 1);
|
||||
assert.deepEqual(fs.readFileSync(path.join(installRoot, 'current.json')), pointer); assert.deepEqual(snapshotPersistentData(dataRoot), snapshot); assert.equal((await controller.connect()).identity.pid, original.pid); assert.ok(fs.existsSync(path.join(installRoot, 'AgentWorkbench.exe'))); record(stage, faultResult);
|
||||
stage = 'actual pointer-published fault rolls original host and pointer back';
|
||||
const originalBootstrap = fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe'));
|
||||
const faultCandidate = path.join(installRoot, 'versions', 'owned-pointer-fault'); fs.cpSync(b, faultCandidate, { recursive: true });
|
||||
await assert.rejects(ownedManager(faultCandidate).activate({ afterPointer: () => { throw Error('owned-post-pointer-fault'); } }), /owned-post-pointer-fault/);
|
||||
assert.deepEqual(fs.readFileSync(path.join(installRoot, 'current.json')), pointer); assert.deepEqual(snapshotPersistentData(dataRoot), snapshot); assert.equal((await controller.connect()).identity.pid, original.pid); record(stage, { fixture: 'Explicit in-process afterPointer error with real retained host; original pointer bytes, database rows and artifact bytes checked.' });
|
||||
assert.deepEqual(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe')), originalBootstrap);
|
||||
stage = 'actual update retains original PID, instance, DPAPI ciphertext and every persistent byte';
|
||||
const updated = await setup(secondSetup, 'update'); const activeB = path.join(installRoot, 'versions', path.basename(b));
|
||||
controller = new HostController({ appRoot: activeB, dataRoot, port, nodePath: process.execPath }); const after = (await controller.connect()).identity;
|
||||
assert.equal(after.pid, original.pid); assert.equal(after.instanceId, original.instanceId); assert.deepEqual(snapshotPersistentData(dataRoot), snapshot); record(stage, { ...updated, hostPid: after.pid, instanceId: after.instanceId, data: snapshot });
|
||||
assert.notDeepEqual(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe')), originalBootstrap);
|
||||
assert.deepEqual(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe')), fs.readFileSync(path.join(activeB, 'AgentWorkbench.exe')));
|
||||
stage = 'installed native bootstrap verifies and opens the registered release';
|
||||
const nativeLauncher = spawn(path.join(installRoot, 'AgentWorkbench.exe'), ['--hidden-window'], { windowsHide: true, stdio: 'ignore', env });
|
||||
await new Promise((resolve, reject) => { nativeLauncher.once('error', reject); nativeLauncher.once('exit', code => code === 0 ? resolve() : reject(Error('Owned native bootstrap failed (' + code + ')'))); });
|
||||
await until(async () => (await controller.status()).desktopWindows.count === 1);
|
||||
const nativeWindow = (await controller.status()).desktopWindows.entries[0], nativeProcess = observeWindowsProcess(nativeWindow.pid); assert.ok(nativeProcess); assert.equal((await controller.connect()).identity.pid, original.pid);
|
||||
// A controlled WM_CLOSE to the owned main window is delegated to Electron by
|
||||
// a separate automation connection below; no unknown process is terminated.
|
||||
const child = spawn(path.join(activeB, 'desktop/AgentWorkbench.exe'), ['--app-root', activeB, '--data-root', dataRoot, '--port', String(port), '--hidden-window'], { cwd: activeB, env, windowsHide: true, stdio: 'ignore' });
|
||||
await new Promise(resolve => child.once('exit', resolve)); assert.equal((await controller.status()).desktopWindows.count, 1);
|
||||
record(stage, { electronPid: nativeWindow.pid, hostPid: original.pid, repeatLaunchReusedWindow: true });
|
||||
// The native process has no debugger. Its owned renderer closes itself through
|
||||
// the product's browser window action using a localhost, attested stop below.
|
||||
stage = 'native desktop remains registered before explicit owned cleanup';
|
||||
// Closing only this exactly observed test Electron tree after the launch check
|
||||
// models a desktop crash. Host/persistent results remain; stale registration is
|
||||
// removed through the normal identity check, without signalling a reused PID.
|
||||
const observed = observeWindowsProcess(nativeWindow.pid); assert.equal(observed.createdAt, nativeWindow.createdAt);
|
||||
await run('taskkill.exe', ['/PID', String(observed.pid), '/T', '/F'], { windowsHide: true, timeout: 15000, env });
|
||||
await until(async () => (await controller.status()).desktopWindows.count === 0); assert.equal((await controller.connect()).identity.pid, original.pid);
|
||||
record(stage, { fixture: 'Explicit owned Electron crash after exact actual PID/creation check; independent host retained.' });
|
||||
stage = 'real host restart restores the owned saved credential and actual HTTP authentication';
|
||||
const beforeRestart = snapshotPersistentData(dataRoot); await controller.stop(); const restarted = (await controller.start()).identity;
|
||||
assert.notEqual(restarted.pid, original.pid); assert.deepEqual(snapshotPersistentData(dataRoot), beforeRestart);
|
||||
await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 3); record(stage, { originalPid: original.pid, restartedPid: restarted.pid, authenticatedRequests: authenticated });
|
||||
if (version === '1.24.0') {
|
||||
stage = 'actual installed current results and saved HTML user paths';
|
||||
const pointer = JSON.parse(fs.readFileSync(path.join(installRoot, 'current.json')));
|
||||
const installedRoot = fs.realpathSync.native(path.join(installRoot, 'versions', pointer.active.directory)), proofs = [];
|
||||
for (const script of ['verify-file-results-ui.mjs', 'verify-local-files.mjs']) {
|
||||
const output = await run(process.execPath, [path.join(appRoot, 'scripts', script)], { cwd: appRoot,
|
||||
env: { ...env, AGENT_WORKBENCH_QA_APP_ROOT: installedRoot }, windowsHide: true, timeout: 180000, maxBuffer: 1024 * 1024 });
|
||||
const log = path.join(root, 'installed-' + script + '.log'); fs.writeFileSync(log, output.stdout + output.stderr);
|
||||
const summary = JSON.parse(output.stdout.trim().split(/\r?\n/).findLast(line => line.startsWith('{"success":')));
|
||||
const proofRoot = summary.directory ?? summary.root; assert.ok(proofRoot && path.resolve(proofRoot).startsWith(path.join(appRoot, '.qa') + path.sep));
|
||||
const proof = JSON.parse(fs.readFileSync(path.join(proofRoot, 'result.json'), 'utf8'));
|
||||
assert.equal(proof.success, true); assert.equal(proof.version, version); assert.equal(fs.realpathSync.native(proof.appRoot), installedRoot);
|
||||
assert.equal(proof.checks.length, script === 'verify-file-results-ui.mjs' ? 16 : 9); assert.deepEqual(proof.errors, []);
|
||||
assert.equal(proof.realModelRequests, 0); proofs.push({ script, proof, log, sha256: hash(fs.readFileSync(log)) });
|
||||
}
|
||||
installedUI = { success: true, version, installedRoot, packagedSource, proofs, realModelRequests: 0 };
|
||||
fs.writeFileSync('.qa/existing-results-installed-ui.json', JSON.stringify(installedUI, null, 2)); record(stage, installedUI);
|
||||
}
|
||||
stage = 'actual uninstall closes only the idle owned host and preserves user data';
|
||||
const uninstallSnapshot = snapshotPersistentData(dataRoot), uninstallLog = path.join(root, 'uninstall.log');
|
||||
await run(path.join(installRoot, 'unins000.exe'), ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + uninstallLog], { windowsHide: true, timeout: 180000, env });
|
||||
assert.equal(observeWindowsProcess(restarted.pid), null); assert.deepEqual(snapshotPersistentData(dataRoot), uninstallSnapshot); assert.equal(fs.existsSync(path.join(installRoot, 'AgentWorkbench.exe')), false); assert.equal(fs.existsSync(path.join(installRoot, 'current.json')), false);
|
||||
record(stage, { log: uninstallLog, originalDataRoot: dataRoot, data: uninstallSnapshot });
|
||||
report = { success: true, version, root, installRoot, dataRoot, port, appId, packagedSource, results, installedUI, realModelRequests: 0, scope: 'Actual isolated user-level Windows installers and shipped Electron/Node runtimes; own credentials and HTTP fixture only. QA appId, corruption, pointer-fault and crash fixtures explicitly recorded.' };
|
||||
} catch (error) { report = { success: false, version, root, installRoot, dataRoot, port, stage, error: error.stack, results, realModelRequests: 0 }; throw error; }
|
||||
finally {
|
||||
releaseRequest?.(); await application?.close().catch(() => {});
|
||||
if (controller) { try { const status = await controller.status(); if (!status.desktopWindows.count) await controller.stop(); } catch {} }
|
||||
if (ownedModel) { ownedModel.closeAllConnections(); await new Promise(resolve => ownedModel.close(resolve)); }
|
||||
fs.writeFileSync(path.join(root, 'result.json'), JSON.stringify(report, null, 2)); fs.writeFileSync('.qa/desktop-install-location.json', JSON.stringify({ root, result: path.join(root, 'result.json') })); console.log('EVIDENCE ' + root);
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"operation": "sky.list_apps",
|
||||
"result": "Computer Use was stopped by the user with the physical Escape key. No further Computer Use calls or formal-window inputs this turn.",
|
||||
"formalNativeWindowReview": "not_performed",
|
||||
"fallbackUIInput": false
|
||||
}
|
||||
+1101
File diff suppressed because it is too large
Load Diff
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
> local-agent-workbench@1.24.0 build
|
||||
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
|
||||
|
||||
[36mvite v7.3.7 [32mbuilding client environment for production...[36m[39m
|
||||
transforming...
|
||||
[32m✓[39m 1752 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
[2mdist-client/[22m[32mindex.html [39m[1m[2m 0.60 kB[22m[1m[22m[2m │ gzip: 0.41 kB[22m
|
||||
[2mdist-client/[22m[32m.vite/manifest.json [39m[1m[2m 0.65 kB[22m[1m[22m[2m │ gzip: 0.24 kB[22m
|
||||
[2mdist-client/[22m[32mmobile.html [39m[1m[2m 0.84 kB[22m[1m[22m[2m │ gzip: 0.47 kB[22m
|
||||
[2mdist-client/[22m[35massets/mobile-joLHctQw.css [39m[1m[2m 12.39 kB[22m[1m[22m[2m │ gzip: 3.22 kB[22m
|
||||
[2mdist-client/[22m[35massets/desktop-BYZSVsL1.css [39m[1m[2m165.03 kB[22m[1m[22m[2m │ gzip: 31.29 kB[22m
|
||||
[2mdist-client/[22m[36massets/mobile-4zqcwTeD.js [39m[1m[2m 27.19 kB[22m[1m[22m[2m │ gzip: 9.34 kB[22m
|
||||
[2mdist-client/[22m[36massets/approval-presentation-Chut4EFA.js [39m[1m[2m226.80 kB[22m[1m[22m[2m │ gzip: 71.65 kB[22m
|
||||
[2mdist-client/[22m[36massets/desktop-BjkP8SXr.js [39m[1m[2m391.31 kB[22m[1m[22m[2m │ gzip: 110.74 kB[22m
|
||||
[32m✓ built in 1.27s[39m
|
||||
Mobile shell built: 3 allowed assets; API and project data are never cached.
|
||||
Server bundle built.
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"success": false,
|
||||
"version": "1.24.0",
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37",
|
||||
"installRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\\program",
|
||||
"dataRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\\user-data",
|
||||
"port": 63015,
|
||||
"stage": "actual update rejects a pending owned model request",
|
||||
"error": "TimeoutError: The operation was aborted due to timeout",
|
||||
"results": [
|
||||
{
|
||||
"name": "actual clean user-level installation",
|
||||
"passed": true,
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\\owned-a-1.24.0-Setup.exe",
|
||||
"bytes": 212870108,
|
||||
"sha256": "4f281b91dee48a1df633f543e20cadf065f356728cb8eec2e29ffdbdabde2d20",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-37001615-039b-46f4-a4a6-56b5b0137959\\installer.iss",
|
||||
"version": "1.24.0",
|
||||
"candidateDirectory": "owned-a-1.24.0",
|
||||
"qaFixture": {
|
||||
"appId": "e236983c-31eb-494c-aeb2-fedfa32e4e37"
|
||||
}
|
||||
},
|
||||
"code": 0,
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\\clean-setup.log",
|
||||
"sha256": "fc919653826f0b65a00d066ce299af29ca7e399aaf27b1188a5a85798950eb2e",
|
||||
"hostPid": 52712,
|
||||
"electronPid": 14000
|
||||
},
|
||||
{
|
||||
"name": "actual installer rejects an open attested desktop window",
|
||||
"passed": true,
|
||||
"code": 7,
|
||||
"log": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\\window-block-setup.log",
|
||||
"sha256": "be5c520130c95d6d5564076695b8b00cdbc4e660f8f05a6ff37e44807d02a0d3"
|
||||
},
|
||||
{
|
||||
"name": "actual update rejects a pending owned model request",
|
||||
"passed": true,
|
||||
"fixture": "Actual pending owned HTTP request; manager preflight rejects before the product 20-second request timeout."
|
||||
}
|
||||
],
|
||||
"realModelRequests": 0
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
PASS offline-install
|
||||
PASS build
|
||||
{"success":false,"stage":"source and compiled bytes","root":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\packaged-build-a12ded21-c1fe-4233-9b91-28bb9661a782","output":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\packaged-build-a12ded21-c1fe-4233-9b91-28bb9661a782\\result.json","inputCount":513,"compiledFiles":22,"mismatches":1,"error":"AssertionError [ERR_ASSERTION]: Source ZIP rebuild differs from portable compilation.\n+ actual - expected\n\n+ [\n+ {\n+ actual: {\n+ bytes: 76554,\n+ sha256: '4ad635c6547f07814b265e3afb8c5a6adaa111a4b1178e201b39f3b463072196'\n+ },\n+ expected: {\n+ bytes: 76499,\n+ sha256: '4562baecac6289e5b4680c44b2e97e9e27a6b5c3de3700835fcac45c70131593'\n+ },\n+ path: 'dist-server/install-manager.mjs'\n+ }\n+ ]\n- []\n\n at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-packaged-build.mjs:85:10\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
PASS offline-install
|
||||
PASS build
|
||||
{"success":true,"root":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\packaged-build-b8aa45d2-1a1e-47b4-96f0-d76b2736c9f2","output":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\packaged-build-b8aa45d2-1a1e-47b4-96f0-d76b2736c9f2\\result.json","inputCount":514,"compiledFiles":22,"mismatches":0}
|
||||
+1813
File diff suppressed because it is too large
Load Diff
+56938
File diff suppressed because it is too large
Load Diff
+17146
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"success":true,"mode":"install","evidenceRoot":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\original-purge-release-f-20261102-c","counts":{"projects":42,"sessions":58,"records":4953,"events":10329,"artifacts":2850}}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
> local-agent-workbench@1.24.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...
|
||||
✓ 1752 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
dist-client/index.html 0.60 kB │ gzip: 0.41 kB
|
||||
dist-client/.vite/manifest.json 0.65 kB │ gzip: 0.24 kB
|
||||
dist-client/mobile.html 0.84 kB │ gzip: 0.47 kB
|
||||
dist-client/assets/mobile-joLHctQw.css 12.39 kB │ gzip: 3.22 kB
|
||||
dist-client/assets/desktop-BYZSVsL1.css 165.03 kB │ gzip: 31.29 kB
|
||||
dist-client/assets/mobile-4zqcwTeD.js 27.19 kB │ gzip: 9.34 kB
|
||||
dist-client/assets/approval-presentation-Chut4EFA.js 226.80 kB │ gzip: 71.65 kB
|
||||
dist-client/assets/desktop-BjkP8SXr.js 391.31 kB │ gzip: 110.74 kB
|
||||
✓ built in 1.24s
|
||||
Mobile shell built: 3 allowed assets; API and project data are never cached.
|
||||
Server bundle built.
|
||||
+95
@@ -0,0 +1,95 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
const sha = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
|
||||
const candidateRoot = path.resolve('.qa/original-purge-release-f-20261102-c');
|
||||
const release = read(path.join(candidateRoot, 'release.json'));
|
||||
const final = read(path.join(candidateRoot, 'final.json'));
|
||||
assert.equal(final.success, true); assert.equal(final.realModelRequests, 0);
|
||||
assert.equal(final.nativeWindowReview.status, 'not_performed'); assert.equal(final.desktopWindows, 0);
|
||||
const preflight = read(path.join(candidateRoot, 'preflight.json'));
|
||||
assert.equal(preflight.success, true);
|
||||
const portable = read('.qa/release-validation.json'); assert.equal(portable.success, true); assert.equal(portable.appRoot, release.portableRoot);
|
||||
const archives = read('.qa/archives-validation.json'); assert.equal(archives.success, true); assert.equal(archives.archives[0].sha256, release.portable.sha256);
|
||||
const installationFile = read('.qa/desktop-install-location.json').result, installation = read(installationFile);
|
||||
assert.equal(installation.success, true); assert.equal(installation.packagedSource, fs.realpathSync.native(release.portableRoot));
|
||||
assert.equal(installation.results.length, 12); assert.ok(installation.results.every(result => result.passed));
|
||||
const rebuildLocation = JSON.parse(fs.readFileSync(path.join(candidateRoot, 'rebuild-output.txt'), 'utf8').trim().split('\n').at(-1));
|
||||
const rebuild = read(rebuildLocation.output); assert.equal(rebuild.success, true); assert.equal(rebuild.compiled.length, 22); assert.deepEqual(rebuild.mismatches, []);
|
||||
const destination = path.resolve('docs/original-purge-release-f-evidence');
|
||||
assert.equal(fs.existsSync(destination), false, 'Never replace a sealed evidence directory.');
|
||||
fs.mkdirSync(path.join(destination, 'files'), { recursive: true });
|
||||
const entries = [], index = new Map();
|
||||
function add(file, name = file.replaceAll('\\', '/')) {
|
||||
const raw = fs.readFileSync(file), digest = sha(raw);
|
||||
if (index.has(name)) { assert.equal(index.get(name).sha256, digest); return index.get(name).file; }
|
||||
const ext = path.extname(file).toLowerCase().replace(/[^a-z0-9.]/g, '') || '.bin';
|
||||
const relative = 'files/' + digest + ext;
|
||||
if (!fs.existsSync(path.join(destination, relative))) fs.writeFileSync(path.join(destination, relative), raw, { flag: 'wx' });
|
||||
const entry = { name, file: relative, bytes: raw.length, sha256: digest }; entries.push(entry); index.set(name, entry); return relative;
|
||||
}
|
||||
const selected = {};
|
||||
for (const name of ['release.json', 'preflight.json', 'before.json', 'install.json', 'final.json', 'installer-exit.json', 'installer.log', 'installer-process.txt',
|
||||
'archives-output.txt', 'portable-output.txt', 'installation-output.txt', 'rebuild-output.txt', 'formal-install-output.txt', 'efficiency-audit.json', 'efficiency-audit-output.txt',
|
||||
'efficiency-audit-v2.json', 'efficiency-audit-v2-output.txt', 'efficiency-audit-v3.json', 'efficiency-audit-v3-output.txt']) {
|
||||
selected[name] = add(path.join(candidateRoot, name), 'final/' + name);
|
||||
}
|
||||
for (const file of ['.qa/original-purge-release-f.mjs', '.qa/desktop-f-state.mjs', '.qa/live-e-efficiency-audit.mjs',
|
||||
'.qa/seal-original-purge-release-f.mjs', 'scripts/verify-packaged-build.mjs', 'scripts/verify-desktop-install.mjs',
|
||||
'scripts/verify-original-purge-release-evidence.mjs']) add(file, 'drivers/' + path.basename(file));
|
||||
selected.portable = add('.qa/release-validation.json', 'final/portable-result.json');
|
||||
selected.archives = add('.qa/archives-validation.json', 'final/archives-result.json');
|
||||
selected.installation = add(installationFile, 'final/installation-result.json');
|
||||
selected.rebuild = add(rebuildLocation.output, 'final/source-rebuild-result.json');
|
||||
selected.portableManifest = add(path.join(release.portableRoot, 'MANIFEST.json'), 'final/portable-manifest.json');
|
||||
for (const log of rebuild.logs) add(log.file, 'final/rebuild-' + log.name + '.log');
|
||||
for (const entry of fs.readdirSync(installation.root, { withFileTypes: true })) {
|
||||
if (entry.isFile() && /\.(log|txt|iss)$/.test(entry.name)) add(path.join(installation.root, entry.name), 'installation/' + entry.name);
|
||||
}
|
||||
const qaAmendment = { ...preflight.qaAmendment, actualSha256: sha(fs.readFileSync('scripts/verify-desktop-install.mjs')) };
|
||||
const failures = [];
|
||||
for (const directory of ['.qa/original-purge-release-f-20261102', '.qa/original-purge-release-f-20261102-b']) {
|
||||
for (const entry of fs.readdirSync(directory, { withFileTypes: true })) {
|
||||
if (entry.isFile() && /\.(json|txt|log|mjs)$/.test(entry.name) && !entry.name.startsWith('previous-')) {
|
||||
const file = add(path.join(directory, entry.name), 'development/' + path.basename(directory) + '/' + entry.name);
|
||||
failures.push({ original: path.join(directory, entry.name), file });
|
||||
}
|
||||
}
|
||||
}
|
||||
const oldInstall = read('.qa/original-purge-release-f-20261102-b/candidate-a-installation-location.json');
|
||||
add(oldInstall.result, 'development/first-installation-result.json');
|
||||
for (const entry of fs.readdirSync(oldInstall.root, { withFileTypes: true })) {
|
||||
if (entry.isFile() && /\.(log|txt)$/.test(entry.name)) add(path.join(oldInstall.root, entry.name), 'development/first-installation/' + entry.name);
|
||||
}
|
||||
const negativeLocation = JSON.parse(fs.readFileSync('.qa/original-purge-release-f-20261102-b/reusable-negative-output.txt', 'utf8').trim().split('\n').at(-1));
|
||||
const negative = read(negativeLocation.output); assert.equal(negative.success, false); assert.equal(negative.mismatches.length, 1);
|
||||
selected.negativeRebuild = add(negativeLocation.output, 'development/rejected-original-source-rebuild.json');
|
||||
for (const log of negative.logs) add(log.file, 'development/rejected-rebuild-' + log.name + '.log');
|
||||
const physical = { operation: 'sky.list_apps', result: 'Computer Use was stopped by the user with the physical Escape key. No further Computer Use calls or formal-window inputs this turn.',
|
||||
formalNativeWindowReview: 'not_performed', fallbackUIInput: false };
|
||||
const physicalBytes = Buffer.from(JSON.stringify(physical, null, 2) + '\n');
|
||||
const physicalFile = path.join(candidateRoot, 'native-stop.json'); fs.writeFileSync(physicalFile, physicalBytes, { flag: 'wx' });
|
||||
selected.nativeStop = add(physicalFile, 'final/native-stop.json');
|
||||
const unique = [...new Set(entries.map(entry => entry.file))];
|
||||
const manifest = { schemaVersion: 1, slice: 'original-purge-local-release-f', createdAt: new Date().toISOString(), version: final.version,
|
||||
sourceCommit: release.documentation.sourceCommit, candidate: path.basename(release.portableRoot), realModelRequests: 0,
|
||||
dManifest: 'docs/original-purge-production-evidence/manifest.json', dManifestSha256: sha(fs.readFileSync('docs/original-purge-production-evidence/manifest.json')),
|
||||
eManifest: 'docs/live-original-purge-e-evidence/manifest.json', eManifestSha256: sha(fs.readFileSync('docs/live-original-purge-e-evidence/manifest.json')),
|
||||
lineage: preflight.build, sourceInputs: preflight.source, qaAmendment, selected, failures, count: unique.length,
|
||||
bytes: unique.reduce((sum, file) => sum + fs.statSync(path.join(destination, file)).size, 0), entries,
|
||||
preserved: final.retained, counts: final.counts, nativeWindowReview: final.nativeWindowReview,
|
||||
scope: 'Actual immutable local package and retained-PID installation, exact independent source-ZIP rebuild, full archive checks, isolated installer lifecycle and original failures. Original D/E manifests unchanged. Formal native-window visual review was stopped, is not passed. No real model calls or credential extraction.' };
|
||||
fs.writeFileSync(path.join(destination, 'manifest.json'), JSON.stringify(manifest, null, 2) + '\n', { flag: 'wx' });
|
||||
const identity = { schemaVersion: 1, version: final.version, delivery: 'immutable-local-Windows-repair-installation', sourceCommit: manifest.sourceCommit,
|
||||
candidate: manifest.candidate, installedRoot: final.candidate, manifestSha256: final.identity.manifestSha256, runtimeIdentity: final.identity.identitySha256,
|
||||
pid: final.pid, hasKey: final.hasKey, realModelRequests: 0, retained: final.retained, counts: final.counts,
|
||||
portable: release.portable, source: release.source, evidenceArchive: release.evidence, installer: release.installer,
|
||||
sourceRebuild: { success: true, files: rebuild.compiled.length, inputCount: rebuild.inputCount, sourceZipSha256: rebuild.sourceZip.sha256 },
|
||||
archivesVerified: archives.archives.map(a => ({ kind: a.kind, sha256: a.sha256, files: a.files })),
|
||||
isolatedInstallerGroups: installation.results.length, operationId: final.operation.id, pointerRevision: final.pointer.revision,
|
||||
formalNativeWindowReview: final.nativeWindowReview, evidence: { manifest: 'docs/original-purge-release-f-evidence/manifest.json',
|
||||
sha256: sha(fs.readFileSync(path.join(destination, 'manifest.json'))), files: manifest.count, bytes: manifest.bytes }, finishedAt: new Date().toISOString() };
|
||||
fs.writeFileSync('docs/original-purge-release-identity.json', JSON.stringify(identity, null, 2) + '\n', { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, manifest: identity.evidence, candidate: identity.candidate, counts: identity.counts }));
|
||||
+187
@@ -0,0 +1,187 @@
|
||||
2026-11-02 23:27:02.123 Log opened. (Time zone: UTC+08:00)
|
||||
2026-11-02 23:27:02.123 Setup version: Inno Setup version 6.3.1
|
||||
2026-11-02 23:27:02.123 Original Setup EXE: D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\owned-b-1.24.0-Setup.exe
|
||||
2026-11-02 23:27:02.123 Setup command line: /SL5="$5AE0BB2,211626758,721408,D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\owned-b-1.24.0-Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /LOG=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\window-block-setup.log /DIR=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\program /DATA_ROOT=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\user-data /PORT=63015
|
||||
2026-11-02 23:27:02.125 Windows version: 10.0.26200
|
||||
2026-11-02 23:27:02.125 Windows architecture: x64 (64-bit)
|
||||
2026-11-02 23:27:02.125 Machine types supported by system: x86 x64
|
||||
2026-11-02 23:27:02.125 User privileges: None
|
||||
2026-11-02 23:27:02.150 Administrative install mode: No
|
||||
2026-11-02 23:27:02.150 Install mode root key: HKEY_CURRENT_USER
|
||||
2026-11-02 23:27:02.150 64-bit install mode: Yes
|
||||
2026-11-02 23:27:02.151 Created temporary directory: C:\Users\wangy\AppData\Local\Temp\is-6EFBV.tmp
|
||||
2026-11-02 23:27:02.231 Extracting temporary file: C:\Users\wangy\AppData\Local\Temp\is-6EFBV.tmp\awb-install-node.exe
|
||||
2026-11-02 23:27:03.792 Extracting temporary file: C:\Users\wangy\AppData\Local\Temp\is-6EFBV.tmp\awb-install-manager.mjs
|
||||
2026-11-02 23:27:06.217 AWBPROGRESS 准备安装核对
|
||||
2026-11-02 23:27:06.217 AWBFILES -
|
||||
2026-11-02 23:27:06.280 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:27:06.280 AWBFILES -
|
||||
2026-11-02 23:27:06.342 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:27:06.342 AWBFILES -
|
||||
2026-11-02 23:27:06.342 AWBPROGRESS 核对原活动版本 · 0/10925 文件 · 0/655558284 字节
|
||||
2026-11-02 23:27:06.342 AWBFILES 0/10925
|
||||
2026-11-02 23:27:06.905 AWBPROGRESS 核对原活动版本 · 136/10925 文件 · 378894377/655558284 字节 · dist-client/assets/desktop-BjkP8SXr.js
|
||||
2026-11-02 23:27:06.905 AWBFILES 136/10925
|
||||
2026-11-02 23:27:07.536 AWBPROGRESS 核对原活动版本 · 450/10925 文件 · 484698633/655558284 字节 · runtime/node.exe
|
||||
2026-11-02 23:27:07.536 AWBFILES 450/10925
|
||||
2026-11-02 23:27:08.040 AWBPROGRESS 核对原活动版本 · 687/10925 文件 · 489924149/655558284 字节 · runtime/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js
|
||||
2026-11-02 23:27:08.040 AWBFILES 687/10925
|
||||
2026-11-02 23:27:08.606 AWBPROGRESS 核对原活动版本 · 926/10925 文件 · 491283314/655558284 字节 · runtime/node_modules/@electron/asar/lib/filesystem.d.ts
|
||||
2026-11-02 23:27:08.606 AWBFILES 926/10925
|
||||
2026-11-02 23:27:09.170 AWBPROGRESS 核对原活动版本 · 1192/10925 文件 · 503456637/655558284 字节 · runtime/node_modules/@modelcontextprotocol/server/dist/mcp-BumlNux0.cjs.map
|
||||
2026-11-02 23:27:09.170 AWBFILES 1192/10925
|
||||
2026-11-02 23:27:09.675 AWBPROGRESS 核对原活动版本 · 1466/10925 文件 · 507287877/655558284 字节 · runtime/node_modules/@scalar/openapi-types/3.0/request-body.d.ts
|
||||
2026-11-02 23:27:09.675 AWBFILES 1466/10925
|
||||
2026-11-02 23:27:10.241 AWBPROGRESS 核对原活动版本 · 1734/10925 文件 · 518533284/655558284 字节 · runtime/node_modules/abort-controller/LICENSE
|
||||
2026-11-02 23:27:10.241 AWBFILES 1734/10925
|
||||
2026-11-02 23:27:10.807 AWBPROGRESS 核对原活动版本 · 2005/10925 文件 · 519255300/655558284 字节 · runtime/node_modules/ajv/dist/vocabularies/format/format.js
|
||||
2026-11-02 23:27:10.807 AWBFILES 2005/10925
|
||||
2026-11-02 23:27:11.369 AWBPROGRESS 核对原活动版本 · 2276/10925 文件 · 519790006/655558284 字节 · runtime/node_modules/brace-expansion/dist/commonjs/index.js
|
||||
2026-11-02 23:27:11.369 AWBFILES 2276/10925
|
||||
2026-11-02 23:27:11.868 AWBPROGRESS 核对原活动版本 · 2572/10925 文件 · 521217538/655558284 字节 · runtime/node_modules/diff/libcjs/patch/parse.d.ts
|
||||
2026-11-02 23:27:11.868 AWBFILES 2572/10925
|
||||
2026-11-02 23:27:12.432 AWBPROGRESS 核对原活动版本 · 2864/10925 文件 · 523016875/655558284 字节 · runtime/node_modules/evmole/dist/evmole_cli.mjs
|
||||
2026-11-02 23:27:12.432 AWBFILES 2864/10925
|
||||
2026-11-02 23:27:12.933 AWBPROGRESS 核对原活动版本 · 3156/10925 文件 · 525173575/655558284 字节 · runtime/node_modules/ignore/index.js
|
||||
2026-11-02 23:27:12.933 AWBFILES 3156/10925
|
||||
2026-11-02 23:27:13.502 AWBPROGRESS 核对原活动版本 · 3434/10925 文件 · 530732985/655558284 字节 · runtime/node_modules/incur/src/internal/utils.test.ts
|
||||
2026-11-02 23:27:13.502 AWBFILES 3434/10925
|
||||
2026-11-02 23:27:14.004 AWBPROGRESS 核对原活动版本 · 3708/10925 文件 · 536577395/655558284 字节 · runtime/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map
|
||||
2026-11-02 23:27:14.004 AWBFILES 3708/10925
|
||||
2026-11-02 23:27:14.570 AWBPROGRESS 核对原活动版本 · 3982/10925 文件 · 540916764/655558284 字节 · runtime/node_modules/npm/docs/content/commands/npm-docs.md
|
||||
2026-11-02 23:27:14.570 AWBFILES 3982/10925
|
||||
2026-11-02 23:27:15.075 AWBPROGRESS 核对原活动版本 · 4247/10925 文件 · 543192807/655558284 字节 · runtime/node_modules/npm/lib/trust-cmd.js
|
||||
2026-11-02 23:27:15.075 AWBFILES 4247/10925
|
||||
2026-11-02 23:27:15.645 AWBPROGRESS 核对原活动版本 · 4507/10925 文件 · 544948483/655558284 字节 · runtime/node_modules/npm/node_modules/@npmcli/git/lib/is.js
|
||||
2026-11-02 23:27:15.645 AWBFILES 4507/10925
|
||||
2026-11-02 23:27:16.148 AWBPROGRESS 核对原活动版本 · 4746/10925 文件 · 545731851/655558284 字节 · runtime/node_modules/npm/node_modules/bin-links/lib/index.js
|
||||
2026-11-02 23:27:16.148 AWBFILES 4746/10925
|
||||
2026-11-02 23:27:16.713 AWBPROGRESS 核对原活动版本 · 4996/10925 文件 · 547187943/655558284 字节 · runtime/node_modules/npm/node_modules/isexe/dist/esm/index.min.js
|
||||
2026-11-02 23:27:16.713 AWBFILES 4996/10925
|
||||
2026-11-02 23:27:17.217 AWBPROGRESS 核对原活动版本 · 5244/10925 文件 · 549025012/655558284 字节 · runtime/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py
|
||||
2026-11-02 23:27:17.217 AWBFILES 5244/10925
|
||||
2026-11-02 23:27:17.774 AWBPROGRESS 核对原活动版本 · 5491/10925 文件 · 551083428/655558284 字节 · runtime/node_modules/npm/node_modules/semver/functions/compare-loose.js
|
||||
2026-11-02 23:27:17.774 AWBFILES 5491/10925
|
||||
2026-11-02 23:27:18.277 AWBPROGRESS 核对原活动版本 · 5743/10925 文件 · 552299338/655558284 字节 · runtime/node_modules/npm/node_modules/undici/docs/docs/api/WebSocket.md
|
||||
2026-11-02 23:27:18.277 AWBFILES 5743/10925
|
||||
2026-11-02 23:27:18.844 AWBPROGRESS 核对原活动版本 · 5994/10925 文件 · 571879801/655558284 字节 · runtime/node_modules/parse5/dist/tree-adapters/default.d.ts
|
||||
2026-11-02 23:27:18.844 AWBFILES 5994/10925
|
||||
2026-11-02 23:27:19.345 AWBPROGRESS 核对原活动版本 · 6277/10925 文件 · 573276286/655558284 字节 · runtime/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh
|
||||
2026-11-02 23:27:19.345 AWBFILES 6277/10925
|
||||
2026-11-02 23:27:19.905 AWBPROGRESS 核对原活动版本 · 6538/10925 文件 · 580170397/655558284 字节 · runtime/node_modules/playwright-core/lib/server/utils/image_tools/compare.js
|
||||
2026-11-02 23:27:19.905 AWBFILES 6538/10925
|
||||
2026-11-02 23:27:20.411 AWBPROGRESS 核对原活动版本 · 6796/10925 文件 · 598548650/655558284 字节 · runtime/node_modules/plist/dist/parse.browser.d.ts.map
|
||||
2026-11-02 23:27:20.411 AWBFILES 6796/10925
|
||||
2026-11-02 23:27:20.973 AWBPROGRESS 核对原活动版本 · 7073/10925 文件 · 600901141/655558284 字节 · runtime/node_modules/rea-agents/dist/application/binary/BinarySessionExecution.js
|
||||
2026-11-02 23:27:20.973 AWBFILES 7073/10925
|
||||
2026-11-02 23:27:21.476 AWBPROGRESS 核对原活动版本 · 7334/10925 文件 · 602755697/655558284 字节 · runtime/node_modules/rea-agents/dist/artifacts/pyinstaller/PyInstallerMemberStream.js
|
||||
2026-11-02 23:27:21.476 AWBFILES 7334/10925
|
||||
2026-11-02 23:27:22.043 AWBPROGRESS 核对原活动版本 · 7598/10925 文件 · 614273615/655558284 字节 · runtime/node_modules/rea-agents/dist/cli-runtime/lipo-DHDi7Wk6.js
|
||||
2026-11-02 23:27:22.043 AWBFILES 7598/10925
|
||||
2026-11-02 23:27:22.608 AWBPROGRESS 核对原活动版本 · 7870/10925 文件 · 616907216/655558284 字节 · runtime/node_modules/rea-agents/dist/doctorRuntime.js
|
||||
2026-11-02 23:27:22.608 AWBFILES 7870/10925
|
||||
2026-11-02 23:27:23.232 AWBPROGRESS 核对原活动版本 · 8099/10925 文件 · 618692697/655558284 字节 · runtime/node_modules/rea-agents/dist/domain/environmentBundleExport.js
|
||||
2026-11-02 23:27:23.232 AWBFILES 8099/10925
|
||||
2026-11-02 23:27:23.733 AWBPROGRESS 核对原活动版本 · 8347/10925 文件 · 620930615/655558284 字节 · runtime/node_modules/rea-agents/dist/domain/native/nativeByteRead.js
|
||||
2026-11-02 23:27:23.733 AWBFILES 8347/10925
|
||||
2026-11-02 23:27:24.298 AWBPROGRESS 核对原活动版本 · 8612/10925 文件 · 622905217/655558284 字节 · runtime/node_modules/rea-agents/dist/ghidra/GhidraSessionRoot.js
|
||||
2026-11-02 23:27:24.298 AWBFILES 8612/10925
|
||||
2026-11-02 23:27:24.804 AWBPROGRESS 核对原活动版本 · 8876/10925 文件 · 643380083/655558284 字节 · runtime/node_modules/rea-agents/dist/native/AppleObjcClassImportBindings.js
|
||||
2026-11-02 23:27:24.804 AWBFILES 8876/10925
|
||||
2026-11-02 23:27:25.373 AWBPROGRESS 核对原活动版本 · 9142/10925 文件 · 645296772/655558284 字节 · runtime/node_modules/rea-agents/dist/server/registerModelArtifactTools.js
|
||||
2026-11-02 23:27:25.373 AWBFILES 9142/10925
|
||||
2026-11-02 23:27:25.875 AWBPROGRESS 核对原活动版本 · 9423/10925 文件 · 648585446/655558284 字节 · runtime/node_modules/signal-exit/dist/mjs/index.d.ts
|
||||
2026-11-02 23:27:25.875 AWBFILES 9423/10925
|
||||
2026-11-02 23:27:26.441 AWBPROGRESS 核对原活动版本 · 9701/10925 文件 · 649479359/655558284 字节 · runtime/node_modules/stream-json/src/streamers/stream-values.js
|
||||
2026-11-02 23:27:26.441 AWBFILES 9701/10925
|
||||
2026-11-02 23:27:26.945 AWBPROGRESS 核对原活动版本 · 9982/10925 文件 · 650339385/655558284 字节 · runtime/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
|
||||
2026-11-02 23:27:26.945 AWBFILES 9982/10925
|
||||
2026-11-02 23:27:27.511 AWBPROGRESS 核对原活动版本 · 10246/10925 文件 · 651042203/655558284 字节 · runtime/node_modules/zod/src/v3/tests/anyunknown.test.ts
|
||||
2026-11-02 23:27:27.511 AWBFILES 10246/10925
|
||||
2026-11-02 23:27:28.009 AWBPROGRESS 核对原活动版本 · 10491/10925 文件 · 653128431/655558284 字节 · runtime/node_modules/zod/src/v4/mini/tests/apply.test.ts
|
||||
2026-11-02 23:27:28.009 AWBFILES 10491/10925
|
||||
2026-11-02 23:27:28.571 AWBPROGRESS 核对原活动版本 · 10762/10925 文件 · 655023186/655558284 字节 · runtime/node_modules/zod/v4/locales/index.cjs
|
||||
2026-11-02 23:27:28.571 AWBFILES 10762/10925
|
||||
2026-11-02 23:27:28.886 AWBPROGRESS 核对原活动版本 · 10925/10925 文件 · 655558284/655558284 字节 · scripts/upgrade-running.mjs
|
||||
2026-11-02 23:27:28.886 AWBFILES 10925/10925
|
||||
2026-11-02 23:27:28.949 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:27:28.949 AWBFILES -
|
||||
2026-11-02 23:27:29.515 AWBPROGRESS 核对原活动版本 · 475/10926 文件 · runtime/node_modules/@bufbuild/protobuf/dist/commonjs/clone.d.ts
|
||||
2026-11-02 23:27:29.515 AWBFILES 475/10926
|
||||
2026-11-02 23:27:30.020 AWBPROGRESS 核对原活动版本 · 871/10926 文件 · runtime/node_modules/@cfworker/json-schema/dist/esm/ucs2-length.d.ts
|
||||
2026-11-02 23:27:30.020 AWBFILES 871/10926
|
||||
2026-11-02 23:27:30.585 AWBPROGRESS 核对原活动版本 · 1303/10926 文件 · runtime/node_modules/@msgpack/msgpack/dist.esm/timestamp.d.ts
|
||||
2026-11-02 23:27:30.585 AWBFILES 1303/10926
|
||||
2026-11-02 23:27:31.093 AWBPROGRESS 核对原活动版本 · 1725/10926 文件 · runtime/node_modules/@zip.js/zip.js/README.md
|
||||
2026-11-02 23:27:31.093 AWBFILES 1725/10926
|
||||
2026-11-02 23:27:31.597 AWBPROGRESS 核对原活动版本 · 2141/10926 文件 · runtime/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts
|
||||
2026-11-02 23:27:31.597 AWBFILES 2141/10926
|
||||
2026-11-02 23:27:32.164 AWBPROGRESS 核对原活动版本 · 2554/10926 文件 · runtime/node_modules/diff/libcjs/index.js
|
||||
2026-11-02 23:27:32.164 AWBFILES 2554/10926
|
||||
2026-11-02 23:27:32.666 AWBPROGRESS 核对原活动版本 · 2991/10926 文件 · runtime/node_modules/get-proto/test/index.js
|
||||
2026-11-02 23:27:32.666 AWBFILES 2991/10926
|
||||
2026-11-02 23:27:33.234 AWBPROGRESS 核对原活动版本 · 3425/10926 文件 · runtime/node_modules/incur/src/Skill.test.ts
|
||||
2026-11-02 23:27:33.234 AWBFILES 3425/10926
|
||||
2026-11-02 23:27:33.740 AWBPROGRESS 核对原活动版本 · 3822/10926 文件 · runtime/node_modules/math-intrinsics/isFinite.d.ts
|
||||
2026-11-02 23:27:33.740 AWBFILES 3822/10926
|
||||
2026-11-02 23:27:34.307 AWBPROGRESS 核对原活动版本 · 4252/10926 文件 · runtime/node_modules/npm/lib/utils/display.js
|
||||
2026-11-02 23:27:34.307 AWBFILES 4252/10926
|
||||
2026-11-02 23:27:34.809 AWBPROGRESS 核对原活动版本 · 4612/10926 文件 · runtime/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js
|
||||
2026-11-02 23:27:34.809 AWBFILES 4612/10926
|
||||
2026-11-02 23:27:35.370 AWBPROGRESS 核对原活动版本 · 4937/10926 文件 · runtime/node_modules/npm/node_modules/iconv-lite/encodings/internal.js
|
||||
2026-11-02 23:27:35.370 AWBFILES 4937/10926
|
||||
2026-11-02 23:27:35.875 AWBPROGRESS 核对原活动版本 · 5278/10926 文件 · runtime/node_modules/npm/node_modules/node-gyp/gyp/release-please-config.json
|
||||
2026-11-02 23:27:35.876 AWBFILES 5278/10926
|
||||
2026-11-02 23:27:36.441 AWBPROGRESS 核对原活动版本 · 5617/10926 文件 · runtime/node_modules/npm/node_modules/tar/dist/commonjs/write-entry.js
|
||||
2026-11-02 23:27:36.441 AWBFILES 5617/10926
|
||||
2026-11-02 23:27:37.071 AWBPROGRESS 核对原活动版本 · 5972/10926 文件 · runtime/node_modules/parse5/dist/common/unicode.js
|
||||
2026-11-02 23:27:37.071 AWBFILES 5972/10926
|
||||
2026-11-02 23:27:37.950 AWBPROGRESS 核对原活动版本 · 6353/10926 文件 · runtime/node_modules/playwright-core/lib/cli/programWithTestStub.js
|
||||
2026-11-02 23:27:37.950 AWBFILES 6353/10926
|
||||
2026-11-02 23:27:38.768 AWBPROGRESS 核对原活动版本 · 6732/10926 文件 · runtime/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css
|
||||
2026-11-02 23:27:38.768 AWBFILES 6732/10926
|
||||
2026-11-02 23:27:39.706 AWBPROGRESS 核对原活动版本 · 7102/10926 文件 · runtime/node_modules/rea-agents/dist/application/javascript/ElectronObservationPort.js
|
||||
2026-11-02 23:27:39.706 AWBFILES 7102/10926
|
||||
2026-11-02 23:27:40.331 AWBPROGRESS 核对原活动版本 · 7497/10926 文件 · runtime/node_modules/rea-agents/dist/cli/javascriptApplicationAnalysis.js
|
||||
2026-11-02 23:27:40.331 AWBFILES 7497/10926
|
||||
2026-11-02 23:27:40.896 AWBPROGRESS 核对原活动版本 · 7911/10926 文件 · runtime/node_modules/rea-agents/dist/domain/analysisView/environmentStateResponseMembers.js
|
||||
2026-11-02 23:27:40.896 AWBFILES 7911/10926
|
||||
2026-11-02 23:27:41.456 AWBPROGRESS 核对原活动版本 · 8326/10926 文件 · runtime/node_modules/rea-agents/dist/domain/native/fileOffsetPartialObservation.js
|
||||
2026-11-02 23:27:41.456 AWBFILES 8326/10926
|
||||
2026-11-02 23:27:42.084 AWBPROGRESS 核对原活动版本 · 8735/10926 文件 · runtime/node_modules/rea-agents/dist/kuna/KunaRunSlots.js
|
||||
2026-11-02 23:27:42.084 AWBFILES 8735/10926
|
||||
2026-11-02 23:27:42.646 AWBPROGRESS 核对原活动版本 · 9151/10926 文件 · runtime/node_modules/rea-agents/dist/server/registerSessionTools.js
|
||||
2026-11-02 23:27:42.646 AWBFILES 9151/10926
|
||||
2026-11-02 23:27:43.209 AWBPROGRESS 核对原活动版本 · 9550/10926 文件 · runtime/node_modules/stream-chain/src/utils/drain.d.ts
|
||||
2026-11-02 23:27:43.209 AWBFILES 9550/10926
|
||||
2026-11-02 23:27:43.770 AWBPROGRESS 核对原活动版本 · 9941/10926 文件 · runtime/node_modules/xmlbuilder/perf/basic/escaping.coffee
|
||||
2026-11-02 23:27:43.770 AWBFILES 9941/10926
|
||||
2026-11-02 23:27:44.278 AWBPROGRESS 核对原活动版本 · 10339/10926 文件 · runtime/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts
|
||||
2026-11-02 23:27:44.278 AWBFILES 10339/10926
|
||||
2026-11-02 23:27:44.848 AWBPROGRESS 核对原活动版本 · 10783/10926 文件 · runtime/node_modules/zod/v4/locales/ko.js
|
||||
2026-11-02 23:27:44.848 AWBFILES 10783/10926
|
||||
2026-11-02 23:27:45.036 AWBPROGRESS 核对原活动版本 · 10926/10926 文件 · THIRD_PARTY_NOTICES.txt
|
||||
2026-11-02 23:27:45.036 AWBFILES 10926/10926
|
||||
2026-11-02 23:27:45.100 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:27:45.100 AWBFILES -
|
||||
2026-11-02 23:27:45.100 AWBPROGRESS 核对原活动版本 · 0/22 文件 · 0/9143893 字节
|
||||
2026-11-02 23:27:45.100 AWBFILES 0/22
|
||||
2026-11-02 23:27:45.163 AWBPROGRESS 核对原活动版本 · 22/22 文件 · 9143893/9143893 字节 · dist-server/server.mjs
|
||||
2026-11-02 23:27:45.163 AWBFILES 22/22
|
||||
2026-11-02 23:27:45.163 AWBPROGRESS 核对安装目录
|
||||
2026-11-02 23:27:45.163 AWBFILES -
|
||||
2026-11-02 23:27:45.226 AWBPROGRESS 核对后台宿主与活动任务
|
||||
2026-11-02 23:27:45.226 AWBFILES -
|
||||
2026-11-02 23:27:49.530 AWBPROGRESS 安装未完成,请核对原始原因
|
||||
2026-11-02 23:27:49.530 AWBFILES -
|
||||
2026-11-02 23:27:49.530 AWBERROR 先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
2026-11-02 23:27:49.530 {"success":false,"code":"INSTALLATION_REJECTED","message":"先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。"}
|
||||
2026-11-02 23:27:49.537 PrepareToInstall failed: 安装预检未通过:先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
原程序和用户数据保留。日志及阶段记录见 .installation 目录。
|
||||
2026-11-02 23:27:49.537 Need to restart Windows? No
|
||||
2026-11-02 23:27:49.537 Defaulting to OK for suppressed message box (OK):
|
||||
安装预检未通过:先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
原程序和用户数据保留。日志及阶段记录见 .installation 目录。
|
||||
2026-11-02 23:27:49.537 Got EAbort exception.
|
||||
2026-11-02 23:27:49.537 Deinitializing Setup.
|
||||
2026-11-02 23:27:49.546 Log closed.
|
||||
+17159
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
PASS source-offline-install
|
||||
PASS source-build
|
||||
{"success":false,"error":"AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n\n76554 !== 76499\n\n at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/.qa/original-purge-release-f-rebuild.mjs:62:12\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"success": true, "version": "1.24.0", "testedAt": "2026-11-02T15:36:06.069693+00:00", "archives": [{"kind": "portable", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546.zip", "files": 10924, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "6a6161860cf13f1cfaf42dec31d3e1bbe72ad4636f2e2cb92adcfb7a0db28b75"}, {"kind": "source", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102152844546.zip", "files": 26338, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "bf7f589411df384d3ca72b50ac02aeb0848cadb05ca195a81d046078e23acf8a"}, {"kind": "evidence", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102152844546.zip", "files": 15126, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "9a860897738406bf2439e67827f00a287b022a1b65a5403a39d1639a8ac491a6"}], "extractionRoot": null}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"root":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37","result":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-install-5a374aa6-e6d5-4cb6-ab90-bff1ae5d8d37\\result.json"}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
|
||||
added 137 packages in 8s
|
||||
+54630
File diff suppressed because it is too large
Load Diff
+132
@@ -0,0 +1,132 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import net from 'node:net';
|
||||
import { spawn, execFileSync } from 'node:child_process';
|
||||
import { publicSnapshot, compareOriginalState, hash } from './desktop-f-state.mjs';
|
||||
import { inspectHostInstallation } from '../src/core/desktop/app-installation.mjs';
|
||||
|
||||
const root = path.resolve('.qa/original-purge-release-f-20261102');
|
||||
fs.mkdirSync(root, { recursive: true });
|
||||
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
|
||||
const save = (name, value) => fs.writeFileSync(path.join(root, name), JSON.stringify(value, null, 2) + '\n', { flag: 'wx' });
|
||||
const receipt = file => ({ path: path.resolve(file), bytes: fs.statSync(file).size, sha256: hash(fs.readFileSync(file)) });
|
||||
const release = read('releases/latest.json');
|
||||
const sourceCommit = '393466733f9f254f198c31264ffa9320707f3447';
|
||||
assert.equal(release.documentation.sourceCommit, sourceCommit);
|
||||
assert.equal(path.basename(release.portableRoot), 'Agent-Workbench-1.24.0-win-x64-20261102151352527');
|
||||
const manifest = read(path.join(release.portableRoot, 'MANIFEST.json'));
|
||||
assert.equal(manifest.version, '1.24.0');
|
||||
const url = 'http://127.0.0.1:4318';
|
||||
const installRoot = 'C:/Users/wangy/AppData/Local/Programs/AgentWorkbench';
|
||||
const dataRoot = 'C:/Users/wangy/AppData/Local/Packages/OpenAI.Codex_2p2nqsd0c76g0/LocalCache/Local/AgentWorkbench';
|
||||
const mode = process.argv[2];
|
||||
assert.ok(['preflight', 'before', 'install', 'final'].includes(mode));
|
||||
assert.equal(fs.existsSync(path.join(root, mode + '.json')), false, 'Keep original receipts.');
|
||||
const startedAt = new Date().toISOString();
|
||||
async function api(route) {
|
||||
const bootstrap = await (await fetch(url + '/api/bootstrap', { signal: AbortSignal.timeout(20000) })).json();
|
||||
const response = await fetch(url + '/api' + route, { headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' }, signal: AbortSignal.timeout(20000) });
|
||||
assert.equal(response.status, 200, route); return response.json();
|
||||
}
|
||||
async function inspectorClosed() {
|
||||
await new Promise((resolve, reject) => {
|
||||
const socket = net.createConnection({ host: '127.0.0.1', port: 9229 });
|
||||
socket.setTimeout(1500);
|
||||
socket.once('connect', () => { socket.destroy(); reject(Error('Inspector open.')); });
|
||||
socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve() : reject(error); });
|
||||
socket.once('timeout', () => { socket.destroy(); reject(Error('Inspector unknown.')); });
|
||||
});
|
||||
}
|
||||
let result;
|
||||
try {
|
||||
if (mode === 'preflight') {
|
||||
assert.equal(execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8' }).trim(), sourceCommit);
|
||||
assert.equal(execFileSync('git', ['status', '--porcelain'], { encoding: 'utf8' }).trim(), '');
|
||||
const d = read('docs/original-purge-production-evidence/manifest.json');
|
||||
const build = d.buildInputs.map(entry => {
|
||||
for (const base of [process.cwd(), release.portableRoot, release.sourceRoot]) {
|
||||
const bytes = fs.readFileSync(path.join(base, entry.path));
|
||||
assert.equal(bytes.length, entry.bytes, entry.path); assert.equal(hash(bytes), entry.sha256, entry.path);
|
||||
}
|
||||
return { path: entry.path, bytes: entry.bytes, sha256: entry.sha256 };
|
||||
});
|
||||
const source = d.sourceInputs.map(entry => {
|
||||
const bytes = fs.readFileSync(path.join(release.sourceRoot, entry.path));
|
||||
assert.equal(bytes.length, entry.bytes, entry.path); assert.equal(hash(bytes), entry.sha256, entry.path);
|
||||
return { path: entry.path, bytes: entry.bytes, sha256: entry.sha256 };
|
||||
});
|
||||
for (const item of manifest.files) {
|
||||
const bytes = fs.readFileSync(path.join(release.portableRoot, item.path));
|
||||
assert.equal(bytes.length, item.bytes, item.path); assert.equal(hash(bytes), item.sha256, item.path);
|
||||
}
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
save('release.json', release);
|
||||
for (const name of ['archives-validation.json', 'release-validation.json', 'desktop-install-location.json', 'existing-results-installed-ui.json']) {
|
||||
const file = path.join('.qa', name);
|
||||
if (fs.existsSync(file)) fs.copyFileSync(file, path.join(root, 'previous-' + name), fs.constants.COPYFILE_EXCL);
|
||||
}
|
||||
result = { success: true, sourceCommit, version: manifest.version, build, source, portableFiles: manifest.files.length,
|
||||
installer: release.installer, scope: 'Exact D product/source/build lineage; E changes only acceptance, documentation and sealed evidence. No model requests or host mutation.' };
|
||||
} else {
|
||||
assert.equal(read(path.join(root, 'preflight.json')).success, true);
|
||||
assert.deepEqual(release, read(path.join(root, 'release.json')));
|
||||
await inspectorClosed();
|
||||
const current = await publicSnapshot(url, dataRoot), host = await api('/host/status');
|
||||
assert.equal(current.pid, 36552); assert.equal(current.hasKey, true); assert.equal(current.version, '1.24.0');
|
||||
assert.deepEqual(current.active, []); assert.equal(host.activity.active, false);
|
||||
if (mode === 'before') {
|
||||
assert.equal(host.desktopWindows.count, 0);
|
||||
assert.match(current.runtimeRoot.replaceAll('\\', '/'), /\/\.qa\/live-retest-e-20261102-c\/runtime$/);
|
||||
const portable = read('.qa/release-validation.json'); assert.equal(portable.success, true); assert.equal(portable.appRoot, release.portableRoot);
|
||||
const archives = read('.qa/archives-validation.json'); assert.equal(archives.success, true);
|
||||
assert.equal(archives.archives[0].sha256, release.portable.sha256);
|
||||
const installation = read(read('.qa/desktop-install-location.json').result);
|
||||
assert.equal(installation.success, true); assert.equal(installation.packagedSource, fs.realpathSync.native(release.portableRoot));
|
||||
save('private-before.json', current); save('pointer-before.json', read(path.join(installRoot, 'current.json')));
|
||||
result = { success: true, sourceCommit, currentRuntime: current.runtimeRoot, pid: current.pid, hasKey: current.hasKey,
|
||||
privateState: receipt(path.join(root, 'private-before.json')), portable: receipt('.qa/release-validation.json'),
|
||||
archives: receipt('.qa/archives-validation.json'), installation: receipt(read('.qa/desktop-install-location.json').result) };
|
||||
} else {
|
||||
const before = read(path.join(root, 'private-before.json'));
|
||||
compareOriginalState(before, current);
|
||||
if (mode === 'install') {
|
||||
assert.equal(host.desktopWindows.count, 0);
|
||||
assert.deepEqual(read(path.join(installRoot, 'current.json')), read(path.join(root, 'pointer-before.json')));
|
||||
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
|
||||
const logFile = path.join(root, 'installer.log'), processFile = path.join(root, 'installer-process.txt');
|
||||
const log = fs.openSync(processFile, 'wx'); let code;
|
||||
try {
|
||||
code = await new Promise((resolve, reject) => {
|
||||
const child = spawn(release.installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + logFile,
|
||||
'/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=4318'], { windowsHide: true, stdio: ['ignore', log, log] });
|
||||
child.once('error', reject); child.once('close', resolve);
|
||||
});
|
||||
} finally { fs.closeSync(log); }
|
||||
save('installer-exit.json', { code, installer: release.installer, logFile, finishedAt: new Date().toISOString() });
|
||||
assert.equal(code, 0, 'Do not replay installation with unknown outcome.');
|
||||
} else { assert.equal(read(path.join(root, 'install.json')).success, true); assert.equal(host.desktopWindows.count, 1); }
|
||||
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after);
|
||||
const candidate = path.join(installRoot, 'versions', path.basename(release.portableRoot));
|
||||
assert.equal(fs.realpathSync.native(after.runtimeRoot), fs.realpathSync.native(candidate));
|
||||
const identity = inspectHostInstallation(candidate), pointer = read(path.join(installRoot, 'current.json'));
|
||||
assert.equal(pointer.active.directory, path.basename(candidate)); assert.equal(pointer.active.manifestSha256, identity.manifestSha256);
|
||||
assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
|
||||
const operations = fs.readdirSync(path.join(installRoot, '.installation')).filter(name => /^progress-.*\.json$/.test(name))
|
||||
.map(name => read(path.join(installRoot, '.installation', name))).sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
|
||||
const operation = operations[0]; assert.equal(operation.state, 'completed'); assert.equal(operation.candidate.manifestSha256, identity.manifestSha256);
|
||||
const availability = await api('/engines/deepseek/controlled-availability'); assert.equal(availability.status, 'available');
|
||||
const purge = await api('/engines/purge/source?kind=purge-original-restricted-v1');
|
||||
assert.equal(purge.status, 'available');
|
||||
await inspectorClosed(); save('private-after-' + mode + '.json', after);
|
||||
result = { success: true, sourceCommit, version: after.version, candidate, pid: after.pid, hasKey: after.hasKey, retained,
|
||||
counts: { projects: after.projects, sessions: after.database.sessionIds.length, records: after.database.tables.records.count,
|
||||
events: after.database.tables.events.count, artifacts: after.persistent.artifacts.length }, identity, pointer, operation,
|
||||
availability, purge, inspectorClosed: true, desktopWindows: (await api('/host/status')).desktopWindows.count,
|
||||
privateState: receipt(path.join(root, 'private-after-' + mode + '.json')), realModelRequests: 0 };
|
||||
}
|
||||
}
|
||||
} catch (error) { result = { success: false, error: error.stack, realModelRequests: 0 }; process.exitCode = 1; }
|
||||
save(mode + '.json', { ...result, startedAt, finishedAt: new Date().toISOString() });
|
||||
console.log(JSON.stringify({ success: result.success, mode, evidenceRoot: root, counts: result.counts,
|
||||
sourceInputs: result.source?.length, buildInputs: result.build?.length, error: result.error }));
|
||||
+58643
File diff suppressed because it is too large
Load Diff
+84
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102151352527",
|
||||
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102151352527",
|
||||
"evidenceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102151352527",
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102151352527.zip",
|
||||
"bytes": 242443776,
|
||||
"sha256": "505a0bf18bb25a1db8e300c8b7d24905c11fb3c95aa2ebc53f9a0cedd37d1648"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102151352527.zip",
|
||||
"bytes": 841881870,
|
||||
"sha256": "b7ee30a4f0f75a4eb8df38221fa38553d64d7655ecda9936634b64f8150d6204"
|
||||
},
|
||||
"evidence": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102151352527.zip",
|
||||
"bytes": 600854538,
|
||||
"sha256": "6bce806fc4f4fe3721df69dee46e5230b92c21f8a218a30b6c444d0427d428a6"
|
||||
},
|
||||
"documentation": {
|
||||
"sourceCommit": "393466733f9f254f198c31264ffa9320707f3447",
|
||||
"originalFiles": 15126,
|
||||
"originalBytes": 1772868635,
|
||||
"shippedFiles": 129,
|
||||
"shippedBytes": 1027711,
|
||||
"evidenceManifestSha256": "45440c08b3f2c0a6ce331821aa3d4b0d77d852bcc3c3376da21e9bf0716da6d1"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102151352527-Setup.exe",
|
||||
"bytes": 212871446,
|
||||
"sha256": "d59808ac48ec0be3ec974bf95c0199ef62e7ea813fb9dc8e974e77363cccdf59",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-2c8f1051-148e-47e7-911a-cecb89a6db5a\\installer.iss",
|
||||
"version": "1.24.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.24.0-win-x64-20261102151352527",
|
||||
"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": 10924,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"code": 0,
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546-Setup.exe",
|
||||
"bytes": 212871802,
|
||||
"sha256": "b00033b8d4ee1565d22b59522b6001751d46a97a8b02ead30eefa05b09d0c580",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-6ff5c23d-091b-45cc-a128-3eb81e5e6c1d\\installer.iss",
|
||||
"version": "1.24.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"qaFixture": null
|
||||
},
|
||||
"logFile": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\original-purge-release-f-20261102-c\\installer.log",
|
||||
"finishedAt": "2026-11-02T16:09:07.250Z"
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.24.0",
|
||||
"testedAt": "2026-11-02T15:20:44.632059+00:00",
|
||||
"archives": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102151352527.zip",
|
||||
"files": 10924,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "505a0bf18bb25a1db8e300c8b7d24905c11fb3c95aa2ebc53f9a0cedd37d1648"
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102151352527.zip",
|
||||
"files": 26337,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "b7ee30a4f0f75a4eb8df38221fa38553d64d7655ecda9936634b64f8150d6204"
|
||||
},
|
||||
{
|
||||
"kind": "evidence",
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102151352527.zip",
|
||||
"files": 15126,
|
||||
"crcPassed": true,
|
||||
"manifestAndDirectoryMatch": true,
|
||||
"sha256": "6bce806fc4f4fe3721df69dee46e5230b92c21f8a218a30b6c444d0427d428a6"
|
||||
}
|
||||
],
|
||||
"extractionRoot": null
|
||||
}
|
||||
+2
File diff suppressed because one or more lines are too long
+185
@@ -0,0 +1,185 @@
|
||||
2026-11-02 23:43:32.473 Log opened. (Time zone: UTC+08:00)
|
||||
2026-11-02 23:43:32.473 Setup version: Inno Setup version 6.3.1
|
||||
2026-11-02 23:43:32.473 Original Setup EXE: D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\owned-b-1.24.0-Setup.exe
|
||||
2026-11-02 23:43:32.473 Setup command line: /SL5="$FB0EF2,211627192,721408,D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\owned-b-1.24.0-Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /LOG=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\window-block-setup.log /DIR=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\program /DATA_ROOT=D:\Ai-project\REA逆向\Agent-Workbench\.qa\desktop-install-55237c08-0cb2-4b1c-8bed-da5df94dae3f\user-data /PORT=61398
|
||||
2026-11-02 23:43:32.476 Windows version: 10.0.26200
|
||||
2026-11-02 23:43:32.476 Windows architecture: x64 (64-bit)
|
||||
2026-11-02 23:43:32.476 Machine types supported by system: x86 x64
|
||||
2026-11-02 23:43:32.476 User privileges: None
|
||||
2026-11-02 23:43:32.500 Administrative install mode: No
|
||||
2026-11-02 23:43:32.500 Install mode root key: HKEY_CURRENT_USER
|
||||
2026-11-02 23:43:32.500 64-bit install mode: Yes
|
||||
2026-11-02 23:43:32.501 Created temporary directory: C:\Users\wangy\AppData\Local\Temp\is-LKDRB.tmp
|
||||
2026-11-02 23:43:32.584 Extracting temporary file: C:\Users\wangy\AppData\Local\Temp\is-LKDRB.tmp\awb-install-node.exe
|
||||
2026-11-02 23:43:34.114 Extracting temporary file: C:\Users\wangy\AppData\Local\Temp\is-LKDRB.tmp\awb-install-manager.mjs
|
||||
2026-11-02 23:43:36.326 AWBPROGRESS 准备安装核对
|
||||
2026-11-02 23:43:36.326 AWBFILES -
|
||||
2026-11-02 23:43:36.326 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:43:36.326 AWBFILES -
|
||||
2026-11-02 23:43:36.390 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:43:36.390 AWBFILES -
|
||||
2026-11-02 23:43:36.453 AWBPROGRESS 核对原活动版本 · 0/10925 文件 · 0/655559438 字节
|
||||
2026-11-02 23:43:36.453 AWBFILES 0/10925
|
||||
2026-11-02 23:43:36.953 AWBPROGRESS 核对原活动版本 · 130/10925 文件 · 377153599/655559438 字节 · desktop/vk_swiftshader.dll
|
||||
2026-11-02 23:43:36.953 AWBFILES 130/10925
|
||||
2026-11-02 23:43:37.516 AWBPROGRESS 核对原活动版本 · 447/10925 文件 · 389077093/655559438 字节 · runtime/LICENSE
|
||||
2026-11-02 23:43:37.516 AWBFILES 447/10925
|
||||
2026-11-02 23:43:38.083 AWBPROGRESS 核对原活动版本 · 660/10925 文件 · 489881493/655559438 字节 · runtime/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/wrappers.d.ts
|
||||
2026-11-02 23:43:38.083 AWBFILES 660/10925
|
||||
2026-11-02 23:43:38.580 AWBPROGRESS 核对原活动版本 · 905/10925 文件 · 491070857/655559438 字节 · runtime/node_modules/@clack/core/dist/index.d.mts
|
||||
2026-11-02 23:43:38.580 AWBFILES 905/10925
|
||||
2026-11-02 23:43:39.143 AWBPROGRESS 核对原活动版本 · 1177/10925 文件 · 502384179/655559438 字节 · runtime/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-DZmmlN8e.d.cts
|
||||
2026-11-02 23:43:39.143 AWBFILES 1177/10925
|
||||
2026-11-02 23:43:39.650 AWBPROGRESS 核对原活动版本 · 1448/10925 文件 · 507256385/655559438 字节 · runtime/node_modules/@scalar/openapi-types/3.0/http-security-scheme.d.ts
|
||||
2026-11-02 23:43:39.650 AWBFILES 1448/10925
|
||||
2026-11-02 23:43:40.219 AWBPROGRESS 核对原活动版本 · 1716/10925 文件 · 518498691/655559438 字节 · runtime/node_modules/@zip.js/zip.js/lib/zip-fs-core-external.js
|
||||
2026-11-02 23:43:40.219 AWBFILES 1716/10925
|
||||
2026-11-02 23:43:40.786 AWBPROGRESS 核对原活动版本 · 1991/10925 文件 · 519248227/655559438 字节 · runtime/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map
|
||||
2026-11-02 23:43:40.786 AWBFILES 1991/10925
|
||||
2026-11-02 23:43:41.346 AWBPROGRESS 核对原活动版本 · 2257/10925 文件 · 519750460/655559438 字节 · runtime/node_modules/balanced-match/dist/commonjs/index.js
|
||||
2026-11-02 23:43:41.346 AWBFILES 2257/10925
|
||||
2026-11-02 23:43:41.847 AWBPROGRESS 核对原活动版本 · 2552/10925 文件 · 521129549/655559438 字节 · runtime/node_modules/diff/libcjs/diff/line.js
|
||||
2026-11-02 23:43:41.847 AWBFILES 2552/10925
|
||||
2026-11-02 23:43:42.407 AWBPROGRESS 核对原活动版本 · 2844/10925 文件 · 522301359/655559438 字节 · runtime/node_modules/eventsource/LICENSE
|
||||
2026-11-02 23:43:42.407 AWBFILES 2844/10925
|
||||
2026-11-02 23:43:42.973 AWBPROGRESS 核对原活动版本 · 3139/10925 文件 · 525122227/655559438 字节 · runtime/node_modules/hasown/.nycrc
|
||||
2026-11-02 23:43:42.973 AWBFILES 3139/10925
|
||||
2026-11-02 23:43:43.473 AWBPROGRESS 核对原活动版本 · 3421/10925 文件 · 530669192/655559438 字节 · runtime/node_modules/incur/src/internal/configSchema.ts
|
||||
2026-11-02 23:43:43.473 AWBFILES 3421/10925
|
||||
2026-11-02 23:43:44.040 AWBPROGRESS 核对原活动版本 · 3700/10925 文件 · 536484397/655559438 字节 · runtime/node_modules/lossless-json/package.json
|
||||
2026-11-02 23:43:44.040 AWBFILES 3700/10925
|
||||
2026-11-02 23:43:44.604 AWBPROGRESS 核对原活动版本 · 3979/10925 文件 · 540900262/655559438 字节 · runtime/node_modules/npm/docs/content/commands/npm-deprecate.md
|
||||
2026-11-02 23:43:44.604 AWBFILES 3979/10925
|
||||
2026-11-02 23:43:45.105 AWBPROGRESS 核对原活动版本 · 4242/10925 文件 · 543161580/655559438 字节 · runtime/node_modules/npm/lib/commands/view.js
|
||||
2026-11-02 23:43:45.105 AWBFILES 4242/10925
|
||||
2026-11-02 23:43:45.671 AWBPROGRESS 核对原活动版本 · 4503/10925 文件 · 544948607/655559438 字节 · runtime/node_modules/npm/node_modules/@npmcli/git/lib/errors.js
|
||||
2026-11-02 23:43:45.671 AWBFILES 4503/10925
|
||||
2026-11-02 23:43:46.173 AWBPROGRESS 核对原活动版本 · 4745/10925 文件 · 545731599/655559438 字节 · runtime/node_modules/npm/node_modules/bin-links/lib/get-prefix.js
|
||||
2026-11-02 23:43:46.173 AWBFILES 4745/10925
|
||||
2026-11-02 23:43:46.737 AWBPROGRESS 核对原活动版本 · 5002/10925 文件 · 547196218/655559438 字节 · runtime/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md
|
||||
2026-11-02 23:43:46.737 AWBFILES 5002/10925
|
||||
2026-11-02 23:43:47.298 AWBPROGRESS 核对原活动版本 · 5256/10925 文件 · 549646552/655559438 字节 · runtime/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
|
||||
2026-11-02 23:43:47.298 AWBFILES 5256/10925
|
||||
2026-11-02 23:43:47.806 AWBPROGRESS 核对原活动版本 · 5515/10925 文件 · 551095023/655559438 字节 · runtime/node_modules/npm/node_modules/semver/internal/identifiers.js
|
||||
2026-11-02 23:43:47.806 AWBFILES 5515/10925
|
||||
2026-11-02 23:43:48.373 AWBPROGRESS 核对原活动版本 · 5771/10925 文件 · 552499235/655559438 字节 · runtime/node_modules/npm/node_modules/undici/lib/dispatcher/client-h2.js
|
||||
2026-11-02 23:43:48.373 AWBFILES 5771/10925
|
||||
2026-11-02 23:43:48.879 AWBPROGRESS 核对原活动版本 · 6032/10925 文件 · 572472502/655559438 字节 · runtime/node_modules/pino-abstract-transport/test/fixtures/transport-transform.js
|
||||
2026-11-02 23:43:48.879 AWBFILES 6032/10925
|
||||
2026-11-02 23:43:49.447 AWBPROGRESS 核对原活动版本 · 6321/10925 文件 · 573461579/655559438 字节 · runtime/node_modules/playwright-core/lib/client/elementHandle.js
|
||||
2026-11-02 23:43:49.447 AWBFILES 6321/10925
|
||||
2026-11-02 23:43:49.948 AWBPROGRESS 核对原活动版本 · 6584/10925 文件 · 580583430/655559438 字节 · runtime/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/storage-state.md
|
||||
2026-11-02 23:43:49.948 AWBFILES 6584/10925
|
||||
2026-11-02 23:43:50.512 AWBPROGRESS 核对原活动版本 · 6850/10925 文件 · 598645617/655559438 字节 · runtime/node_modules/quick-format-unescaped/package.json
|
||||
2026-11-02 23:43:50.512 AWBFILES 6850/10925
|
||||
2026-11-02 23:43:51.073 AWBPROGRESS 核对原活动版本 · 7119/10925 文件 · 601133438/655559438 字节 · runtime/node_modules/rea-agents/dist/application/environment/environmentBundle.js
|
||||
2026-11-02 23:43:51.073 AWBFILES 7119/10925
|
||||
2026-11-02 23:43:51.577 AWBPROGRESS 核对原活动版本 · 7384/10925 文件 · 603146816/655559438 字节 · runtime/node_modules/rea-agents/dist/browser/CdpWorkerTargetOwnership.js
|
||||
2026-11-02 23:43:51.577 AWBFILES 7384/10925
|
||||
2026-11-02 23:43:52.146 AWBPROGRESS 核对原活动版本 · 7650/10925 文件 · 615895948/655559438 字节 · runtime/node_modules/rea-agents/dist/cli/coreBinaryCommands.js
|
||||
2026-11-02 23:43:52.146 AWBFILES 7650/10925
|
||||
2026-11-02 23:43:52.652 AWBPROGRESS 核对原活动版本 · 7925/10925 文件 · 617441634/655559438 字节 · runtime/node_modules/rea-agents/dist/domain/analysisView/environmentStateVariants.js
|
||||
2026-11-02 23:43:52.652 AWBFILES 7925/10925
|
||||
2026-11-02 23:43:53.221 AWBPROGRESS 核对原活动版本 · 8190/10925 文件 · 619351244/655559438 字节 · runtime/node_modules/rea-agents/dist/domain/javascript/javascriptFeatureTraceSchemas.js
|
||||
2026-11-02 23:43:53.221 AWBFILES 8190/10925
|
||||
2026-11-02 23:43:53.786 AWBPROGRESS 核对原活动版本 · 8429/10925 文件 · 621401159/655559438 字节 · runtime/node_modules/rea-agents/dist/domain/referenceSourceImportParsing.js
|
||||
2026-11-02 23:43:53.786 AWBFILES 8429/10925
|
||||
2026-11-02 23:43:54.288 AWBPROGRESS 核对原活动版本 · 8703/10925 文件 · 623765053/655559438 字节 · runtime/node_modules/rea-agents/dist/javascript/analysis/JavaScriptAnalysisWorkerServer.js
|
||||
2026-11-02 23:43:54.288 AWBFILES 8703/10925
|
||||
2026-11-02 23:43:54.853 AWBPROGRESS 核对原活动版本 · 8970/10925 文件 · 644280992/655559438 字节 · runtime/node_modules/rea-agents/dist/process/DarwinProcessRunTokenReader.js
|
||||
2026-11-02 23:43:54.853 AWBFILES 8970/10925
|
||||
2026-11-02 23:43:55.418 AWBPROGRESS 核对原活动版本 · 9240/10925 文件 · 647828653/655559438 字节 · runtime/node_modules/rea-agents/skills/reverse-engineer-anything/references/evidence-workflows.md
|
||||
2026-11-02 23:43:55.418 AWBFILES 9240/10925
|
||||
2026-11-02 23:43:55.984 AWBPROGRESS 核对原活动版本 · 9533/10925 文件 · 649043477/655559438 字节 · runtime/node_modules/stream-chain/src/jsonl/stringer.d.ts
|
||||
2026-11-02 23:43:55.984 AWBFILES 9533/10925
|
||||
2026-11-02 23:43:56.550 AWBPROGRESS 核对原活动版本 · 9807/10925 文件 · 649613686/655559438 字节 · runtime/node_modules/thread-stream/test/multibyte-chars.test.mjs
|
||||
2026-11-02 23:43:56.550 AWBFILES 9807/10925
|
||||
2026-11-02 23:43:57.056 AWBPROGRESS 核对原活动版本 · 10095/10925 文件 · 650700343/655559438 字节 · runtime/node_modules/yaml/dist/index.js
|
||||
2026-11-02 23:43:57.056 AWBFILES 10095/10925
|
||||
2026-11-02 23:43:57.621 AWBPROGRESS 核对原活动版本 · 10367/10925 文件 · 651979029/655559438 字节 · runtime/node_modules/zod/src/v4/classic/tests/optional.test.ts
|
||||
2026-11-02 23:43:57.621 AWBFILES 10367/10925
|
||||
2026-11-02 23:43:58.187 AWBPROGRESS 核对原活动版本 · 10633/10925 文件 · 654266627/655559438 字节 · runtime/node_modules/zod/v4/core/json-schema-processors.cjs
|
||||
2026-11-02 23:43:58.187 AWBFILES 10633/10925
|
||||
2026-11-02 23:43:58.757 AWBPROGRESS 核对原活动版本 · 10914/10925 文件 · 655400095/655559438 字节 · runtime/node_modules/zod/v4/mini/parse.d.ts
|
||||
2026-11-02 23:43:58.757 AWBFILES 10914/10925
|
||||
2026-11-02 23:43:58.757 AWBPROGRESS 核对原活动版本 · 10925/10925 文件 · 655559438/655559438 字节 · scripts/upgrade-running.mjs
|
||||
2026-11-02 23:43:58.757 AWBFILES 10925/10925
|
||||
2026-11-02 23:43:58.819 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:43:58.819 AWBFILES -
|
||||
2026-11-02 23:43:59.388 AWBPROGRESS 核对原活动版本 · 495/10926 文件 · runtime/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/boot.d.ts
|
||||
2026-11-02 23:43:59.388 AWBFILES 495/10926
|
||||
2026-11-02 23:43:59.955 AWBPROGRESS 核对原活动版本 · 906/10926 文件 · runtime/node_modules/@clack/prompts/LICENSE
|
||||
2026-11-02 23:43:59.955 AWBFILES 906/10926
|
||||
2026-11-02 23:44:00.522 AWBPROGRESS 核对原活动版本 · 1339/10926 文件 · runtime/node_modules/@msgpack/msgpack/src/ExtensionCodec.ts
|
||||
2026-11-02 23:44:00.522 AWBFILES 1339/10926
|
||||
2026-11-02 23:44:01.028 AWBPROGRESS 核对原活动版本 · 1769/10926 文件 · runtime/node_modules/ajv/dist/compile/jtd/parse.js
|
||||
2026-11-02 23:44:01.028 AWBFILES 1769/10926
|
||||
2026-11-02 23:44:01.593 AWBPROGRESS 核对原活动版本 · 2196/10926 文件 · runtime/node_modules/ajv/lib/vocabularies/validation/index.ts
|
||||
2026-11-02 23:44:01.593 AWBFILES 2196/10926
|
||||
2026-11-02 23:44:02.098 AWBPROGRESS 核对原活动版本 · 2640/10926 文件 · runtime/node_modules/diff/libesm/util/array.js
|
||||
2026-11-02 23:44:02.098 AWBFILES 2640/10926
|
||||
2026-11-02 23:44:02.665 AWBPROGRESS 核对原活动版本 · 3080/10926 文件 · runtime/node_modules/har-schema/lib/index.js
|
||||
2026-11-02 23:44:02.665 AWBFILES 3080/10926
|
||||
2026-11-02 23:44:03.227 AWBPROGRESS 核对原活动版本 · 3518/10926 文件 · runtime/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts
|
||||
2026-11-02 23:44:03.227 AWBFILES 3518/10926
|
||||
2026-11-02 23:44:03.798 AWBPROGRESS 核对原活动版本 · 3938/10926 文件 · runtime/node_modules/minipass/dist/commonjs/index.js
|
||||
2026-11-02 23:44:03.798 AWBFILES 3938/10926
|
||||
2026-11-02 23:44:04.299 AWBPROGRESS 核对原活动版本 · 4375/10926 文件 · runtime/node_modules/npm/man/man7/registry.7
|
||||
2026-11-02 23:44:04.299 AWBFILES 4375/10926
|
||||
2026-11-02 23:44:04.864 AWBPROGRESS 核对原活动版本 · 4714/10926 文件 · runtime/node_modules/npm/node_modules/agent-base/dist/helpers.js
|
||||
2026-11-02 23:44:04.864 AWBFILES 4714/10926
|
||||
2026-11-02 23:44:05.367 AWBPROGRESS 核对原活动版本 · 5054/10926 文件 · runtime/node_modules/npm/node_modules/libnpmpublish/lib/index.js
|
||||
2026-11-02 23:44:05.367 AWBFILES 5054/10926
|
||||
2026-11-02 23:44:05.930 AWBPROGRESS 核对原活动版本 · 5402/10926 文件 · runtime/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/root.js
|
||||
2026-11-02 23:44:05.930 AWBFILES 5402/10926
|
||||
2026-11-02 23:44:06.496 AWBPROGRESS 核对原活动版本 · 5766/10926 文件 · runtime/node_modules/npm/node_modules/undici/lib/dispatcher/dispatcher-base.js
|
||||
2026-11-02 23:44:06.496 AWBFILES 5766/10926
|
||||
2026-11-02 23:44:07.001 AWBPROGRESS 核对原活动版本 · 6162/10926 文件 · runtime/node_modules/pino/test/fixtures/ts/to-file-transport-native.mts
|
||||
2026-11-02 23:44:07.001 AWBFILES 6162/10926
|
||||
2026-11-02 23:44:07.567 AWBPROGRESS 核对原活动版本 · 6589/10926 文件 · runtime/node_modules/playwright-core/lib/server/utils/image_tools/compare.js
|
||||
2026-11-02 23:44:07.567 AWBFILES 6589/10926
|
||||
2026-11-02 23:44:08.072 AWBPROGRESS 核对原活动版本 · 6993/10926 文件 · runtime/node_modules/rea-agents/dist/application/ClientConfigurationCleanup.js
|
||||
2026-11-02 23:44:08.072 AWBFILES 6993/10926
|
||||
2026-11-02 23:44:08.635 AWBPROGRESS 核对原活动版本 · 7419/10926 文件 · runtime/node_modules/rea-agents/dist/browser/history/QlogCapture.js
|
||||
2026-11-02 23:44:08.635 AWBFILES 7419/10926
|
||||
2026-11-02 23:44:09.201 AWBPROGRESS 核对原活动版本 · 7863/10926 文件 · runtime/node_modules/rea-agents/dist/domain/adb/adbDeviceAnalysis.js
|
||||
2026-11-02 23:44:09.201 AWBFILES 7863/10926
|
||||
2026-11-02 23:44:09.768 AWBPROGRESS 核对原活动版本 · 8305/10926 文件 · runtime/node_modules/rea-agents/dist/domain/managed/managedMemberComparisonCoverage.js
|
||||
2026-11-02 23:44:09.768 AWBFILES 8305/10926
|
||||
2026-11-02 23:44:10.273 AWBPROGRESS 核对原活动版本 · 8693/10926 文件 · runtime/node_modules/rea-agents/dist/javascript/analysis/JavaScriptAnalysisWorkerProtocol.js
|
||||
2026-11-02 23:44:10.273 AWBFILES 8693/10926
|
||||
2026-11-02 23:44:10.842 AWBPROGRESS 核对原活动版本 · 9126/10926 文件 · runtime/node_modules/rea-agents/dist/server/registerManagedWorkflowTools/compareManagedMembers.js
|
||||
2026-11-02 23:44:10.842 AWBFILES 9126/10926
|
||||
2026-11-02 23:44:11.408 AWBPROGRESS 核对原活动版本 · 9541/10926 文件 · runtime/node_modules/stream-chain/src/node/jsonl/stringer.js
|
||||
2026-11-02 23:44:11.408 AWBFILES 9541/10926
|
||||
2026-11-02 23:44:11.913 AWBPROGRESS 核对原活动版本 · 9973/10926 文件 · runtime/node_modules/yaml/browser/dist/compose/resolve-block-seq.js
|
||||
2026-11-02 23:44:11.913 AWBFILES 9973/10926
|
||||
2026-11-02 23:44:12.478 AWBPROGRESS 核对原活动版本 · 10407/10926 文件 · runtime/node_modules/zod/src/v4/core/tests/locales/be.test.ts
|
||||
2026-11-02 23:44:12.478 AWBFILES 10407/10926
|
||||
2026-11-02 23:44:13.045 AWBPROGRESS 核对原活动版本 · 10876/10926 文件 · runtime/node_modules/zod/v4/locales/zh-CN.js
|
||||
2026-11-02 23:44:13.045 AWBFILES 10876/10926
|
||||
2026-11-02 23:44:13.108 AWBPROGRESS 核对原活动版本 · 10926/10926 文件 · THIRD_PARTY_NOTICES.txt
|
||||
2026-11-02 23:44:13.108 AWBFILES 10926/10926
|
||||
2026-11-02 23:44:13.170 AWBPROGRESS 核对原活动版本
|
||||
2026-11-02 23:44:13.170 AWBFILES -
|
||||
2026-11-02 23:44:13.233 AWBPROGRESS 核对原活动版本 · 0/22 文件 · 0/9143948 字节
|
||||
2026-11-02 23:44:13.233 AWBFILES 0/22
|
||||
2026-11-02 23:44:13.295 AWBPROGRESS 核对原活动版本 · 22/22 文件 · 9143948/9143948 字节 · dist-server/server.mjs
|
||||
2026-11-02 23:44:13.295 AWBFILES 22/22
|
||||
2026-11-02 23:44:13.295 AWBPROGRESS 核对安装目录
|
||||
2026-11-02 23:44:13.295 AWBFILES -
|
||||
2026-11-02 23:44:13.358 AWBPROGRESS 核对后台宿主与活动任务
|
||||
2026-11-02 23:44:13.358 AWBFILES -
|
||||
2026-11-02 23:44:17.172 AWBPROGRESS 安装未完成,请核对原始原因
|
||||
2026-11-02 23:44:17.172 AWBFILES -
|
||||
2026-11-02 23:44:17.172 AWBERROR 先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
2026-11-02 23:44:17.172 {"success":false,"code":"INSTALLATION_REJECTED","message":"先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。"}
|
||||
2026-11-02 23:44:17.196 PrepareToInstall failed: 安装预检未通过:先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
原程序和用户数据保留。日志及阶段记录见 .installation 目录。
|
||||
2026-11-02 23:44:17.196 Need to restart Windows? No
|
||||
2026-11-02 23:44:17.196 Defaulting to OK for suppressed message box (OK):
|
||||
安装预检未通过:先等待原任务、审批、工具或模型请求结束,并关闭桌面窗口;后台宿主可保持运行。
|
||||
原程序和用户数据保留。日志及阶段记录见 .installation 目录。
|
||||
2026-11-02 23:44:17.196 Got EAbort exception.
|
||||
2026-11-02 23:44:17.196 Deinitializing Setup.
|
||||
2026-11-02 23:44:17.205 Log closed.
|
||||
+17159
File diff suppressed because one or more lines are too long
+2862
File diff suppressed because it is too large
Load Diff
+56470
File diff suppressed because it is too large
Load Diff
+89
@@ -0,0 +1,89 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
|
||||
// Offline verification only: no Provider, desktop input, plugin or network.
|
||||
const root = path.resolve('docs/original-purge-release-f-evidence');
|
||||
const sha = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
function raw(relative) {
|
||||
const file = path.resolve(root, relative);
|
||||
assert.ok(file.startsWith(root + path.sep), 'Evidence stays within the sealed directory.');
|
||||
return fs.readFileSync(file);
|
||||
}
|
||||
const read = relative => JSON.parse(raw(relative));
|
||||
const manifest = read('manifest.json');
|
||||
assert.equal(manifest.schemaVersion, 1); assert.equal(manifest.slice, 'original-purge-local-release-f');
|
||||
assert.equal(manifest.version, '1.24.0'); assert.equal(manifest.realModelRequests, 0);
|
||||
const names = new Set(), files = new Map();
|
||||
for (const entry of manifest.entries) {
|
||||
assert.equal(names.has(entry.name), false); names.add(entry.name);
|
||||
const bytes = raw(entry.file); assert.equal(bytes.length, entry.bytes, entry.name); assert.equal(sha(bytes), entry.sha256, entry.name);
|
||||
if (files.has(entry.file)) assert.equal(files.get(entry.file), entry.sha256);
|
||||
files.set(entry.file, entry.sha256);
|
||||
}
|
||||
assert.equal(files.size, manifest.count);
|
||||
assert.equal([...files.keys()].reduce((sum, file) => sum + raw(file).length, 0), manifest.bytes);
|
||||
assert.equal(sha(fs.readFileSync(manifest.dManifest)), manifest.dManifestSha256);
|
||||
assert.equal(sha(fs.readFileSync(manifest.eManifest)), manifest.eManifestSha256);
|
||||
const d = JSON.parse(fs.readFileSync(manifest.dManifest)), e = JSON.parse(fs.readFileSync(manifest.eManifest));
|
||||
assert.equal(e.requests, 52); assert.equal(e.reportedTokens, 621486); assert.equal(e.unknownRequests, 0);
|
||||
assert.deepEqual(manifest.sourceInputs, d.sourceInputs.map(({ path, bytes, sha256 }) => ({ path, bytes, sha256 })));
|
||||
const selected = key => read(manifest.selected[key]);
|
||||
const release = selected('release.json'), preflight = selected('preflight.json');
|
||||
assert.equal(release.documentation.sourceCommit, manifest.sourceCommit);
|
||||
assert.equal(path.basename(release.portableRoot), manifest.candidate); assert.equal(preflight.success, true);
|
||||
const rebuilt = selected('rebuild');
|
||||
assert.equal(rebuilt.success, true); assert.equal(rebuilt.sourceZip.sha256, release.source.sha256);
|
||||
assert.equal(rebuilt.sourceCommit, manifest.sourceCommit); assert.equal(rebuilt.compiled.length, 22); assert.deepEqual(rebuilt.mismatches, []);
|
||||
assert.equal(rebuilt.realModelRequests, 0);
|
||||
const portableManifest = selected('portableManifest'), portableFiles = new Map(portableManifest.files.map(file => [file.path, file]));
|
||||
const changed = [];
|
||||
for (const item of manifest.lineage) {
|
||||
const old = d.buildInputs.find(old => old.path === item.path); assert.ok(old, item.path);
|
||||
assert.deepEqual(item.originalD, { bytes: old.bytes, sha256: old.sha256 });
|
||||
const portable = portableFiles.get(item.path); assert.ok(portable);
|
||||
const built = rebuilt.compiled.find(file => file.path === item.path); assert.ok(built);
|
||||
assert.deepEqual(built.expected, built.actual);
|
||||
assert.deepEqual(built.actual, { bytes: portable.bytes, sha256: portable.sha256 });
|
||||
assert.equal(item.sha256, portable.sha256); assert.equal(item.bytes, portable.bytes);
|
||||
if (item.sha256 !== old.sha256) changed.push(item.path);
|
||||
}
|
||||
assert.deepEqual(changed, ['dist-server/install-manager.mjs']);
|
||||
const rejected = selected('negativeRebuild');
|
||||
assert.equal(rejected.success, false); assert.equal(rejected.mismatches.length, 1);
|
||||
assert.equal(rejected.mismatches[0].path, changed[0]);
|
||||
const archives = selected('archives'); assert.equal(archives.success, true); assert.equal(archives.archives.length, 3);
|
||||
for (const archive of archives.archives) {
|
||||
assert.equal(archive.sha256, release[archive.kind].sha256); assert.equal(archive.crcPassed, true); assert.equal(archive.manifestAndDirectoryMatch, true);
|
||||
}
|
||||
const portable = selected('portable'); assert.equal(portable.success, true); assert.equal(portable.appRoot, release.portableRoot);
|
||||
assert.equal(portable.realModel, false);
|
||||
const installation = selected('installation');
|
||||
assert.equal(installation.success, true); assert.equal(installation.realModelRequests, 0); assert.equal(installation.results.length, 12);
|
||||
assert.equal(installation.packagedSource, path.resolve(release.portableRoot)); assert.ok(installation.results.every(result => result.passed));
|
||||
for (const phase of ['before.json', 'install.json', 'final.json']) assert.equal(selected(phase).success, true);
|
||||
const final = selected('final.json');
|
||||
assert.equal(final.pid, 36552); assert.equal(final.hasKey, true); assert.equal(final.realModelRequests, 0); assert.equal(final.inspectorClosed, true);
|
||||
assert.deepEqual(final.retained, { originalRows: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact', originalModelCenter: 'exact' });
|
||||
assert.equal(final.pointer.active.directory, manifest.candidate);
|
||||
assert.equal(final.pointer.active.manifestSha256, sha(raw(manifest.selected.portableManifest)));
|
||||
assert.equal(final.operation.state, 'completed'); assert.equal(final.desktopWindows, 0);
|
||||
assert.equal(final.nativeWindowReview.status, 'not_performed'); assert.deepEqual(final.nativeWindowReview, manifest.nativeWindowReview);
|
||||
assert.equal(selected('nativeStop').fallbackUIInput, false);
|
||||
assert.equal(final.availability.status, 'available'); assert.equal(final.purge.status, 'available');
|
||||
const identity = JSON.parse(fs.readFileSync('docs/original-purge-release-identity.json'));
|
||||
assert.equal(identity.sourceCommit, manifest.sourceCommit); assert.equal(identity.candidate, manifest.candidate);
|
||||
assert.equal(identity.evidence.sha256, sha(raw('manifest.json'))); assert.equal(identity.evidence.files, manifest.count);
|
||||
assert.equal(identity.manifestSha256, final.identity.manifestSha256); assert.equal(identity.runtimeIdentity, final.identity.identitySha256);
|
||||
assert.deepEqual(identity.formalNativeWindowReview, final.nativeWindowReview); assert.deepEqual(identity.counts, final.counts);
|
||||
const audit = selected('efficiency-audit-v3.json');
|
||||
assert.equal(audit.manifestSha256, manifest.eManifestSha256); assert.equal(audit.realModelRequests, 0);
|
||||
const react = audit.reports.find(sample => sample.name === 'react');
|
||||
assert.equal(react.pages.length, 11);
|
||||
assert.equal(react.pages.filter(page => page.alreadyCovered && page.nextOffset > page.offset).length, 4);
|
||||
assert.equal(react.pages.filter(page => page.nextOffset === page.offset).length, 1);
|
||||
assert.deepEqual(react.requests.slice(6).map(request => request.completeSource.filter(file => file.retained).length), [6, 5, 5, 4, 2, 2]);
|
||||
console.log(JSON.stringify({ success: true, slice: manifest.slice, candidate: manifest.candidate, files: manifest.count, bytes: manifest.bytes,
|
||||
sourceInputs: manifest.sourceInputs.length, compiled: rebuilt.compiled.length, isolatedInstallerGroups: installation.results.length,
|
||||
originalState: final.retained, nativeWindowReview: 'not_performed', realModelRequests: 0 }));
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
{"success":true,"slice":"original-purge-local-release-f","candidate":"Agent-Workbench-1.24.0-win-x64-20261102152844546","files":69,"bytes":46795742,"sourceInputs":436,"compiled":22,"isolatedInstallerGroups":12,"originalState":{"originalRows":"exact","originalExports":"exact","originalArtifactBytes":"exact","originalModelCenter":"exact"},"nativeWindowReview":"not_performed","realModelRequests":0}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"slice": "original-purge-release-f-closeout",
|
||||
"createdAt": "2026-11-02T16:14:59.230Z",
|
||||
"originalIndexFailure": {
|
||||
"success": false,
|
||||
"stage": "index raw-byte review",
|
||||
"file": "docs/original-purge-release-f-offline.txt",
|
||||
"rawSha256": "df5819489924dd4392663e378f7e6c158745b98be9cec1fc8109cc5051d4b5da",
|
||||
"indexSha256": "9f1b89a2f4d3e2f5cae32e6d4c01cfd81a1423cfdca20f9e114c3ac2e4e2c533",
|
||||
"rawBytes": 400,
|
||||
"indexBytes": 399,
|
||||
"originalPreserved": true,
|
||||
"reason": "Already staged text retained normalized index bytes after binary attribute changed; re-add with --renormalize, preserve original CRLF bytes."
|
||||
},
|
||||
"finalIndexReview": {
|
||||
"success": true,
|
||||
"sealedAndIdentityFiles": 72,
|
||||
"indexBytes": "exact",
|
||||
"credentialShapeMatches": 0,
|
||||
"manifestSha256": "f9009f4b785edff138feab9968c284cdf44592f6d795308745ec6e25a42a7970",
|
||||
"originalDManifestUnchanged": true,
|
||||
"originalEManifestUnchanged": true
|
||||
},
|
||||
"offlineVerification": {
|
||||
"success": true,
|
||||
"output": "docs/original-purge-release-f-offline.txt",
|
||||
"sha256": "df5819489924dd4392663e378f7e6c158745b98be9cec1fc8109cc5051d4b5da",
|
||||
"verifierSha256": "fe4568fc8c39b136969632a15d73390f1c48e570b67da6d957c902d500cb79cb"
|
||||
},
|
||||
"scope": "All 69 sealed files plus manifest, identity and original offline receipt matched Git index bytes. First index newline-normalization rejection retained; original receipt unchanged and re-staged as binary. Prior D/E manifest hashes unchanged. Formal native-window review remains not performed after physical Escape stop. No further runtime tests or real model calls."
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"version": "1.24.0",
|
||||
"delivery": "immutable-local-Windows-repair-installation",
|
||||
"sourceCommit": "c03860da74e837d3185ca1264b67ffad503a7eab",
|
||||
"candidate": "Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"installedRoot": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"manifestSha256": "d1435acef58fea78972bdfb4088e393ecf15f70bb13e9d9eaaf3404bd9d2f8b1",
|
||||
"runtimeIdentity": "6721aa6d71d0d8829f5c4d7b0bccd452dd258ee4ad35bf8d48e5fbea8380f0ea",
|
||||
"pid": 36552,
|
||||
"hasKey": true,
|
||||
"realModelRequests": 0,
|
||||
"retained": {
|
||||
"originalRows": "exact",
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalModelCenter": "exact"
|
||||
},
|
||||
"counts": {
|
||||
"projects": 42,
|
||||
"sessions": 58,
|
||||
"records": 4953,
|
||||
"events": 10329,
|
||||
"artifacts": 2850
|
||||
},
|
||||
"portable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546.zip",
|
||||
"bytes": 242444348,
|
||||
"sha256": "6a6161860cf13f1cfaf42dec31d3e1bbe72ad4636f2e2cb92adcfb7a0db28b75"
|
||||
},
|
||||
"source": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-source-20261102152844546.zip",
|
||||
"bytes": 841886165,
|
||||
"sha256": "bf7f589411df384d3ca72b50ac02aeb0848cadb05ca195a81d046078e23acf8a"
|
||||
},
|
||||
"evidenceArchive": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-evidence-20261102152844546.zip",
|
||||
"bytes": 600854797,
|
||||
"sha256": "9a860897738406bf2439e67827f00a287b022a1b65a5403a39d1639a8ac491a6"
|
||||
},
|
||||
"installer": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.24.0-win-x64-20261102152844546-Setup.exe",
|
||||
"bytes": 212871802,
|
||||
"sha256": "b00033b8d4ee1565d22b59522b6001751d46a97a8b02ead30eefa05b09d0c580",
|
||||
"compiler": {
|
||||
"version": "6.3.1",
|
||||
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
|
||||
},
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-6ff5c23d-091b-45cc-a128-3eb81e5e6c1d\\installer.iss",
|
||||
"version": "1.24.0",
|
||||
"candidateDirectory": "Agent-Workbench-1.24.0-win-x64-20261102152844546",
|
||||
"qaFixture": null
|
||||
},
|
||||
"sourceRebuild": {
|
||||
"success": true,
|
||||
"files": 22,
|
||||
"inputCount": 514,
|
||||
"sourceZipSha256": "bf7f589411df384d3ca72b50ac02aeb0848cadb05ca195a81d046078e23acf8a"
|
||||
},
|
||||
"archivesVerified": [
|
||||
{
|
||||
"kind": "portable",
|
||||
"sha256": "6a6161860cf13f1cfaf42dec31d3e1bbe72ad4636f2e2cb92adcfb7a0db28b75",
|
||||
"files": 10924
|
||||
},
|
||||
{
|
||||
"kind": "source",
|
||||
"sha256": "bf7f589411df384d3ca72b50ac02aeb0848cadb05ca195a81d046078e23acf8a",
|
||||
"files": 26338
|
||||
},
|
||||
{
|
||||
"kind": "evidence",
|
||||
"sha256": "9a860897738406bf2439e67827f00a287b022a1b65a5403a39d1639a8ac491a6",
|
||||
"files": 15126
|
||||
}
|
||||
],
|
||||
"isolatedInstallerGroups": 12,
|
||||
"operationId": "d2307abc48811e0bf46a387d21bf243f2fd3951c22d6c8c21b66b1cd5c286384",
|
||||
"pointerRevision": 16,
|
||||
"formalNativeWindowReview": {
|
||||
"status": "not_performed",
|
||||
"reason": "Computer Use reported physical Escape stop; no further UI actions this turn. Actual isolated installer/native-bootstrap/UI checks remain separate from formal-window review."
|
||||
},
|
||||
"evidence": {
|
||||
"manifest": "docs/original-purge-release-f-evidence/manifest.json",
|
||||
"sha256": "f9009f4b785edff138feab9968c284cdf44592f6d795308745ec6e25a42a7970",
|
||||
"files": 69,
|
||||
"bytes": 46795742
|
||||
},
|
||||
"finishedAt": "2026-11-02T16:10:09.329Z"
|
||||
}
|
||||
@@ -1,5 +1,11 @@
|
||||
# 汇总发现
|
||||
|
||||
## F 固定安装与后续边界
|
||||
|
||||
新候选独立源码重建22/22、三归档、实际便携和12组隔离安装通过后,正式已从临时QA根切换至固定versions目录;原PID/Provider与当前42项目/58会话/2850工件及全部原表/导出/模型中心精确保持。原操作675.500秒单列,不沿用旧速度。69份原件离线通过,正式原生窗口回看因物理Escape停止仍未验收。
|
||||
|
||||
原React效率初审遗漏system中的逐行JSON,错误判断完整源码全被丢弃;最终按实际工作依据纠正为六份→五份→五份→四份→两份→两份,缺失修复模块随重读抖动。四次非空重复页、一次末尾空页和Python完整批次后两次仍running的检视均由原件确认,见docs/LIVE-DELIVERY-EFFICIENCY-AUDIT.md。后续修必要代码稳定保留和同轮工具结算后的确定审查交接,不把更早失败当收益。
|
||||
|
||||
## F 源码与发行编译一致性
|
||||
|
||||
scripts/upgrade-running.mjs由src/core/desktop/install-manager.mjs直接导入,会进入单独的dist-server/install-manager.mjs。D后续修正该脚本时只复验源码升级而未重编这一入口,故436源码输入和旧22编译分别正确仍不足以证明两者对应。首发行源码ZIP独立重建已实际检出55字节差异;21份模型服务/网页/桌面编译仍完全一致。补齐构建后主仓与独立重建22/22逐字节一致。后续以独立源包重建核对作为正式安装前门槛,原D清单/失败及E实测数据不改写。
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# 统一执行进度
|
||||
|
||||
## F 固定安装与证据收口
|
||||
|
||||
最终候选20261102152844546/source c03860d已实际安装到正式versions目录,替代临时QA处理器,版本仍1.24.0。新源码ZIP提取514输入并离线实际重建,全部22编译与便携一致;D/E的21执行编译不变,修正安装管理器一个入口。三归档、实际便携链路、12组隔离安装及安装副本16组成果/9组文件流程通过。原60秒QA等待超时保持,最终驱动只把受控本机响应客户端期限设300秒、实际42382ms/两认证请求无重试,不修改产品时限。
|
||||
|
||||
正式原PID36552/Provider、42项目/58会话/4953记录/10329事件/2850工件、全导出/每表每行/模型中心精确保持,来源可用,9229关闭,真实模型请求0。操作d2307abc48811e0bf46a387d21bf243f2fd3951c22d6c8c21b66b1cd5c286384,指针16,原操作675.500秒。69份/46795742字节证据及manifest f9009f4b785edff138feab9968c284cdf44592f6d795308745ec6e25a42a7970离线通过。原生窗口回看被物理Escape停止,未补做或计通过;下一先补该项,再推进已完成离线定位的上下文抖动及完整批次后空转。原D/E失败与实测结论保持。
|
||||
|
||||
Git原字节预检首次发现已经暂存为文本的独立离线收据仍保留399字节规范化索引,而原件400字节CRLF未改;增加binary属性后用git add --renormalize仅重建该索引。69份封存原件加manifest/identity/离线收据共72文件全部逐字节匹配,常见敏感前缀0命中,D/E原manifest均保持。首拒绝与最终结果见docs/original-purge-release-f-review.json,没有修剪原日志或混作运行测试失败。
|
||||
|
||||
## F 发行一致性复核与构建遗漏修复
|
||||
|
||||
首不可变候选20261102151352527/source3934667的三归档CRC/完整目录/字节/SHA、436份D源码输入和22份原编译输入核对通过。首预检错误要求源码包自带dist,按package.mjs实际源码分发契约修正并保留原失败。便携实际链路通过,安装生命周期仍在自有数据中运行。
|
||||
|
||||
@@ -92,10 +92,16 @@ try {
|
||||
const connectionId = connection.id ?? connection.connection?.id ?? connection.center?.connections.at(-1).id;
|
||||
assert.ok(connectionId); await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 1);
|
||||
stage = 'actual update rejects a pending owned model request'; hold = true;
|
||||
const pending = controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId }, timeoutMs: 60000 }); pending.catch(() => {});
|
||||
// Manifest verification is synchronous and can occupy this fixture's event
|
||||
// loop. Keep the explicitly held local response pending across that work;
|
||||
// this is the QA client's deadline, not a product/model timeout override.
|
||||
const pendingStarted = Date.now();
|
||||
const pending = controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId }, timeoutMs: 300000 }); pending.catch(() => {});
|
||||
await until(() => heldRequest); await assert.rejects(ownedManager(null).preflight(), /任务|请求/);
|
||||
assert.equal((await controller.connect()).identity.pid, original.pid); record(stage, { fixture: 'Actual pending owned HTTP request; manager preflight rejects before the product 20-second request timeout.' });
|
||||
releaseRequest?.(); hold = false; await pending;
|
||||
assert.equal((await controller.connect()).identity.pid, original.pid);
|
||||
assert.equal(authenticated, 2, 'Exactly the initial and explicitly held owned requests; no retry.');
|
||||
record(stage, { fixture: 'Actual owned HTTP response held until full manifest/preflight and original PID verification settle. No configured-model call or product timeout change.', elapsedMs: Date.now() - pendingStarted });
|
||||
releaseRequest?.(); hold = false; assert.equal((await pending).ok, true);
|
||||
stage = 'actual installer rejects a persistent original task approval';
|
||||
const projectRoot = path.join(root, 'approval-project'); fs.mkdirSync(projectRoot); fs.writeFileSync(path.join(projectRoot, 'README.md'), '# Owned installer approval project\n');
|
||||
const project = await controller.api('/projects', { method: 'POST', input: { root: projectRoot } }), session = await controller.api('/sessions', { method: 'POST', input: { projectId: project.id } });
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createHash } from 'node:crypto';
|
||||
|
||||
// Offline verification only: no Provider, desktop input, plugin or network.
|
||||
const root = path.resolve('docs/original-purge-release-f-evidence');
|
||||
const sha = bytes => createHash('sha256').update(bytes).digest('hex');
|
||||
function raw(relative) {
|
||||
const file = path.resolve(root, relative);
|
||||
assert.ok(file.startsWith(root + path.sep), 'Evidence stays within the sealed directory.');
|
||||
return fs.readFileSync(file);
|
||||
}
|
||||
const read = relative => JSON.parse(raw(relative));
|
||||
const manifest = read('manifest.json');
|
||||
assert.equal(manifest.schemaVersion, 1); assert.equal(manifest.slice, 'original-purge-local-release-f');
|
||||
assert.equal(manifest.version, '1.24.0'); assert.equal(manifest.realModelRequests, 0);
|
||||
const names = new Set(), files = new Map();
|
||||
for (const entry of manifest.entries) {
|
||||
assert.equal(names.has(entry.name), false); names.add(entry.name);
|
||||
const bytes = raw(entry.file); assert.equal(bytes.length, entry.bytes, entry.name); assert.equal(sha(bytes), entry.sha256, entry.name);
|
||||
if (files.has(entry.file)) assert.equal(files.get(entry.file), entry.sha256);
|
||||
files.set(entry.file, entry.sha256);
|
||||
}
|
||||
assert.equal(files.size, manifest.count);
|
||||
assert.equal([...files.keys()].reduce((sum, file) => sum + raw(file).length, 0), manifest.bytes);
|
||||
assert.equal(sha(fs.readFileSync(manifest.dManifest)), manifest.dManifestSha256);
|
||||
assert.equal(sha(fs.readFileSync(manifest.eManifest)), manifest.eManifestSha256);
|
||||
const d = JSON.parse(fs.readFileSync(manifest.dManifest)), e = JSON.parse(fs.readFileSync(manifest.eManifest));
|
||||
assert.equal(e.requests, 52); assert.equal(e.reportedTokens, 621486); assert.equal(e.unknownRequests, 0);
|
||||
assert.deepEqual(manifest.sourceInputs, d.sourceInputs.map(({ path, bytes, sha256 }) => ({ path, bytes, sha256 })));
|
||||
const selected = key => read(manifest.selected[key]);
|
||||
const release = selected('release.json'), preflight = selected('preflight.json');
|
||||
assert.equal(release.documentation.sourceCommit, manifest.sourceCommit);
|
||||
assert.equal(path.basename(release.portableRoot), manifest.candidate); assert.equal(preflight.success, true);
|
||||
const rebuilt = selected('rebuild');
|
||||
assert.equal(rebuilt.success, true); assert.equal(rebuilt.sourceZip.sha256, release.source.sha256);
|
||||
assert.equal(rebuilt.sourceCommit, manifest.sourceCommit); assert.equal(rebuilt.compiled.length, 22); assert.deepEqual(rebuilt.mismatches, []);
|
||||
assert.equal(rebuilt.realModelRequests, 0);
|
||||
const portableManifest = selected('portableManifest'), portableFiles = new Map(portableManifest.files.map(file => [file.path, file]));
|
||||
const changed = [];
|
||||
for (const item of manifest.lineage) {
|
||||
const old = d.buildInputs.find(old => old.path === item.path); assert.ok(old, item.path);
|
||||
assert.deepEqual(item.originalD, { bytes: old.bytes, sha256: old.sha256 });
|
||||
const portable = portableFiles.get(item.path); assert.ok(portable);
|
||||
const built = rebuilt.compiled.find(file => file.path === item.path); assert.ok(built);
|
||||
assert.deepEqual(built.expected, built.actual);
|
||||
assert.deepEqual(built.actual, { bytes: portable.bytes, sha256: portable.sha256 });
|
||||
assert.equal(item.sha256, portable.sha256); assert.equal(item.bytes, portable.bytes);
|
||||
if (item.sha256 !== old.sha256) changed.push(item.path);
|
||||
}
|
||||
assert.deepEqual(changed, ['dist-server/install-manager.mjs']);
|
||||
const rejected = selected('negativeRebuild');
|
||||
assert.equal(rejected.success, false); assert.equal(rejected.mismatches.length, 1);
|
||||
assert.equal(rejected.mismatches[0].path, changed[0]);
|
||||
const archives = selected('archives'); assert.equal(archives.success, true); assert.equal(archives.archives.length, 3);
|
||||
for (const archive of archives.archives) {
|
||||
assert.equal(archive.sha256, release[archive.kind].sha256); assert.equal(archive.crcPassed, true); assert.equal(archive.manifestAndDirectoryMatch, true);
|
||||
}
|
||||
const portable = selected('portable'); assert.equal(portable.success, true); assert.equal(portable.appRoot, release.portableRoot);
|
||||
assert.equal(portable.realModel, false);
|
||||
const installation = selected('installation');
|
||||
assert.equal(installation.success, true); assert.equal(installation.realModelRequests, 0); assert.equal(installation.results.length, 12);
|
||||
assert.equal(installation.packagedSource, path.resolve(release.portableRoot)); assert.ok(installation.results.every(result => result.passed));
|
||||
for (const phase of ['before.json', 'install.json', 'final.json']) assert.equal(selected(phase).success, true);
|
||||
const final = selected('final.json');
|
||||
assert.equal(final.pid, 36552); assert.equal(final.hasKey, true); assert.equal(final.realModelRequests, 0); assert.equal(final.inspectorClosed, true);
|
||||
assert.deepEqual(final.retained, { originalRows: 'exact', originalExports: 'exact', originalArtifactBytes: 'exact', originalModelCenter: 'exact' });
|
||||
assert.equal(final.pointer.active.directory, manifest.candidate);
|
||||
assert.equal(final.pointer.active.manifestSha256, sha(raw(manifest.selected.portableManifest)));
|
||||
assert.equal(final.operation.state, 'completed'); assert.equal(final.desktopWindows, 0);
|
||||
assert.equal(final.nativeWindowReview.status, 'not_performed'); assert.deepEqual(final.nativeWindowReview, manifest.nativeWindowReview);
|
||||
assert.equal(selected('nativeStop').fallbackUIInput, false);
|
||||
assert.equal(final.availability.status, 'available'); assert.equal(final.purge.status, 'available');
|
||||
const identity = JSON.parse(fs.readFileSync('docs/original-purge-release-identity.json'));
|
||||
assert.equal(identity.sourceCommit, manifest.sourceCommit); assert.equal(identity.candidate, manifest.candidate);
|
||||
assert.equal(identity.evidence.sha256, sha(raw('manifest.json'))); assert.equal(identity.evidence.files, manifest.count);
|
||||
assert.equal(identity.manifestSha256, final.identity.manifestSha256); assert.equal(identity.runtimeIdentity, final.identity.identitySha256);
|
||||
assert.deepEqual(identity.formalNativeWindowReview, final.nativeWindowReview); assert.deepEqual(identity.counts, final.counts);
|
||||
const audit = selected('efficiency-audit-v3.json');
|
||||
assert.equal(audit.manifestSha256, manifest.eManifestSha256); assert.equal(audit.realModelRequests, 0);
|
||||
const react = audit.reports.find(sample => sample.name === 'react');
|
||||
assert.equal(react.pages.length, 11);
|
||||
assert.equal(react.pages.filter(page => page.alreadyCovered && page.nextOffset > page.offset).length, 4);
|
||||
assert.equal(react.pages.filter(page => page.nextOffset === page.offset).length, 1);
|
||||
assert.deepEqual(react.requests.slice(6).map(request => request.completeSource.filter(file => file.retained).length), [6, 5, 5, 4, 2, 2]);
|
||||
console.log(JSON.stringify({ success: true, slice: manifest.slice, candidate: manifest.candidate, files: manifest.count, bytes: manifest.bytes,
|
||||
sourceInputs: manifest.sourceInputs.length, compiled: rebuilt.compiled.length, isolatedInstallerGroups: installation.results.length,
|
||||
originalState: final.retained, nativeWindowReview: 'not_performed', realModelRequests: 0 }));
|
||||
+3
-1
@@ -9,7 +9,9 @@
|
||||
3. [complete] D3 Task/Run真实消费/每次派发预算、默认关闭原版模式/完整来源及策略明细通过。大快照改有游标有界通知,编译UI四组/四截图/两视口零页面错误与意外断开;原失败保持。
|
||||
4. [complete] D4 原生三场景、宿主四场景、Chat/Responses32K工程各五组通过。完整原轮751/756五失败及独立Python15/15、升级2/2、上下文53/53保持原归属;实现9106655/最终d05a741。399份/51254660字节/343工件离线来源/20夹具请求/用量/退出核验通过;见docs/QA-ORIGINAL-PURGE-D.md。本地证据提交后接E。
|
||||
5. [complete] E 六个新有界样本实测及889份/39866911字节封存/离线原请求用量核验完成:52次真实请求/621486报告tokens/0未知。Python6/6/编译/审查Git通过;React与四原版AB/BA未交付,原版收益没有证明。11开启/17关闭输入、两次真实原版apply与六原生进程退出核对。46原会话/2143原工件及全部表逐原行保持,原模型参数/池恢复,修订单调增长明确记录。见docs/LIVE-RETEST-E-RESULTS.md。
|
||||
6. [in_progress] F 固定本地发行并保留Provider升级,核对原状态与桌面入口。首候选三归档、436源码及22原编译身份通过,但独立源码重建发现安装管理器入口遗漏升级脚本修正;其余21编译逐字节一致。原失败保持,先补齐该入口构建、新增可复用源码ZIP重建核验、再生成新不可变候选并实际验收安装;正式尚未安装,不把临时.qa副本冒作交付。之后按docs/LIVE-DELIVERY-EFFICIENCY-PLAN.md继续效率与审查交接修复。
|
||||
6. [complete] F固定本地安装与状态核对:补齐安装管理器入口构建,候选20261102152844546/source c03860d的源码ZIP514输入/22编译完全一致、三归档/实际便携/12组隔离安装及安装副本16+9组通过。正式原PID/Provider、42项目/58会话/4953记录/10329事件/2850工件及模型中心精确保持,9229关闭;69份/46795742字节离线证据通过。首候选漏编译、原QA客户端超时、旧D/E结果均保持,见docs/QA-ORIGINAL-PURGE-RELEASE-F.md。
|
||||
7. [pending] 补正式原生窗口目视回看。本轮Computer Use收到物理Escape停止,未继续输入、未计为通过;隔离安装/网页流程不能替代正式窗口观察,F不宣称全部体验验收完成。
|
||||
8. [pending] 按docs/LIVE-DELIVERY-EFFICIENCY-PLAN.md推进完整批次审查交接与必要小源码稳定保留。原件离线已定位四次非空重复页、一次末尾空页及保留抖动;初版多行JSON解析误判已纠正,见docs/LIVE-DELIVERY-EFFICIENCY-AUDIT.md。不重跑旧样本,不增加预算或代写实现制造成功。
|
||||
|
||||
恢复读取时三次批读总输出超过工具上限,截断内容不作为审查依据;后续限制每批总输出和具体短段。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user