chore(release): seal mobile companion 1.16 acceptance

This commit is contained in:
Agent Workbench Dev
2026-10-31 21:31:41 +08:00
parent 263f1fe5e1
commit 299fb14234
293 changed files with 1024397 additions and 20 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# Agent Workbench项目执行规范
1.16在feat/mobile-companion-1.16实施;A/B54/54、C–E新增24/24专项与7组Edge流程通过。来源2ecdfa2当前源码519/519、24类186组历史UI全部通过,313份源码输入和140份原字节证据封存,见docs/QA-1.16.md。真实iPhone核心验收已通过:用户确认信任/审批/摘要/主屏幕/锁屏/切网/停止/撤销,原宿主审计、单次命令和进程/文件另行核对;设备iPhone 14 Pro Max/iOS 27.2为用户提供,无手机截图。版本1.16.0仍为候选,最终独立源码/完整发行及正式升级待完成。独立手机候选使用4320管理与4321 HTTPS、自有示例/数据/Node24;漏npm的旧候选和原失败保留,新1958文件候选同数据重启后4/4工程检查通过。当前48024已恢复demo/无Key,实机设备已撤销,继续体验需新配对。Windows与iPhone通过同局域网Safari/PWA联调,无须Mac,原生iOS分发另议;不把中继验证当实机证据。正式36552/1.15保持,不读取原模型Key,不自动改OS信任或防火墙。
1.16在feat/mobile-companion-1.16完成A–F本地正式交付,产品来源2ecdfa2、发行QA0cc8b4c/52f0d20,最终不可变20261031114604110。独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件、全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。正式手机网关默认关闭、无设备/证书;QA证书与设备身份没有迁入。验收手机监听已关闭并释放4321,4320管理及原数据保留。真实模型工程和Purge推理收益继续按用户选择单独待验,本轮真实模型请求为0。原失败和逐字节证据见docs/QA-1.16.md及docs/mobile-companion-release-identity.json;下一PLAN-1.17仅方案,按既有授权逐切片实施。原4320/4321实机QA候选保持demo无Key、设备已撤销,重新体验须新配对;不把QA状态当正式设备登记。
## 范围与目标
@@ -60,7 +60,7 @@
## 当前本地服务与Windows
- 正式服务入口http://127.0.0.1:4318。1.15在旧宿主退出后保留用户手动新启动的宿主升级,现有连接配置保留但未保存Key需用户在界面填写;普通源码/规划/Git工作不重启服务、不读取或复制Key。
- 正式服务入口http://127.0.0.1:4318,当前1.16.0,沿用用户手动启动的PID36552与原Provider;当前运行目录及数据身份以docs/mobile-companion-release-identity.json为准。1.15期间旧内存Key丢失是历史记录;本轮原连接配置和当前Provider均保持。普通源码/规划/Git工作不重启服务、不读取或复制Key。
- 浏览器/fixture验证使用独立端口与数据目录;用户项目与研究对象的登录/会话配置不用于测试凭据。
- Windows执行环境以实测shell为准。现有工具使用PowerShell 5.1和UTF-8;不用&&/||拼接命令,使用换行和$LASTEXITCODE核对结果。
- 桌面与移动共用执行宿主。手机127.0.0.1指手机,远程接入通过未来经验证的配对网关。
+2 -2
View File
@@ -1,10 +1,10 @@
# Agent Workbench 更新记录
## 1.16.0 候选 · 手机伴随端(实机核心通过,最终发行待验)
## 1.16.0 · 2026-10-31 · 手机伴随端
- 增加默认关闭的局域网HTTPS网关、Windows用户加密证书、两分钟单次配对和逐设备项目/观察/审批/停止授权;手机不接收管理令牌或模型凭据。
- 独立PWA围绕原Task/Run显示进展、差异、检查、预算、unknown和原报告;原seq补发只读恢复,结果SHA核对,撤销实际断开设备连接。离线缓存仅含页面壳。
- 手机审批绑定原输入/当前修订,确认请求幂等,停止等待所属进程;未知回执在刷新后仍显示,原工具不重放。当前源码519/519、24类186组UI及真实iPhone核心验收通过:用户确认信任/审批/摘要/主屏幕/锁屏切网/停止/撤销,宿主审计与进程/文件另行核对。iPhone 14 Pro Max/iOS 27.2为用户提供,无手机截图;最终独立源码、便携、安装和正式升级待验,见[QA-1.16](docs/QA-1.16.md)。
- 手机审批绑定原输入/当前修订,确认请求幂等,停止等待所属进程;未知回执在刷新后仍显示,原工具不重放。当前源码519/519、24类186组UI及真实iPhone核心验收通过:用户确认信任/审批/摘要/主屏幕/锁屏切网/停止/撤销,宿主审计与进程/文件另行核对。iPhone 14 Pro Max/iOS 27.2为用户提供,无手机截图;最终独立源码519/519、完整源码/便携/安装、保留状态正式升级及20页复验通过,见[QA-1.16](docs/QA-1.16.md)。
## 1.15.0 · 2026-10-31
+2 -2
View File
@@ -2,9 +2,9 @@
Agent Workbench 将 Claude Code 与 Cursor 的机制研究整合为独立的本地 AI 编程工作台,并内置模型池、项目记忆、Skills/MCP、REA 工件研究、受控DeepSeek Harness工程引擎、实际页面验收和有依赖的执行计划。工程索引、精确补丁、多文件整批审查、Node/Python实际检查、浏览器交互、本地Git提交及交付报告可以在同一个Task中完成。
1.16.0手机伴随端候选已完成当前源码519项、24类186组UI及真实iPhone核心验收。iPhone可配对后查看同一任务、核对差异/报告、确认原审批并停止所属执行;已核对锁屏、断网恢复和设备撤销。设备iPhone 14 Pro Max/iOS 27.2为用户提供,原宿主审计和进程/文件单独验证;最终独立源码/完整发行与正式升级仍待完成。当前正式服务仍为1.15,具体证据见[QA-1.16](docs/QA-1.16.md)。
1.16.0手机伴随端已完成本地正式交付。手机可查看同一Task/Run、核对原差异与报告、确认原审批及停止所属执行;断线恢复和设备撤销已通过真实iPhone验收。Windows安装、源码/便携独立验证及保留数据升级完成。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。见[本地工作台](http://127.0.0.1:4318/?release=1.16.0)、[实际验收](docs/QA-1.16.md)与[发行身份](docs/mobile-companion-release-identity.json)。
1.15.0已正式本地交付Windows桌面应用、本机可选加密连接、后台任务/窗口分离、单实例、所属项目入口、可回退安装与分页巡检。495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过;当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写,9229关闭。双击安装目录AgentWorkbench.exe使用原项目和连接配置;见[本地工作台](http://127.0.0.1:4318/?release=1.15.0)、[实际验收](docs/QA-1.15.md)、[桌面说明](docs/DESKTOP.md)与[发行身份](docs/desktop-host-release-identity.json)。
1.15.0历史交付Windows桌面应用、本机可选加密连接、后台任务/窗口分离、单实例、所属项目入口、可回退安装与分页巡检。495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过;当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写,9229关闭。双击安装目录AgentWorkbench.exe使用原项目和连接配置;见[本地工作台](http://127.0.0.1:4318/?release=1.15.0)、[实际验收](docs/QA-1.15.md)、[桌面说明](docs/DESKTOP.md)与[发行身份](docs/desktop-host-release-identity.json)。
1.14.0已正式本地交付固定版本的受控引擎与工具/模型桥,原生prompt、审批、预算、原结果和停止进入所属Task/Run;独立工作区成果由父工程审查、检查及Git交付。Purge两版本来源锁定的提示实验默认关闭。三个真实功能工程13节点、23类178组UI、独立源码445/445及最终源码/便携验收通过;原PID、模型连接和全部历史保持,部署后14页复验通过。1.14的发行身份与具体结果见[QA-1.14](docs/QA-1.14.md)。真实模型推理收益按原选择独立待验。
+3 -1
View File
@@ -4,7 +4,9 @@
总体方案见 [PRODUCT-PLAN.md](PRODUCT-PLAN.md),研究问题与来源见 [RESEARCH-ROADMAP.md](RESEARCH-ROADMAP.md)。
1.15当前完整交付:Windows宿主/单实例、显式DPAPI保存、真实Electron窗口/所属本机入口、安装/更新/回退/卸载与分页巡检全部交付。495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过,当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写。原失败/范围见[QA-1.15](QA-1.15.md),下一真实手机前置见[PLAN-1.16](PLAN-1.16.md)。
1.16当前完整交付:独立HTTPS/PWA、单次配对、设备项目/操作权限、原Task/Run观察/审批/停止、原seq恢复、差异/报告SHA和撤销已交付。独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件、全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。正式手机网关默认关闭、无设备/证书;QA证书与设备身份没有迁入。验收手机监听已关闭并释放4321,4320管理及原数据保留。真实模型工程和Purge推理收益继续按用户选择单独待验,本轮真实模型请求为0。见[1.16验收](QA-1.16.md)。
1.15历史交付:Windows宿主/单实例、显式DPAPI保存、真实Electron窗口/所属本机入口、安装/更新/回退/卸载与分页巡检全部交付。495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过,当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写。原失败/范围见[QA-1.15](QA-1.15.md),下一真实手机前置见[PLAN-1.16](PLAN-1.16.md)。
1.14历史交付基线:固定DeepSeek Harness受控工具/模型桥、单个所属worker、真实prompt/审批/检查/父审查/Git与停止核对,以及两版本来源锁定的默认关闭提示实验已交付。独立445/445、253份输入/6构建/40基准、三工程13节点、23类178组UI及最终便携/归档、保留状态升级通过。原PID23172/Provider、完整模型中心和全部7表每行/28会话导出保持,部署后14页通过。真实模型推理收益及其它引擎适配继续独立待验;见[1.14验收](QA-1.14.md)与[下一桌面阶段](PLAN-1.15.md)。
+1 -1
View File
@@ -1,6 +1,6 @@
# Windows桌面与本机连接
1.15复用现有工作台客户端和执行内核。A–F独立源码、实际安装/便携与保留状态正式部署全部通过,具体原结果以[QA-1.15](QA-1.15.md)为准。
当前1.16复用1.15的桌面宿主、客户端及执行内核,并已通过完整源码/便携/安装和保留状态升级。手机伴随端默认关闭,需在「手机连接」显式配对;见[1.16验收](QA-1.16.md)和[手机连接说明](IPHONE-COMPANION.md)。1.15的原桌面验收保留在[QA-1.15](QA-1.15.md)。
安装版默认为当前Windows用户安装在`%LOCALAPPDATA%\Programs\AgentWorkbench`;用户数据默认在`%LOCALAPPDATA%\AgentWorkbench`,已有或自定义数据目录以`current.json`登记为准。安装目录含原生`AgentWorkbench.exe`入口、`current.json`和独立`versions`程序目录。新版本写入新目录,核对完整文件清单、原执行宿主和活动后才激活;失败回退当前指针和根入口。卸载先结束所属空闲宿主,用户数据保留。
+2 -2
View File
@@ -2,11 +2,11 @@
Windows 运行 Agent Workbench 和项目任务,iPhone 用 Safari 查看同一任务、审批和停止。电脑可以接网线,只要手机 Wi-Fi 与电脑所在局域网互通。此方案不需要 Mac;原生 iOS 应用的编译、签名和 App Store 分发需要另外准备 Apple 开发环境。
1.16 当前是候选版本。手机真实验收、独立发行和正式升级的状态见 [1.16 验收](QA-1.16.md)。电脑浏览器的窄屏验证不能替代下面的 iPhone 操作。
1.16已完成真实iPhone及独立发行/正式升级。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。正式网关保持关闭;QA配对已撤销,测试证书/设备不会自动迁入正式数据。首次正式使用请在当前工作台开启手机连接并按下列步骤核对新证书和新配对码。见[验收记录](QA-1.16.md)。
## 首次连接
1. 在电脑打开指定的候选工作台,点击「手机连接」。使用当前真实网卡的局域网地址,开启 HTTPS。手机不能使用电脑的 `127.0.0.1` 地址。
1. 在电脑打开当前工作台,点击「手机连接」。使用当前真实网卡的局域网地址,开启 HTTPS。手机不能使用电脑的 `127.0.0.1` 地址。
2. 点击「下载手机根证书」,通过自己的文件传输方式把 `.cer` 文件保存到 iPhone。只传公开证书,不传工作台数据目录。
3. 在 iPhone 打开证书,前往「设置 → 通用 → VPN 与设备管理」安装对应证书描述文件,再在「设置 → 通用 → 关于本机 → 证书信任设置」开启完全信任。核对电脑显示的证书 SHA-256 指纹。
4. 回到电脑,选择要授权的项目,按需要勾选审批、停止权限,点击「生成一次性配对码」。配对码两分钟内有效,准备好手机后再生成。
+7
View File
@@ -89,3 +89,10 @@
- 依赖:2026-10-30 npm audit的153项依赖元数据中0已知漏洞;原JSON与SHA256单独保存。此结果不证明不存在未知漏洞;REA等随包依赖另按锁/清单和实际运行验证。
本轮审查已闭环,修复、独立源码、实际UI、不可变包及保留状态正式部署证据见[QA-1.12.1](QA-1.12.1.md)与[发行身份](milestone-audit-release-identity.json)。后续新能力按NEXT-STEPS执行,真实模型工程验收继续暂缓;未完成能力保留在总计划和能力矩阵中。
## 1.16手机伴随端节点复核
A/B的独立TLS/配对/权限、C的任务与设备界面、D的原审批/停止、E的原seq恢复/撤销和F的真实手机/独立发行/保留数据升级均已核对。复用各历史里程碑的原证据,并执行新完整独立源码和全部历史界面;原失败保持,不把夹具或模型文字当成真实推理收益。
独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件、全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。正式手机网关默认关闭、无设备/证书;QA证书与设备身份没有迁入。验收手机监听已关闭并释放4321,4320管理及原数据保留。真实模型工程和Purge推理收益继续按用户选择单独待验,本轮真实模型请求为0。来源及具体修复见[QA-1.16](QA-1.16.md)与[切片回顾](RETROSPECTIVE-1.16.md),后续[1.17方案](PLAN-1.17.md)尚未开始产品实现。
+4 -4
View File
@@ -1,10 +1,10 @@
# 后续执行计划
更新:2026-10-31。当前正式1.15.0;以下为1.15交付时核对记录:2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写。Windows桌面、可选本机加密、安装/回退与完整巡检A–F已交付,原失败/身份见[QA-1.15](QA-1.15.md)。[1.16手机伴随端](PLAN-1.16.md)本地实现和当前源码/历史UI已通过,真实手机、最终独立发行及模型工程/Purge收益仍按实际结果分别验收。
更新:2026-10-31。当前正式1.16.0手机伴随端A–F已完成。独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件、全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。正式手机网关默认关闭、无设备/证书;QA证书与设备身份没有迁入。验收手机监听已关闭并释放4321,4320管理及原数据保留。真实模型工程和Purge推理收益继续按用户选择单独待验,本轮真实模型请求为0。原结果见[QA-1.16](QA-1.16.md)与[发行身份](mobile-companion-release-identity.json)。
产品目标是让用户给出需求后,工作台能保留项目基线,完成定位、计划、修改、检查、必要修复、审查和Git交付,并在停止、故障、断线后明确保留已完成结果。桌面与手机共享同一执行宿主、任务和证据。
当前接续:1.16 A–E完成,24项专项、7组Edge、当前源码519/519及24类186组历史UI通过。真实iPhone核心验收已通过:信任/原审批/摘要/主屏幕/锁屏/切网/停止/撤销由用户确认,原审计/命令/进程/文件另行核对;设备iPhone 14 Pro Max/iOS 27.2为用户提供,无手机截图。4320/4321候选恢复demo无Key,实机设备已撤销。接下来补根mobile.html的发行QA输入覆盖,固定完整不可变发行,完成独立源码/随包/同载荷安装后保留状态升级。设备说明见[Windows与iPhone联调](IPHONE-COMPANION.md),原失败和实际门槛见[QA-1.16](QA-1.16.md);正式36552/1.15保持。
当前接续:1.16完整发行与回顾完成,下一具体阶段为[1.17模型协议、流式与能力路由](PLAN-1.17.md),该文件仍为后续方案;先审查现有Provider/池/请求账本,再按实际协议逐切片实现。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。4320/4321实机QA设备已撤销,正式网关默认关闭,新的正式使用需按[手机连接说明](IPHONE-COMPANION.md)在原数据中配对。
## 执行顺序与完成门槛
@@ -15,7 +15,7 @@
| 2a:受控DeepSeek与提示对照(1.14完成) | 固定Harness/工具模型桥、所属工程/停止/父审查、两版本来源锁定默认关闭提示实验 | 外部SDK实际契约和1.13隔离工作区;运行器及实际输入身份固定 | 三工程13节点、独立445项、178组UI、实际随包/状态升级及14页通过;八工程36节点的夹具提示对照保留原输入/用量,真实推理收益未测,见QA-1.14 |
| 2b:其它引擎与真实收益(后续独立切片) | Codex实际适配;Claude Code/Cursor/WorkBuddy机制研究;Purge真实模型对照 | 实际版本、审批/取消/模型与工具契约;已验证的受限桥和所属工作区 | 指定工程有实际原协议/工具/检查/Git与停止结果;真实有无实验同模型同题同预算,记录失败和人工介入,不用连接或固定回答夹具推断成功率 |
| 3:Windows桌面(1.15完成) | 单实例、后台宿主、项目/终端/审查入口、安装包与保留数据更新 | 宿主与客户端生命周期拆分;本机凭据加密;稳定迁移契约 | 关闭/重开窗口不丢任务;重复启动复用宿主;安装/升级/卸载的数据行为可核验;崩溃后显式恢复;旧版本可回退 |
| 4:手机伴随端 | PWA、一次性配对、设备身份、撤销、同Run观察/审批、断线游标补发 | 设备认证、加密传输、审批身份/幂等、速率限制;阶段3宿主 | 在真实手机完成配对和撤销;断线后按seq恢复;旧Run/过期/重复审批拒绝;手机和桌面显示同一结果;手机不直接执行宿主文件与命令 |
| 4:手机伴随端(1.16完成) | PWA、一次性配对、设备身份、撤销、同Run观察/审批、断线游标补发 | 设备认证、加密传输、审批身份/幂等、速率限制;阶段3宿主 | 在真实手机完成配对和撤销;断线后按seq恢复;旧Run/过期/重复审批拒绝;手机和桌面显示同一结果;手机不直接执行宿主文件与命令 |
| 5:模型与多模态 | 更多实际协议、流式取消、按能力选路、可恢复池策略、视觉/语音/附件、项目缓存 | 每种协议的工具调用/用量/取消实测;凭据和附件隔离 | 图像、语音、文本各有真实样本;流式断开保留unknown而不重复副作用;不兼容成员不被调度;缓存绑定项目/权限/源码版本并可清除;429/401/超时/冷却有独立证据 |
| 6:自我迭代与专业交付 | 隔离分支生成候选、固定评测集、多模型复核、质量/成本对照、升级候选和回滚 | 可复现工程基准、完整质量门槛、阶段1隔离和阶段3更新 | 工作台可提出并验证自身改进;候选不直接改运行中的发行;回归或独立验收失败不能发布;保存原差异、指标和回退点;采纳须经用户已有权限规则 |
@@ -59,7 +59,7 @@ REA用于发行工件或运行证据,完整公开源码直接分析。研究
DSH-purge源码位于`D:\Ai-project\REA逆向\dsh-purge-1.1.78-windows`;DeepSeek工程位于`D:\Ai-project\DeepSeek-Harness-Desktop`。它们与ModelProvider分层管理。原六方法SDK探针仍只证明连接,1.14新增受限桥的真实prompt、工具、独立工程和停止验收另有原报告;Purge本地夹具提示生效/开销对照已完成,真实模型工程收益未测。
当前Windows安装版与本机加密已完整交付,原实际范围见QA-1.15;1.16真实手机配对/审批/停止/恢复/撤销核心已通过,最终完整发行仍待验。尚未交付:OS沙箱、固定DeepSeek受控桥以外的引擎工程接入、未知WorkBuddy格式自动导入、多协议流式/多模态,以及稳定的全自主工程成功率。按上表逐项实现和验收,不用界面入口或夹具结果替代完成。
当前Windows安装版与本机加密已完整交付,原实际范围见QA-1.15;1.16真实手机、独立源码/完整发行及保留状态正式升级均已通过。尚未交付:OS沙箱、固定DeepSeek受控桥以外的引擎工程接入、未知WorkBuddy格式自动导入、多协议流式/多模态,以及稳定的全自主工程成功率。按上表逐项实现和验收,不用界面入口或夹具结果替代完成。
1.15交付回顾保留的体验改进:在不减少完整性核对的前提下研究安装/激活校验耗时和进度反馈,并补超长自定义安装路径的提前拒绝。当前正式安装与原数据核对已通过,以上优化尚未实现,不与1.16真实手机验收混计。
+1 -1
View File
@@ -2,7 +2,7 @@
2026-10-31开始实施。从06c9fac/正式1.15.0在feat/mobile-companion-1.16推进。用户选择iPhone,可配合证书信任;Windows提供HTTPS服务,iPhone Safari/PWA通过同Wi-Fi联调。各切片状态以[实际验收](QA-1.16.md)为准,未通过的能力不能计为交付。
当前A–E及实机核心通过。设备iPhone 14 Pro Max/iOS 27.2为用户文本提供,信任/原审批/摘要/主屏幕/锁屏切网/停止/撤销由用户确认,宿主原审计与进程/文件另行核对;无手机截图。F正在对来源0cc8b4c的不可变候选20261031110231367执行独立源码、随包和同载荷安装,正式升级须等待这些门槛全部通过。
A–F已完成,最终不可变20261031114604110通过独立源码/便携、同载荷安装和正式保留状态升级。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。具体结果及原失败见[QA-1.16](QA-1.16.md),原字节身份见[发行记录](mobile-companion-release-identity.json)。
## 用户成果
+11 -3
View File
@@ -1,6 +1,6 @@
# 1.17 执行草案:模型协议、流式执行与能力路由
接续1.16手机伴随端。此文件只登记后续方案,不表示已实现或已开始产品变更;1.16最终独立发行和正式部署完成后,再从已验收的本地Git基线开具体分支。继续保持原Task/Run、工具结果、项目字节、审批和数据,按切片开发、验证、回顾并本地提交。
接续已完成独立发行和正式部署的1.16手机伴随端。此文件只登记后续方案,不表示已实现或已开始产品变更;从已验收的本地Git基线开具体分支。继续保持原Task/Run、工具结果、项目字节、审批和数据,按切片开发、验证、回顾并本地提交。
用户目标是让接入的多个模型在真实工程中稳定承担合适工作。当前基础是兼容Chat协议的多连接、轮询/权重、Run粘连、并发租约、冷却及请求账本,另有受控DeepSeek引擎桥;这些不证明所有品牌的原生协议、流式、视觉或语音都可用。WorkBuddy未知配置格式、未知登录态导入及真实Purge收益仍须独立核验。
@@ -19,9 +19,17 @@
| E:真实任务界面 | 协议/能力配置、检测范围、当前选路、流状态、中断核对和失败原因;沿用已有品牌与中文任务布局 | 用户可完成添加、检测、禁用、入池、执行、停止与核对全流程;实际桌面/390px/iPhone观察状态与原事件一致 |
| F:工程与发行回顾 | 固定Node/React/Python样本、故障注入、完整历史回归、独立源码/便携/安装与保留状态升级 | 原失败保留;模型协议、夹具执行、真实推理收益分别报告;版本与源码/工件/实际部署身份可追溯 |
## 真实模型与评测边界
## 已核对的扩展位置
用户此前选择先完成本地验收、稍后配置连接,该选择继续有效。开发和协议回归使用自有loopback夹具,不读取已有客户端未知登录态,不抽取模型Key;实际模型工程与收益对照等待用户在工作台配置连接并按已有执行权限运行。固定回答夹具可以证明协议、账本和工具链路,不能证明模型能自主解决工程需求。未有真实样本的协议/能力要明确保留未验状态。
1.16发行期间只读核对了当前源码,未开始1.17产品实现。`src/server/provider.mjs`的`complete`固定调用`/chat/completions`,`request`读取完整有界JSON后返回;已有请求AbortController和停止等待,不能据此宣称支持逐片输出。`src/shared/contracts/model-request.mjs`负责封存请求体与预算,新协议需要封存它实际发送的字节,而不是只保留旧Chat请求的摘要。
`src/core/models/model-hub.mjs`固定`protocol: chat-completions`,公开能力中tools只是`protocol_declared`、vision/audio为unknown;已有租约/Run粘连/冷却/逐请求账本可以保留。A切片先版本化连接与能力来源,兼容原schema:1;D在既有acquire前按任务需要筛选,池拒绝原因进入原Run,不能从模型名称推断能力。C的文本/工具片段只作为进展,完整工具参数与终结状态核验前不得派发工具。
`src/core/models/config-import.mjs`目前明确跳过非Chat协议,CC Switch按已验证SQLite列解析;扩展时同步导入预览和启停规则,未知品牌/格式继续显示未支持。凭据仍复用`credential-vault.mjs`与已有当前用户加密,不另建明文号池。原model-center、upgrade-model-center和请求封存回归作为兼容门槛;新增测试覆盖实际协议差异、半截工具、错误分类和原结果保留。
## 真实模型与评测边界(执行约束)
用户此前选择先完成本地验收,真实模型工程与收益对照继续单独待验。开发和协议回归使用自有loopback夹具,不读取已有客户端未知登录态,不抽取模型Key;正式Provider与当前配置保持。实际模型工程使用用户在工作台配置的连接并按已有执行权限运行,公开连接状态可用本身不代表收益验收完成。固定回答夹具可以证明协议、账本和工具链路,不能证明模型能自主解决工程需求。未有真实样本的协议/能力要明确保留未验状态。
评测首先固定输入工程、需求、允许范围与外部独立检查,保存首次失败、修复、检查、浏览器交互、本地Git及人工介入;比较结果以成功率、错误修改、耗时和原已报告用量为依据。不要只增加测试数量而缺少实际工程结果。
+14 -1
View File
@@ -1,6 +1,6 @@
# 1.16 手机伴随端验收
2026-10-31从06c9fac/正式1.15.0接续。A–F按PLAN-1.16实施,A–E及真实iPhone核心验收通过,最终独立源码/完整发行与正式升级尚未完成。自有项目、数据和端口用于开发;正式宿主、Provider与已有数据保持,真实模型请求为0。
2026-10-31从06c9fac/正式1.15.0接续;A–F与最终不可变20261031114604110已完整本地交付。独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件、全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。正式手机网关默认关闭、无设备/证书;QA证书与设备身份没有迁入。验收手机监听已关闭并释放4321,4320管理及原数据保留。真实模型工程和Purge推理收益继续按用户选择单独待验,本轮真实模型请求为0。下文早期“候选/待验”是各阶段原记录;最终结果在文末单列,原失败不改写。
## A/B:网关与权限(本地通过,手机设备仍待验)
@@ -55,3 +55,16 @@
实机修正候选的1958文件与最终包逐字节相同:1957份程序/页面/Node/npm/公共资源对应完整portable,根package.json仅是QA source版本元数据、与最终source一致,portable按原MANIFEST识别版本;未向最终发行补文件。378冻结输入Git追溯为354份原字节、19份仅声明CRLF/LF及5份由原生成器精确派生;131份依赖许可、133份现有许可和完整notices与两包保持。上游许可原行尾空格保留,Git只对该原文范围作空白检查例外,产品/其它文档守卫不放宽。
首个最终候选的完整519项已结束:519通过,0失败/取消/跳过;实际窗口7项、原生UI9组通过。随后三工程在Python完成父10项检查后、第14/16节点因capture收尾等待「关闭检视区」超时而失败,整轮独立source仍为失败;[27份原字节现场](companion-f-first-source-failure/manifest.json)保留。实际HTML/PNG显示1440px正常宽屏、无模态与页面错误;QA将窗口390→1440后未等待尺寸和React响应式状态,isVisible与click之间按钮名称变化。只补QA等待尺寸/窄屏按钮隐藏,不改产品;新候选仍须完成全套独立源码及发行门槛,不把旧原TAP改写为整轮成功。
## F:最终独立发行与正式升级完成
最终源码来源`52f0d20`,不可变候选`20261031114604110`。包内说明保留打包时快照,最终验收身份和独立ACCEPTANCE说明为验收后记录,不回写已验收包体。相对首候选仅QA脚本等待响应式状态的条件改变,产品22份构建和40份基准逐字节保持。378份输入中354份与Git原blob相同、19份仅按声明CRLF/LF规范化相同、5份由已提交示例构建器精确生成;不把生成目录或换行差异省略。
独立解压源码`D:\AWQA16\s-2a4be4d9`经过离线npm ci、重建22文件完全一致、实际REA三操作/SDK/Edge/受控工程、手机7组、519/519完整回归、窗口7项/原生9组/三工程16节点全部通过。519项0失败、取消、跳过和todo;父工程8/8、9/9、10/10。24类186组历史UI的原结果及140份证据保持,未因说明修改重复执行。
源码归档13544文件、便携13260文件的CRC/清单/逐文件SHA通过;随包手机7组、Node/npm/REA/DeepSeek/Edge实际验证通过。实机候选1958文件与最终对应文件全部字节一致,根package元数据对独立源码。131份依赖许可和133份随包许可逐字节核对,保留上游原空白。
同载荷隔离安装器使用独立QA AppId,安装/本机DPAPI/原命令和4项检查/窗口崩溃/宿主重启/卸载保留数据7组通过;它与正式setup不是同一个SHA。正式产品setup单独在既有安装目录stage,之后仅一次处理器升级与指针激活。独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件、全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。正式手机网关默认关闭、无设备/证书;QA证书与设备身份没有迁入。验收手机监听已关闭并释放4321,4320管理及原数据保留。真实模型工程和Purge推理收益继续按用户选择单独待验,本轮真实模型请求为0。
首候选三工程14/16响应式收尾失败保存在[27份现场](companion-f-first-source-failure/manifest.json)。修正候选的一次源码预启动因搬移尚未完成而ENOENT,未执行产品测试;旧指针只是当时保存的历史快照,不计为新候选结果。等待全13544文件校验结束后使用source-retry全新执行,以上完整结果来自该独立整轮。验收QA监听关闭后TCP探测超时,初次失败另存;随后只读OS监听表确认4321没有监听,原Task/单次命令/证书/设备/审计与实机封存记录一致,没有重复关闭或重启。所有274份最终原字节文件、运行器、原失败、日志和截图映射见[发行封存清单](companion-f-release-evidence/manifest.json);完整包/安装器SHA和实际部署见[发行身份](mobile-companion-release-identity.json)。
+11
View File
@@ -29,3 +29,14 @@
真实iPhone完成用户手动信任、原命令审批、差异/报告摘要核对、主屏幕与锁屏/切网,原宿主数据证明Task/Run和完成命令未重放。QA候选漏带npm在实际工程检查中被正确拒绝,说明只验证HTTPS/页面仍不足以验证可交付运行环境。保留旧候选和原失败,新候选逐字节保留原32文件并加入固定npm,通过同一数据目录受控重启恢复;证书/配对/全部原执行记录保持,新的4项真实工程检查通过。完整发行构建器原本已复制npm,本次没有修改产品代码,也没有把当前工作区519项通过冒充新增独立发行验收。手机操作由用户确认,服务器记录另行核对;型号iPhone 14 Pro Max/iOS 27.2为用户提供,无手机截图,不写成目视核对。
运行中停止与撤销已收口:手机批准并停止原进程,宿主核对14596身份/退出及33行心跳保持;撤销后手机清空原项目,原设备已revoked。原Task paused是实际状态,不能按验收器偏好改写为cancelled。合成模型仅用于本地协议夹具,不算真实模型效果;候选已恢复demo无Key。真实手机核心通过后,完整发行仍独立验收;QA数据的证书/配对身份不得擅自迁入正式数据目录。下一步补发行输入mobile.html覆盖,冻结不可变包并执行独立源码和随包流程。
## F发行收尾回顾
真实手机反馈与宿主原审计分开保留,型号/系统版本明确为用户提供;原npm遗漏和停止后paused状态均按实际记录。完整发行新增mobile.html输入覆盖与显式随包Node/npm手机流程,1958个实机运行文件与最终包严格相同,避免把页面可打开当作完整运行环境。
首次完整源码519项通过后,三工程在恢复窗口尺寸时遭遇QA可访问名称变化,整轮仍记失败。修复只等待实际1440宽度和窄屏按钮隐藏,保留27份现场;修正候选重新完成全部门槛。接续时一次提前启动遇到尚未完成的路径搬移,失败原样保留,后续严格等待进程退出和全文件核对;旧指针不当作新结果。
独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件、全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。最终一次升级和激活的所有原行/导出/工件严格一致,正式网关关闭,QA设备/证书未迁移。原生手机PWA与桌面/390px测试、同载荷QA安装与正式setup stage分别表述。
下一阶段按PLAN-1.17开展协议/能力登记、适配、流式停止及按能力选池。真实模型收益、其它代理适配、视觉/语音、OS沙箱和自我迭代仍按各自真实工程门槛推进;安装完整性校验耗时、进度反馈和超长路径预检继续登记为体验欠项。
+4
View File
@@ -1,5 +1,9 @@
# Agent Workbench 验收记录
## 1.16 · 手机伴随端(完整本地交付)
独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID36552/Provider保持,17项目/30全部会话/2590记录/4653事件、全部表每行/会话导出/工件原字节保持;1455条工件及1366个去重文件核对通过,9229关闭。iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。正式手机网关默认关闭、无设备/证书;QA证书与设备身份没有迁入。验收手机监听已关闭并释放4321,4320管理及原数据保留。真实模型工程和Purge推理收益继续按用户选择单独待验,本轮真实模型请求为0。原结果/失败见[QA-1.16](QA-1.16.md)、[回顾](RETROSPECTIVE-1.16.md)、[发行身份](mobile-companion-release-identity.json)及[1.17方案](PLAN-1.17.md)。
## 1.15 · Windows桌面与本机加密(完整交付)
495/495独立源码、23类179组历史UI、真实窗口7/原生UI9/三工程16节点、父8/8、9/9、10/10、同载荷安装/重启/卸载7组(隔离测试登记,正式产品安装器另行stage)、正式18页、1446条工件记录和1357个去重文件核对通过;正式1.15.0已安装并保留用户新启动进程/Provider与全部当前持久数据升级,当前2连接配置/1池、17项目/29全部会话/2567记录/4599事件,正式纠正升级前后每行/全导出/全部工件原字节保持(相对初始16项目,用户启动新增1个示例并将原列表顺移;体验期间另新增1个空白idle会话及对应1事件,全部原28会话/记录/工件保持);旧PID23172已在恢复检查前退出,用户体验时手动启动1.14/PID36552,随后保留这个进程/Provider升级;旧内存Key不可恢复,需在界面重新填写,9229关闭。全部原字节和失败见[发行身份](desktop-host-release-identity.json)、[QA-1.15](QA-1.15.md)、[回顾](RETROSPECTIVE-1.15.md)及[下一手机方案](PLAN-1.16.md)。
@@ -0,0 +1,4 @@
* -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
*.txt binary
*.log binary
*.tap binary
@@ -0,0 +1,21 @@
{
"success": true,
"phase": "archives",
"startedAt": "2026-10-31T11:49:00.311Z",
"finishedAt": "2026-10-31T11:49:27.978Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-archives.log",
"logBytes": 815,
"logSha256": "814743e7a23559ad908a02ccfb4866cbde6716cf1cbeb820aee0c0302ec77ab6",
"pointer": {
"path": ".qa/archives-validation.json",
"sha256": "11a6831902e0e0bfc68276ffcc94c3af07cb919fd35355c541febbf0d51d457d"
},
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1 @@
{"success": true, "version": "1.16.0", "testedAt": "2026-10-31T11:49:27.935651+00:00", "archives": [{"kind": "portable", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110.zip", "files": 13260, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "ff2e3f69daf62eb63076fdd4266bf98799ad089d5274029268dd74881c559483"}, {"kind": "source", "path": "D:\\Ai-project\\REA\u9006\u5411\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110.zip", "files": 13544, "crcPassed": true, "manifestAndDirectoryMatch": true, "sha256": "2df6b2b95ad98a7e9d39054b4c42846e56848e9ebbbccce8f8f1e981b014efab"}], "extractionRoot": "D:\\AWQA16\\source-check-b9f68ee60288482c97531fc1d733b13b\\Agent-Workbench-1.16.0-source-20261031114604110"}
@@ -0,0 +1,21 @@
{
"success": true,
"phase": "source-retry",
"startedAt": "2026-10-31T11:51:43.840Z",
"finishedAt": "2026-10-31T12:19:33.408Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-source-retry.log",
"logBytes": 1300,
"logSha256": "e22b4b8cd0572819ed7bd4b06f3f7a8c144b5bf6362540dbabcfcaa53dd3a815",
"pointer": {
"path": ".qa/source-package-validation.json",
"sha256": "7342f548ba01cb9dd58ce14bbb29e9133ae9e6b9996116e33ff1df7f229bc791"
},
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1,13 @@
{"sourceRoot":"D:\\AWQA16\\s-2a4be4d9","directory":"D:\\AWQA16\\s-2a4be4d9\\.qa\\package-validation-0692a403-db3f-4648-9dd8-752e7f6dca66","nodeVersion":"v24.22.1","python":{"version":"3.10.11","pytest":"8.4.2","path":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\dev-task-plans\\.qa\\python-3.10\\Scripts\\python.exe"}}
Source package: install
Source package: build
Source package: contained REA
Source package: native DeepSeek SDK
Source package: contained browser runtime
Source package: compiled controlled-engine delivery
Source package: contained companion gateway and UI
Source package: tests
Source package: actual contained Electron window
Source package: actual contained Electron engine UI
Source package: actual contained Electron engineering projects
{"success":true,"version":"1.16.0","sourceRoot":"D:\\AWQA16\\s-2a4be4d9","directory":"D:\\AWQA16\\s-2a4be4d9\\.qa\\package-validation-0692a403-db3f-4648-9dd8-752e7f6dca66","tests":{"tests":519,"pass":519,"fail":0,"cancelled":0,"skipped":0,"todo":0},"nodeVersion":"v24.22.1","python":{"version":"3.10.11","pytest":"8.4.2","path":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\dev-task-plans\\.qa\\python-3.10\\Scripts\\python.exe"},"inputFiles":378,"buildMatchedFiles":22,"rea":true,"engine":true,"browser":true,"controlled":true}
@@ -0,0 +1,21 @@
{
"success": true,
"phase": "portable",
"startedAt": "2026-10-31T12:19:43.337Z",
"finishedAt": "2026-10-31T12:21:10.461Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-portable.log",
"logBytes": 1166932,
"logSha256": "db34f197f85ab7fb3e0503630e44d8801d5fc8bbe06fa7c0a8f0815e706a0b87",
"pointer": {
"path": ".qa/release-validation.json",
"sha256": "53e2b6bc56b8b7342a7909de7ad0868c3e6a7bee203b35b889fc96c067e90e1d"
},
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "portable-companion",
"startedAt": "2026-10-31T12:21:10.526Z",
"finishedAt": "2026-10-31T12:21:25.727Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-portable-companion.log",
"logBytes": 806,
"logSha256": "0f8d18a0823bd061da715a6b6d6ecd04dc0b07017d4edd55edad4c4a205b92b4",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1,8 @@
PASS desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust
PASS 390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop
PASS phone UI confirms original Task/Run approval and the existing Runtime executes one command
PASS original paginated diff and counted check/report display verified content from the same Task
PASS disconnect and refresh recover from persistent seq without submitting a new command or Run
PASS PWA service worker stores the shell and no API/project response
PASS desktop revocation removes mobile project content immediately on the next read while preserving the original completed tool
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\companion-ui-0e08d090-452c-487d-82ab-9658767a0346
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "prepare-install",
"startedAt": "2026-10-31T11:52:05.539Z",
"finishedAt": "2026-10-31T11:53:05.410Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-prepare-install.log",
"logBytes": 256,
"logSha256": "63a95b605c7631f2c64ccd6f3cbe94df06f87a327895997cbb5205358bf7db83",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1 @@
{"success":true,"appId":"c0b15260-a440-456c-9560-7579ee5db17c","installerSha256":"f345adb41721ab26a32a54c53a6f547748970095ca1d1b2e33438ca602466360","productSetupSha256":"16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa","samePayload":true}
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "install",
"startedAt": "2026-10-31T12:21:25.794Z",
"finishedAt": "2026-10-31T12:26:22.372Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-install.log",
"logBytes": 566,
"logSha256": "b3218789ce9cf75d8aeda57598c2a602ec772d6d95d8b324e5302cd58b4825da",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1,8 @@
PASS exact final installer
PASS actual installed native bootstrap and bundled execution host
PASS actual installed owned DPAPI credential and HTTP authentication
PASS actual installed owned approval and bundled npm project check
PASS actual owned Electron crash preserves final installed host and data
PASS actual installed host restart preserves every row and loads owned saved connection
PASS actual exact final installer uninstall preserves all owned user data
{"success":true,"version":"1.16.0","root":"C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9","cases":7}
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "formal-stage",
"startedAt": "2026-10-31T12:28:12.176Z",
"finishedAt": "2026-10-31T12:38:20.790Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-formal-stage.log",
"logBytes": 106,
"logSha256": "8fba06197550e6515b0f735f6a395caa60b50639d8f5b245a27cd34019306e81",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1 @@
{"success":true,"phase":"staged","version":"1.16.0","output":".qa/companion-corrected-formal-stage.json"}
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "formal-upgrade",
"startedAt": "2026-10-31T12:38:46.790Z",
"finishedAt": "2026-10-31T12:40:49.928Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-formal-upgrade.log",
"logBytes": 110,
"logSha256": "c1501947b31bd0755a8c21f979193db93457b0bf76b81fbbbad400c5ecf4775f",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1 @@
{"success":true,"phase":"upgraded","version":"1.16.0","output":".qa/companion-corrected-formal-upgrade.json"}
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "formal-activate",
"startedAt": "2026-10-31T12:40:49.994Z",
"finishedAt": "2026-10-31T12:50:29.748Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-formal-activate.log",
"logBytes": 112,
"logSha256": "31b1fdf7217d48d455c8ce45447b90971e4797c2e91691b6efb4b1bc89428ca6",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1 @@
{"success":true,"phase":"activated","version":"1.16.0","output":".qa/companion-corrected-formal-activate.json"}
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "formal-ui",
"startedAt": "2026-10-31T12:50:29.815Z",
"finishedAt": "2026-10-31T12:50:34.652Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-formal-ui.log",
"logBytes": 277,
"logSha256": "6c7c033c161e8ad1e222035f87179a48be1d9b1c2544877c7182bf4a40756e50",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1,3 @@
{"width":1280,"passedPanels":10}
{"width":390,"passedPanels":10}
{"success":true,"directory":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434","panels":20,"pageErrors":0,"requestFailures":0,"blockedWrites":0}
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "formal-verify",
"startedAt": "2026-10-31T12:50:34.714Z",
"finishedAt": "2026-10-31T12:52:40.085Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-formal-verify.log",
"logBytes": 109,
"logSha256": "d7df35d6ab95ac0abace19abceba1e5c3132a8ee688434e5e1809785af4dc381",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1 @@
{"success":true,"phase":"verified","version":"1.16.0","output":".qa/companion-corrected-formal-verify.json"}
@@ -0,0 +1,18 @@
{
"success": true,
"phase": "formal-artifacts",
"startedAt": "2026-10-31T12:52:40.151Z",
"finishedAt": "2026-10-31T12:52:45.506Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-formal-artifacts.log",
"logBytes": 138,
"logSha256": "17c02c0888c064608987de181b20e901ba0a9a8803e4710c6bc43a9d7c602394",
"pointer": null,
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1 @@
{"success":true,"total":1455,"checked":1455,"pages":15,"reportSha256":"2b5774ff47465385be8992fc777699112acc22dc3e36ac909d41e856455d9062"}
@@ -0,0 +1,70 @@
{
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"portable": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110.zip",
"bytes": 344609706,
"sha256": "ff2e3f69daf62eb63076fdd4266bf98799ad089d5274029268dd74881c559483"
},
"source": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110.zip",
"bytes": 344725099,
"sha256": "2df6b2b95ad98a7e9d39054b4c42846e56848e9ebbbccce8f8f1e981b014efab"
},
"installer": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110-Setup.exe",
"bytes": 312402227,
"sha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa",
"compiler": {
"version": "6.3.1",
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
},
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-e4fcf0d9-2bb5-465f-be81-fd88354880cc\\installer.iss",
"version": "1.16.0",
"candidateDirectory": "Agent-Workbench-1.16.0-win-x64-20261031114604110",
"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": 13260,
"licenseTexts": 133,
"browserRuntime": {
"playwrightVersion": "1.64.1",
"packages": [
{
"name": "playwright",
"version": "1.64.1",
"files": 60
},
{
"name": "playwright-core",
"version": "1.64.1",
"files": 115
}
]
}
}
@@ -0,0 +1,32 @@
{
"success": true,
"version": "1.16.0",
"testedAt": "2026-10-31T11:49:27.935651+00:00",
"archives": [
{
"kind": "portable",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110.zip",
"files": 13260,
"crcPassed": true,
"manifestAndDirectoryMatch": true,
"sha256": "ff2e3f69daf62eb63076fdd4266bf98799ad089d5274029268dd74881c559483"
},
{
"kind": "source",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110.zip",
"files": 13544,
"crcPassed": true,
"manifestAndDirectoryMatch": true,
"sha256": "2df6b2b95ad98a7e9d39054b4c42846e56848e9ebbbccce8f8f1e981b014efab"
}
],
"extractionRoot": "D:\\AWQA16\\s-2a4be4d9",
"shortPhysicalPath": {
"original": "D:\\AWQA16\\source-check-b9f68ee60288482c97531fc1d733b13b\\Agent-Workbench-1.16.0-source-20261031114604110",
"destination": "D:\\AWQA16\\s-2a4be4d9",
"sameVolumeRename": true,
"verifiedFiles": 13544,
"originalManifestSha256": "8a7723e4c93541657d8e33a5257c10d59e115b4a0fd3f25812b03c28537c5340",
"reason": "Avoid the known Git management path byte limit in nested engineering fixtures; every extracted byte remains unchanged."
}
}
@@ -0,0 +1,31 @@
{
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-installer-qa-c0b15260-a440-456c-9560-7579ee5db17c.exe",
"bytes": 312402282,
"sha256": "f345adb41721ab26a32a54c53a6f547748970095ca1d1b2e33438ca602466360",
"compiler": {
"version": "6.3.1",
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
},
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-223ddd14-5e4a-450b-a707-621d188f0ae0\\installer.iss",
"version": "1.16.0",
"candidateDirectory": "Agent-Workbench-1.16.0-win-x64-20261031114604110",
"qaFixture": {
"appId": "c0b15260-a440-456c-9560-7579ee5db17c",
"fault": "none"
},
"productSetup": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110-Setup.exe",
"bytes": 312402227,
"sha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa",
"compiler": {
"version": "6.3.1",
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
},
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-e4fcf0d9-2bb5-465f-be81-fd88354880cc\\installer.iss",
"version": "1.16.0",
"candidateDirectory": "Agent-Workbench-1.16.0-win-x64-20261031114604110",
"qaFixture": null
},
"samePayloadManifestSha256": "5ee8b7f83e4d42ac8499c684d2a38b64ccce1b7d5936aca0cb455a9e23688629",
"sourceComparison": "Only isolated QA AppId/group and output destination/name differ; entire product payload and installation behavior are exact. Product setup will separately stage the existing formal installation."
}
@@ -0,0 +1 @@
{"root":"C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9","result":"C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9\\result.json"}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
{
"success": true,
"version": "1.16.0",
"testedAt": "2026-10-31T11:49:27.935651+00:00",
"archives": [
{
"kind": "portable",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110.zip",
"files": 13260,
"crcPassed": true,
"manifestAndDirectoryMatch": true,
"sha256": "ff2e3f69daf62eb63076fdd4266bf98799ad089d5274029268dd74881c559483"
},
{
"kind": "source",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110.zip",
"files": 13544,
"crcPassed": true,
"manifestAndDirectoryMatch": true,
"sha256": "2df6b2b95ad98a7e9d39054b4c42846e56848e9ebbbccce8f8f1e981b014efab"
}
],
"extractionRoot": "D:\\AWQA16\\source-check-b9f68ee60288482c97531fc1d733b13b\\Agent-Workbench-1.16.0-source-20261031114604110"
}
@@ -0,0 +1,17 @@
node:fs:2937
return binding.realpath(
^
Error: ENOENT: no such file or directory, realpath 'D:\AWQA16\source-check-b9f68ee60288482c97531fc1d733b13b\Agent-Workbench-1.16.0-source-20261031114604110'
at realpathSync.native (node:fs:2937:18)
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-source-package.mjs:14:36
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
at async node:internal/modules/esm/loader:647:26
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
errno: -4058,
code: 'ENOENT',
syscall: 'realpath',
path: 'D:\\AWQA16\\source-check-b9f68ee60288482c97531fc1d733b13b\\Agent-Workbench-1.16.0-source-20261031114604110'
}
Node.js v24.22.1
@@ -0,0 +1,21 @@
{
"success": false,
"phase": "source",
"startedAt": "2026-10-31T11:49:46.607Z",
"finishedAt": "2026-10-31T11:49:46.682Z",
"exitCode": 1,
"logPath": ".qa/companion-corrected-source.log",
"logBytes": 786,
"logSha256": "e34dfa66fa6b6048de9061d01fd15034e38acda2fd8d7018b74dadb581eef900",
"pointer": {
"path": ".qa/source-package-validation.json",
"sha256": "258b49771b221d932c2becb5b631675c77d390db83822dca30366feae4a11cf0"
},
"unchangedInputs": true,
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"release": {
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa"
}
}
@@ -0,0 +1,14 @@
{
"success": true,
"startedAt": "2026-10-31T11:46:03.706Z",
"finishedAt": "2026-10-31T11:48:12.976Z",
"exitCode": 0,
"logPath": ".qa/companion-corrected-immutable-package.log",
"logSha256": "759d2bc94e5c652bdbc42d6da58f559c859d187e304caf20e7b4beba01b2383f",
"priorCodeCommit": "0cc8b4c1709a6c5c1f13001958fd2abbbe900126",
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"changedInputs": [
"scripts/desktop-project-qa.mjs"
],
"productBuildsAndBenchmarksUnchanged": true
}
@@ -0,0 +1,15 @@
import fs from 'node:fs';
const names = ['run-companion-phase', 'freeze-companion-release', 'finish-companion-isolated', 'shorten-companion-source',
'prepare-companion-installer', 'deploy-companion-formal', 'verify-companion-formal-ui', 'verify-companion-formal-artifacts',
'seal-companion-release', 'verify-companion-release-index', 'audit-companion-code-git', 'audit-companion-licenses', 'compare-companion-phone-package'];
const renamed = Object.fromEntries(names.concat('verify-companion-install').map(name => [name + '.mjs', name + '-corrected.mjs']));
for (const name of names) {
let code = fs.readFileSync('.qa/' + name + '.mjs', 'utf8');
for (const [before, after] of Object.entries(renamed)) code = code.replaceAll(before, after);
code = code.replaceAll('companion-final-', 'companion-corrected-')
.replaceAll('companion-formal-', 'companion-corrected-formal-')
.replaceAll('mobile-companion-release-code-baseline.json', 'mobile-companion-corrected-code-baseline.json');
if (name === 'seal-companion-release') code = code.replaceAll('.qa/companion-corrected-build.log', '.qa/companion-final-build.log');
fs.writeFileSync('.qa/' + renamed[name + '.mjs'], code, { flag: 'wx' });
}
console.log(JSON.stringify({ success: true, generated: names.length, priorEvidencePreserved: true }));
@@ -0,0 +1,28 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { spawn } from 'node:child_process';
import { projectEnvironment } from '../src/core/process-environment.mjs';
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const before = JSON.parse(fs.readFileSync('docs/mobile-companion-release-code-baseline.json', 'utf8'));
const after = JSON.parse(fs.readFileSync('docs/mobile-companion-corrected-code-baseline.json', 'utf8'));
assert.deepEqual(before.builds, after.builds); assert.deepEqual(before.benchmarks, after.benchmarks);
assert.equal(before.inputs.length, after.inputs.length);
const changed = after.inputs.filter(item => before.inputs.find(previous => previous.path === item.path)?.sha256 !== item.sha256);
assert.deepEqual(changed.map(item => item.path), ['scripts/desktop-project-qa.mjs']);
const logPath = '.qa/companion-corrected-immutable-package.log';
assert.equal(fs.existsSync(logPath), false);
fs.writeFileSync('.qa/companion-corrected-prior-latest.json', fs.readFileSync('releases/latest.json'), { flag: 'wx' });
const log = fs.createWriteStream(logPath, { flags: 'wx' }), startedAt = new Date().toISOString();
const child = spawn(process.execPath, ['scripts/package.mjs', '--immutable'], { cwd: process.cwd(), windowsHide: true,
env: projectEnvironment({ PATH: path.dirname(process.execPath) + path.delimiter + process.env.PATH }), stdio: ['ignore', 'pipe', 'pipe'] });
child.stdout.on('data', bytes => log.write(bytes)); child.stderr.on('data', bytes => log.write(bytes));
const exitCode = await new Promise((resolve, reject) => { child.once('error', reject); child.once('close', resolve); });
await new Promise(resolve => log.end(resolve));
for (const item of [...after.inputs, ...after.builds, ...after.benchmarks]) assert.equal(hash(fs.readFileSync(item.path)), item.sha256, item.path);
const receipt = { success: exitCode === 0, startedAt, finishedAt: new Date().toISOString(), exitCode, logPath,
logSha256: hash(fs.readFileSync(logPath)), priorCodeCommit: before.codeCommit, codeCommit: after.codeCommit,
changedInputs: changed.map(item => item.path), productBuildsAndBenchmarksUnchanged: true };
fs.writeFileSync('.qa/companion-corrected-package-result.json', JSON.stringify(receipt, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify(receipt)); if (!receipt.success) process.exitCode = 1;
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,20 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { publicSnapshot, compareOriginalState } from './desktop-f-state.mjs';
import { HostController } from '../src/core/desktop/host-controller.mjs';
const mode = process.argv[2]; assert.ok(['before', 'after'].includes(mode));
const root = 'C:/Users/wangy/AppData/Local/Programs/AgentWorkbench';
const pointer = JSON.parse(fs.readFileSync(path.join(root, 'current.json'), 'utf8'));
const dataRoot = fs.realpathSync.native(pointer.dataRoot);
const snapshot = await publicSnapshot('http://127.0.0.1:4318', dataRoot);
const controller = new HostController({ appRoot: snapshot.runtimeRoot, dataRoot, port: 4318, nodePath: process.execPath });
assert.ok(await controller.connect()); const status = await controller.status();
assert.equal(snapshot.pid, 36552); assert.equal(snapshot.version, '1.15.0'); assert.deepEqual(snapshot.active, []);
assert.equal(status.desktopWindows.count, mode === 'before' ? 1 : 0);
let retained = null;
if (mode === 'after') retained = compareOriginalState(JSON.parse(fs.readFileSync('.qa/companion-corrected-window-before.json', 'utf8')).snapshot, snapshot);
const value = { success: true, at: new Date().toISOString(), mode, snapshot, desktopWindows: status.desktopWindows, retained,
scope: 'Normal native Alt+F4 closes only the observed idle formal Electron window. Original PID/Provider and every persistent row/export/artifact retained, with no project or model request.' };
fs.writeFileSync('.qa/companion-corrected-window-' + mode + '.json', JSON.stringify(value, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, mode, pid: snapshot.pid, windows: status.desktopWindows.count, active: false, originalDataRetained: mode === 'after' }));
@@ -0,0 +1,33 @@
import fs from 'node:fs';
import path from 'node:path';
import net from 'node:net';
import assert from 'node:assert/strict';
import { publicSnapshot, compareOriginalState } from './desktop-f-state.mjs';
const current = JSON.parse(fs.readFileSync('.qa/current-iphone-runtime.json', 'utf8'));
const url = current.desktopUrl.replace(/\/$/, ''), dataRoot = fs.realpathSync.native(current.dataRoot);
const output = '.qa/companion-corrected-qa-gateway-retired.json'; assert.equal(fs.existsSync(output), false);
const before = await publicSnapshot(url, dataRoot); assert.equal(before.pid, current.pid); assert.equal(before.version, '1.16.0');
assert.equal(fs.realpathSync.native(before.runtimeRoot), fs.realpathSync.native(current.appRoot)); assert.deepEqual(before.active, []);
const bootstrap = await (await fetch(url + '/api/bootstrap')).json();
async function api(route, method = 'GET') {
const response = await fetch(url + '/api' + route, { method, headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close', ...(method === 'POST' ? { 'Content-Type': 'application/json' } : {}) },
...(method === 'POST' ? { body: '{}' } : {}), signal: AbortSignal.timeout(20000) });
assert.equal(response.status, 200); return response.json();
}
const gatewayBefore = await api('/companion'); assert.equal(gatewayBefore.enabled, true); assert.equal(gatewayBefore.origin, current.mobileOrigin);
assert.deepEqual(gatewayBefore.devices.filter(device => device.status === 'active'), []);
const closed = await api('/companion/close', 'POST'); assert.equal(closed.enabled, false);
const gatewayAfter = await api('/companion'); assert.equal(gatewayAfter.enabled, false); assert.deepEqual(gatewayAfter.devices, gatewayBefore.devices);
assert.deepEqual(gatewayAfter.certificate, gatewayBefore.certificate);
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after);
const origin = new URL(current.mobileOrigin);
await new Promise((resolve, reject) => { const socket = net.createConnection({ host: origin.hostname, port: Number(origin.port) }); socket.setTimeout(1500);
socket.once('connect', () => { socket.destroy(); reject(Error('QA HTTPS port is still listening')); });
socket.once('timeout', () => { socket.destroy(); reject(Error('QA port state is unknown')); });
socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve() : reject(error); }); });
const formal = await (await fetch('http://127.0.0.1:4318/api/health')).json(); assert.equal(formal.pid, 36552); assert.equal(formal.version, '1.15.0');
fs.writeFileSync(output, JSON.stringify({ success: true, at: new Date().toISOString(), qaPid: before.pid, managementUrl: current.desktopUrl,
releasedMobileOrigin: current.mobileOrigin, gatewayEnabled: false, before, after, retained, certificateUnchanged: true,
originalRevokedDevices: gatewayAfter.devices, formalPid: formal.pid, formalVersion: formal.version, realModelRequests: 0,
scope: 'Normal authenticated close of the owned QA HTTPS listener frees the future formal mobile port. QA management host, certificate, revoked devices and every original row/export/artifact remain unchanged; no device or certificate is migrated.' }, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, qaPid: before.pid, qaManagementRetained: true, qaHttpsPortFreed: true, originalDataRetained: true }));
@@ -0,0 +1,11 @@
{
"success": false,
"source": "Actual exec_command result fb6268 from the initial close attempt",
"actionCompleted": "Authenticated /companion/close and full before/after public data comparison completed before the TCP probe",
"failedPhase": "TCP connection probe of the closed LAN listener",
"observedError": "Error: QA port state is unknown",
"originalScript": ".qa/retire-companion-qa-gateway.mjs",
"originalScriptSha256": "c24b6bf0d79c734fde12ecd4db457a559e12fa7f6fc17af6456b9f9da206402e",
"rawBeforeAndAfterSnapshotsPersisted": false,
"furtherCloseOrRestartPerformed": false
}
@@ -0,0 +1,37 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { execFileSync } from 'node:child_process';
import { publicSnapshot, compareOriginalState } from './desktop-f-state.mjs';
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
const hash = value => createHash('sha256').update(value).digest('hex');
const current = read('.qa/current-iphone-runtime.json'), live = read('.qa/current-real-iphone-acceptance.json');
const base = current.desktopUrl.replace(/\/$/, ''), dataRoot = fs.realpathSync.native(current.dataRoot);
const output = '.qa/companion-corrected-qa-gateway-retired.json'; assert.equal(fs.existsSync(output), false);
const before = await publicSnapshot(base, dataRoot); assert.equal(before.pid, current.pid); assert.deepEqual(before.active, []);
const bootstrap = await (await fetch(base + '/api/bootstrap')).json();
const api = async route => { const response = await fetch(base + '/api' + route, { headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' } }); assert.equal(response.status, 200); return response.json(); };
const gateway = await api('/companion'); assert.equal(gateway.enabled, false); assert.equal(gateway.origin, null);
const original = read('docs/companion-f-iphone-recovery-evidence/final-public-state.json').gateway;
for (const field of ['gatewayId', 'revision', 'devices', 'audit', 'certificate']) assert.deepEqual(gateway[field], original[field], field);
const recovery = read(path.join(live.directory, 'recovery-baseline.json')), session = await api('/sessions/' + live.sessionId);
const execution = { events: session.events, messages: session.messages, changes: session.changes, approvals: session.approvals, taskId: session.taskId, runId: session.runId };
assert.equal(hash(JSON.stringify(execution)), recovery.originalExecutionSha256);
assert.equal(session.events.filter(item => item.tool === 'run_command' && item.phase === 'completed').length, 1);
const listenerBytes = execFileSync('powershell.exe', ['-NoProfile', '-NonInteractive', '-Command', "$ErrorActionPreference='Stop'; ConvertTo-Json -Compress -InputObject @(Get-NetTCPConnection -State Listen | Where-Object { $_.LocalPort -eq 4321 } | Select-Object LocalAddress,LocalPort,OwningProcess)"], { windowsHide: true });
assert.deepEqual(JSON.parse(listenerBytes.toString('utf8')), []);
fs.writeFileSync('.qa/companion-corrected-qa-gateway-listeners.json', listenerBytes, { flag: 'wx' });
const after = await publicSnapshot(base, dataRoot), postCloseStability = compareOriginalState(before, after);
const failure = { success: false, source: 'Actual exec_command result fb6268 from the initial close attempt',
actionCompleted: 'Authenticated /companion/close and full before/after public data comparison completed before the TCP probe',
failedPhase: 'TCP connection probe of the closed LAN listener', observedError: 'Error: QA port state is unknown',
originalScript: '.qa/retire-companion-qa-gateway.mjs', originalScriptSha256: hash(fs.readFileSync('.qa/retire-companion-qa-gateway.mjs')),
rawBeforeAndAfterSnapshotsPersisted: false, furtherCloseOrRestartPerformed: false };
fs.writeFileSync('.qa/companion-corrected-qa-gateway-first-failure.json', JSON.stringify(failure, null, 2) + '\n', { flag: 'wx' });
fs.writeFileSync(output, JSON.stringify({ success: true, at: new Date().toISOString(), qaPid: before.pid, managementUrl: current.desktopUrl,
releasedMobileOrigin: current.mobileOrigin, gatewayEnabled: false, before, after, postCloseStability,
originalTaskExecutionSha256: recovery.originalExecutionSha256, originalTaskAndSingleCommandRetained: true,
originalCertificateDevicesAuditRetained: true, listening4321: [], initialFailure: '.qa/companion-corrected-qa-gateway-first-failure.json',
realModelRequests: 0, scope: 'Read-only verification after the one completed close; no repeat close, restart or execution. OS listener table proves port release; original pre-retirement task bytes and certificate/devices/audit match sealed phone evidence. The original close reached its full data equality check before its network probe timed out; this new pair of snapshots proves subsequent stability.' }, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, qaPid: before.pid, qaManagementRetained: true, listening4321: [], originalTaskAndDeviceEvidenceRetained: true, closeRepeated: false }));
@@ -0,0 +1,60 @@
{
"success": true,
"at": "2026-10-31T12:39:08.487Z",
"checked": [
{
"key": "processLog",
"path": "C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9\\exact-setup-process.txt",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"bytes": 0,
"exact": true
},
{
"key": "setupLog",
"path": "C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9\\exact-setup.log",
"sha256": "c467bf6a5bda941c88941283ba61fac0334381671be3e061bac71c2fda1a2a9a",
"bytes": 6180679,
"exact": true
},
{
"key": "processLog",
"path": "C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9\\uninstall-process.txt",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"bytes": 0,
"exact": true
},
{
"key": "uninstallLog",
"path": "C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9\\uninstall.log",
"sha256": "47b69bc791767c34b253b7d70791687000520571967d076e8e04edc57c591376",
"bytes": 3168812,
"exact": false,
"exactOriginalPrefix": true
},
{
"key": "setupLog",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-setup.log",
"sha256": "ee4b4ebae76ce5d142ad387e364b7d44a1f03971d3cdf8e464c145accec9b2f0",
"bytes": 6181107,
"exact": true
}
],
"completions": [
{
"source": "C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9\\uninstall.log",
"original": {
"path": ".qa\\companion-corrected-log-completions\\1-original-receipt-prefix-log.txt",
"bytes": 3168613,
"sha256": "47b69bc791767c34b253b7d70791687000520571967d076e8e04edc57c591376"
},
"completed": {
"path": "C:\\AWQA16\\i-c9ffa71883e1475fb26e37f6b45b5ce9\\uninstall.log",
"bytes": 3168812,
"sha256": "9859e19408ca9110d49047affe63350c570cf480c95a986bd316d06b822396aa"
},
"appendedBytes": 199,
"appendedText": "2026-10-31 20:26:22.514 Uninstallation process succeeded.\r\n2026-10-31 20:26:22.514 Removed all? Yes\r\n2026-10-31 20:26:22.514 Need to restart Windows? No\r\n2026-10-31 20:26:22.514 Log closed.\r\n"
}
],
"scope": "All declared installer/process logs match their original SHA, or the uninstall receipt matches the exact original prefix followed solely by the four fixed 199-byte success/removed-all/no-restart/closed lines. Preserve both original prefix and final log; never rewrite the original receipt."
}
@@ -0,0 +1,33 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
const install = read(read('.qa/companion-corrected-install-location.json').result);
assert.equal(install.success, true);
const references = install.cases.flatMap(item => ['processLog', 'setupLog', 'uninstallLog'].filter(key => item[key]).map(key => ({ key, path: item[key], sha256: item[key + 'Sha256'] })));
const formal = read('.qa/companion-corrected-formal-stage.json'); assert.equal(formal.success, true);
references.push({ key: 'setupLog', path: formal.setupLog, sha256: formal.setupLogSha256 });
const directory = '.qa/companion-corrected-log-completions'; assert.equal(fs.existsSync(directory), false);
const checked = [], completions = [];
for (const item of references) {
const bytes = fs.readFileSync(item.path), current = hash(bytes);
if (current === item.sha256) { checked.push({ ...item, bytes: bytes.length, exact: true }); continue; }
assert.equal(item.key, 'uninstallLog', 'Only the declared uninstall completion trailer may append.');
const prefix = bytes.subarray(0, bytes.length - 199), tail = bytes.subarray(bytes.length - 199);
assert.equal(hash(prefix), item.sha256, 'The original receipt must match the exact prefix.');
const lines = tail.toString('utf8').split('\r\n'); assert.equal(lines.pop(), '');
assert.deepEqual(lines.map(line => { assert.match(line, /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3} /); return line.slice(26); }),
['Uninstallation process succeeded.', 'Removed all? Yes', 'Need to restart Windows? No', 'Log closed.']);
const archived = path.join(directory, String(completions.length + 1) + '-original-receipt-prefix-log.txt');
completions.push({ source: path.resolve(item.path), original: { path: archived, bytes: prefix.length, sha256: item.sha256 },
completed: { path: path.resolve(item.path), bytes: bytes.length, sha256: current }, appendedBytes: 199, appendedText: tail.toString('utf8'), prefix });
checked.push({ ...item, bytes: bytes.length, exact: false, exactOriginalPrefix: true });
}
fs.mkdirSync(directory);
for (const item of completions) { fs.writeFileSync(item.original.path, item.prefix, { flag: 'wx' }); delete item.prefix; }
const result = { success: true, at: new Date().toISOString(), checked, completions,
scope: 'All declared installer/process logs match their original SHA, or the uninstall receipt matches the exact original prefix followed solely by the four fixed 199-byte success/removed-all/no-restart/closed lines. Preserve both original prefix and final log; never rewrite the original receipt.' };
fs.writeFileSync(path.join(directory, 'index.json'), JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, references: checked.length, exact: checked.filter(item => item.exact).length, completions: completions.length }));
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,21 @@
{
"schema": 1,
"app": "agent-workbench-installation",
"installId": "74c11bdd-4895-459b-8403-097f79980b41",
"revision": 2,
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"port": 4318,
"active": {
"directory": "Agent-Workbench-1.15.0-win-x64-20261031071202956",
"version": "1.15.0",
"manifestSha256": "bac1a84429dea1b9f03c8fe5a538cd831b94469c888d64e23328b539551f6227",
"runtimeIdentity": "f3595cafc771df3ea938767fc4b1125c235f43cb9d16d2a3d8f5bffe12e82607"
},
"previous": {
"directory": "Agent-Workbench-1.15.0-win-x64-20261031053321352",
"version": "1.15.0",
"manifestSha256": "78c0d5c6c7592591275f0ba88b11bed6944e1a97cbcf4765feb2b90d31fbe467",
"runtimeIdentity": "7162038e3a95fd65d64ae8406640a29b2a6c855ca7ab7e61bd61b94fd82962c0"
},
"activatedAt": "2026-10-31T08:37:07.736Z"
}
@@ -0,0 +1,31 @@
{
"success": true,
"phase": "staged",
"version": "1.16.0",
"candidateIdentity": "6a81e7fec198be881e2110a14004cb1ab32a916a784391c28dcf6d9b6ee86270",
"manifestSha256": "5ee8b7f83e4d42ac8499c684d2a38b64ccce1b7d5936aca0cb455a9e23688629",
"retained": {
"originalRows": "exact",
"originalExports": "exact",
"originalArtifactBytes": "exact",
"originalModelCenter": "exact"
},
"setupLog": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-setup.log",
"setupLogSha256": "ee4b4ebae76ce5d142ad387e364b7d44a1f03971d3cdf8e464c145accec9b2f0",
"setupOutputEmpty": true,
"startedAt": "2026-10-31T12:28:12.442Z",
"finishedAt": "2026-10-31T12:38:20.229Z",
"installRoot": "C:/Users/wangy/AppData/Local/Programs/AgentWorkbench",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"candidate": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa",
"originalProcess": {
"pid": 36552,
"parentPid": 32968,
"createdAt": "2026-10-31T06:30:34.359Z",
"executable": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\runtime\\node.exe",
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001"
},
"realModelRequests": 0,
"scope": "Accepted product setup stages the existing install, one in-memory handler upgrade preserves the original PID/Provider, pointer activation and final read-only validation. Every original table/row, all session exports and artifact bytes compared; no model Key extraction or QA certificate/device migration."
}
@@ -0,0 +1,38 @@
{
"success": true,
"phase": "upgraded",
"version": "1.16.0",
"upgraded": {
"version": "1.16.0",
"pid": 36552,
"hasKey": true,
"projects": 17,
"sessions": 30,
"appDirectory": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"verified": true,
"connectionPreserved": true,
"url": "http://127.0.0.1:4318"
},
"retained": {
"originalRows": "exact",
"originalExports": "exact",
"originalArtifactBytes": "exact",
"originalModelCenter": "exact"
},
"currentProviderPreserved": true,
"startedAt": "2026-10-31T12:38:47.052Z",
"finishedAt": "2026-10-31T12:40:49.374Z",
"installRoot": "C:/Users/wangy/AppData/Local/Programs/AgentWorkbench",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"candidate": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa",
"originalProcess": {
"pid": 36552,
"parentPid": 32968,
"createdAt": "2026-10-31T06:30:34.359Z",
"executable": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\runtime\\node.exe",
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001"
},
"realModelRequests": 0,
"scope": "Accepted product setup stages the existing install, one in-memory handler upgrade preserves the original PID/Provider, pointer activation and final read-only validation. Every original table/row, all session exports and artifact bytes compared; no model Key extraction or QA certificate/device migration."
}
@@ -0,0 +1,94 @@
{
"success": true,
"phase": "activated",
"version": "1.16.0",
"activated": {
"phase": "activated",
"active": {
"directory": "Agent-Workbench-1.16.0-win-x64-20261031114604110",
"version": "1.16.0",
"manifestSha256": "5ee8b7f83e4d42ac8499c684d2a38b64ccce1b7d5936aca0cb455a9e23688629",
"runtimeIdentity": "6a81e7fec198be881e2110a14004cb1ab32a916a784391c28dcf6d9b6ee86270"
},
"receiptFile": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\.installation\\operation-946da784-a93b-41fb-ba0f-578d25ad793a.json",
"hostRetained": false,
"dataPreserved": true
},
"identity": {
"schema": 1,
"protocol": "agent-workbench-host-v1",
"app": "agent-workbench",
"version": "1.16.0",
"instanceId": "4c910dd5-82cb-4c8a-92f6-328338ea0662",
"pid": 36552,
"createdAt": "2026-10-31T06:30:34.359Z",
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
"ownerId": "b3ae90d3-9aa1-4b40-bd96-a53f01dbb502",
"executable": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\runtime\\node.exe",
"bytes": 93915464,
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
},
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461",
"runtimeRoot": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"runtimeIdentity": "6a81e7fec198be881e2110a14004cb1ab32a916a784391c28dcf6d9b6ee86270",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"port": 4318
},
"pointer": {
"schema": 1,
"app": "agent-workbench-installation",
"installId": "74c11bdd-4895-459b-8403-097f79980b41",
"revision": 3,
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"port": 4318,
"active": {
"directory": "Agent-Workbench-1.16.0-win-x64-20261031114604110",
"version": "1.16.0",
"manifestSha256": "5ee8b7f83e4d42ac8499c684d2a38b64ccce1b7d5936aca0cb455a9e23688629",
"runtimeIdentity": "6a81e7fec198be881e2110a14004cb1ab32a916a784391c28dcf6d9b6ee86270"
},
"previous": {
"directory": "Agent-Workbench-1.15.0-win-x64-20261031071202956",
"version": "1.15.0",
"manifestSha256": "bac1a84429dea1b9f03c8fe5a538cd831b94469c888d64e23328b539551f6227",
"runtimeIdentity": "f3595cafc771df3ea938767fc4b1125c235f43cb9d16d2a3d8f5bffe12e82607"
},
"activatedAt": "2026-10-31T12:50:24.152Z"
},
"retained": {
"originalRows": "exact",
"originalExports": "exact",
"originalArtifactBytes": "exact",
"originalModelCenter": "exact"
},
"companion": {
"enabled": false,
"devices": 0,
"certificate": null
},
"currentProviderPreserved": true,
"counts": {
"projects": 17,
"sessions": 30,
"records": 2590,
"events": 4653,
"artifacts": 1366
},
"inspectorClosed": true,
"startedAt": "2026-10-31T12:40:50.258Z",
"finishedAt": "2026-10-31T12:50:29.243Z",
"installRoot": "C:/Users/wangy/AppData/Local/Programs/AgentWorkbench",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"candidate": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa",
"originalProcess": {
"pid": 36552,
"parentPid": 32968,
"createdAt": "2026-10-31T06:30:34.359Z",
"executable": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\runtime\\node.exe",
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001"
},
"realModelRequests": 0,
"scope": "Accepted product setup stages the existing install, one in-memory handler upgrade preserves the original PID/Provider, pointer activation and final read-only validation. Every original table/row, all session exports and artifact bytes compared; no model Key extraction or QA certificate/device migration."
}
@@ -0,0 +1,83 @@
{
"success": true,
"phase": "verified",
"version": "1.16.0",
"activated": null,
"identity": {
"schema": 1,
"protocol": "agent-workbench-host-v1",
"app": "agent-workbench",
"version": "1.16.0",
"instanceId": "4c910dd5-82cb-4c8a-92f6-328338ea0662",
"pid": 36552,
"createdAt": "2026-10-31T06:30:34.359Z",
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
"ownerId": "b3ae90d3-9aa1-4b40-bd96-a53f01dbb502",
"executable": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\runtime\\node.exe",
"bytes": 93915464,
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
},
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461",
"runtimeRoot": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"runtimeIdentity": "6a81e7fec198be881e2110a14004cb1ab32a916a784391c28dcf6d9b6ee86270",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"port": 4318
},
"pointer": {
"schema": 1,
"app": "agent-workbench-installation",
"installId": "74c11bdd-4895-459b-8403-097f79980b41",
"revision": 3,
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"port": 4318,
"active": {
"directory": "Agent-Workbench-1.16.0-win-x64-20261031114604110",
"version": "1.16.0",
"manifestSha256": "5ee8b7f83e4d42ac8499c684d2a38b64ccce1b7d5936aca0cb455a9e23688629",
"runtimeIdentity": "6a81e7fec198be881e2110a14004cb1ab32a916a784391c28dcf6d9b6ee86270"
},
"previous": {
"directory": "Agent-Workbench-1.15.0-win-x64-20261031071202956",
"version": "1.15.0",
"manifestSha256": "bac1a84429dea1b9f03c8fe5a538cd831b94469c888d64e23328b539551f6227",
"runtimeIdentity": "f3595cafc771df3ea938767fc4b1125c235f43cb9d16d2a3d8f5bffe12e82607"
},
"activatedAt": "2026-10-31T12:50:24.152Z"
},
"retained": {
"originalRows": "exact",
"originalExports": "exact",
"originalArtifactBytes": "exact",
"originalModelCenter": "exact"
},
"companion": {
"enabled": false,
"devices": 0,
"certificate": null
},
"currentProviderPreserved": true,
"counts": {
"projects": 17,
"sessions": 30,
"records": 2590,
"events": 4653,
"artifacts": 1366
},
"inspectorClosed": true,
"startedAt": "2026-10-31T12:50:34.989Z",
"finishedAt": "2026-10-31T12:52:39.520Z",
"installRoot": "C:/Users/wangy/AppData/Local/Programs/AgentWorkbench",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench",
"candidate": "C:\\Users\\wangy\\AppData\\Local\\Programs\\AgentWorkbench\\versions\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"setupSha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa",
"originalProcess": {
"pid": 36552,
"parentPid": 32968,
"createdAt": "2026-10-31T06:30:34.359Z",
"executable": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.14.0-win-x64-20261030235440461\\runtime\\node.exe",
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001"
},
"realModelRequests": 0,
"scope": "Accepted product setup stages the existing install, one in-memory handler upgrade preserves the original PID/Provider, pointer activation and final read-only validation. Every original table/row, all session exports and artifact bytes compared; no model Key extraction or QA certificate/device migration."
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,180 @@
{
"success": true,
"version": "1.16.0",
"pid": 36552,
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434",
"selectedHistory": {
"projectId": "46d9ba13-b48c-43a2-a726-fc8ad47badb1",
"sessionId": "3fffee63-edc6-4538-b1dd-941354535e85",
"selection": "Actual current-project selector; no task created."
},
"results": [
{
"width": 1280,
"height": 900,
"panel": "执行计划",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\plan-1280.png",
"screenshotSha256": "9a55798a103faf37798188e42c6542098e339adc85c128c843d7f6dddac65086"
},
{
"width": 1280,
"height": 900,
"panel": "模型中心",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\model-center-1280.png",
"screenshotSha256": "8081c122e1dd1c602fd01e49f7f42296bd893e579e92cb905db050b0c5ac27da"
},
{
"width": 1280,
"height": 900,
"panel": "本机加密凭据只读状态",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\credentials-1280.png",
"screenshotSha256": "869c3b2a983382fa155fe864ec39624dfc2886f505dfa408e3190a48d06be260"
},
{
"width": 1280,
"height": 900,
"panel": "运行巡检及实际覆盖范围",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\operations-1280.png",
"screenshotSha256": "7ab322cd3104007db0a9c2591a7bb0555f55363ea2294419cfaf873040dc2758"
},
{
"width": 1280,
"height": 900,
"panel": "项目技能",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\skills-1280.png",
"screenshotSha256": "ea371a30cb14145f8952c1c89bffae76f56b09846d4506f864131057fc4dd1a4"
},
{
"width": 1280,
"height": 900,
"panel": "项目 MCP 工具",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\mcp-1280.png",
"screenshotSha256": "7e558b1f3934c427c9ca48bc419ae3ffac0826a9cc8a71b85e3bd698a286d4b5"
},
{
"width": 1280,
"height": 900,
"panel": "隔离协作",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\controlled-engine-1280.png",
"screenshotSha256": "4199d2058a9929e16e92602efdfea8e66a38c5412d19c3b8f7022ad79e256ef0"
},
{
"width": 1280,
"height": 900,
"panel": "受控引擎安装与默认关闭策略",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\controlled-native-1280.png",
"screenshotSha256": "600752b27b91ea808bb8d96dab5cd3bf255a04aa797b9b532021502cf3dddb76"
},
{
"width": 1280,
"height": 900,
"panel": "Purge来源只读核对",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\controlled-purge-1280.png",
"screenshotSha256": "0034ee1a724a8a1a47759fdaadc6f79b297348dbd27a292ddebc29ae0c204594"
},
{
"width": 1280,
"height": 900,
"panel": "默认关闭的手机网关与设备管理",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\companion-1280.png",
"screenshotSha256": "e9d6a3ca44f34c2c6e78cd4d851b6db3dd4f0f01ca42d017b93c551d0fa93609"
},
{
"width": 390,
"height": 844,
"panel": "执行计划",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\plan-390.png",
"screenshotSha256": "47381f6434a803d18b98ff49cc92417d37274c759bfa9665b1475419239c9517"
},
{
"width": 390,
"height": 844,
"panel": "模型中心",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\model-center-390.png",
"screenshotSha256": "229d82761c266f3e871e5d658ceca6511daecdbbd25814b3c4fb3061c4ad9520"
},
{
"width": 390,
"height": 844,
"panel": "本机加密凭据只读状态",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\credentials-390.png",
"screenshotSha256": "94ff79882211c6898128c5d967a242f7a9ed2103faaa3fbc38a9b52838b4893b"
},
{
"width": 390,
"height": 844,
"panel": "运行巡检及实际覆盖范围",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\operations-390.png",
"screenshotSha256": "9478a9c31972dc5c1ed15732f85acf38b502a5f1effa9f8fdbe7d6ee93ca126a"
},
{
"width": 390,
"height": 844,
"panel": "项目技能",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\skills-390.png",
"screenshotSha256": "2019ba395495625ceb76bfc329d8ec5c49278cb254685db0c73c6aaf575468d6"
},
{
"width": 390,
"height": 844,
"panel": "项目 MCP 工具",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\mcp-390.png",
"screenshotSha256": "e17a464a68ef0cb2dd374b7abc72c42047e45cb158934899269b38ce2bf5977b"
},
{
"width": 390,
"height": 844,
"panel": "隔离协作",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\controlled-engine-390.png",
"screenshotSha256": "232c4cc91d6ac3c212db990b7dbae4fb5360a784a0a91634be3ed911d18adf81"
},
{
"width": 390,
"height": 844,
"panel": "受控引擎安装与默认关闭策略",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\controlled-native-390.png",
"screenshotSha256": "125993490aeea27f5dd6b9ecc72c7cd90b1f131da0f34ca9dfba7f1f25f86386"
},
{
"width": 390,
"height": 844,
"panel": "Purge来源只读核对",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\controlled-purge-390.png",
"screenshotSha256": "2deca05c1b43f8f582c40e621eabb8503a78e1ae9d23eb1b2b33a87f0926e6a9"
},
{
"width": 390,
"height": 844,
"panel": "默认关闭的手机网关与设备管理",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-corrected-formal-ui-0ca45f11-637d-4219-8a2f-692dc5cfc434\\companion-390.png",
"screenshotSha256": "405334ae35842451ebaa1cfec443ad458241b1baa92eae84993acbba0d959e50"
}
],
"testedAt": "2026-10-31T12:50:34.621Z",
"pageErrors": [],
"requestFailures": [],
"httpErrors": [],
"blockedWrites": [],
"modelRequests": 0,
"scope": "Read-only smoke of deployed host in actual Edge desktop/390px; API mutations are blocked, no task/tool/model/configuration/project writes."
}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,19 @@
import fs from 'node:fs';
import assert from 'node:assert/strict';
import { publicSnapshot, compareOriginalState } from './desktop-f-state.mjs';
import { HostController } from '../src/core/desktop/host-controller.mjs';
const deployed = JSON.parse(fs.readFileSync('.qa/companion-corrected-formal-verify.json', 'utf8'));
assert.equal(deployed.success, true);
const before = JSON.parse(fs.readFileSync('.qa/companion-corrected-formal-before.json', 'utf8'));
const current = await publicSnapshot('http://127.0.0.1:4318', deployed.dataRoot), retained = compareOriginalState(before, current);
assert.equal(current.version, '1.16.0'); assert.equal(current.pid, 36552); assert.equal(current.runtimeRoot, deployed.candidate);
const controller = new HostController({ appRoot: deployed.candidate, dataRoot: deployed.dataRoot, port: 4318, nodePath: process.execPath });
assert.ok(await controller.connect()); const status = await controller.status();
assert.equal(status.desktopWindows.count, 1); assert.equal(status.activity.active, false);
const observed = JSON.parse(fs.readFileSync('.qa/companion-corrected-formal-native-observed.json', 'utf8'));
assert.equal(observed.success, true); assert.equal(observed.versionObserved, '1.16.0'); assert.equal(observed.phoneConnectionEntryObserved, true);
const screenshot = fs.readFileSync(observed.screenshot.path); assert.equal(screenshot.length, observed.screenshot.bytes);
fs.writeFileSync('.qa/companion-corrected-formal-native.json', JSON.stringify({ success: true, at: new Date().toISOString(), current, retained,
hostPid: 36552, currentProviderPreserved: true, desktopWindows: status.desktopWindows, observed, realModelRequests: 0,
scope: 'Actual activated formal native desktop opened normally and inspected via Windows sky UI; version, phone connection entry and existing selected project observed. No project write or model request; original PID/Provider and complete data remain exact.' }, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, version: current.version, hostPid: 36552, nativeWindows: 1, originalStateRetained: true }));
@@ -0,0 +1,8 @@
PASS desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust
PASS 390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop
PASS phone UI confirms original Task/Run approval and the existing Runtime executes one command
PASS original paginated diff and counted check/report display verified content from the same Task
PASS disconnect and refresh recover from persistent seq without submitting a new command or Run
PASS PWA service worker stores the shell and no API/project response
PASS desktop revocation removes mobile project content immediately on the next read while preserving the original completed tool
EVIDENCE D:\Ai-project\REA逆向\Agent-Workbench\.qa\companion-ui-77872312-a747-48f2-bd2d-1c3f9d674053
@@ -0,0 +1,154 @@
TAP version 13
# Subtest: pairing is short lived, single-use, generation-bound and validates exact permissions
ok 1 - pairing is short lived, single-use, generation-bound and validates exact permissions
---
duration_ms: 1279.3566
type: 'test'
...
# Subtest: device transaction failure neither consumes the ticket nor leaves a credential
ok 2 - device transaction failure neither consumes the ticket nor leaves a credential
---
duration_ms: 724.3981
type: 'test'
...
# Subtest: devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority
ok 3 - devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority
---
duration_ms: 620.5075
type: 'test'
...
# Subtest: persistent registry stores hashes and a bounded audit, never raw credentials
ok 4 - persistent registry stores hashes and a bounded audit, never raw credentials
---
duration_ms: 588.1215
type: 'test'
...
# Subtest: real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint
ok 5 - real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint
---
duration_ms: 647.8677
type: 'test'
...
# Subtest: TLS sealing failure leaves listener closed and no plaintext or successful TLS registration
ok 6 - TLS sealing failure leaves listener closed and no plaintext or successful TLS registration
---
duration_ms: 524.4182
type: 'test'
...
# Subtest: HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks
ok 7 - HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks
---
duration_ms: 658.1326
type: 'test'
...
# Subtest: gateway never exposes management routes, arbitrary assets or unpaired project data
ok 8 - gateway never exposes management routes, arbitrary assets or unpaired project data
---
duration_ms: 633.1258
type: 'test'
...
# Subtest: authorized project events paginate from original seq without leaking other project events or payloads
ok 9 - authorized project events paginate from original seq without leaking other project events or payloads
---
duration_ms: 1150.3154
type: 'test'
...
# Subtest: remote task projection excludes raw model history, host configuration, tool input and credentials
ok 10 - remote task projection excludes raw model history, host configuration, tool input and credentials
---
duration_ms: 823.7324
type: 'test'
...
# Subtest: permission checks apply to direct remote mutation, not only UI controls
ok 11 - permission checks apply to direct remote mutation, not only UI controls
---
duration_ms: 849.9094
type: 'test'
...
# Subtest: approval fingerprint and exact task/revision are bound; duplicate requests never execute twice
ok 12 - approval fingerprint and exact task/revision are bound; duplicate requests never execute twice
---
duration_ms: 898.2034
type: 'test'
...
# Subtest: unknown original operation is recorded and never replayed after response failure
ok 13 - unknown original operation is recorded and never replayed after response failure
---
duration_ms: 744.9553
type: 'test'
...
# Subtest: revocation and gateway closure reject old access without invoking runtime stop
ok 14 - revocation and gateway closure reject old access without invoking runtime stop
---
duration_ms: 713.9954
type: 'test'
...
# Subtest: rate limits reject pairing brute force and do not persist candidate secrets
ok 15 - rate limits reject pairing brute force and do not persist candidate secrets
---
duration_ms: 630.5849
type: 'test'
...
# Subtest: real Windows CurrentUser DPAPI persists only a sealed CA and reopens it
ok 16 - real Windows CurrentUser DPAPI persists only a sealed CA and reopens it
---
duration_ms: 3118.6272
type: 'test'
...
# Subtest: mobile approval executes the original Runtime command exactly once and rejects the later desktop decision
ok 17 - mobile approval executes the original Runtime command exactly once and rejects the later desktop decision
---
duration_ms: 1744.1174
type: 'test'
...
# Subtest: desktop rejection wins a concurrent mobile request and original command remains unexecuted
ok 18 - desktop rejection wins a concurrent mobile request and original command remains unexecuted
---
duration_ms: 1421.475
type: 'test'
...
# Subtest: phone stop waits for the original process exit and prevents later heartbeats and command replay
ok 19 - phone stop waits for the original process exit and prevents later heartbeats and command replay
---
duration_ms: 2146.5542
type: 'test'
...
# Subtest: Run replacement during parent-stop wait is rejected rather than stopping the new Run
ok 20 - Run replacement during parent-stop wait is rejected rather than stopping the new Run
---
duration_ms: 548.7051
type: 'test'
...
# Subtest: diff pages preserve source SHA; report reads verify blobs and exclude unrelated artifact kinds
ok 21 - diff pages preserve source SHA; report reads verify blobs and exclude unrelated artifact kinds
---
duration_ms: 892.4075
type: 'test'
...
# Subtest: hot upgrade refuses an active gateway and restores closed gateway ownership on failure
ok 22 - hot upgrade refuses an active gateway and restores closed gateway ownership on failure
---
duration_ms: 500.7787
type: 'test'
...
# Subtest: damaged device permissions or expiry fail closed and never overwrite the original registry
ok 23 - damaged device permissions or expiry fail closed and never overwrite the original registry
---
duration_ms: 718.1166
type: 'test'
...
# Subtest: device revocation destroys its actual authenticated TLS connection
ok 24 - device revocation destroys its actual authenticated TLS connection
---
duration_ms: 910.1893
type: 'test'
...
1..24
# tests 24
# suites 0
# pass 24
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 23735.6502
@@ -0,0 +1,20 @@
> local-agent-workbench@1.16.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...
✓ 1725 modules transformed.
rendering chunks...
computing gzip size...
dist-client/.vite/manifest.json 0.55 kB │ gzip: 0.22 kB
dist-client/index.html 0.58 kB │ gzip: 0.40 kB
dist-client/mobile.html 0.82 kB │ gzip: 0.45 kB
dist-client/assets/mobile-CPi1xsK3.css 11.10 kB │ gzip: 2.97 kB
dist-client/assets/desktop-BaQ1ZMRu.css 134.24 kB │ gzip: 25.64 kB
dist-client/assets/mobile-tKLJoem9.js 21.38 kB │ gzip: 7.64 kB
dist-client/assets/x-Cc3T3VuL.js 225.51 kB │ gzip: 70.77 kB
dist-client/assets/desktop-DmqBcePV.js 277.30 kB │ gzip: 78.12 kB
✓ built in 1.15s
Mobile shell built: 3 allowed assets; API and project data are never cached.
Server bundle built.
@@ -0,0 +1,280 @@
{
"success": true,
"at": "2026-10-31T11:47:37.003Z",
"codeCommit": "52f0d20f56b0a36b46094310279d6eb6c691c5dd",
"inputFiles": 378,
"exactInputs": 354,
"normalized": [
{
"path": "package-lock.json",
"bytes": 107932,
"sha256": "f65f08e62c0aa815f068b615c6f1ee396ad287745519eada7b45d0ec8bab354b",
"gitBytes": 104789,
"gitSha256": "a6970d796564a1fa1bdfb6d57cf855f8d7421e85facf2769f9da18ac8464bad6",
"attributes": [
"package-lock.json: text: auto",
"package-lock.json: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "package.json",
"bytes": 3162,
"sha256": "bcc2685fd554ffa4573f9d2709d2aa76bfc086907fd91bc786cd3e6767b3deb2",
"gitBytes": 3096,
"gitSha256": "83b1df152c0554b77a9d4aba7e6ee71cb7da43baf8f4c38b264664edd1a608cc",
"attributes": [
"package.json: text: auto",
"package.json: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/package.mjs",
"bytes": 11486,
"sha256": "a083e2b6058c35641de30ceee3f8d4226afccbd7569f7d9cbd9d3ca216eadbfe",
"gitBytes": 11349,
"gitSha256": "bb34f3de1c67ce6411d7ff9fdbe304da1b2f269a337957b98d6a407b94b38a2d",
"attributes": [
"scripts/package.mjs: text: auto",
"scripts/package.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/qa-evidence.mjs",
"bytes": 812,
"sha256": "95287a84ae459e83e3206432096c8011aace94742b4e11666417de1a91a1d3ce",
"gitBytes": 795,
"gitSha256": "33ce3997f4983e6ffe85fd69a06cda949783946f27363c55bafa1f7caf8594e9",
"attributes": [
"scripts/qa-evidence.mjs: text: auto",
"scripts/qa-evidence.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/upgrade-running.mjs",
"bytes": 13525,
"sha256": "fea70bf9a90647287cfacd9999b2c74f6413676dc4eb16f07650600b0c64336b",
"gitBytes": 13359,
"gitSha256": "5f1237abffb44376124400a18f1d64fd394ee27dfda7163f4070e331ef6df834",
"attributes": [
"scripts/upgrade-running.mjs: text: auto",
"scripts/upgrade-running.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/verify-all-ui.mjs",
"bytes": 10134,
"sha256": "9a2d7d8e2364a349769d1cc821fd811fd82734bbbeaa96065f7bcdf2aa98f5a1",
"gitBytes": 10028,
"gitSha256": "04d2cd7d7899bcfede665234d28d979586e0a5e34105c635329f2dd5c53e9b2d",
"attributes": [
"scripts/verify-all-ui.mjs: text: auto",
"scripts/verify-all-ui.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/verify-change-sets-ui.mjs",
"bytes": 16297,
"sha256": "f80951a6ee7a384055c858f9d574fc79d683eb21f3d22ec7a55ed4574ae5d30f",
"gitBytes": 16156,
"gitSha256": "2f7910bd4acfc4fbfaf6f2df77d69ea5e68fbea1c6f930dff004f43687231d8d",
"attributes": [
"scripts/verify-change-sets-ui.mjs: text: auto",
"scripts/verify-change-sets-ui.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/verify-context-ui.mjs",
"bytes": 18681,
"sha256": "5d6acb44ce4f0cb16e3b7ec41ba790890a763aca361b68576b30ff45be730654",
"gitBytes": 18485,
"gitSha256": "80c18e78d36185c24581dd44f193854e0aa1cc9b169b35f2cf79b9fc5f13ca90",
"attributes": [
"scripts/verify-context-ui.mjs: text: auto",
"scripts/verify-context-ui.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/verify-controlled-release.mjs",
"bytes": 21822,
"sha256": "8f923aad7e76ce4585d167f5f9833710eea36327499b27db724a51e0feed2e0a",
"gitBytes": 21623,
"gitSha256": "59d9a6a50491a058e98ed684629ac0af0b7c6a4bb8d4533469eb880cfb78f6e7",
"attributes": [
"scripts/verify-controlled-release.mjs: text: auto",
"scripts/verify-controlled-release.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/verify-release.mjs",
"bytes": 17424,
"sha256": "bc6d4c6346b89a67f50df4c94f99634e06d5eae00009f515b0a1ef65ed729845",
"gitBytes": 17242,
"gitSha256": "26e304f5eeccb020df63780b5c9c7d22be0b2220b0a3cb0f39e625127f0dce7f",
"attributes": [
"scripts/verify-release.mjs: text: auto",
"scripts/verify-release.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/verify-source-package.mjs",
"bytes": 14568,
"sha256": "5ba21ee76113ba6aa616ba64144725ae6e4193c2ab5f787fe1f96dbf419f2e45",
"gitBytes": 14413,
"gitSha256": "e1fe72a91a6d10064c436f90aee256c075bcd5e8d2e2b09bef359552835f030b",
"attributes": [
"scripts/verify-source-package.mjs: text: auto",
"scripts/verify-source-package.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/verify-ui.mjs",
"bytes": 18880,
"sha256": "d9e7b3e8eb0ff80168acfd5d320685db6d4e1f53827cac4b96cffd5e54c758b6",
"gitBytes": 18623,
"gitSha256": "cd57dd67aada66f667a4e62b7a8f76a79d3c09acd7ba7c658b89e6d38dc6be9f",
"attributes": [
"scripts/verify-ui.mjs: text: auto",
"scripts/verify-ui.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "scripts/verify-workers-ui.mjs",
"bytes": 18894,
"sha256": "927903362bf7d00ad1ab6dda8b5ddd7564852c656874ff5524283f4d35c622cd",
"gitBytes": 18747,
"gitSha256": "3f2599d4d52f998204d5396e96c2fe2da652127a64739c64c8b986a5d14f0aad",
"attributes": [
"scripts/verify-workers-ui.mjs: text: auto",
"scripts/verify-workers-ui.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "src/client/SkillCenter.tsx",
"bytes": 9303,
"sha256": "b227ffdccf1d90ac969f1e4e2a56c592b7c9eac13746bf0c90ee9d9e702e9f10",
"gitBytes": 9240,
"gitSha256": "de7a4426aef468a73a9522da9883592ab0cc29a1f2b3786b764cd51a304347b2",
"attributes": [
"src/client/SkillCenter.tsx: text: auto",
"src/client/SkillCenter.tsx: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "src/client/mobile/MobileApp.tsx",
"bytes": 23955,
"sha256": "bd550ee31b58a322e904b0a42852fe8da383a6c5d776c4b7d452ea09962d82ed",
"gitBytes": 23824,
"gitSha256": "d941cd49b9f0a51eadb3242240b1ca071b0583e6c75c11863341d5aac9638621",
"attributes": [
"src/client/mobile/MobileApp.tsx: text: auto",
"src/client/mobile/MobileApp.tsx: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "src/client/mobile/mobile.css",
"bytes": 11111,
"sha256": "807ce41a2a55ca41626fa26cbe3c968dfe7d750cf684df2e6631663e1135ad1e",
"gitBytes": 11107,
"gitSha256": "1a37b259ed6872f4a33e8109cd860ea4f8911a4b5f4949eefd8a7a1c7bfd0d25",
"attributes": [
"src/client/mobile/mobile.css: text: auto",
"src/client/mobile/mobile.css: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "src/client/styles.css",
"bytes": 39993,
"sha256": "ea11c2f013247217ef689db321f642e54f364179082fa9cc53028040592aacb5",
"gitBytes": 39969,
"gitSha256": "92ca836ac4ece22a1b4e0eb8599ea571ac987903ff8525316419780056051528",
"attributes": [
"src/client/styles.css: text: auto",
"src/client/styles.css: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "src/server/diagnostics.mjs",
"bytes": 8093,
"sha256": "cc3c71d26e221300633106dd310c37fedf4208a75e0c95650f13c89f58d2191e",
"gitBytes": 7965,
"gitSha256": "408ea2b410b1dc14504176ed360ace676e72c43b9ca814106f8c4466a85b08ab",
"attributes": [
"src/server/diagnostics.mjs: text: auto",
"src/server/diagnostics.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
},
{
"path": "tests/skills.test.mjs",
"bytes": 17628,
"sha256": "c7228c190337bb5f2b9ab5a85ad34b78fd03541854e83197d7c4d2506bb3c6c6",
"gitBytes": 17438,
"gitSha256": "977e987ccdeab5bf07fd3dd1788d8ba866a3dc3715c9dd947982a9abfbab7e06",
"attributes": [
"tests/skills.test.mjs: text: auto",
"tests/skills.test.mjs: eol: lf"
],
"scope": "Only repository-declared CRLF/LF normalization; full normalized buffer matches committed blob."
}
],
"generated": [
{
"path": "examples/delivery-report/dist/cli.mjs",
"bytes": 818,
"sha256": "b8223dd1c0a98b3b7a0cd716db0ae053a2ca17fbd8272b005adcedd3ce5f7a69",
"source": "examples/delivery-report/src/cli.mjs",
"generator": "examples/delivery-report/scripts/build.mjs",
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
},
{
"path": "examples/delivery-report/dist/normalize.mjs",
"bytes": 1254,
"sha256": "57eb47b09913b131982a14c276ba5292aba4c94e0f475c97955221f6a7b7cdcd",
"source": "examples/delivery-report/src/normalize.mjs",
"generator": "examples/delivery-report/scripts/build.mjs",
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
},
{
"path": "examples/delivery-report/dist/package.json",
"bytes": 18,
"sha256": "1239d4d885dcad42201a27ed9324f8f0f760b78700d8db9ced39a511cffe7eae",
"source": null,
"generator": "examples/delivery-report/scripts/build.mjs",
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
},
{
"path": "examples/delivery-report/dist/render.mjs",
"bytes": 375,
"sha256": "d449524d731a55ef51d0143f38ee8b73db56363c78babc385fa58df7f2a542f0",
"source": "examples/delivery-report/src/render.mjs",
"generator": "examples/delivery-report/scripts/build.mjs",
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
},
{
"path": "examples/delivery-report/dist/summary.mjs",
"bytes": 427,
"sha256": "bf7ada9e5dbca167df2b9a5306c1d9399b4a658fb0777c73812856687ad0c5ef",
"source": "examples/delivery-report/src/summary.mjs",
"generator": "examples/delivery-report/scripts/build.mjs",
"generatorSha256": "9dbc4bea4940fb0e87e7924a4601166c422149d3e9f5ecf1d22efde3b6c8c302"
}
],
"scope": "Every frozen source/QA/build input tied to the committed source or exact generated example derivation; unchanged build bytes independently recorded."
}
@@ -0,0 +1,799 @@
{
"success": true,
"at": "2026-10-31T11:49:24.832Z",
"dependencyLicenseCopies": 131,
"availableLicenseFiles": 133,
"notices": {
"bytes": 546459,
"sha256": "77a6d6bc52b694711d0f6e08c3f8c4c1203c443528db654eb29c989e16725a50"
},
"records": [
{
"original": "node_modules\\@babel\\code-frame\\LICENSE",
"archived": "licenses\\_babel_code-frame-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\compat-data\\LICENSE",
"archived": "licenses\\_babel_compat-data-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\core\\LICENSE",
"archived": "licenses\\_babel_core-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\generator\\LICENSE",
"archived": "licenses\\_babel_generator-7.29.8-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helper-compilation-targets\\LICENSE",
"archived": "licenses\\_babel_helper-compilation-targets-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helper-globals\\LICENSE",
"archived": "licenses\\_babel_helper-globals-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helper-module-imports\\LICENSE",
"archived": "licenses\\_babel_helper-module-imports-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helper-module-transforms\\LICENSE",
"archived": "licenses\\_babel_helper-module-transforms-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helper-plugin-utils\\LICENSE",
"archived": "licenses\\_babel_helper-plugin-utils-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helper-string-parser\\LICENSE",
"archived": "licenses\\_babel_helper-string-parser-7.29.11-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helper-validator-identifier\\LICENSE",
"archived": "licenses\\_babel_helper-validator-identifier-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helper-validator-option\\LICENSE",
"archived": "licenses\\_babel_helper-validator-option-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\helpers\\LICENSE",
"archived": "licenses\\_babel_helpers-7.29.10-LICENSE.txt",
"bytes": 1189,
"sha256": "4be9d87b56a306293223b490c0d0b245e9e94f39884147bf051a6c7b825aeb30"
},
{
"original": "node_modules\\@babel\\parser\\LICENSE",
"archived": "licenses\\_babel_parser-7.29.11-LICENSE.txt",
"bytes": 1086,
"sha256": "2e97627cb278aa7556fb9e8817368302301a595b6c7582512b8d74c57b773652"
},
{
"original": "node_modules\\@babel\\plugin-transform-react-jsx-self\\LICENSE",
"archived": "licenses\\_babel_plugin-transform-react-jsx-self-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\plugin-transform-react-jsx-source\\LICENSE",
"archived": "licenses\\_babel_plugin-transform-react-jsx-source-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\template\\LICENSE",
"archived": "licenses\\_babel_template-7.29.7-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\traverse\\LICENSE",
"archived": "licenses\\_babel_traverse-7.29.10-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@babel\\types\\LICENSE",
"archived": "licenses\\_babel_types-7.29.11-LICENSE.txt",
"bytes": 1106,
"sha256": "117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76"
},
{
"original": "node_modules\\@electron-internal\\extract-zip\\LICENSE",
"archived": "licenses\\_electron-internal_extract-zip-1.0.8-LICENSE.txt",
"bytes": 1088,
"sha256": "edab8abb78d9c5b36944c3e00aebf6a90eb32378993f49ac8a3904007029c629"
},
{
"original": "node_modules\\@electron\\get\\LICENSE",
"archived": "licenses\\_electron_get-5.1.0-LICENSE.txt",
"bytes": 1088,
"sha256": "edab8abb78d9c5b36944c3e00aebf6a90eb32378993f49ac8a3904007029c629"
},
{
"original": "node_modules\\@electron\\get\\node_modules\\semver\\LICENSE",
"archived": "licenses\\semver-7.8.5-LICENSE.txt",
"bytes": 765,
"sha256": "4ec3d4c66cd87f5c8d8ad911b10f99bf27cb00cdfcff82621956e379186b016b"
},
{
"original": "node_modules\\@jridgewell\\gen-mapping\\LICENSE",
"archived": "licenses\\_jridgewell_gen-mapping-0.3.13-LICENSE.txt",
"bytes": 1080,
"sha256": "769d154fbde32a915af110b1123650bc79f4cbe675acc66e005265bf069c6c6c"
},
{
"original": "node_modules\\@jridgewell\\remapping\\LICENSE",
"archived": "licenses\\_jridgewell_remapping-2.3.5-LICENSE.txt",
"bytes": 1080,
"sha256": "769d154fbde32a915af110b1123650bc79f4cbe675acc66e005265bf069c6c6c"
},
{
"original": "node_modules\\@jridgewell\\resolve-uri\\LICENSE",
"archived": "licenses\\_jridgewell_resolve-uri-3.1.2-LICENSE.txt",
"bytes": 1079,
"sha256": "b8778b155bfde5a28b023a558753c0fa058a52bb9de35c343c250be1bbcdedab"
},
{
"original": "node_modules\\@jridgewell\\sourcemap-codec\\LICENSE",
"archived": "licenses\\_jridgewell_sourcemap-codec-1.6.0-LICENSE.txt",
"bytes": 1080,
"sha256": "769d154fbde32a915af110b1123650bc79f4cbe675acc66e005265bf069c6c6c"
},
{
"original": "node_modules\\@jridgewell\\trace-mapping\\LICENSE",
"archived": "licenses\\_jridgewell_trace-mapping-0.3.31-LICENSE.txt",
"bytes": 1080,
"sha256": "769d154fbde32a915af110b1123650bc79f4cbe675acc66e005265bf069c6c6c"
},
{
"original": "node_modules\\@peculiar\\asn1-asym-key\\LICENSE",
"archived": "licenses\\_peculiar_asn1-asym-key-3.0.0-LICENSE.txt",
"bytes": 1079,
"sha256": "1a00d37fb9fca78a7f792fa6c8fd13f0123388756d81b471bcec11484316ff73"
},
{
"original": "node_modules\\@peculiar\\asn1-cms\\LICENSE",
"archived": "licenses\\_peculiar_asn1-cms-3.0.0-LICENSE.txt",
"bytes": 1057,
"sha256": "1ecdd8e8977af83c07c5f97bec87b47d27059b7ea323ca3160fbfa2314f5d99c"
},
{
"original": "node_modules\\@peculiar\\asn1-csr\\LICENSE",
"archived": "licenses\\_peculiar_asn1-csr-3.0.0-LICENSE.txt",
"bytes": 1059,
"sha256": "031b1aac1313d91559ecc89cb6ce7c822f39f1a1259fae0f9b8d01a90c35c85a"
},
{
"original": "node_modules\\@peculiar\\asn1-ecc\\LICENSE",
"archived": "licenses\\_peculiar_asn1-ecc-3.0.0-LICENSE.txt",
"bytes": 1059,
"sha256": "031b1aac1313d91559ecc89cb6ce7c822f39f1a1259fae0f9b8d01a90c35c85a"
},
{
"original": "node_modules\\@peculiar\\asn1-pfx\\LICENSE",
"archived": "licenses\\_peculiar_asn1-pfx-3.0.0-LICENSE.txt",
"bytes": 1059,
"sha256": "031b1aac1313d91559ecc89cb6ce7c822f39f1a1259fae0f9b8d01a90c35c85a"
},
{
"original": "node_modules\\@peculiar\\asn1-pkcs8\\LICENSE",
"archived": "licenses\\_peculiar_asn1-pkcs8-3.0.0-LICENSE.txt",
"bytes": 1059,
"sha256": "031b1aac1313d91559ecc89cb6ce7c822f39f1a1259fae0f9b8d01a90c35c85a"
},
{
"original": "node_modules\\@peculiar\\asn1-pkcs9\\LICENSE",
"archived": "licenses\\_peculiar_asn1-pkcs9-3.0.0-LICENSE.txt",
"bytes": 1056,
"sha256": "3ee7c4b649b783688f1186c9aa0da50e331027514c9bfa143f27983e23783c71"
},
{
"original": "node_modules\\@peculiar\\asn1-rsa\\LICENSE",
"archived": "licenses\\_peculiar_asn1-rsa-3.0.0-LICENSE.txt",
"bytes": 1059,
"sha256": "031b1aac1313d91559ecc89cb6ce7c822f39f1a1259fae0f9b8d01a90c35c85a"
},
{
"original": "node_modules\\@peculiar\\asn1-schema\\LICENSE",
"archived": "licenses\\_peculiar_asn1-schema-3.0.0-LICENSE.txt",
"bytes": 1057,
"sha256": "1ecdd8e8977af83c07c5f97bec87b47d27059b7ea323ca3160fbfa2314f5d99c"
},
{
"original": "node_modules\\@peculiar\\asn1-x509\\LICENSE",
"archived": "licenses\\_peculiar_asn1-x509-3.0.0-LICENSE.txt",
"bytes": 1057,
"sha256": "1ecdd8e8977af83c07c5f97bec87b47d27059b7ea323ca3160fbfa2314f5d99c"
},
{
"original": "node_modules\\@peculiar\\asn1-x509-attr\\LICENSE",
"archived": "licenses\\_peculiar_asn1-x509-attr-3.0.0-LICENSE.txt",
"bytes": 1059,
"sha256": "031b1aac1313d91559ecc89cb6ce7c822f39f1a1259fae0f9b8d01a90c35c85a"
},
{
"original": "node_modules\\@peculiar\\asn1-x509-post-quantum\\LICENSE",
"archived": "licenses\\_peculiar_asn1-x509-post-quantum-3.0.0-LICENSE.txt",
"bytes": 1079,
"sha256": "1a00d37fb9fca78a7f792fa6c8fd13f0123388756d81b471bcec11484316ff73"
},
{
"original": "node_modules\\@peculiar\\utils\\LICENSE",
"archived": "licenses\\_peculiar_utils-4.1.0-LICENSE.txt",
"bytes": 1084,
"sha256": "ce2ae0f0066d1be56ab4ec851cc611805bb95cdc8dd858b301e22ee54b351d43"
},
{
"original": "node_modules\\@peculiar\\x509\\LICENSE",
"archived": "licenses\\_peculiar_x509-3.1.0-LICENSE.txt",
"bytes": 1091,
"sha256": "3d5d1b1150b1fc25144d342daaba3875899b8dc2fcb172ea4810cc69affbe4d3"
},
{
"original": "node_modules\\@rolldown\\pluginutils\\LICENSE",
"archived": "licenses\\_rolldown_pluginutils-1.0.0-rc.3-LICENSE.txt",
"bytes": 1302,
"sha256": "23ecfff35a5a2e80d92142f75228912c3b1abc4b5a8337a821ff4397e2f9f734"
},
{
"original": "node_modules\\@types\\babel__core\\LICENSE",
"archived": "licenses\\_types_babel__core-7.20.5-LICENSE.txt",
"bytes": 1141,
"sha256": "c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383"
},
{
"original": "node_modules\\@types\\babel__generator\\LICENSE",
"archived": "licenses\\_types_babel__generator-7.27.0-LICENSE.txt",
"bytes": 1141,
"sha256": "c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383"
},
{
"original": "node_modules\\@types\\babel__template\\LICENSE",
"archived": "licenses\\_types_babel__template-7.4.4-LICENSE.txt",
"bytes": 1141,
"sha256": "c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383"
},
{
"original": "node_modules\\@types\\babel__traverse\\LICENSE",
"archived": "licenses\\_types_babel__traverse-7.28.0-LICENSE.txt",
"bytes": 1141,
"sha256": "c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383"
},
{
"original": "node_modules\\@types\\estree\\LICENSE",
"archived": "licenses\\_types_estree-1.0.9-LICENSE.txt",
"bytes": 1141,
"sha256": "c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383"
},
{
"original": "node_modules\\@types\\node\\LICENSE",
"archived": "licenses\\_types_node-24.19.2-LICENSE.txt",
"bytes": 1141,
"sha256": "c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383"
},
{
"original": "node_modules\\@types\\react\\LICENSE",
"archived": "licenses\\_types_react-19.3.0-LICENSE.txt",
"bytes": 1141,
"sha256": "c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383"
},
{
"original": "node_modules\\@types\\react-dom\\LICENSE",
"archived": "licenses\\_types_react-dom-19.3.0-LICENSE.txt",
"bytes": 1141,
"sha256": "c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383"
},
{
"original": "node_modules\\@vitejs\\plugin-react\\LICENSE",
"archived": "licenses\\_vitejs_plugin-react-5.2.0-LICENSE.txt",
"bytes": 1103,
"sha256": "29b68325fe026047d13e187b44c33b2acacf7dc647dec4583702e59f235e13b5"
},
{
"original": "node_modules\\ansi-regex\\license",
"archived": "licenses\\ansi-regex-5.0.1-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\ansi-styles\\license",
"archived": "licenses\\ansi-styles-4.3.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\asn1js\\LICENSE",
"archived": "licenses\\asn1js-4.0.0-LICENSE.txt",
"bytes": 1571,
"sha256": "ebe5d98519d0dfcbcb80e20b22a56e7321e8557cd14355760434bbd4c1f4f683"
},
{
"original": "node_modules\\baseline-browser-mapping\\LICENSE.txt",
"archived": "licenses\\baseline-browser-mapping-2.11.34-LICENSE.txt.txt",
"bytes": 11357,
"sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4"
},
{
"original": "node_modules\\browserslist\\LICENSE",
"archived": "licenses\\browserslist-4.29.5-LICENSE.txt",
"bytes": 1118,
"sha256": "21c2679a63d7699c0e644409e2f17d0adbc7a965003feb06b3ff4b833d21f722"
},
{
"original": "node_modules\\camelcase\\license",
"archived": "licenses\\camelcase-5.3.1-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\caniuse-lite\\LICENSE",
"archived": "licenses\\caniuse-lite-1.0.30001819-LICENSE.txt",
"bytes": 18651,
"sha256": "fd3a263fe19ed8faa9068b43abaebafc02c77897b0c6fc09abc04bb592e5f16e"
},
{
"original": "node_modules\\cliui\\LICENSE.txt",
"archived": "licenses\\cliui-6.0.0-LICENSE.txt.txt",
"bytes": 731,
"sha256": "2dc0465729366c3a7890dfa9e972a1ba7048a26c02116fb8b419a6a1ac110149"
},
{
"original": "node_modules\\color-convert\\LICENSE",
"archived": "licenses\\color-convert-2.0.1-LICENSE.txt",
"bytes": 1087,
"sha256": "693866fc419c6f61c8570438ec00659d156ec2b4d4a4d04091711f5f11a365d4"
},
{
"original": "node_modules\\color-name\\LICENSE",
"archived": "licenses\\color-name-1.1.4-LICENSE.txt",
"bytes": 1085,
"sha256": "c064f7a3e353bc1bc977f3c897941c75ef763f44f41677e0a15370ca0853d6e2"
},
{
"original": "node_modules\\convert-source-map\\LICENSE",
"archived": "licenses\\convert-source-map-2.0.0-LICENSE.txt",
"bytes": 1078,
"sha256": "1fa6ee8bb95a81ae3d73a5bd074a3ac380ffec13697051063ca1a601921b91db"
},
{
"original": "node_modules\\csstype\\LICENSE",
"archived": "licenses\\csstype-3.2.3-LICENSE.txt",
"bytes": 1062,
"sha256": "11d55bd4541c75ee7879547ac49089c489163dae49551389713c3d026cab383e"
},
{
"original": "node_modules\\debug\\LICENSE",
"archived": "licenses\\debug-4.4.3-LICENSE.txt",
"bytes": 1139,
"sha256": "3a61c6c96caf5c1d9b623fb9b04c822b783dfcb78aa7e49c76a3f643e6ed7f95"
},
{
"original": "node_modules\\decamelize\\license",
"archived": "licenses\\decamelize-1.2.0-license.txt",
"bytes": 1119,
"sha256": "6fb9754611c20f6649f68805e8c990e83261f29316e29de9e6cedae607b8634c"
},
{
"original": "node_modules\\diff\\LICENSE",
"archived": "licenses\\diff-8.0.4-LICENSE.txt",
"bytes": 1546,
"sha256": "eda81a415869e67809f6a9f3fd6056062cb83a462118e07eec5e92b2e0c40ce9"
},
{
"original": "node_modules\\dijkstrajs\\LICENSE.md",
"archived": "licenses\\dijkstrajs-1.0.3-LICENSE.md.txt",
"bytes": 714,
"sha256": "c46324e45a005413535a6fb7a97e9eacd3cc6bf30335b7d5c10b8ee3af9e60c2"
},
{
"original": "node_modules\\electron\\LICENSE",
"archived": "licenses\\electron-45.2.0-LICENSE.txt",
"bytes": 1096,
"sha256": "5154e165bd6c2cc0cfbcd8916498c7abab0497923bafcd5cb07673fe8480087d"
},
{
"original": "node_modules\\electron-to-chromium\\LICENSE",
"archived": "licenses\\electron-to-chromium-1.5.467-LICENSE.txt",
"bytes": 728,
"sha256": "25ba5c59dad3e0dd8f9540beaa0f0a86a10e3aec35af5fdc8e88c5f6a5c0d8c6"
},
{
"original": "node_modules\\emoji-regex\\LICENSE-MIT.txt",
"archived": "licenses\\emoji-regex-8.0.0-LICENSE-MIT.txt.txt",
"bytes": 1077,
"sha256": "483acb265f182907d1caf6cff9c16c96f31325ed23792832cc5d8b12d5f88c8a"
},
{
"original": "node_modules\\env-paths\\license",
"archived": "licenses\\env-paths-3.0.0-license.txt",
"bytes": 1117,
"sha256": "5c932d88256b4ab958f64a856fa48e8bd1f55bc1d96b8149c65689e0c61789d3"
},
{
"original": "node_modules\\esbuild\\LICENSE.md",
"archived": "licenses\\esbuild-0.25.12-LICENSE.md.txt",
"bytes": 1069,
"sha256": "b40ec5baec7bb34fa5b1c09521fa3cd52d5fad7adafed74932a2010d3612a681"
},
{
"original": "node_modules\\escalade\\license",
"archived": "licenses\\escalade-3.2.0-license.txt",
"bytes": 1104,
"sha256": "9a9edad7baae52622bddf3c15b2ef8a33d2c89f2d25408ad13e8a7481c6b0c97"
},
{
"original": "node_modules\\fdir\\LICENSE",
"archived": "licenses\\fdir-6.5.0-LICENSE.txt",
"bytes": 1053,
"sha256": "9a39f2aadab11a3697edd668ff2d8ad885b649737b7ab4d3bf12b34e5ada0c86"
},
{
"original": "node_modules\\find-up\\license",
"archived": "licenses\\find-up-4.1.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\gensync\\LICENSE",
"archived": "licenses\\gensync-1.0.0-beta.2-LICENSE.txt",
"bytes": 1075,
"sha256": "e3a956681ee067f971ac413994171b3d90ca801ec6324e76c9c55366cfe31cb0"
},
{
"original": "node_modules\\get-caller-file\\LICENSE.md",
"archived": "licenses\\get-caller-file-2.0.5-LICENSE.md.txt",
"bytes": 745,
"sha256": "902dbb4154679fb2b8d7c33878183f45b268d01eae5e5033dddaa8852d45f213"
},
{
"original": "node_modules\\graceful-fs\\LICENSE",
"archived": "licenses\\graceful-fs-4.2.11-LICENSE.txt",
"bytes": 791,
"sha256": "f65c5d9f22a317b2a10803bd1868461ce6499c2ed7217bc80c0cc772a748789c"
},
{
"original": "node_modules\\innosetup-compiler\\LICENSE",
"archived": "licenses\\innosetup-compiler-6.3.1-LICENSE.txt",
"bytes": 1503,
"sha256": "79195fdb020985041a3c7fc61af8dba0e53b0c2b94b4a2ecc44ac9beb71ffc81"
},
{
"original": "node_modules\\is-fullwidth-code-point\\license",
"archived": "licenses\\is-fullwidth-code-point-3.0.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\js-tokens\\LICENSE",
"archived": "licenses\\js-tokens-4.0.0-LICENSE.txt",
"bytes": 1103,
"sha256": "2213d91c606205c71eb051a199478cdc2adde945893404d7f1421436dd6d5cc1"
},
{
"original": "node_modules\\jsesc\\LICENSE-MIT.txt",
"archived": "licenses\\jsesc-3.1.0-LICENSE-MIT.txt.txt",
"bytes": 1077,
"sha256": "483acb265f182907d1caf6cff9c16c96f31325ed23792832cc5d8b12d5f88c8a"
},
{
"original": "node_modules\\json5\\LICENSE.md",
"archived": "licenses\\json5-2.2.3-LICENSE.md.txt",
"bytes": 1145,
"sha256": "53e59feb13058722d977c699eb0407c7bce2f93c949b681bbd2ff31698535927"
},
{
"original": "node_modules\\locate-path\\license",
"archived": "licenses\\locate-path-5.0.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\lru-cache\\LICENSE",
"archived": "licenses\\lru-cache-5.1.1-LICENSE.txt",
"bytes": 765,
"sha256": "4ec3d4c66cd87f5c8d8ad911b10f99bf27cb00cdfcff82621956e379186b016b"
},
{
"original": "node_modules\\lucide-react\\LICENSE",
"archived": "licenses\\lucide-react-0.548.0-LICENSE.txt",
"bytes": 2004,
"sha256": "3c57143f22dac950efebf84002e360bba5458c7b90fe583b0667aaaef1a7256e"
},
{
"original": "node_modules\\ms\\license.md",
"archived": "licenses\\ms-2.1.3-license.md.txt",
"bytes": 1079,
"sha256": "1662fae9b5314d11cf51284e2dcd1f006a354f7343f08712a730fcff9a359801"
},
{
"original": "node_modules\\nanoid\\LICENSE",
"archived": "licenses\\nanoid-3.3.20-LICENSE.txt",
"bytes": 1095,
"sha256": "da4db1480d9beea3483a2eda5c53b22238d0827d57da162b48f122e04d2d9987"
},
{
"original": "node_modules\\node-releases\\LICENSE",
"archived": "licenses\\node-releases-2.0.60-LICENSE.txt",
"bytes": 1107,
"sha256": "3706296ed611888111ceccc1dff4712844dea4bde0b185c82d718c3b69895abe"
},
{
"original": "node_modules\\p-limit\\license",
"archived": "licenses\\p-limit-2.3.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\p-locate\\license",
"archived": "licenses\\p-locate-4.1.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\p-try\\license",
"archived": "licenses\\p-try-2.2.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\path-exists\\license",
"archived": "licenses\\path-exists-4.0.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\picocolors\\LICENSE",
"archived": "licenses\\picocolors-1.1.1-LICENSE.txt",
"bytes": 787,
"sha256": "6582629e2979466878f6014313dcc2f3756c9616148682227ce3063dde310750"
},
{
"original": "node_modules\\picomatch\\LICENSE",
"archived": "licenses\\picomatch-4.0.7-LICENSE.txt",
"bytes": 1091,
"sha256": "d0cd141b0c322fded5dfad1d4645bb2fedfc05b7321fe1009469638190d59ef9"
},
{
"original": "node_modules\\playwright\\LICENSE",
"archived": "licenses\\playwright-1.64.1-LICENSE.txt",
"bytes": 11601,
"sha256": "45873d00a0dd243596deb4aa23b2493b3d1f0671921bf2538ea431d7380220eb"
},
{
"original": "node_modules\\playwright-core\\LICENSE",
"archived": "licenses\\playwright-core-1.64.1-LICENSE.txt",
"bytes": 11601,
"sha256": "45873d00a0dd243596deb4aa23b2493b3d1f0671921bf2538ea431d7380220eb"
},
{
"original": "node_modules\\pngjs\\LICENSE",
"archived": "licenses\\pngjs-5.0.0-LICENSE.txt",
"bytes": 1151,
"sha256": "176b07a18c0bb3836aaeb61088fd0bf11a38f66e6f15e3fbda85faa225250d6e"
},
{
"original": "node_modules\\postcss\\LICENSE",
"archived": "licenses\\postcss-8.5.32-LICENSE.txt",
"bytes": 1095,
"sha256": "5be1f3465bba68a626777f984878814aaf35e7ef8e9fd314d469bcf887050fb8"
},
{
"original": "node_modules\\progress\\LICENSE",
"archived": "licenses\\progress-2.0.3-LICENSE.txt",
"bytes": 1098,
"sha256": "d7d2a7786de7c7cfd96f920c6f12927d74e1d2a861ca4498bf465c3bc3f4c21c"
},
{
"original": "node_modules\\qrcode\\license",
"archived": "licenses\\qrcode-1.5.4-license.txt",
"bytes": 1076,
"sha256": "8df47c6ad9ac2c41eb9b2a72def9908959da0ede8dadd56c7b249c1bdb0c5ce6"
},
{
"original": "node_modules\\react\\LICENSE",
"archived": "licenses\\react-19.3.1-LICENSE.txt",
"bytes": 1088,
"sha256": "da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93"
},
{
"original": "node_modules\\react-dom\\LICENSE",
"archived": "licenses\\react-dom-19.3.1-LICENSE.txt",
"bytes": 1088,
"sha256": "da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93"
},
{
"original": "node_modules\\react-refresh\\LICENSE",
"archived": "licenses\\react-refresh-0.18.0-LICENSE.txt",
"bytes": 1088,
"sha256": "da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93"
},
{
"original": "node_modules\\reflect-metadata\\LICENSE",
"archived": "licenses\\reflect-metadata-0.2.2-LICENSE.txt",
"bytes": 9141,
"sha256": "c5217b0544ea9c91d010863582d6f6b35ec50e4146c34dee085ddcec5dd92def"
},
{
"original": "node_modules\\require-directory\\LICENSE",
"archived": "licenses\\require-directory-2.1.1-LICENSE.txt",
"bytes": 1099,
"sha256": "a92e52eb1fa7cd746e3827bf01d3a3589bbc8e1e51348b1da042aad165525ad1"
},
{
"original": "node_modules\\require-main-filename\\LICENSE.txt",
"archived": "licenses\\require-main-filename-2.0.0-LICENSE.txt.txt",
"bytes": 731,
"sha256": "365496ca1f56da40b23c9815fc40fa9005847b2f8f8fd1c1a4929ef25ec8cd1d"
},
{
"original": "node_modules\\rollup\\LICENSE.md",
"archived": "licenses\\rollup-4.66.0-LICENSE.md.txt",
"bytes": 35231,
"sha256": "fa1bd040c5bdeefe65b3821cebf474f2733ce65df13089bd151dda1778e62fe8"
},
{
"original": "node_modules\\scheduler\\LICENSE",
"archived": "licenses\\scheduler-0.28.0-LICENSE.txt",
"bytes": 1088,
"sha256": "da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93"
},
{
"original": "node_modules\\semver\\LICENSE",
"archived": "licenses\\semver-6.3.1-LICENSE.txt",
"bytes": 765,
"sha256": "4ec3d4c66cd87f5c8d8ad911b10f99bf27cb00cdfcff82621956e379186b016b"
},
{
"original": "node_modules\\set-blocking\\LICENSE.txt",
"archived": "licenses\\set-blocking-2.0.0-LICENSE.txt.txt",
"bytes": 731,
"sha256": "365496ca1f56da40b23c9815fc40fa9005847b2f8f8fd1c1a4929ef25ec8cd1d"
},
{
"original": "node_modules\\smol-toml\\LICENSE",
"archived": "licenses\\smol-toml-1.9.1-LICENSE.txt",
"bytes": 1499,
"sha256": "fa5659948374d4f555594f47f6da073b40dc503e921aeeece30df4362b3051a5"
},
{
"original": "node_modules\\source-map-js\\LICENSE",
"archived": "licenses\\source-map-js-1.2.2-LICENSE.txt",
"bytes": 1526,
"sha256": "6cb0631f71c7749763fd3dd1d5bee52dd1070ec17f2edc1710079ad070bd2fbd"
},
{
"original": "node_modules\\string-width\\license",
"archived": "licenses\\string-width-4.2.3-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\strip-ansi\\license",
"archived": "licenses\\strip-ansi-6.0.1-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\sumchecker\\LICENSE",
"archived": "licenses\\sumchecker-3.0.1-LICENSE.txt",
"bytes": 11358,
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
},
{
"original": "node_modules\\tinyglobby\\LICENSE",
"archived": "licenses\\tinyglobby-0.2.17-LICENSE.txt",
"bytes": 1076,
"sha256": "22c68811e174cbbfb3813d4135918df4f540959c14d872e601d9abe83d3cde8f"
},
{
"original": "node_modules\\tslib\\LICENSE.txt",
"archived": "licenses\\tslib-1.14.1-LICENSE.txt.txt",
"bytes": 655,
"sha256": "210b19e543130388c68654b7497e967119ce17145f66ab7d85688fbd70f08751"
},
{
"original": "node_modules\\tsyringe\\LICENSE",
"archived": "licenses\\tsyringe-4.10.0-LICENSE.txt",
"bytes": 1162,
"sha256": "27ebda9d51f0a56b7e281ccd8230a27236dcb51c05f64b07869ecf6e965d68b0"
},
{
"original": "node_modules\\typescript\\LICENSE.txt",
"archived": "licenses\\typescript-5.9.3-LICENSE.txt.txt",
"bytes": 9197,
"sha256": "a7d00bfd54525bc694b6e32f64c7ebcf5e6b7ae3657be5cc12767bce74654a47"
},
{
"original": "node_modules\\undici\\LICENSE",
"archived": "licenses\\undici-7.30.1-LICENSE.txt",
"bytes": 1090,
"sha256": "a6db8096b2707bc0102d256917d4d33f298ba36d8c3f25de067a2b5bb379db27"
},
{
"original": "node_modules\\undici-types\\LICENSE",
"archived": "licenses\\undici-types-7.24.6-LICENSE.txt",
"bytes": 1090,
"sha256": "a6db8096b2707bc0102d256917d4d33f298ba36d8c3f25de067a2b5bb379db27"
},
{
"original": "node_modules\\update-browserslist-db\\LICENSE",
"archived": "licenses\\update-browserslist-db-1.3.4-LICENSE.txt",
"bytes": 1118,
"sha256": "9877e90da14aa8c931a1f9d07cc2a20ce119106e5dab1ebb41af865266d0cd2a"
},
{
"original": "node_modules\\vite\\LICENSE.md",
"archived": "licenses\\vite-7.3.7-LICENSE.md.txt",
"bytes": 101176,
"sha256": "a77a1c089806b39ad339535bdf3677f636c91d96693e8ad7b11fe733f650ea64"
},
{
"original": "node_modules\\vite\\node_modules\\esbuild\\LICENSE.md",
"archived": "licenses\\esbuild-0.28.2-LICENSE.md.txt",
"bytes": 1069,
"sha256": "b40ec5baec7bb34fa5b1c09521fa3cd52d5fad7adafed74932a2010d3612a681"
},
{
"original": "node_modules\\which-module\\LICENSE",
"archived": "licenses\\which-module-2.0.1-LICENSE.txt",
"bytes": 731,
"sha256": "852bf81203aa93aa89afc9f881ebb035322dc7334aaceff435c557634c94a815"
},
{
"original": "node_modules\\wrap-ansi\\license",
"archived": "licenses\\wrap-ansi-6.2.0-license.txt",
"bytes": 1109,
"sha256": "48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0"
},
{
"original": "node_modules\\y18n\\LICENSE",
"archived": "licenses\\y18n-4.0.3-LICENSE.txt",
"bytes": 731,
"sha256": "2034cce3b6fafcddd642c4175e01d3ddfc332a53b9f20fdc46b1466dc89ac469"
},
{
"original": "node_modules\\yallist\\LICENSE",
"archived": "licenses\\yallist-3.1.1-LICENSE.txt",
"bytes": 765,
"sha256": "4ec3d4c66cd87f5c8d8ad911b10f99bf27cb00cdfcff82621956e379186b016b"
},
{
"original": "node_modules\\yargs\\LICENSE",
"archived": "licenses\\yargs-15.4.1-LICENSE.txt",
"bytes": 1146,
"sha256": "2f1a503bfab84b3ba7393627308b3274501e459e3b5185bbb56bbf16cb1602d4"
},
{
"original": "node_modules\\yargs-parser\\LICENSE.txt",
"archived": "licenses\\yargs-parser-18.1.3-LICENSE.txt.txt",
"bytes": 731,
"sha256": "365496ca1f56da40b23c9815fc40fa9005847b2f8f8fd1c1a4929ef25ec8cd1d"
}
],
"scope": "Generated dependency license texts match each installed locked package; every available license and notice exactly matches both immutable package directories. Original upstream whitespace is preserved, with a scoped Git whitespace exemption for those verbatim texts."
}
@@ -0,0 +1,70 @@
{
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110",
"portable": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110.zip",
"bytes": 344609706,
"sha256": "ff2e3f69daf62eb63076fdd4266bf98799ad089d5274029268dd74881c559483"
},
"source": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-source-20261031114604110.zip",
"bytes": 344725099,
"sha256": "2df6b2b95ad98a7e9d39054b4c42846e56848e9ebbbccce8f8f1e981b014efab"
},
"installer": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.16.0-win-x64-20261031114604110-Setup.exe",
"bytes": 312402227,
"sha256": "16250581b0977c6d186b3609322acbb9e8ffa939b914a9e358b669e55ddfadfa",
"compiler": {
"version": "6.3.1",
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
},
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-e4fcf0d9-2bb5-465f-be81-fd88354880cc\\installer.iss",
"version": "1.16.0",
"candidateDirectory": "Agent-Workbench-1.16.0-win-x64-20261031114604110",
"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": 13260,
"licenseTexts": 133,
"browserRuntime": {
"playwrightVersion": "1.64.1",
"packages": [
{
"name": "playwright",
"version": "1.64.1",
"files": 60
},
{
"name": "playwright-core",
"version": "1.64.1",
"files": 115
}
]
}
}
@@ -0,0 +1,50 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { spawn } from 'node:child_process';
import { createHash } from 'node:crypto';
import { projectEnvironment } from '../src/core/process-environment.mjs';
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const phase = process.argv[2];
const python = 'D:/Ai-project/REA逆向/Agent-Workbench/.qa/dev-task-plans/.qa/python-3.10/Scripts/python.exe';
const release = JSON.parse(fs.readFileSync('releases/latest.json', 'utf8'));
const choices = {
archives: { executable: python, args: ['scripts/verify-archives.py', '--extract-source'], pointer: '.qa/archives-validation.json' },
source: { args: ['scripts/verify-source-package.mjs', '--native-engines'], pointer: '.qa/source-package-validation.json' },
'source-retry': { args: ['scripts/verify-source-package.mjs', '--native-engines'], pointer: '.qa/source-package-validation.json' },
portable: { args: ['scripts/verify-release.mjs', '--native-engines'], pointer: '.qa/release-validation.json' },
'portable-companion': { args: ['scripts/verify-companion-ui.mjs', '--app-root', release.portableRoot] },
'prepare-install': { args: ['.qa/prepare-companion-installer-corrected.mjs'] },
install: { args: ['.qa/verify-companion-install-corrected.mjs'] },
'formal-stage': { args: ['.qa/deploy-companion-formal-corrected.mjs', 'stage'] },
'formal-upgrade': { args: ['.qa/deploy-companion-formal-corrected.mjs', 'upgrade'] },
'formal-activate': { args: ['.qa/deploy-companion-formal-corrected.mjs', 'activate'] },
'formal-verify': { args: ['.qa/deploy-companion-formal-corrected.mjs', 'verify'] },
'formal-ui': { args: ['.qa/verify-companion-formal-ui-corrected.mjs'] },
'formal-artifacts': { args: ['.qa/verify-companion-formal-artifacts-corrected.mjs', '.qa/companion-corrected-formal-verify.json', '.qa/companion-corrected-formal-artifacts.json'] },
seal: { args: ['.qa/seal-companion-release-corrected.mjs'] },
};
const choice = choices[phase]; assert.ok(choice, 'Select a defined isolated acceptance phase.');
const prefix = '.qa/companion-corrected-' + phase, logPath = prefix + '.log', receiptPath = prefix + '-result.json';
for (const file of [logPath, receiptPath]) assert.equal(fs.existsSync(file), false, 'Keep existing evidence: ' + file);
const baseline = JSON.parse(fs.readFileSync('docs/mobile-companion-corrected-code-baseline.json', 'utf8'));
function unchanged() { for (const item of [...baseline.inputs, ...baseline.builds, ...baseline.benchmarks]) { const bytes = fs.readFileSync(item.path); assert.equal(bytes.length, item.bytes, item.path); assert.equal(hash(bytes), item.sha256, item.path); } }
unchanged();
const startedAt = new Date().toISOString(), log = fs.createWriteStream(logPath, { flags: 'wx' });
const env = projectEnvironment({ AGENT_WORKBENCH_TEST_PYTHON: python,
AGENT_WORKBENCH_ARCHIVE_QA_ROOT: 'D:/AWQA16',
AGENT_WORKBENCH_DEEPSEEK_ROOT: 'D:/Ai-project/DeepSeek-Harness-Desktop/deepseek-harness',
AGENT_WORKBENCH_PURGE_ROOT: 'D:/Ai-project/DeepSeek-Harness-Desktop/plugins/dsh-purge' });
const child = spawn(choice.executable || process.execPath, choice.args, { cwd: process.cwd(), env, windowsHide: true, stdio: ['ignore', 'pipe', 'pipe'] });
child.stdout.on('data', bytes => log.write(bytes)); child.stderr.on('data', bytes => log.write(bytes));
const exitCode = await new Promise((resolve, reject) => { child.once('error', reject); child.once('close', resolve); });
await new Promise(resolve => log.end(resolve));
let pointer = null;
if (choice.pointer && fs.existsSync(choice.pointer)) { const bytes = fs.readFileSync(choice.pointer); pointer = { path: choice.pointer, sha256: hash(bytes) }; fs.writeFileSync(prefix + '-original-validation.json', bytes, { flag: 'wx' }); }
let unchangedInputs = true, error;
try { unchanged(); } catch (failure) { unchangedInputs = false; error = failure.stack; }
const receipt = { success: exitCode === 0 && unchangedInputs, phase, startedAt, finishedAt: new Date().toISOString(), exitCode, logPath,
logBytes: fs.statSync(logPath).size, logSha256: hash(fs.readFileSync(logPath)), pointer, unchangedInputs,
codeCommit: baseline.codeCommit, release: { portableRoot: release.portableRoot, sourceRoot: release.sourceRoot, setupSha256: release.installer.sha256 }, ...(error ? { error } : {}) };
fs.writeFileSync(receiptPath, JSON.stringify(receipt, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify(receipt)); if (!receipt.success) process.exitCode = 1;
@@ -0,0 +1,17 @@
import fs from 'node:fs';
import assert from 'node:assert/strict';
import { spawn } from 'node:child_process';
const sourceFile = '.qa/companion-corrected-source-retry-result.json';
if (!fs.existsSync(sourceFile)) await new Promise((resolve, reject) => {
const watcher = fs.watch('.qa', (_event, name) => { if (name === 'companion-corrected-source-retry-result.json' && fs.existsSync(sourceFile)) { watcher.close(); resolve(); } });
watcher.once('error', reject);
if (fs.existsSync(sourceFile)) { watcher.close(); resolve(); }
});
assert.equal(JSON.parse(fs.readFileSync(sourceFile, 'utf8')).success, true, 'Do not continue after incomplete source acceptance.');
for (const phase of ['portable', 'portable-companion', 'install']) {
console.log('Isolated acceptance: ' + phase);
const child = spawn(process.execPath, ['.qa/run-companion-phase-corrected.mjs', phase], { cwd: process.cwd(), windowsHide: true, stdio: 'inherit' });
const code = await new Promise((resolve, reject) => { child.once('error', reject); child.once('close', resolve); });
assert.equal(code, 0, phase);
}
console.log(JSON.stringify({ success: true, sourceAndRemainingIsolatedPhases: true, formalUpgradePerformed: false }));
@@ -0,0 +1,19 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { execFileSync } from 'node:child_process';
const folders = ['src', 'tests', 'scripts', 'benchmarks', 'public', 'examples', 'research'];
const top = ['package.json', 'package-lock.json', 'vite.config.ts', 'tsconfig.json', 'index.html', 'mobile.html', '.gitattributes', '.gitignore', 'Start-Desktop.cmd', 'Start-Workbench.cmd', 'Stop-Workbench.cmd'];
assert.equal(execFileSync('git', ['status', '--porcelain', '--', ...folders, ...top], { encoding: 'utf8', windowsHide: true }).trim(), '', 'All executable and QA inputs must be committed.');
const files = (root, relative = '') => fs.readdirSync(path.join(root, relative), { withFileTypes: true }).sort((a, b) => a.name.localeCompare(b.name)).flatMap(entry => {
const file = path.join(relative, entry.name); return entry.isDirectory() ? files(root, file) : [path.join(root, file)];
});
const rows = names => names.sort().map(file => { const bytes = fs.readFileSync(file); return { path: file.replaceAll('\\', '/'), bytes: bytes.length, sha256: createHash('sha256').update(bytes).digest('hex') }; });
const version = JSON.parse(fs.readFileSync('package.json')).version; assert.equal(version, '1.16.0');
const codeCommit = execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8', windowsHide: true }).trim();
const inputs = rows(folders.flatMap(folder => files(folder)).concat(top)), builds = rows(['dist-client', 'dist-server', 'dist-desktop'].flatMap(folder => files(folder))), benchmarks = rows(files('benchmarks'));
const result = { success: true, version, codeCommit, capturedAt: new Date().toISOString(), inputs, builds, benchmarks,
scope: 'All executable source/test/QA/build inputs including mobile.html, all client/mobile/server/desktop build bytes and original benchmark inputs. Current workspace regression and actual iPhone evidence are separate from final independently extracted source and contained release acceptance.' };
for (const file of ['docs/mobile-companion-corrected-code-baseline.json', '.qa/mobile-companion-corrected-code-baseline.json']) fs.writeFileSync(file, JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, version, codeCommit, inputs: inputs.length, builds: builds.length, benchmarks: benchmarks.length }));
@@ -0,0 +1,18 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash, randomUUID } from 'node:crypto';
const pointerFile = '.qa/archives-validation.json', report = JSON.parse(fs.readFileSync(pointerFile, 'utf8'));
assert.equal(report.success, true); assert.equal(report.version, '1.16.0'); assert.equal(report.shortPhysicalPath, undefined);
const qaRoot = fs.realpathSync.native('D:/AWQA16'), original = fs.realpathSync.native(report.extractionRoot);
assert.ok(original.startsWith(qaRoot + path.sep));
const destination = path.resolve(qaRoot, 's-' + randomUUID().slice(0, 8)); assert.ok(destination.startsWith(qaRoot + path.sep)); assert.equal(fs.existsSync(destination), false);
const originalManifest = fs.readFileSync(path.join(original, 'MANIFEST.json')), manifest = JSON.parse(originalManifest);
fs.renameSync(original, destination);
assert.deepEqual(fs.readFileSync(path.join(destination, 'MANIFEST.json')), originalManifest);
for (const item of manifest.files) { const file = path.resolve(destination, item.path); assert.ok(file.startsWith(destination + path.sep)); const bytes = fs.readFileSync(file); assert.equal(bytes.length, item.bytes); assert.equal(createHash('sha256').update(bytes).digest('hex'), item.sha256, item.path); }
report.extractionRoot = destination;
report.shortPhysicalPath = { original, destination, sameVolumeRename: true, verifiedFiles: manifest.files.length, originalManifestSha256: createHash('sha256').update(originalManifest).digest('hex'), reason: 'Avoid the known Git management path byte limit in nested engineering fixtures; every extracted byte remains unchanged.' };
fs.writeFileSync('.qa/companion-corrected-source-short-path.json', JSON.stringify(report, null, 2) + '\n', { flag: 'wx' });
fs.writeFileSync(pointerFile, JSON.stringify(report, null, 2) + '\n');
console.log(JSON.stringify({ success: true, ...report.shortPhysicalPath }));
@@ -0,0 +1,24 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { randomUUID, createHash } from 'node:crypto';
import { buildWindowsInstaller } from '../scripts/build-installer.mjs';
const release = JSON.parse(fs.readFileSync('releases/latest.json', 'utf8')); assert.equal(release.installer.version, '1.16.0');
const appId = randomUUID(), destination = '.qa/companion-corrected-qa-installer.json'; assert.equal(fs.existsSync(destination), false);
const installer = buildWindowsInstaller({ root: process.cwd(), portableRoot: release.portableRoot, outputRoot: path.resolve('.qa'),
name: 'companion-installer-qa-' + appId, qaFixture: { appId, fault: 'none' } });
const source = fs.readFileSync(installer.source, 'utf8'), product = fs.readFileSync(release.installer.source, 'utf8');
const body = value => value.split('\n').filter(line => !line.startsWith('#define OutputRoot ') && !line.startsWith('#define OutputName ')).join('\n');
assert.equal(body(source).replaceAll(appId, 'E914E883-46F9-4B82-B27F-BDB2B40DCC90')
.replace('DefaultGroupName=Agent Workbench QA E914E883-46F9-4B82-B27F-BDB2B40DCC90', 'DefaultGroupName=Agent Workbench'), body(product));
fs.writeFileSync(destination, JSON.stringify({ ...installer, productSetup: release.installer,
samePayloadManifestSha256: createHash('sha256').update(fs.readFileSync(path.join(release.portableRoot, 'MANIFEST.json'))).digest('hex'),
sourceComparison: 'Only isolated QA AppId/group and output destination/name differ; entire product payload and installation behavior are exact. Product setup will separately stage the existing formal installation.' }, null, 2) + '\n', { flag: 'wx' });
let code = fs.readFileSync('.qa/verify-desktop-f-canonical-storage-guard-install.mjs', 'utf8');
for (const [before, after] of [['desktop-host-f-canonical-storage-guard-qa-installer.json', 'companion-corrected-qa-installer.json'],
['desktop-host-f-canonical-storage-install-location.json', 'companion-corrected-install-location.json'],
['ff4e7d22-f233-4021-829a-6f5c71933c46', appId], ['1.15.0', '1.16.0'], ['AWQA15', 'AWQA16'], ['timeout = 300000', 'timeout = 900000']]) {
assert.ok(code.includes(before), before); code = code.replaceAll(before, after);
}
fs.writeFileSync('.qa/verify-companion-install-corrected.mjs', code, { flag: 'wx' });
console.log(JSON.stringify({ success: true, appId, installerSha256: installer.sha256, productSetupSha256: release.installer.sha256, samePayload: true }));
@@ -0,0 +1,129 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import net from 'node:net';
import http from 'node:http';
import { execFile, spawn } from 'node:child_process';
import { promisify } from 'node:util';
import { randomUUID } from 'node:crypto';
import { HostController } from '../src/core/desktop/host-controller.mjs';
import { validateInstalledVersion, snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
import { observeWindowsProcess } from '../src/core/desktop/process-identity.mjs';
import { projectEnvironment } from '../src/core/process-environment.mjs';
import { hash } from './desktop-f-state.mjs';
const release = JSON.parse(fs.readFileSync('releases/latest.json'));
const installer = JSON.parse(fs.readFileSync('.qa/companion-corrected-qa-installer.json')); assert.equal(installer.version, '1.16.0'); assert.equal(installer.qaFixture.fault, 'none');
assert.equal(hash(fs.readFileSync(installer.path)), installer.sha256);
// Keep the actual cross-drive install, with an exclusive short directory so
// inherited TEMP depth does not exceed the installer's Windows path limit.
const qaParent = 'C:\\AWQA16';
fs.mkdirSync(qaParent, { recursive: true });
assert.equal(fs.lstatSync(qaParent).isSymbolicLink(), false);
const root = path.join(qaParent, 'i-' + randomUUID().replaceAll('-', '')), installRoot = path.join(root, 'program'), dataRoot = path.join(root, 'data');
assert.equal(fs.existsSync(root), false); fs.mkdirSync(root);
const run = promisify(execFile), env = projectEnvironment(), cases = [];
const registryKey = 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{c0b15260-a440-456c-9560-7579ee5db17c}_is1';
let registryExists = false; try { await run('reg.exe', ['query', registryKey], { windowsHide: true, env, timeout: 10000 }); registryExists = true; } catch (error) { assert.equal(error.code, 1); }
assert.equal(registryExists, false, 'The isolated QA registration must be absent; never replace the user product registration.');
const probe = net.createServer(); await new Promise(resolve => probe.listen(0, '127.0.0.1', resolve)); const port = probe.address().port; await new Promise(resolve => probe.close(resolve));
const candidate = path.join(installRoot, 'versions', installer.candidateDirectory);
let stage = 'exact final installer', controller, model, report, original, authenticated = 0;
const record = (name, detail = {}) => { cases.push({ name, success: true, ...detail }); console.log('PASS ' + name); };
async function until(action, timeout = 90000) { const end = Date.now() + timeout; while (!await action()) { if (Date.now() > end) throw Error('Timeout: ' + stage); await new Promise(resolve => setTimeout(resolve, 100)); } }
async function processRun(binary, args, label, timeout = 900000) {
const bootstrap = path.basename(binary).toLowerCase() === 'agentworkbench.exe';
const chunks = [], child = spawn(binary, args, { cwd: path.dirname(binary), env, windowsHide: true, stdio: bootstrap ? 'ignore' : ['ignore', 'pipe', 'pipe'] });
child.stdout?.on('data', bytes => chunks.push(bytes)); child.stderr?.on('data', bytes => chunks.push(bytes));
const timer = setTimeout(() => child.kill(), timeout);
const code = await new Promise((resolve, reject) => { child.once('error', reject); child.once(bootstrap ? 'exit' : 'close', resolve); }); clearTimeout(timer);
const bytes = Buffer.concat(chunks), file = path.join(root, label + '-process.txt'); fs.writeFileSync(file, bytes);
assert.equal(code, 0, label + ' process exit'); return { exitCode: code, processLog: file, processLogSha256: hash(bytes) };
}
async function nativeStart(label) {
await processRun(path.join(installRoot, 'AgentWorkbench.exe'), ['--hidden-window'], label, 30000);
controller = new HostController({ appRoot: candidate, dataRoot, port, nodePath: path.join(candidate, 'runtime/node.exe') });
await until(async () => { try { const value = await controller.connect(); return !!value; } catch { return false; } });
await until(async () => (await controller.status()).desktopWindows.count === 1);
return (await controller.status()).identity;
}
async function crashOwnedWindow() {
const status = await controller.status(); assert.equal(status.desktopWindows.count, 1);
const entry = status.desktopWindows.entries[0], actual = observeWindowsProcess(entry.pid);
assert.ok(actual); assert.equal(actual.createdAt, entry.createdAt);
assert.equal(fs.realpathSync.native(actual.executable), fs.realpathSync.native(path.join(candidate, 'desktop/AgentWorkbench.exe')));
// Simulate this authenticated Electron process crashing. /T would explicitly
// kill the detached backend descendant as well, a different failure mode.
const result = await run('taskkill.exe', ['/PID', String(entry.pid), '/F'], { windowsHide: true, env, timeout: 30000 });
fs.writeFileSync(path.join(root, 'owned-window-crash-' + entry.pid + '.txt'), result.stdout + result.stderr);
await until(async () => (await controller.status()).desktopWindows.count === 0);
assert.equal(observeWindowsProcess(entry.pid), null); return { pid: entry.pid, createdAt: entry.createdAt, scope: 'Explicit owned Electron process crash fixture; authenticated original PID/path/creation verified before taskkill /PID /F, without /T. Forced termination of the entire process tree is not window-process crash isolation.' };
}
try {
const setupLog = path.join(root, 'exact-setup.log');
const installed = await processRun(installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/NOICONS', '/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=' + port, '/LOG=' + setupLog], 'exact-setup');
const identity = validateInstalledVersion(candidate), pointer = JSON.parse(fs.readFileSync(path.join(installRoot, 'current.json')));
assert.equal(pointer.active.directory, installer.candidateDirectory); assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
assert.equal(hash(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe'))), hash(fs.readFileSync(path.join(release.portableRoot, 'AgentWorkbench.exe'))));
record(stage, { installerSha256: installer.sha256, ...installed, setupLog, setupLogSha256: hash(fs.readFileSync(setupLog)), manifestSha256: identity.manifestSha256, loadedIdentity: identity.identitySha256 });
stage = 'actual installed native bootstrap and bundled execution host'; original = await nativeStart('native-start');
assert.equal(original.version, '1.16.0'); assert.equal(original.runtimeRoot, candidate); assert.equal(original.executable.path, path.join(candidate, 'runtime/node.exe'));
const detectedEngine = await controller.api('/engines/deepseek/availability'), detectedPurge = await controller.api('/engines/purge/source');
assert.equal(detectedEngine.status, 'available'); assert.equal(detectedPurge.status, 'available'); assert.equal(detectedPurge.defaultEnabled, false);
record(stage, { identity: original, desktopWindow: (await controller.status()).desktopWindows.entries[0],
relocatedSources: { engine: { root: detectedEngine.root, version: detectedEngine.version, identitySha256: detectedEngine.identitySha256 },
purge: { root: detectedPurge.root, version: detectedPurge.version, sourceSha256: detectedPurge.sourceSha256 } },
sourceEnvironmentOverrides: false, sourceScope: 'Read-only installed default lookup in a source-neutral child environment; actual third-party critical inputs checked, no SDK/plugin/model execution.' });
const key = 'owned-final-install-key-' + randomUUID();
model = http.createServer(async (request, response) => {
for await (const bytes of request) void bytes;
if (request.headers.authorization !== 'Bearer ' + key) { response.writeHead(401); response.end('{}'); return; }
authenticated++; response.writeHead(200, { 'Content-Type': 'application/json' }); response.end(JSON.stringify({ choices: [{ message: { role: 'assistant', content: 'Owned final installer connection' }, finish_reason: 'stop' }], usage: { prompt_tokens: 4, completion_tokens: 1, total_tokens: 5 } }));
}); await new Promise(resolve => model.listen(0, '127.0.0.1', resolve));
stage = 'actual installed owned DPAPI credential and HTTP authentication';
const created = await controller.api('/model-center/connections', { method: 'POST', input: { name: 'Owned final installer', baseUrl: 'http://127.0.0.1:' + model.address().port + '/v1', model: 'owned', apiKey: key, persistKey: true } });
const connectionId = created.connection?.id ?? created.id ?? created.center?.connections.at(-1).id; assert.ok(connectionId);
await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 1);
const saved = (await controller.api('/model-center')).connections.find(value => value.id === connectionId); assert.equal(saved.hasKey, true);
record(stage, { connectionId, authenticatedRequests: authenticated, savedCredential: saved.savedCredential });
stage = 'actual installed owned approval and bundled npm project check';
const bootstrap = await controller.api('/bootstrap'), project = bootstrap.projects.find(value => value.id === bootstrap.exampleProjectId);
assert.equal(project.root, path.join(dataRoot, 'projects', 'starter-project'));
const session = await controller.api('/sessions', { method: 'POST', input: { projectId: project.id } });
await controller.api('/sessions/' + session.id + '/messages', { method: 'POST', input: { content: 'Owned exact installer offline demonstration and bundled Node check' } });
let current; await until(async () => { current = await controller.api('/sessions/' + session.id); return current.status === 'awaiting_approval'; });
const approval = current.approvals.find(value => value.status === 'pending'); assert.equal(approval.command, 'node --version');
await controller.api('/sessions/' + session.id + '/approvals/' + approval.id, { method: 'POST', input: { allow: true } });
await until(async () => { current = await controller.api('/sessions/' + session.id); return current.status === 'needs_review'; });
for (const change of current.changes.filter(value => value.status === 'pending')) await controller.api('/sessions/' + session.id + '/changes/' + change.id + '/reject', { method: 'POST', input: {} });
const planned = await controller.api('/sessions/' + session.id + '/check-plans', { method: 'POST', input: { names: ['test'] } }), plan = planned.execution.plans.at(-1);
const started = await controller.api('/sessions/' + session.id + '/check-jobs', { method: 'POST', input: { planId: plan.id } }), checkId = started.execution.checks.at(-1).id;
let checked; await until(async () => { checked = await controller.api('/sessions/' + session.id + '/check-jobs/' + checkId); return !['queued', 'running'].includes(checked.status); });
assert.equal(checked.status, 'passed'); assert.equal(checked.results[0].tests.passed, 4); assert.equal(checked.results[0].tests.total, 4);
record(stage, { sessionId: session.id, originalApprovalId: approval.id, checkId, actualTests: checked.results[0].tests, originalLogArtifactId: checked.results[0].logArtifactId });
stage = 'actual owned Electron crash preserves final installed host and data';
const beforeCrash = snapshotPersistentData(dataRoot), crash = await crashOwnedWindow();
assert.equal((await controller.status()).identity.pid, original.pid); assert.deepEqual(snapshotPersistentData(dataRoot), beforeCrash);
record(stage, { ...crash, originalHostPid: original.pid, originalDataRetained: true });
stage = 'actual installed host restart preserves every row and loads owned saved connection';
const beforeRestart = snapshotPersistentData(dataRoot); await controller.stop(); assert.equal(observeWindowsProcess(original.pid), null);
const restarted = await nativeStart('native-restart'); assert.notEqual(restarted.pid, original.pid);
assert.deepEqual(snapshotPersistentData(dataRoot), beforeRestart);
const restored = (await controller.api('/model-center')).connections.find(value => value.id === connectionId);
assert.equal(restored.hasKey, true); assert.equal(restored.revision, saved.revision); assert.equal(restored.credentialRevision, saved.credentialRevision);
await controller.api('/model-center/probe', { method: 'POST', input: { id: connectionId } }); assert.equal(authenticated, 2);
record(stage, { previousPid: original.pid, pid: restarted.pid, originalPersistentDataRetained: true, ownedCredentialAuthenticatedAfterRestart: true });
await crashOwnedWindow();
stage = 'actual exact final installer uninstall preserves all owned user data';
const beforeUninstall = snapshotPersistentData(dataRoot), uninstallLog = path.join(root, 'uninstall.log');
const uninstalled = await processRun(path.join(installRoot, 'unins000.exe'), ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/LOG=' + uninstallLog], 'uninstall');
assert.equal(observeWindowsProcess(restarted.pid), null); assert.deepEqual(snapshotPersistentData(dataRoot), beforeUninstall);
assert.equal(fs.existsSync(path.join(installRoot, 'AgentWorkbench.exe')), false); assert.equal(fs.existsSync(path.join(installRoot, 'current.json')), false);
record(stage, { ...uninstalled, uninstallLog, uninstallLogSha256: hash(fs.readFileSync(uninstallLog)), originalDataRoot: dataRoot, originalDataRetained: true });
report = { success: true, version: '1.16.0', root, installRoot, dataRoot, installer, cases, ownedModelRequests: authenticated, realModelRequests: 0, isolatedQaRegistrationWasAbsent: true, scope: 'Final candidate payload and installer logic, using an isolated QA AppId (explicitly different setup SHA). The product setup is separately staged on the formal installation. Exclusive owned install/data/port, /NOICONS and an absent isolated QA registration prevent replacing user installation or shortcuts. Actual native bootstrap, host/owned credential/check/restart/uninstall; crash fixture stated explicitly.' };
} catch (error) { report = { success: false, version: '1.16.0', root, installRoot, dataRoot, stage, error: error.stack, cases, installer, ownedModelRequests: authenticated, realModelRequests: 0 }; process.exitCode = 1; }
finally {
if (!report?.success && controller) try { const status = await controller.status(); if (!status.desktopWindows.count && !status.activity.active) await controller.stop(); } catch {}
model?.closeAllConnections?.(); if (model) await new Promise(resolve => model.close(resolve));
fs.writeFileSync(path.join(root, 'result.json'), JSON.stringify(report, null, 2)); fs.writeFileSync('.qa/companion-corrected-install-location.json', JSON.stringify({ root, result: path.join(root, 'result.json') }));
console.log(JSON.stringify({ success: report.success, version: report.version, root, cases: cases.length, ...(report.error ? { stage, error: report.error } : {}) }));
}
@@ -0,0 +1,16 @@
import fs from 'node:fs';
import assert from 'node:assert/strict';
import { spawn } from 'node:child_process';
for (const phase of ['archives', 'source-retry', 'portable', 'portable-companion', 'install']) {
assert.equal(JSON.parse(fs.readFileSync('.qa/companion-corrected-' + phase + '-result.json', 'utf8')).success, true, phase);
}
assert.equal(JSON.parse(fs.readFileSync('.qa/companion-corrected-formal-stage-result.json', 'utf8')).success, true, 'Require the separately completed one-time staging operation.');
for (const phase of ['formal-upgrade', 'formal-activate', 'formal-ui', 'formal-verify', 'formal-artifacts']) {
assert.equal(fs.existsSync('.qa/companion-corrected-' + phase + '-result.json'), false, 'Never repeat an already attempted formal operation: ' + phase);
console.log('Formal acceptance: ' + phase);
const child = spawn(process.execPath, ['.qa/run-companion-phase-corrected.mjs', phase], { cwd: process.cwd(), windowsHide: true, stdio: 'inherit' });
const code = await new Promise((resolve, reject) => { child.once('error', reject); child.once('close', resolve); });
assert.equal(code, 0, 'Stop after a failed operation; retain its report and inspect actual state: ' + phase);
assert.equal(JSON.parse(fs.readFileSync('.qa/companion-corrected-' + phase + '-result.json', 'utf8')).success, true);
}
console.log(JSON.stringify({ success: true, formalPhasesCompleted: true, dataAndProviderRetained: true }));
@@ -0,0 +1,73 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
const identity = read('docs/mobile-companion-release-identity.json');
assert.equal(identity.success, true); assert.equal(identity.fullMilestoneComplete, true);
assert.equal(read('.qa/companion-corrected-seal-result.json').success, true);
const count = identity.deployed.counts, evidence = read(identity.evidenceManifest);
const source = read('.qa/companion-corrected-source-retry-original-validation.json');
const build = path.basename(identity.release.portableRoot).split('-').at(-1);
const facts = `独立源码519/519、24类186组历史UI、实际Electron窗口7项、原生流程9组、三工程16节点及父Node8/8、React9/9、Python10/10通过;源码与便携各7组手机流程、同载荷隔离安装/重启/卸载7组、正式桌面/390px共20页通过。正式PID${identity.deployed.pid}/Provider保持,${count.projects}项目/${count.sessions}全部会话/${count.records}记录/${count.events}事件、全部表每行/会话导出/工件原字节保持;${identity.allArtifacts.records}条工件及${identity.allArtifacts.blobFiles}个去重文件核对通过,9229关闭。`;
const phone = 'iPhone 14 Pro Max/iOS 27.2为用户提供;用户确认信任、配对、原审批、差异/报告SHA、主屏幕、锁屏、切网恢复、停止及撤销,原宿主审计/进程/文件另行核对,无手机截图。';
const limits = '正式手机网关默认关闭、无设备/证书;QA证书与设备身份没有迁入。验收手机监听已关闭并释放4321,4320管理及原数据保留。真实模型工程和Purge推理收益继续按用户选择单独待验,本轮真实模型请求为0。';
const changed = [], planned = [];
function update(file, change) {
const original = fs.readFileSync(file, 'utf8'), result = change(original);
assert.notEqual(result, original, 'Expected concrete documentation update: ' + file);
planned.push({ file, result }); changed.push(file);
}
function paragraph(text, prefix, value) {
const rows = text.split(/\r?\n/), at = rows.findIndex(row => row.startsWith(prefix));
assert.ok(at >= 0, 'Missing paragraph prefix: ' + prefix); rows[at] = value; return rows.join('\n');
}
update('README.md', text => paragraph(text, '1.16.0手机伴随端候选',
'1.16.0手机伴随端已完成本地正式交付。手机可查看同一Task/Run、核对原差异与报告、确认原审批及停止所属执行;断线恢复和设备撤销已通过真实iPhone验收。Windows安装、源码/便携独立验证及保留数据升级完成。' + phone + '见[本地工作台](http://127.0.0.1:4318/?release=1.16.0)、[实际验收](docs/QA-1.16.md)与[发行身份](docs/mobile-companion-release-identity.json)。')
.replace('1.15.0已正式本地交付Windows桌面应用', '1.15.0历史交付Windows桌面应用'));
update('CHANGELOG.md', text => text
.replace('## 1.16.0 候选 · 手机伴随端(实机核心通过,最终发行待验)', '## 1.16.0 · 2026-10-31 · 手机伴随端')
.replace('最终独立源码、便携、安装和正式升级待验,见[QA-1.16](docs/QA-1.16.md)。', '最终独立源码519/519、完整源码/便携/安装、保留状态正式升级及20页复验通过,见[QA-1.16](docs/QA-1.16.md)。'));
update('AGENTS.md', text => paragraph(text, '1.16在feat/',
`1.16在feat/mobile-companion-1.16完成A–F本地正式交付,产品来源2ecdfa2、发行QA0cc8b4c/52f0d20,最终不可变${build}。` + facts + phone + limits + '原失败和逐字节证据见docs/QA-1.16.md及docs/mobile-companion-release-identity.json;下一PLAN-1.17仅方案,按既有授权逐切片实施。原4320/4321实机QA候选保持demo无Key、设备已撤销,重新体验须新配对;不把QA状态当正式设备登记。'));
update('task_plan.md', text => paragraph(text, '6. [in_progress] F:来源2ecdfa2',
`6. [complete] F:最终不可变${build}完整本地交付。` + facts + phone + limits + '378输入/22构建/40基准、首轮响应式QA失败、提前启动失败、全部最终原报告和回顾保留;本地Git封存。下一1.17方案已记录,产品实现尚未开始。'));
update('docs/PLAN-1.16.md', text => paragraph(text, '当前A–E及实机核心通过。',
`A–F已完成,最终不可变${build}通过独立源码/便携、同载荷安装和正式保留状态升级。` + phone + '具体结果及原失败见[QA-1.16](QA-1.16.md),原字节身份见[发行记录](mobile-companion-release-identity.json)。'));
update('docs/QA-1.16.md', text => paragraph(text, '2026-10-31从06c9fac/',
`2026-10-31从06c9fac/正式1.15.0接续;A–F与最终不可变${build}已完整本地交付。` + facts + phone + limits + '下文早期“候选/待验”是各阶段原记录;最终结果在文末单列,原失败不改写。')
+ `\n\n## F:最终独立发行与正式升级完成\n\n` +
`最终源码来源\`${identity.codeCommit.slice(0, 7)}\`,不可变候选\`${build}\`。包内说明保留打包时快照,最终验收身份和独立ACCEPTANCE说明为验收后记录,不回写已验收包体。相对首候选仅QA脚本等待响应式状态的条件改变,产品22份构建和40份基准逐字节保持。378份输入中354份与Git原blob相同、19份仅按声明CRLF/LF规范化相同、5份由已提交示例构建器精确生成;不把生成目录或换行差异省略。\n\n` +
`独立解压源码\`${source.sourceRoot}\`经过离线npm ci、重建22文件完全一致、实际REA三操作/SDK/Edge/受控工程、手机7组、519/519完整回归、窗口7项/原生9组/三工程16节点全部通过。519项0失败、取消、跳过和todo;父工程8/8、9/9、10/10。24类186组历史UI的原结果及140份证据保持,未因说明修改重复执行。\n\n` +
`源码归档${read('.qa/companion-corrected-archives-original-validation.json').archives.find(value => value.kind === 'source').files}文件、便携${identity.containedPortable.verifiedFiles}文件的CRC/清单/逐文件SHA通过;随包手机7组、Node/npm/REA/DeepSeek/Edge实际验证通过。实机候选1958文件与最终对应文件全部字节一致,根package元数据对独立源码。131份依赖许可和133份随包许可逐字节核对,保留上游原空白。\n\n` +
`同载荷隔离安装器使用独立QA AppId,安装/本机DPAPI/原命令和4项检查/窗口崩溃/宿主重启/卸载保留数据7组通过;它与正式setup不是同一个SHA。正式产品setup单独在既有安装目录stage,之后仅一次处理器升级与指针激活。` + facts + limits + `\n\n` +
`首候选三工程14/16响应式收尾失败保存在[27份现场](companion-f-first-source-failure/manifest.json)。修正候选的一次源码预启动因搬移尚未完成而ENOENT,未执行产品测试;旧指针只是当时保存的历史快照,不计为新候选结果。等待全13544文件校验结束后使用source-retry全新执行,以上完整结果来自该独立整轮。验收QA监听关闭后TCP探测超时,初次失败另存;随后只读OS监听表确认4321没有监听,原Task/单次命令/证书/设备/审计与实机封存记录一致,没有重复关闭或重启。所有${evidence.byteCopies}份最终原字节文件、运行器、原失败、日志和截图映射见[发行封存清单](companion-f-release-evidence/manifest.json);完整包/安装器SHA和实际部署见[发行身份](mobile-companion-release-identity.json)。\n`);
update('docs/RETROSPECTIVE-1.16.md', text => text + '\n\n## F发行收尾回顾\n\n' +
'真实手机反馈与宿主原审计分开保留,型号/系统版本明确为用户提供;原npm遗漏和停止后paused状态均按实际记录。完整发行新增mobile.html输入覆盖与显式随包Node/npm手机流程,1958个实机运行文件与最终包严格相同,避免把页面可打开当作完整运行环境。\n\n' +
'首次完整源码519项通过后,三工程在恢复窗口尺寸时遭遇QA可访问名称变化,整轮仍记失败。修复只等待实际1440宽度和窄屏按钮隐藏,保留27份现场;修正候选重新完成全部门槛。接续时一次提前启动遇到尚未完成的路径搬移,失败原样保留,后续严格等待进程退出和全文件核对;旧指针不当作新结果。\n\n' +
facts + '最终一次升级和激活的所有原行/导出/工件严格一致,正式网关关闭,QA设备/证书未迁移。原生手机PWA与桌面/390px测试、同载荷QA安装与正式setup stage分别表述。\n\n' +
'下一阶段按PLAN-1.17开展协议/能力登记、适配、流式停止及按能力选池。真实模型收益、其它代理适配、视觉/语音、OS沙箱和自我迭代仍按各自真实工程门槛推进;安装完整性校验耗时、进度反馈和超长路径预检继续登记为体验欠项。\n');
update('docs/NEXT-STEPS.md', text => paragraph(paragraph(text, '更新:2026-10-31。当前正式',
'更新:2026-10-31。当前正式1.16.0手机伴随端A–F已完成。' + facts + limits + '原结果见[QA-1.16](QA-1.16.md)与[发行身份](mobile-companion-release-identity.json)。'), '当前接续:1.16 A–E完成,',
'当前接续:1.16完整发行与回顾完成,下一具体阶段为[1.17模型协议、流式与能力路由](PLAN-1.17.md),该文件仍为后续方案;先审查现有Provider/池/请求账本,再按实际协议逐切片实现。' + phone + '4320/4321实机QA设备已撤销,正式网关默认关闭,新的正式使用需按[手机连接说明](IPHONE-COMPANION.md)在原数据中配对。')
.replace('| 4:手机伴随端 |', '| 4:手机伴随端(1.16完成) |')
.replace('1.16真实手机配对/审批/停止/恢复/撤销核心已通过,最终完整发行仍待验。', '1.16真实手机、独立源码/完整发行及保留状态正式升级均已通过。'));
update('docs/CAPABILITIES.md', text => paragraph(text, '1.15当前完整交付:',
'1.16当前完整交付:独立HTTPS/PWA、单次配对、设备项目/操作权限、原Task/Run观察/审批/停止、原seq恢复、差异/报告SHA和撤销已交付。' + facts + phone + limits + '见[1.16验收](QA-1.16.md)。\n\n' + text.split(/\r?\n/).find(row => row.startsWith('1.15当前完整交付:')).replace('1.15当前完整交付:', '1.15历史交付:')));
update('docs/VALIDATION.md', text => text.replace('# Agent Workbench', '# Agent Workbench')
.replace('\n## 1.15', '\n## 1.16 · 手机伴随端(完整本地交付)\n\n' + facts + phone + limits +
'原结果/失败见[QA-1.16](QA-1.16.md)、[回顾](RETROSPECTIVE-1.16.md)、[发行身份](mobile-companion-release-identity.json)及[1.17方案](PLAN-1.17.md)。\n\n## 1.15'));
update('docs/IPHONE-COMPANION.md', text => paragraph(text, '1.16 当前是候选版本。',
'1.16已完成真实iPhone及独立发行/正式升级。' + phone + '正式网关保持关闭;QA配对已撤销,测试证书/设备不会自动迁入正式数据。首次正式使用请在当前工作台开启手机连接并按下列步骤核对新证书和新配对码。见[验收记录](QA-1.16.md)。')
.replace('在电脑打开指定的候选工作台', '在电脑打开当前工作台'));
update('docs/DESKTOP.md', text => paragraph(text, '1.15复用现有工作台',
'当前1.16复用1.15的桌面宿主、客户端及执行内核,并已通过完整源码/便携/安装和保留状态升级。手机伴随端默认关闭,需在「手机连接」显式配对;见[1.16验收](QA-1.16.md)和[手机连接说明](IPHONE-COMPANION.md)。1.15的原桌面验收保留在[QA-1.15](QA-1.15.md)。'));
update('docs/MILESTONE-AUDIT.md', text => text + '\n\n## 1.16手机伴随端节点复核\n\n' +
'A/B的独立TLS/配对/权限、C的任务与设备界面、D的原审批/停止、E的原seq恢复/撤销和F的真实手机/独立发行/保留数据升级均已核对。复用各历史里程碑的原证据,并执行新完整独立源码和全部历史界面;原失败保持,不把夹具或模型文字当成真实推理收益。\n\n' +
facts + phone + limits + '来源及具体修复见[QA-1.16](QA-1.16.md)与[切片回顾](RETROSPECTIVE-1.16.md),后续[1.17方案](PLAN-1.17.md)尚未开始产品实现。\n');
for (const file of ['progress.md', 'findings.md']) update(file, text => text + '\n\n## 2026-10-31 1.16 A–F完整本地交付\n\n' +
`最终不可变${build}、来源${identity.codeCommit.slice(0, 7)};` + facts + phone + limits +
`最终${evidence.byteCopies}份原字节证据封存,发行身份/QA/回顾/能力矩阵/执行计划和下一阶段方案已同步。原响应式QA失败和提前启动失败独立保留,成功来自source-retry完整独立整轮。所有378输入/22构建/40基准保持冻结,后续说明修改不重跑已通过的产品检查。下一1.17仍仅方案,未开始产品变更。\n`);
assert.equal(fs.existsSync('.qa/companion-corrected-docs-result.json'), false);
for (const { file, result } of planned) fs.writeFileSync(file, result);
fs.writeFileSync('.qa/companion-corrected-docs-result.json', JSON.stringify({ success: true, at: new Date().toISOString(), files: changed, releaseBuild: build, sourceTests: 519, productChanges: false }, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, updated: changed.length, build }));
@@ -0,0 +1,31 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { execFileSync } from 'node:child_process';
import { createHash } from 'node:crypto';
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const files = [...new Set([...JSON.parse(fs.readFileSync('.qa/companion-corrected-docs-result.json', 'utf8')).files, 'docs/PLAN-1.17.md'])];
const evidence = JSON.parse(fs.readFileSync('docs/companion-f-release-evidence/manifest.json', 'utf8'));
let jsonFiles = 0, syntaxFiles = 0, localLinks = 0;
for (const item of evidence.records) {
const bytes = fs.readFileSync(item.archived); assert.equal(hash(bytes), item.sha256); assert.equal(bytes.length, item.bytes);
if (/\.json$/i.test(item.archived)) { JSON.parse(bytes.toString('utf8')); jsonFiles++; }
if (/\.(?:mjs|cjs)$/i.test(item.archived)) { execFileSync(process.execPath, ['--check', path.resolve(item.archived)], { windowsHide: true, stdio: 'pipe' }); syntaxFiles++; }
}
for (const file of files.filter(file => file.endsWith('.md'))) {
const text = fs.readFileSync(file, 'utf8');
for (const match of text.matchAll(/\[[^\]\n]*\]\(([^\)\n]+)\)/g)) {
let link = match[1].trim(); if (link.startsWith('<') && link.endsWith('>')) link = link.slice(1, -1);
if (/^(?:[a-z][a-z0-9+.-]*:|#|\/\/)/i.test(link)) continue;
const target = decodeURIComponent(link.split('#')[0].split('?')[0]); if (!target) continue;
assert.ok(fs.existsSync(path.resolve(path.dirname(file), target)), file + ': missing local link ' + link); localLinks++;
}
}
const baseline = JSON.parse(fs.readFileSync('docs/mobile-companion-corrected-code-baseline.json', 'utf8'));
for (const item of [...baseline.inputs, ...baseline.builds, ...baseline.benchmarks]) assert.equal(hash(fs.readFileSync(item.path)), item.sha256, item.path);
execFileSync('git', ['diff', '--check', '--', ...files], { windowsHide: true, stdio: 'pipe' });
const result = { success: true, at: new Date().toISOString(), documentedFiles: files.length, evidenceFiles: evidence.records.length,
jsonFiles, syntaxFiles, localLinks, frozenInputs: baseline.inputs.length, frozenBuilds: baseline.builds.length, benchmarkFiles: baseline.benchmarks.length,
scope: 'Post-validation documentation and original evidence review only; no repeated product test or changed frozen input.' };
fs.writeFileSync('.qa/companion-corrected-docs-check.json', JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify(result));
@@ -0,0 +1,31 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { execFileSync } from 'node:child_process';
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const identity = JSON.parse(fs.readFileSync('docs/mobile-companion-release-identity.json', 'utf8'));
assert.equal(identity.fullMilestoneComplete, true);
assert.equal(execFileSync('git', ['status', '--porcelain'], { encoding: 'utf8', windowsHide: true }).trim(), '', 'Seal and commit all current work first.');
const commit = execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8', windowsHide: true }).trim();
const base = path.join('releases', path.basename(identity.release.portableRoot));
const markdown = base + '-ACCEPTANCE.md', json = base + '-ACCEPTANCE.json';
for (const file of [markdown, json]) assert.equal(fs.existsSync(file), false);
const artifactRows = ['installer', 'portable', 'source'].map(kind => {
const item = identity.release[kind], bytes = fs.readFileSync(item.path);
assert.equal(hash(bytes), item.sha256); assert.equal(bytes.length, item.bytes);
return { kind, filename: path.basename(item.path), bytes: item.bytes, sha256: item.sha256 };
});
const text = '# Agent Workbench 1.16.0 本地发行验收\n\n' +
'手机伴随端已完成真实iPhone、独立源码519项、完整历史界面、实际Electron三工程、源码/便携各7组手机流程、同载荷隔离安装7组及保留数据正式升级。正式桌面/390px共20页通过;原宿主PID36552、Provider、全部原行/会话导出/工件字节保持。\n\n' +
'iPhone 14 Pro Max / iOS 27.2由用户提供,原生手机步骤由用户确认,宿主审计/进程/文件另行核对,无手机截图。正式网关默认关闭,使用需新证书信任和新配对;QA设备已撤销。真实模型工程及Purge收益单独待验。\n\n' +
'三个发行工件保持验收时的原字节,包内说明保留打包时快照;本说明和[最终验收](../docs/QA-1.16.md)、[回顾](../docs/RETROSPECTIVE-1.16.md)、[完整身份](../docs/mobile-companion-release-identity.json)为验收后的记录。\n\n' +
'本地Git:`' + commit + '`;源码/QA来源:`' + identity.codeCommit + '`。\n\n' +
'| 工件 | 字节 | SHA-256 |\n| --- | ---: | --- |\n' + artifactRows.map(item => '| ' + item.filename + ' | ' + item.bytes + ' | `' + item.sha256 + '` |').join('\n') + '\n';
fs.writeFileSync(markdown, text, { flag: 'wx' });
const result = { success: true, at: new Date().toISOString(), localGitCommit: commit, identityPath: 'docs/mobile-companion-release-identity.json',
identitySha256: hash(fs.readFileSync('docs/mobile-companion-release-identity.json')), artifacts: artifactRows,
notes: { path: markdown, bytes: Buffer.byteLength(text), sha256: hash(Buffer.from(text)) }, identity,
scope: 'Detached post-validation acceptance records; immutable setup/ZIP payloads are not rewritten or repackaged.' };
fs.writeFileSync(json, JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, localGitCommit: commit, markdown, json }));
@@ -0,0 +1,84 @@
import fs from 'node:fs';
import path from 'node:path';
import net from 'node:net';
import assert from 'node:assert/strict';
import { execFile } from 'node:child_process';
import { promisify } from 'node:util';
import { DatabaseSync, backup } from 'node:sqlite';
import { publicSnapshot, compareOriginalState, hash } from './desktop-f-state.mjs';
import { InstallationManager, validateInstalledVersion } from '../src/core/desktop/install-manager.mjs';
import { HostController } from '../src/core/desktop/host-controller.mjs';
import { observeWindowsProcess } from '../src/core/desktop/process-identity.mjs';
import { projectEnvironment } from '../src/core/process-environment.mjs';
import { upgradeRunning } from '../scripts/upgrade-running.mjs';
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
const save = (file, value) => fs.writeFileSync(file, JSON.stringify(value, null, 2) + '\n', { flag: 'wx' });
const mode = process.argv[2]; assert.ok(['stage', 'upgrade', 'activate', 'verify'].includes(mode));
const release = read('releases/latest.json'); assert.equal(release.installer.version, '1.16.0'); assert.equal(release.installer.qaFixture, null);
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
for (const phase of ['archives', 'source-retry', 'portable', 'portable-companion', 'install']) {
const result = read('.qa/companion-corrected-' + phase + '-result.json'); assert.equal(result.success, true, phase);
assert.equal(result.unchangedInputs, true); assert.equal(result.release.setupSha256, release.installer.sha256);
}
const source = read('.qa/companion-corrected-source-retry-original-validation.json'); assert.equal(source.success, true); assert.equal(source.tests.tests, 519); assert.equal(source.tests.pass, 519);
const location = read('.qa/companion-corrected-install-location.json'), installed = read(location.result);
assert.equal(installed.success, true); assert.equal(installed.cases.length, 7); assert.equal(installed.installer.productSetup.sha256, release.installer.sha256);
const installRoot = 'C:/Users/wangy/AppData/Local/Programs/AgentWorkbench';
const originalPointer = read(path.join(installRoot, 'current.json')), dataRoot = fs.realpathSync.native(originalPointer.dataRoot);
const candidate = path.resolve(installRoot, 'versions', release.installer.candidateDirectory), url = 'http://127.0.0.1:4318', port = 4318, expectedPid = 36552;
const output = '.qa/companion-corrected-formal-' + mode + '.json', beforeFile = '.qa/companion-corrected-formal-before.json'; assert.equal(fs.existsSync(output), false, 'Preserve a phase result instead of repeating the operation.');
const startedAt = new Date().toISOString();
const originalProcess = () => { const value = observeWindowsProcess(expectedPid); assert.ok(value); assert.equal(value.createdAt, '2026-10-31T06:30:34.359Z'); assert.equal(hash(fs.readFileSync(value.executable)), 'd702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5'); return value; };
async function inspectorClosed() { return new Promise((resolve, reject) => { const socket = net.createConnection({ host: '127.0.0.1', port: 9229 }); socket.setTimeout(1500); socket.once('connect', () => { socket.destroy(); reject(Error('An inspector is already open.')); }); socket.once('timeout', () => { socket.destroy(); reject(Error('Inspector state could not be verified.')); }); socket.once('error', error => { socket.destroy(); error.code === 'ECONNREFUSED' ? resolve(true) : reject(error); }); }); }
let result;
try {
originalProcess(); await inspectorClosed();
if (mode === 'stage') {
assert.equal(fs.existsSync(candidate), false); assert.equal(fs.existsSync(beforeFile), false);
const before = await publicSnapshot(url, dataRoot); assert.equal(before.version, '1.15.0'); assert.equal(before.pid, expectedPid); assert.deepEqual(before.active, []);
const controller = new HostController({ appRoot: before.runtimeRoot, dataRoot, port, nodePath: process.execPath }); assert.ok(await controller.connect());
const status = await controller.status(); assert.equal(status.desktopWindows.count, 0); assert.equal(status.activity.active, false);
save(beforeFile, before); save('.qa/companion-corrected-formal-original-pointer.json', originalPointer);
const db = new DatabaseSync(path.join(dataRoot, 'workbench.sqlite'), { readOnly: true });
const backupPath = path.resolve('.qa/companion-corrected-formal-original.sqlite'); assert.equal(fs.existsSync(backupPath), false);
try { await backup(db, backupPath); } finally { db.close(); }
const copy = new DatabaseSync(backupPath, { readOnly: true });
try { assert.equal(copy.prepare('PRAGMA quick_check').get().quick_check, 'ok'); } finally { copy.close(); }
save('.qa/companion-corrected-formal-private-backup-receipt.json', { path: backupPath, bytes: fs.statSync(backupPath).size, sha256: hash(fs.readFileSync(backupPath)), credentialsExtracted: false, committed: false });
compareOriginalState(before, await publicSnapshot(url, dataRoot));
const log = path.resolve('.qa/companion-corrected-formal-setup.log'); assert.equal(fs.existsSync(log), false);
const execution = await promisify(execFile)(release.installer.path, ['/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/TASKS=desktopicon', '/DIR=' + installRoot, '/DATA_ROOT=' + dataRoot, '/PORT=' + port, '/STAGE_ONLY=1', '/LOG=' + log],
{ windowsHide: true, env: projectEnvironment(), timeout: 900000, maxBuffer: 1024 * 1024 });
const identity = validateInstalledVersion(candidate), after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after);
assert.equal(after.version, '1.15.0'); assert.deepEqual(read(path.join(installRoot, 'current.json')), originalPointer);
result = { success: true, phase: 'staged', version: '1.16.0', candidateIdentity: identity.identitySha256, manifestSha256: identity.manifestSha256, retained, setupLog: log, setupLogSha256: hash(fs.readFileSync(log)), setupOutputEmpty: execution.stdout === '' };
} else {
const staged = read('.qa/companion-corrected-formal-stage.json'), before = read(beforeFile); assert.equal(staged.success, true); assert.equal(staged.setupSha256, release.installer.sha256);
const identity = validateInstalledVersion(candidate); assert.equal(identity.identitySha256, staged.candidateIdentity);
const current = await publicSnapshot(url, dataRoot); compareOriginalState(before, current); assert.deepEqual(current.active, []);
if (mode === 'upgrade') {
assert.equal(current.version, '1.15.0');
const info = read(path.join(dataRoot, 'service-info.json')); assert.equal(info.pid, expectedPid);
const upgraded = await upgradeRunning({ url, pid: expectedPid, currentRoot: info.appRoot, handlerRoot: current.runtimeRoot, newRoot: candidate });
assert.equal(upgraded.connectionPreserved, true);
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after); assert.equal(after.version, '1.16.0'); assert.equal(after.runtimeRoot, candidate);
await inspectorClosed(); save('.qa/companion-corrected-formal-after-upgrade.json', after);
result = { success: true, phase: 'upgraded', version: '1.16.0', upgraded, retained, currentProviderPreserved: true };
} else {
assert.equal(read('.qa/companion-corrected-formal-upgrade.json').success, true); assert.equal(current.version, '1.16.0'); assert.equal(current.runtimeRoot, candidate);
let activated = null;
if (mode === 'activate') { activated = await new InstallationManager({ installRoot, dataRoot, candidateRoot: candidate, port }).activate(); assert.equal(activated.phase, 'activated'); assert.equal(activated.hostRetained, false, 'Activation must not upgrade the already migrated handler again.'); }
const controller = new HostController({ appRoot: candidate, dataRoot, port, nodePath: process.execPath }); assert.ok(await controller.connect()); const status = await controller.status();
assert.equal(status.identity.pid, expectedPid); assert.equal(status.activity.active, false);
const gateway = await controller.api('/companion'); assert.equal(gateway.enabled, false); assert.deepEqual(gateway.devices, []); assert.equal(gateway.certificate, null);
const pointer = read(path.join(installRoot, 'current.json')); assert.equal(pointer.active.directory, release.installer.candidateDirectory); assert.equal(pointer.active.runtimeIdentity, identity.identitySha256);
assert.equal(fs.realpathSync.native(pointer.dataRoot), dataRoot); assert.equal(hash(fs.readFileSync(path.join(installRoot, 'AgentWorkbench.exe'))), hash(fs.readFileSync(path.join(release.portableRoot, 'AgentWorkbench.exe'))));
const after = await publicSnapshot(url, dataRoot), retained = compareOriginalState(before, after); await inspectorClosed(); save('.qa/companion-corrected-formal-after-' + mode + '.json', after);
result = { success: true, phase: mode === 'activate' ? 'activated' : 'verified', version: '1.16.0', activated, identity: status.identity, pointer, retained, companion: { enabled: gateway.enabled, devices: gateway.devices.length, certificate: gateway.certificate }, currentProviderPreserved: true,
counts: { projects: after.projects, sessions: after.database.sessionIds.length, records: after.database.tables.records.count, events: after.database.tables.events.count, artifacts: after.persistent.artifacts.length }, inspectorClosed: true };
}
}
} catch (error) { result = { success: false, phase: mode, error: error.stack }; process.exitCode = 1; }
save(output, { ...result, startedAt, finishedAt: new Date().toISOString(), installRoot, dataRoot, candidate, setupSha256: release.installer.sha256, originalProcess: originalProcess(), realModelRequests: 0,
scope: 'Accepted product setup stages the existing install, one in-memory handler upgrade preserves the original PID/Provider, pointer activation and final read-only validation. Every original table/row, all session exports and artifact bytes compared; no model Key extraction or QA certificate/device migration.' });
console.log(JSON.stringify({ success: result.success, phase: result.phase, version: result.version, output, ...(result.error ? { error: result.error } : {}) }));
@@ -0,0 +1,122 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash, randomUUID } from 'node:crypto';
import { chromium, expect } from 'playwright/test';
const base = 'http://127.0.0.1:4318', directory = path.resolve('.qa', 'companion-corrected-formal-ui-' + randomUUID());
fs.mkdirSync(directory);
const health = await (await fetch(base + '/api/health')).json();
const deployed = JSON.parse(fs.readFileSync(process.argv[2] ?? '.qa/companion-corrected-formal-activate.json', 'utf8'));
const output = process.argv[3] ?? '.qa/companion-corrected-formal-ui-validation.json';
assert.equal(deployed.success, true); assert.equal(health.version, '1.16.0'); assert.equal(health.pid, deployed.identity.pid);
const bootstrap = await (await fetch(base + '/api/bootstrap')).json();
const existingSession = bootstrap.sessions.find(value => value.status === 'completed' && bootstrap.projects.some(project => project.id === value.projectId));
assert.ok(existingSession, 'Read-only history inspection requires an existing completed session.');
const readApi = async route => { const response = await fetch(base + '/api' + route, { headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' }, signal: AbortSignal.timeout(10000) }); assert.equal(response.ok, true); return response.json(); };
const controlledAvailability = await readApi('/engines/deepseek/controlled-availability'), purgeSource = await readApi('/engines/purge/source');
assert.equal(controlledAvailability.controlledStatus, 'available'); assert.equal(purgeSource.status, 'available'); assert.equal(purgeSource.defaultEnabled, false);
const pageErrors = [], requestFailures = [], httpErrors = [], blockedWrites = [], results = [];
const record = { success: false, version: health.version, pid: health.pid, directory,
selectedHistory: { projectId: existingSession.projectId, sessionId: existingSession.id, selection: 'Actual current-project selector; no task created.' }, results };
const browser = await chromium.launch({ channel: 'msedge', headless: true });
const screenshot = async (page, filename) => {
const file = path.join(directory, filename); await page.screenshot({ path: file, fullPage: true });
return { screenshot: file, screenshotSha256: createHash('sha256').update(fs.readFileSync(file)).digest('hex') };
};
try {
for (const [width, height] of [[1280, 900], [390, 844]]) {
const context = await browser.newContext({ viewport: { width, height }, reducedMotion: 'reduce' });
let closing = false;
try {
const page = await context.newPage();
page.on('pageerror', error => pageErrors.push(error.message));
page.on('requestfailed', request => { if (!closing) requestFailures.push({ url: request.url(), error: request.failure()?.errorText }); });
page.on('response', response => { if (response.status() >= 400) httpErrors.push({ url: response.url(), status: response.status() }); });
await page.route('**/api/**', route => {
if (!['GET', 'HEAD', 'OPTIONS'].includes(route.request().method())) {
blockedWrites.push({ method: route.request().method(), url: route.request().url() }); return route.abort();
}
return route.continue();
});
await Promise.all([page.waitForResponse(response => response.url().endsWith('/api/bootstrap') && response.status() === 200),
page.goto(base + '/?release=1.16.0', { waitUntil: 'domcontentloaded' })]);
await expect(page.locator('.connection small')).toHaveText('v1.16.0');
await expect(page.locator('.connection')).toContainText('本地服务已连接');
const projectSelector = page.getByRole('combobox', { name: '当前项目', exact: true });
if (!await projectSelector.isVisible()) await page.getByRole('button', { name: '展开项目栏', exact: true }).click();
await projectSelector.selectOption(existingSession.projectId);
if (!await projectSelector.isVisible()) await page.getByRole('button', { name: '展开项目栏', exact: true }).click();
await expect(projectSelector).toHaveValue(existingSession.projectId);
if (width <= 940) await page.getByRole('button', { name: '收起项目栏', exact: true }).click();
await expect(page.getByRole('button', { name: '隔离协作', exact: true })).toBeEnabled();
await page.getByRole('button', { name: '查看任务记录', exact: true }).click();
const plan = page.getByLabel('执行计划', { exact: true }); await expect(plan).toBeVisible();
await expect(plan).not.toHaveAttribute('aria-busy', 'true', { timeout: 15000 });
await expect(plan).not.toContainText('正在核对任务计划', { timeout: 15000 });
await expect(plan.getByRole('heading', { name: '执行计划', exact: true })).toBeVisible();
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '执行计划', readOnly: true, ...await screenshot(page, 'plan-' + width + '.png') });
if (width <= 940) await page.getByRole('button', { name: '关闭检视区', exact: true }).click();
for (const [launcher, title, suffix] of [['打开模型中心', '模型中心', '/api/model-center'], ['项目技能', '项目技能', '/skills'], ['项目MCP工具', '项目 MCP 工具', '/mcp']]) {
await Promise.all([page.waitForResponse(response => response.url().endsWith(suffix) && response.status() === 200),
page.getByRole('button', { name: launcher, exact: true }).click()]);
const dialog = page.getByRole('dialog', { name: title, exact: true }); await expect(dialog).toBeVisible();
await expect(dialog.getByRole('heading', { name: title, exact: true })).toBeVisible();
for (const loading of ['正在读取实际连接状态', '正在核对已登记技能', '正在读取项目注册']) await expect(dialog).not.toContainText(loading);
const bounds = await dialog.boundingBox(); assert.ok(bounds.x >= 0 && bounds.x + bounds.width <= width + 1);
results.push({ width, height, panel: title, readOnly: true, ...await screenshot(page, suffix.split('/').at(-1) + '-' + width + '.png') });
if (title === '模型中心') {
await Promise.all([page.waitForResponse(response => response.url().endsWith('/api/model-center/credentials') && response.status() === 200),
dialog.getByRole('button', { name: '凭据保存', exact: true }).click()]);
await expect(dialog.getByRole('heading', { name: '本机加密凭据', exact: true })).toBeVisible();
await expect(dialog).not.toContainText('正在核对本机保存状态');
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '本机加密凭据只读状态', readOnly: true, ...await screenshot(page, 'credentials-' + width + '.png') });
await dialog.getByRole('button', { name: '运行巡检', exact: true }).click();
await Promise.all([page.waitForResponse(response => response.url().includes('/api/operations') && response.status() === 200),
dialog.getByRole('button', { name: '开始本地巡检', exact: true }).click()]);
await expect(dialog.getByLabel('历史工件巡检分页', { exact: true })).toBeVisible();
await expect(dialog.getByRole('checkbox', { name: '在此页面每30秒检查,离开即停止', exact: true })).not.toBeChecked();
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '运行巡检及实际覆盖范围', readOnly: true, ...await screenshot(page, 'operations-' + width + '.png') });
}
await dialog.getByRole('button', { name: '关闭窗口', exact: true }).click(); await expect(dialog).toHaveCount(0);
}
await page.getByRole('button', { name: '隔离协作', exact: true }).click();
const workers = page.getByRole('dialog', { name: '隔离协作', exact: true }); await expect(workers).toBeVisible();
await expect(workers.getByRole('heading', { name: '隔离协作', exact: true })).toBeVisible();
await expect(workers.getByLabel('父目标', { exact: true })).toBeVisible();
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '隔离协作', readOnly: true, ...await screenshot(page, 'controlled-engine-' + width + '.png') });
await workers.getByLabel('执行方式', { exact: true }).selectOption('deepseek');
await workers.getByLabel('Harness 安装目录', { exact: true }).fill(controlledAvailability.root);
await workers.getByRole('button', { name: '检测受控安装', exact: true }).click(); await expect(workers).toContainText('受控安装可用');
const experiment = workers.getByLabel('Purge 提示实验', { exact: true }), toggle = experiment.getByRole('checkbox', { name: '启用 Purge 提示实验', exact: true });
await expect(toggle).not.toBeChecked(); assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '受控引擎安装与默认关闭策略', readOnly: true, ...await screenshot(page, 'controlled-native-' + width + '.png') });
await toggle.check(); await experiment.getByLabel('Purge 源码目录', { exact: true }).fill(purgeSource.root);
await experiment.getByRole('button', { name: '检测 Purge 来源', exact: true }).click(); await expect(experiment).toContainText('已核对 Purge ' + purgeSource.version);
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: 'Purge来源只读核对', readOnly: true, ...await screenshot(page, 'controlled-purge-' + width + '.png') });
await toggle.uncheck(); await workers.getByRole('button', { name: '关闭窗口', exact: true }).click();
await page.getByRole('button', { name: '手机连接', exact: true }).click();
const companion = page.getByRole('dialog', { name: '手机连接', exact: true }); await expect(companion).toBeVisible();
await expect(companion).toContainText('默认关闭');
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '默认关闭的手机网关与设备管理', readOnly: true, ...await screenshot(page, 'companion-' + width + '.png') });
await companion.getByRole('button', { name: '关闭窗口', exact: true }).click();
console.log(JSON.stringify({ width, passedPanels: 10 }));
} finally { closing = true; await context.close(); }
}
assert.deepEqual(pageErrors, []); assert.deepEqual(requestFailures, []); assert.deepEqual(httpErrors, []); assert.deepEqual(blockedWrites, []);
record.success = true;
} catch (error) { record.error = error.stack; throw error; }
finally {
await browser.close();
Object.assign(record, { testedAt: new Date().toISOString(), pageErrors, requestFailures, httpErrors, blockedWrites, modelRequests: 0,
scope: 'Read-only smoke of deployed host in actual Edge desktop/390px; API mutations are blocked, no task/tool/model/configuration/project writes.' });
fs.writeFileSync(path.join(directory, 'result.json'), JSON.stringify(record, null, 2) + '\n');
fs.writeFileSync(output, JSON.stringify(record, null, 2) + '\n');
console.log(JSON.stringify({ success: record.success, directory, panels: results.length, pageErrors: pageErrors.length, requestFailures: requestFailures.length, blockedWrites: blockedWrites.length }));
}
@@ -0,0 +1,61 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { DatabaseSync } from 'node:sqlite';
import { canonical, databaseSnapshot, digest } from './desktop-f-state.mjs';
import { snapshotPersistentData } from '../src/core/desktop/install-manager.mjs';
const deployed = JSON.parse(fs.readFileSync(process.argv[2] ?? '.qa/desktop-host-f-formal-start.json')); assert.equal(deployed.success, true);
const output = process.argv[3] ?? '.qa/desktop-host-f-formal-artifacts.json';
const before = JSON.parse(fs.readFileSync('.qa/companion-corrected-formal-before.json'));
const database = new DatabaseSync(path.join(deployed.dataRoot, 'workbench.sqlite'), { readOnly: true });
let originalRecords;
try { originalRecords = database.prepare("SELECT * FROM records WHERE kind='artifact' ORDER BY rowid").all(); }
finally { database.close(); }
const original = new Map(), producers = [], referenced = new Map();
for (const row of originalRecords) {
const artifact = JSON.parse(row.payload);
assert.equal(artifact.id, row.id); assert.equal(original.has(row.id), false);
for (const [column, field] of [['session_id', 'sessionId'], ['project_id', 'projectId'], ['task_id', 'taskId'], ['run_id', 'runId']]) {
assert.equal(row[column] ?? null, artifact[field] ?? null, artifact.id + ': ' + field);
}
assert.match(artifact.sha256, /^[a-f0-9]{64}$/);
assert.equal(artifact.relative, artifact.sha256.slice(0, 2) + '/' + artifact.sha256 + '.blob');
const blob = { path: artifact.relative, bytes: artifact.bytes, sha256: artifact.sha256 };
if (referenced.has(blob.path)) assert.deepEqual(referenced.get(blob.path), blob);
referenced.set(blob.path, blob); original.set(row.id, artifact);
producers.push({ id: row.id, sessionId: row.session_id, projectId: row.project_id, taskId: row.task_id, runId: row.run_id,
rowSha256: digest(row), metadataSha256: digest(artifact) });
}
assert.deepEqual(canonical(databaseSnapshot(deployed.dataRoot).tables.records), canonical(before.database.tables.records));
const physical = snapshotPersistentData(deployed.dataRoot).artifacts;
assert.deepEqual(physical, before.persistent.artifacts, 'Every original physical blob byte remains exact.');
const physicalByPath = new Map(physical.map(value => [value.path, value]));
for (const blob of referenced.values()) assert.deepEqual(physicalByPath.get(blob.path), blob, 'Original referenced blob: ' + blob.path);
assert.equal(physical.length, deployed.counts.artifacts);
const base = 'http://127.0.0.1:4318';
const bootstrap = await (await fetch(base + '/api/bootstrap', { headers: { Connection: 'close' } })).json(); assert.equal(bootstrap.version, '1.16.0');
const health = await (await fetch(base + '/api/health', { headers: { Connection: 'close' } })).json(); assert.equal(health.pid, deployed.identity.pid);
const pages = [], ids = new Set(); let offset = 0, total = null;
while (total === null || offset < total) {
const response = await fetch(base + '/api/operations?artifactOffset=' + offset + '&artifactLimit=100',
{ headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' }, signal: AbortSignal.timeout(30000) }); assert.equal(response.status, 200);
const report = await response.json(), page = report.artifacts; assert.equal(report.version, '1.16.0'); assert.equal(page.offset, offset);
if (total === null) total = page.total; assert.equal(page.total, total); assert.equal(page.checked, page.results.length);
for (const row of page.results) {
assert.equal(row.passed, true, row.id + ': ' + row.error); assert.equal(ids.has(row.id), false);
const artifact = original.get(row.id); assert.ok(artifact, 'Inspection returned an unknown original artifact ID.');
assert.equal(row.sha256, artifact.sha256); assert.equal(row.bytes, artifact.bytes); ids.add(row.id);
}
pages.push({ offset, checked: page.checked, total, results: page.results, checks: report.checks, checkedAt: report.checkedAt });
offset += page.checked; assert.ok(page.checked > 0 || total === 0);
}
assert.equal(ids.size, total); assert.equal(total, original.size);
assert.deepEqual([...ids].sort(), [...original.keys()].sort());
assert.deepEqual(canonical(databaseSnapshot(deployed.dataRoot).tables.records), canonical(before.database.tables.records));
const result = { success: true, version: '1.16.0', pid: health.pid, checked: ids.size, total, pages,
artifactRecords: original.size, blobFiles: physical.length, referencedBlobFiles: referenced.size,
unreferencedBlobFiles: physical.filter(value => !referenced.has(value.path)), producers, physical,
checkedAt: new Date().toISOString(), realModelRequests: 0, scope: 'Each API inspection ID/hash/byte length matched its original SQLite artifact metadata and recorded producer identity. All referenced deduplicated blobs matched physical byte hashes; every physical blob matched the user-started snapshot. Record and physical-file counts are separate. No source/tool/model/credential or persistent user-state mutation; unknown/source attention remains recorded in each original inspection.' };
const bytes = Buffer.from(JSON.stringify(result, null, 2)); fs.writeFileSync(output, bytes, { flag: 'wx' });
console.log(JSON.stringify({ success: true, total, checked: ids.size, pages: pages.length, reportSha256: createHash('sha256').update(bytes).digest('hex') }));
@@ -0,0 +1,139 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { execFileSync } from 'node:child_process';
import { publicSnapshot, compareOriginalState } from './desktop-f-state.mjs';
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const baseline = read('docs/mobile-companion-corrected-code-baseline.json'), release = read('releases/latest.json');
const gitAudit = read('.qa/companion-corrected-code-git-audit.json'); assert.equal(gitAudit.success, true); assert.equal(gitAudit.codeCommit, baseline.codeCommit); assert.equal(gitAudit.inputFiles, baseline.inputs.length);
const phoneEquivalence = read('.qa/companion-corrected-real-phone-package-equivalence.json'); assert.equal(phoneEquivalence.success, true); assert.equal(phoneEquivalence.verifiedFiles, 1958); assert.equal(phoneEquivalence.finalPortableRoot, release.portableRoot);
const phases = ['archives', 'source-retry', 'portable', 'portable-companion', 'prepare-install', 'install', 'formal-stage', 'formal-upgrade', 'formal-activate', 'formal-ui', 'formal-verify', 'formal-artifacts'];
const stageReceipts = phases.map(phase => { const file = '.qa/companion-corrected-' + phase + '-result.json', value = read(file); assert.equal(value.success, true, phase); assert.equal(value.unchangedInputs, true); assert.equal(value.release.setupSha256, release.installer.sha256); return { file, value }; });
const source = read('.qa/companion-corrected-source-retry-original-validation.json'), portable = read('.qa/companion-corrected-portable-original-validation.json');
assert.equal(source.success, true); assert.equal(portable.success, true); assert.equal(source.version, '1.16.0');
assert.equal(source.tests.tests, 519); assert.equal(source.tests.pass, 519); for (const key of ['fail', 'cancelled', 'skipped', 'todo']) assert.equal(source.tests[key], 0);
const sorted = values => values.slice().sort((a, b) => a.path.localeCompare(b.path));
assert.deepEqual(sorted(source.inputs), sorted(baseline.inputs));
assert.deepEqual(sorted(source.buildFiles), sorted(baseline.builds.map(({ path, sha256 }) => ({ path, sha256 }))));
assert.equal(source.actualCompanion.passed.length, 7); assert.equal(source.actualCompanion.containedRuntime, true);
assert.equal(source.actualDesktop.window.results.length, 7); assert.equal(source.actualDesktop.ui.assertions.length, 9); assert.equal(source.actualDesktop.projects.cases.length, 16);
assert.deepEqual(source.actualDesktop.projects.results.map(item => item.parentCheck.results[0].tests.passed), [8, 9, 10]);
assert.equal(portable.appRoot, release.portableRoot); assert.equal(portable.actualControlled.success, true);
const installLocation = read('.qa/companion-corrected-install-location.json'), install = read(installLocation.result), formal = read('.qa/companion-corrected-formal-verify.json');
assert.equal(install.success, true); assert.equal(install.cases.length, 7); assert.equal(install.installer.productSetup.sha256, release.installer.sha256);
assert.equal(install.installer.samePayloadManifestSha256, hash(fs.readFileSync(path.join(release.portableRoot, 'MANIFEST.json'))));
assert.equal(formal.success, true); assert.equal(formal.identity.pid, 36552); assert.equal(formal.currentProviderPreserved, true); assert.equal(formal.inspectorClosed, true);
const nativePhone = read('docs/mobile-companion-real-iphone-validation.json'); assert.equal(nativePhone.status, 'actual-iphone-core-acceptance-passed');
const qaRetirement = read('.qa/companion-corrected-qa-gateway-retired.json'); assert.equal(qaRetirement.success, true); assert.equal(qaRetirement.gatewayEnabled, false); assert.deepEqual(qaRetirement.listening4321, []);
const historicalUi = read('docs/companion-f-local-evidence/manifest.json'); assert.deepEqual(historicalUi.ui, { classes: 24, groups: 186 });
const smoke = read('.qa/companion-corrected-formal-ui-validation.json'), artifacts = read('.qa/companion-corrected-formal-artifacts.json'); assert.equal(smoke.success, true); assert.equal(smoke.results.length, 20); assert.equal(artifacts.success, true); assert.equal(artifacts.checked, artifacts.total);
const formalNative = read('.qa/companion-corrected-formal-native.json'); assert.equal(formalNative.success, true); assert.equal(formalNative.hostPid, 36552); assert.equal(formalNative.observed.phoneConnectionEntryObserved, true);
for (const key of ['pageErrors', 'requestFailures', 'httpErrors', 'blockedWrites']) assert.deepEqual(smoke[key], []);
const before = read('.qa/companion-corrected-formal-before.json'), actual = await publicSnapshot('http://127.0.0.1:4318', formal.dataRoot); compareOriginalState(before, actual);
assert.equal(actual.version, '1.16.0'); assert.equal(actual.runtimeRoot, formal.candidate);
for (const item of [...baseline.inputs, ...baseline.builds, ...baseline.benchmarks]) { const bytes = fs.readFileSync(item.path); assert.equal(bytes.length, item.bytes); assert.equal(hash(bytes), item.sha256, item.path); }
for (const kind of ['source', 'portable']) { assert.equal(hash(fs.readFileSync(release[kind].path)), release[kind].sha256); }
assert.equal(hash(fs.readFileSync(release.installer.path)), release.installer.sha256);
const directory = 'docs/companion-f-release-evidence'; assert.equal(fs.existsSync(directory), false);
const queued = [], seen = new Map(), appendCompletions = [];
const completedLogs = read('.qa/companion-corrected-log-completions/index.json'); assert.equal(completedLogs.success, true);
function queueBytes(file, bytes, expected = null, originalReference = null) {
const resolved = path.resolve(file), existing = seen.get(resolved); if (existing) { if (expected) assert.equal(existing.sha256, expected.sha256); return existing; }
const sha256 = hash(bytes); if (expected?.sha256) assert.equal(sha256, expected.sha256, file); if (expected?.bytes !== undefined) assert.equal(bytes.length, expected.bytes, file);
const archived = directory + '/' + String(queued.length + 1).padStart(3, '0') + '-' + path.basename(file).replace(/\.log$/, '-log.txt');
const row = { original: resolved, archived, bytes: bytes.length, sha256, ...(originalReference ? { originalReference } : {}) };
queued.push({ row, bytes }); seen.set(resolved, row); return row;
}
function copy(file, expected = null) {
assert.doesNotMatch(file, /(?:\.sqlite(?:-(?:wal|shm))?|\.(?:key|pem|pfx|p12))$/i, 'Never seal private database or certificate material.');
const stat = fs.lstatSync(file); assert.ok(stat.isFile() && !stat.isSymbolicLink());
const bytes = fs.readFileSync(file); return queueBytes(file, bytes, expected);
}
// Uninstall logs may get a final trailer from the setup process after the report.
// Only this declared log can be archived as its original prefix plus complete file.
function installerLog(file, expectedSha256) {
const bytes = fs.readFileSync(file); if (hash(bytes) === expectedSha256) return copy(file, { sha256: expectedSha256 });
const completion = completedLogs.completions.find(item => item.source === path.resolve(file)); assert.ok(completion, 'Require separately audited completion provenance: ' + file);
assert.equal(completion.original.sha256, expectedSha256); assert.equal(hash(bytes), completion.completed.sha256);
assert.equal(hash(bytes.subarray(0, completion.original.bytes)), expectedSha256); assert.equal(bytes.length - completion.original.bytes, 199);
const original = copy(completion.original.path, completion.original), completed = copy(file, completion.completed);
appendCompletions.push({ ...completion, archivedOriginal: original.archived, archivedCompleted: completed.archived }); return original;
}
for (const { file, value } of stageReceipts) { copy(file); copy(value.logPath, { bytes: value.logBytes, sha256: value.logSha256 }); }
for (const file of ['.qa/companion-corrected-immutable-package.log', '.qa/companion-corrected-source-short-path.json', '.qa/companion-corrected-qa-installer.json', '.qa/companion-corrected-install-location.json',
'.qa/companion-corrected-source-retry-original-validation.json', '.qa/companion-corrected-portable-original-validation.json', '.qa/companion-corrected-archives-original-validation.json',
'.qa/companion-corrected-source.log', '.qa/companion-corrected-source-result.json', '.qa/companion-corrected-source-original-validation.json', '.qa/companion-corrected-package-result.json', '.qa/configure-corrected-candidate.mjs', '.qa/package-companion-corrected.mjs',
'.qa/companion-corrected-window-before.json', '.qa/companion-corrected-window-after.json', '.qa/companion-corrected-native-window-close.json', '.qa/record-companion-window.mjs',
'.qa/companion-corrected-qa-gateway-retired.json', '.qa/retire-companion-qa-gateway.mjs',
'.qa/companion-corrected-qa-gateway-listeners.json', '.qa/companion-corrected-qa-gateway-first-failure.json', '.qa/verify-closed-companion-qa-gateway.mjs',
'.qa/companion-corrected-log-completions/index.json', '.qa/audit-companion-completed-logs.mjs',
'.qa/companion-corrected-formal-before.json', '.qa/companion-corrected-formal-original-pointer.json', '.qa/companion-corrected-formal-stage.json', '.qa/companion-corrected-formal-upgrade.json', '.qa/companion-corrected-formal-activate.json', '.qa/companion-corrected-formal-verify.json',
'.qa/companion-corrected-formal-after-upgrade.json', '.qa/companion-corrected-formal-after-activate.json', '.qa/companion-corrected-formal-after-verify.json', '.qa/companion-corrected-formal-ui-validation.json', '.qa/companion-corrected-formal-artifacts.json',
'.qa/companion-corrected-formal-native.json', '.qa/companion-corrected-formal-native-observed.json', '.qa/record-companion-formal-native.mjs',
'.qa/companion-contained-runner.log', '.qa/companion-release-runner-related.tap', '.qa/companion-final-build.log', '.qa/companion-corrected-code-git-audit.json', '.qa/companion-corrected-license-audit.json', '.qa/companion-corrected-real-phone-package-equivalence.json', 'docs/mobile-companion-corrected-code-baseline.json', 'releases/latest.json',
'.qa/run-companion-phase-corrected.mjs', '.qa/finish-companion-isolated-corrected.mjs', '.qa/freeze-companion-release-corrected.mjs', '.qa/shorten-companion-source-corrected.mjs', '.qa/prepare-companion-installer-corrected.mjs', '.qa/verify-companion-install-corrected.mjs',
'.qa/finish-companion-formal-corrected.mjs',
'.qa/finalize-companion-docs.mjs', '.qa/check-companion-release-docs.mjs', '.qa/write-companion-acceptance-notes.mjs',
'.qa/deploy-companion-formal-corrected.mjs', '.qa/verify-companion-formal-ui-corrected.mjs', '.qa/verify-companion-formal-artifacts-corrected.mjs', '.qa/seal-companion-release-corrected.mjs']) copy(file);
copy(release.installer.source); copy(path.join(path.dirname(release.installer.source), 'compile.txt')); copy(install.installer.source); copy(path.join(path.dirname(install.installer.source), 'compile.txt'));
for (const item of source.logs) copy(item.path, item);
copy(path.join(source.directory, 'inputs.json')); copy(path.join(source.directory, 'result.json'));
copy(installLocation.result);
for (const item of install.cases) {
if (item.processLog) copy(item.processLog, { sha256: item.processLogSha256 });
if (item.setupLog) installerLog(item.setupLog, item.setupLogSha256);
if (item.uninstallLog) installerLog(item.uninstallLog, item.uninstallLogSha256);
}
copy('.qa/companion-corrected-formal-setup.log', { sha256: read('.qa/companion-corrected-formal-stage.json').setupLogSha256 });
function screenshots(value) {
if (!value || typeof value !== 'object') return;
if (Array.isArray(value)) { for (const item of value) screenshots(item); return; }
if (typeof value.file === 'string' && /\.png$/i.test(value.file)) copy(value.file, value.sha256 ? { sha256: value.sha256, ...(value.bytes === undefined ? {} : { bytes: value.bytes }) } : null);
for (const [key, item] of Object.entries(value)) {
if (typeof item === 'string' && /(?:screenshot|screenshots)$/i.test(key) && /\.png$/i.test(item)) copy(item, value.screenshotSha256 ? { sha256: value.screenshotSha256 } : null);
if (key === 'screenshots' && Array.isArray(item)) for (const file of item) if (typeof file === 'string') copy(file);
if (item && typeof item === 'object') screenshots(item);
}
}
function surface(root) { if (!root || !fs.existsSync(root)) return; for (const item of fs.readdirSync(root, { withFileTypes: true })) if (item.isFile() && /\.(json|png|html|txt|log|tap)$/.test(item.name)) copy(path.join(root, item.name)); }
function projectTree(root) {
if (!fs.existsSync(root)) return;
for (const item of fs.readdirSync(root, { withFileTypes: true })) { if (['.git', 'node_modules', '__pycache__', '.pytest_cache'].includes(item.name)) continue; const file = path.join(root, item.name); if (item.isDirectory()) projectTree(file); else copy(file); }
}
surface(source.actualDesktop.window.root); projectTree(path.join(source.actualDesktop.window.root, 'owned-project'));
for (const name of ['desktop-controlled-ui', 'desktop-projects']) {
const file = path.join(source.sourceRoot, '.qa', name + '-location.json'), location = read(file); copy(file); copy(location.result); surface(location.directory);
if (name === 'desktop-controlled-ui') projectTree(path.join(location.directory, 'original-fixture', 'project'));
else for (const item of source.actualDesktop.projects.results) { const root = path.join(location.directory, item.sampleName); surface(root); projectTree(path.join(root, 'original-fixture', 'project')); }
}
screenshots(source.actualDesktop); screenshots(source.actualCompanion); screenshots(smoke);
copy(formalNative.observed.screenshot.path, formalNative.observed.screenshot);
for (const name of ['source', 'portable-companion']) {
const logFile = name === 'source' ? source.logs.find(item => item.stage === 'contained companion gateway and UI').path : '.qa/companion-corrected-portable-companion.log';
const location = [...fs.readFileSync(logFile, 'utf8').matchAll(/^EVIDENCE (.+)\r?$/gm)].at(-1)?.[1]?.trim(); assert.ok(location); const result = read(path.join(location, 'result.json')); assert.equal(result.success, true); assert.equal(result.passed.length, 7); copy(path.join(location, 'result.json')); screenshots(result);
}
for (const file of ['docs/companion-f-local-evidence/manifest.json', 'docs/companion-f-iphone-evidence/manifest.json', 'docs/companion-f-iphone-recovery-evidence/manifest.json', 'docs/mobile-companion-real-iphone-validation.json']) copy(file);
const antecedents = ['docs/desktop-host-release-identity.json', 'docs/companion-f-local-evidence/manifest.json', 'docs/companion-f-iphone-evidence/manifest.json', 'docs/companion-f-iphone-recovery-evidence/manifest.json'].map(file => ({ path: file, bytes: fs.statSync(file).size, sha256: hash(fs.readFileSync(file)) }));
const identity = { schema: 1, success: true, version: '1.16.0', codeCommit: baseline.codeCommit, evidenceCommitBeforeSeal: execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8', windowsHide: true }).trim(), sealedAt: new Date().toISOString(),
release, sourceTests: source.tests, inputFiles: source.inputFiles, buildFiles: source.buildMatchedFiles, benchmarkFiles: baseline.benchmarks.length, gitInputProvenance: gitAudit,
historicalUi: historicalUi.ui, independentSource: { root: source.sourceRoot, windowCases: 7, desktopUiCases: 9, engineeringNodes: 16, parentTests: [8, 9, 10], companionCases: 7 },
containedPortable: { verifiedFiles: portable.verifiedFiles, companionCases: 7, actualRea: portable.actualRea.length, controlledCases: portable.actualControlled.cases.length },
installation: { samePayloadQaCases: 7, productSetupStaged: true, productSetupSha256: release.installer.sha256, qaSetupSha256: install.installer.sha256, qaAppId: install.installer.qaFixture.appId },
actualIPhone: { device: nativePhone.device, userConfirmedNativeFlows: true, originalHostAuditProcessFilesVerified: true, phoneScreenshotsProvided: false, evidence: 'docs/mobile-companion-real-iphone-validation.json', qaGatewayDisabledAfterAcceptance: true, qaManagementRetained: true, qaPhonePortReleased: 4321 },
deployed: { pid: formal.identity.pid, runtimeRoot: formal.candidate, installRoot: formal.installRoot, dataRoot: formal.dataRoot, counts: formal.counts, modelConnections: actual.modelCenter.connections.length, modelPools: actual.modelCenter.pools.length,
hasKey: actual.hasKey, currentProviderPreserved: true, originalStateRetained: formal.retained, inspectorClosed: true, companion: formal.companion },
formalUiViews: smoke.results.length, formalNativeWindow: { observed: true, hostPid: 36552, version: '1.16.0', phoneConnectionEntry: true, evidence: '.qa/companion-corrected-formal-native.json' }, allArtifacts: { records: artifacts.total, checked: artifacts.checked, blobFiles: artifacts.blobFiles, pages: artifacts.pages.length },
antecedents, evidenceManifest: directory + '/manifest.json', realModelRequests: 0, fullMilestoneComplete: true,
artifactDocumentation: 'Package documentation is the immutable build-time snapshot. Final owner-repository QA/identity and detached ACCEPTANCE notes record post-validation acceptance without rewriting setup or ZIP payloads.',
limitations: ['real model engineering and Purge reasoning benefit deferred separately', 'native device flow observed through explicit user feedback plus original host audit; model/OS version user-provided', 'formal gateway remains disabled; QA certificate/device identities are not migrated', 'native iOS app and public-network access outside this milestone', 'long custom installer paths and full validation latency remain recorded follow-ups'],
scope: 'Final immutable 1.16 independently extracted source, portable runtime, same-payload QA install/restart/uninstall, real product installer staged at formal installation, original PID/Provider and every persistent row/session/export/artifact retained through one handler upgrade and pointer activation. Real iPhone acceptance is independently sourced.' };
for (const { row, bytes } of queued) assert.equal(hash(fs.readFileSync(row.original)), row.sha256, row.original + ' changed during seal.');
fs.mkdirSync(directory); fs.writeFileSync(directory + '/.gitattributes', '* -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol\n*.txt binary\n*.log binary\n*.tap binary\n', { flag: 'wx' });
for (const { row, bytes } of queued) { fs.writeFileSync(row.archived, bytes, { flag: 'wx' }); assert.equal(hash(fs.readFileSync(row.archived)), row.sha256); }
const manifest = { success: true, schema: 1, at: new Date().toISOString(), records: queued.map(item => item.row), byteCopies: queued.length, appendCompletions, credentialsArchived: false, codeCommit: baseline.codeCommit };
fs.writeFileSync(directory + '/manifest.json', JSON.stringify(manifest, null, 2) + '\n', { flag: 'wx' });
fs.writeFileSync('docs/mobile-companion-release-identity.json', JSON.stringify(identity, null, 2) + '\n', { flag: 'wx' });
console.log(JSON.stringify({ success: true, files: queued.length, tests: source.tests, formalUiViews: smoke.results.length, pid: formal.identity.pid, identity: 'docs/mobile-companion-release-identity.json' }));
@@ -0,0 +1,106 @@
#define PortableRoot "D:\Ai-project\REA逆向\Agent-Workbench\releases\Agent-Workbench-1.16.0-win-x64-20261031114604110"
#define OutputRoot "D:\Ai-project\REA逆向\Agent-Workbench\releases"
#define OutputName "Agent-Workbench-1.16.0-win-x64-20261031114604110-Setup"
#define Version "1.16.0"
#define VersionDirectory "Agent-Workbench-1.16.0-win-x64-20261031114604110"
[Setup]
AppId={{E914E883-46F9-4B82-B27F-BDB2B40DCC90}
AppName=Agent Workbench
AppVersion={#Version}
DefaultDirName={localappdata}\Programs\AgentWorkbench
DefaultGroupName=Agent Workbench
PrivilegesRequired=lowest
ArchitecturesAllowed=x64compatible
ArchitecturesInstallIn64BitMode=x64compatible
DisableProgramGroupPage=yes
UsePreviousAppDir=yes
OutputDir={#OutputRoot}
OutputBaseFilename={#OutputName}
SetupIconFile={#PortableRoot}\public\workbench-icon.ico
UninstallDisplayIcon={app}\AgentWorkbench.exe
Compression=lzma2/fast
SolidCompression=yes
CloseApplications=no
RestartApplications=no
ChangesAssociations=no
WizardStyle=modern
Uninstallable=yes
[Files]
Source: "{#PortableRoot}\runtime\node.exe"; DestName: "awb-install-node.exe"; Flags: dontcopy
Source: "{#PortableRoot}\dist-server\install-manager.mjs"; DestName: "awb-install-manager.mjs"; Flags: dontcopy
Source: "{#PortableRoot}\*"; DestDir: "{app}\versions\{#VersionDirectory}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#PortableRoot}\AgentWorkbench.exe"; DestDir: "{app}"; Flags: onlyifdoesntexist
[Icons]
Name: "{group}\Agent Workbench"; Filename: "{app}\AgentWorkbench.exe"
Name: "{userdesktop}\Agent Workbench"; Filename: "{app}\AgentWorkbench.exe"; Tasks: desktopicon
[Tasks]
Name: "desktopicon"; Description: "创建桌面快捷方式"; Flags: unchecked
[Run]
Filename: "{app}\AgentWorkbench.exe"; Description: "打开 Agent Workbench"; Flags: nowait postinstall skipifsilent; Check: WasActivated
[Code]
var DataRoot: String; Port: String; StageOnly: Boolean; Activated: Boolean; ActivationFailed: Boolean;
function Quoted(Value: String): String;
begin
if (Pos('"', Value) > 0) or (Pos(#13, Value) > 0) or (Pos(#10, Value) > 0) then RaiseException('安装路径无效。');
Result := '"' + Value + '"';
end;
procedure LoadOptions;
begin
DataRoot := ExpandConstant('{param:DATA_ROOT|{localappdata}\AgentWorkbench}');
Port := ExpandConstant('{param:PORT|4318}');
StageOnly := ExpandConstant('{param:STAGE_ONLY|0}') = '1';
end;
function RunManager(Command: String; Candidate: Boolean): Boolean;
var Parameters: String; ExitCode: Integer;
begin
Parameters := Quoted(ExpandConstant('{tmp}\awb-install-manager.mjs')) + ' ' + Command +
' --install-root ' + Quoted(ExpandConstant('{app}')) + ' --data-root ' + Quoted(DataRoot) + ' --port ' + Quoted(Port);
if Candidate then Parameters := Parameters + ' --candidate-root ' + Quoted(ExpandConstant('{app}\versions\{#VersionDirectory}'));
if StageOnly then Parameters := Parameters + ' --stage-only';
Result := Exec(ExpandConstant('{tmp}\awb-install-node.exe'), Parameters, ExpandConstant('{tmp}'), SW_HIDE, ewWaitUntilTerminated, ExitCode) and (ExitCode = 0);
end;
function PrepareToInstall(var NeedsRestart: Boolean): String;
begin
LoadOptions;
ExtractTemporaryFile('awb-install-node.exe'); ExtractTemporaryFile('awb-install-manager.mjs');
if DirExists(ExpandConstant('{app}\versions\{#VersionDirectory}')) then begin
Result := '该独立版本目录已经存在。请保留原版本,使用新的安装候选。'; exit;
end;
if not RunManager('preflight', False) then Result := '安装预检未通过。请等待任务、审批与工具结束并关闭桌面窗口,保留后台执行宿主及原数据;端口和安装身份仍需核对。';
end;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssPostInstall then begin
ActivationFailed := True;
if not RunManager('activate', True) then RaiseException('候选激活失败;已尝试恢复原安装指针和执行宿主。请保留 .installation 操作收据核对结果。');
ActivationFailed := False;
Activated := not StageOnly;
end;
end;
function GetCustomSetupExitCode: Integer;
begin
if ActivationFailed then Result := 8 else Result := 0;
end;
function WasActivated: Boolean;
begin Result := Activated; end;
function InitializeUninstall: Boolean;
var ExitCode: Integer;
begin
{ The native bootstrap verifies the entire registered immutable release before
invoking its fixed uninstall manager. No installed script is executed first. }
Result := Exec(ExpandConstant('{app}\AgentWorkbench.exe'), '--hidden-window --uninstall-preflight', ExpandConstant('{app}'), SW_HIDE, ewWaitUntilTerminated, ExitCode) and (ExitCode = 0);
if not Result then MsgBox('卸载预检未通过。请先关闭桌面窗口并等待活动结束;原程序和用户数据保留。', mbError, MB_OK);
end;

Some files were not shown because too many files have changed in this diff Show More