docs: seal 1.13 release, preserved deployment and milestone retrospective

This commit is contained in:
Agent Workbench Dev
2026-10-31 03:56:31 +08:00
parent 24b8341ad5
commit 60b63bc70f
26 changed files with 3386 additions and 30 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
- 2026-10-31完成1.12.1里程碑审查及五类确认问题修复,实现7b1f529、分支feat/milestone-audit-1.12.1;371/371独立源码、150组UI、最终归档/便携与保留状态正式升级通过,见docs/QA-1.12.1.md和docs/MILESTONE-AUDIT.md。当前正式PID23172/Provider、2连接/1池及升级时16项目/27全部会话/2523记录/4510事件每行和全导出保持;历史PID19084不作为当前进程。后续实际身份和数据重新核对,不套用历史计数。NEXT-STEPS已记录隔离worker起点及各能力真实验收标准,本轮未开启后续新功能;真实模型工程验收继续按用户选择暂缓。
- 本仓库已启用本地Git,v1.0.0-baseline为已验证基线;各切片使用具体开发分支,1.12交付位于feat/model-center-1.12。
- 1.13源码已实现两个受限worker、当前成果/冲突与父工程审查、停止恢复和累计预算,代码e1a2661及QA补强91cdd45位于feat/isolated-workers-1.13。新三工程13节点、父8/8/9/9/10/10、React两视口各10断言及完整UI21类160组通过;首独立源码403/404被拒绝并保留原日志,新独立源码/便携和正式升级待验,不提前登记交付。后续受控引擎/Purge方案见docs/PLAN-1.14.md,真实模型工程继续暂缓。
- 1.13已交付两个受限worker、当前成果/冲突与父工程审查、停止恢复和累计预算,代码e1a2661及QA补强91cdd45位于feat/isolated-workers-1.13。新三工程13节点、父Node8/8/React9/9/Python10/10、React两视口各10断言、完整UI21类160组与独立404/404通过;最终不可变20261030193314594归档/便携及正式1.13.0升级通过。原PID23172/Provider、2连接/1池/6既有请求摘要及最新16项目/28会话/2551记录/4568事件每行/全导出保持,部署后10页通过。原403/404失败保留;下一阶段docs/PLAN-1.14.md受控引擎/Purge未实现,真实模型工程继续暂缓。
- 用户授权后续按可审查小步本地提交。每个独立实现/修复/规划改动通过相关检查后,检查diff并提交,报告commit与结果;只读且无变化时不做空提交。
- 常规后续提交只暂存本次修改范围;保留其他人/用户的已有改动。
- 实验使用具体任务分支/worktree,合并前验证;不要用破坏性reset/clean丢弃工作。
+1 -1
View File
@@ -6,7 +6,7 @@
- 父任务停止等待所属请求和检查进程树,迟到/未知用量纳入累计预算,续接保持原总时限;宿主退出后先核对原记录与现场,不重放工具或补造成功。
- 归集原文件、检查日志与来源链,显示重叠路径/父已有修改冲突;父工程使用新封存变更集,重新检查和本地Git后才能完成。
- 桌面和390px协作控制台可处理子审查、父合并、停止及显式恢复,历史迟到错误按原记录隔离。[三功能样本](benchmarks/workers-delivery-v1/README.md)分别验证Node/React/Python,真实模型语义独立待验。最终结果见[1.13验收](docs/QA-1.13.md)。
- 独立源码404/404、完整UI21类160组和三工程13节点通过;原失败日志保持,修正后的宿主崩溃实际心跳及资源清理也在新完整回归通过。安装与正式升级按1.13验收记录单独判定。
- 独立源码404/404、完整UI21类160组、三工程13节点与最终归档/便携通过;正式4318保持原PID/Provider、2连接/1池及最新28会话全部历史升级,部署后10页只读验收通过。原失败日志保持,修正后的实际心跳/资源清理在新完整回归通过;真实模型语义独立待验。
## 1.12.1 · 2026-10-30
+1 -1
View File
@@ -2,7 +2,7 @@
Agent Workbench 将 Claude Code 与 Cursor 的机制研究整合为独立的本地 AI 编程工作台,并内置模型池、项目记忆、Skills/MCP、REA 工件研究、本地DeepSeek Harness连接核验、实际页面验收和有依赖的执行计划。工程索引、精确补丁、多文件整批审查、Node/Python实际检查、浏览器交互、本地Git提交及交付报告可以在同一个Task中完成。
1.13.0新增[隔离协作](docs/WORKERS.md):父目标与两个受限Git工作区、累计预算/停止恢复、当前成果核对、具体冲突和父工程审查/检查/Git交付。独立源码404/404、完整界面21类160组与三个真实功能工程通过,父Node8/8、React9/9、Python10/10及构建/编译/Git,React内置Edge两视口各10项断言。实际安装/服务版本以页面和[1.13验收与部署记录](docs/QA-1.13.md)为准。
1.13.0已本地交付[隔离协作](docs/WORKERS.md):父目标与两个受限Git工作区、累计预算/停止恢复、当前成果核对、具体冲突和父工程审查/检查/Git交付。独立源码404/404、完整界面21类160组与三个真实功能工程通过,父Node8/8、React9/9、Python10/10及构建/编译/Git,React内置Edge两视口各10项断言。正式[本地工作台](http://127.0.0.1:4318/?release=1.13.0)已保持原进程/模型连接/全部历史升级,验收与部署见[QA-1.13](docs/QA-1.13.md)。
模型中心支持多连接、轮询/权重、故障冷却与请求账本,并可预览导入已验证的CCSwitch/工作台配置。项目记忆按来源复核后进入有界上下文;任务检查点保留全部要求和原工具结果;Skills按版本读取,MCP按实际契约和逐次确认执行。运行中心提供不发送模型请求的本地巡检,发行验收与限制见[1.12记录](docs/QA-1.12.md)。
+7 -7
View File
@@ -4,7 +4,7 @@
总体方案见 [PRODUCT-PLAN.md](PRODUCT-PLAN.md),研究问题与来源见 [RESEARCH-ROADMAP.md](RESEARCH-ROADMAP.md)。
2026-10-31当前交付基线为1.12.1:完成逐里程碑/24项能力审查及五类确认问题修复,371/371独立源码、150组UI、最终源码/便携和保留状态正式升级通过;当前PID23172、完整模型中心与全部历史保持。详见[审查](MILESTONE-AUDIT.md)和[1.12.1验收](QA-1.12.1.md)。下列各版本数字保留为历史证据,下一切片与尚未交付范围统一见[NEXT-STEPS](NEXT-STEPS.md)。
2026-10-31当前交付基线为1.13.0:1.12.1逐里程碑/24项能力审查与五类确认问题修复保持,本阶段两个受限worker、父成果审查/恢复、独立404/404、完整160组UI、三工程13节点与最终源码/便携正式升级通过。原PID23172/Provider、完整模型中心及最新16项目/28会话/2551记录/4568事件每行和全导出保持,部署后10页通过,见[1.13验收](QA-1.13.md)和[回顾](RETROSPECTIVE-1.13.md)。各版本旧数字保留为历史证据,下一切片与未交付范围统一见[NEXT-STEPS](NEXT-STEPS.md)。
[1.12执行方案](PLAN-1.12.md)的连接注册/专业界面、模型池、已验证格式导入、运行巡检及后续记忆、恢复、Skills/MCP切片已随1.12.0正式部署;独立源码357/357、完整界面150组及保留状态升级通过。跨协议、多模态及未知配置格式仍按各自边界实现与验收。
@@ -18,11 +18,11 @@
## 2. 能力矩阵
### 1.13 隔离协作(源码实现完成,最终发行验收中)
### 1.13 隔离协作(本地交付与正式升级完成)
- C01/C02/C09/C16:固定父目标和两个受限子Task、稳定控制Run、独立Git工作区及不可变范围。子成果必须来自实际已应用文件和当前检查;父工程以新的审查变更集、当前检查和本地Git完成。
- C04/C07/C10/C15:累计父子预算、迟到/未知用量、停止传播、原创建身份进程树和部分创建/归集恢复;存活或观察失败保持未知,已完成操作不重放。具体重叠与父已有修改冲突阻止合并。
- 桌面/390px控制台10节点、三个真实功能工程13节点已通过,父Node8/8、React9/9、Python10/10及构建/编译/Git;React内置Edge两视口各10项实际断言。固定Provider夹具与真实模型推理分别判定,最终独立发行以[QA-1.13](QA-1.13.md)为准;尚未计为正式服务交付。
- 桌面/390px控制台10节点、三个真实功能工程13节点、父Node8/8/React9/9/Python10/10及构建/编译/Git通过,React内置Edge两视口各10断言;独立404项、完整160组UI、最终归档/便携与保留状态正式升级通过。固定Provider夹具与真实模型推理分别判定,见[QA-1.13](QA-1.13.md)。
### 1.12 完整发行与正式升级(见QA-1.12)
@@ -124,15 +124,15 @@
| C05 长期项目记忆 | 项目持久记忆、来源/工程指纹、到期/归档、不完整扫描降级、脱敏请求快照与Task恢复包已交付 | 自动提取/归并、更长任务恢复与真实模型收益继续验收 | CC-2、WB-1 / context、storage / M4 | 长任务压缩/重启后完成标准不丢;过期代码事实被更新或标记 |
| C06 工具、Skills与MCP | 自有工程工具、固定REA、版本化本地Skills和项目所属受控stdio MCP已交付;远程MCP/任意插件安装待做 | 远程MCP、更多实际协议及插件安装/调用有来源和范围 | CC-1、CU-1、WB-2 / tools / M3 | 未知工具、错误参数、工具失联有原调用身份;新工具可按契约接入 |
| C07 执行控制 | 项目路径/原字节、逐次命令审批、预算、所属活动准入、停止和unknown门控已交付;OS沙箱与远程设备权限待做 | 操作范围、授权记录、预算、进程所有权、并发准入和取消传播;沿用用户已授权的范围 | CC-1、CU-1、DS-1 / tools、tasks / M1–M4 | 过期授权不能用于新Run;停止只处理所属任务;修改后的输入重新校验 |
| C08 精确编辑与多文件变更 | 精确文本patch、创建/修改、封存多文件变更集与逐文件恢复已交付;1.13候选增加两个子成果到父工程的来源复核/文本审查合并;改名/删除及任意自动合并待做,跨文件非原子 | patch、创建/改名/删除、多文件ChangeSet、基线校验、隔离应用与可恢复合并 | CU-2 / workspaces / M2 | 跨4文件修改保留无关内容;外部改动引起冲突;部分失败有明确状态 |
| C09 用户工程Git | 用户工程Git预览/所属提交、私有索引、独立worktree及原修改保护已交付;1.13候选增加父子成果复核、冲突拒绝与父工程审查/检查/Git;任意自动合并/归档待做 | 仓库/dirty状态、基线、任务分支/worktree、diff、审查后提交与合并 | CX-1、CU-3、DS-3 / workspaces / M2 | 保留用户已有修改;每个交付可定位commit;冲突合并可审查 |
| C08 精确编辑与多文件变更 | 精确文本patch、创建/修改、封存多文件变更集与逐文件恢复已交付;1.13增加两个子成果到父工程的来源复核/文本审查合并;改名/删除及任意自动合并待做,跨文件非原子 | patch、创建/改名/删除、多文件ChangeSet、基线校验、隔离应用与可恢复合并 | CU-2 / workspaces / M2 | 跨4文件修改保留无关内容;外部改动引起冲突;部分失败有明确状态 |
| C09 用户工程Git | 用户工程Git预览/所属提交、私有索引、独立worktree及原修改保护已交付;1.13增加父子成果复核、冲突拒绝与父工程审查/检查/Git;任意自动合并/归档待做 | 仓库/dirty状态、基线、任务分支/worktree、diff、审查后提交与合并 | CX-1、CU-3、DS-3 / workspaces / M2 | 保留用户已有修改;每个交付可定位commit;冲突合并可审查 |
| C10 长命令与开发服务 | 终端60秒/有界输出;工程检查、REA/MCP/引擎/浏览器有所属job、原工件/退出与停止;后台开发服务待做 | 持久job、完整日志工件、心跳/退出码/超时、后台开发服务及所属进程树 | DS-3、CU-3 / tools、artifacts / M2 | 超过60秒的检查可观察和停止;失联结果标未知;重启不擅自再运行 |
| C11 真实检查与TestRunner | 实际Node/React/Python检查计划、测试数量/退出码/原日志、源码/范围绑定已交付;零测试/跳过不能算通过 | 识别真实项目检查;计划绑定planId,执行返回jobId;保存退出码、测试数和报告 | DS-3 / tools / M2 | 构建失败、零测试、拒绝/取消均不算通过;结果绑定相同工作区与ChangeSet |
| C12 修复与代码审查 | 实际失败反馈、有界修改/修复、无进展暂停、审查/Git门槛已交付;独立多模型复核与稳定自主完成率待验 | 从真实失败定位并有限轮修复;核对需求、diff、回归与风险;保留失败历史 | CX-1、DS-3 / tasks、workspaces / M2–M4 | 能复现的失败先出现再修复;实际重跑通过;审查不能用“模型说成功”代替 |
| C13 可交付成果 | Task所属diff/Git/检查/浏览器原工件与交付报告已交付;完整真实任务基准与专业交付指标待做 | 需求与结果对应、diff/commit、测试报告、运行方法、限制与工件引用 | WB-1 / artifacts / M2–M6 | 用户按交付说明能启动并验证;报告与实际文件、检查及commit一致 |
| C14 模型协议与路由 | 多连接兼容Chat协议池、Run固定路由、轮询/权重/租约/冷却、已验证格式导入已交付;stream:false,多协议/多模态待做 | ModelProvider能力探测、流式文本/工具参数、模型配置快照、按任务角色路由与可解释回退 | CX-2、DS-1 / models / M1、M3 | 支持/不支持的工具/流式能力可见;Run绑定实际模型;故障不串结果或重放工具 |
| C15 预算与用量 | 完整请求预检、Run/Task累计预算与unknown usage已交付;1.13候选增加父总预算/两个子分配、累计步数/token/工具/时限、迟到和未知请求保守记账;价格与实际费用待做 | 时间、token、费用、步骤、重试与worker总预算;无进展检测;可配置价格与未知usage标记 | CC-2、DS-2 / models、tasks / M1–M4 | 子任务/重试纳入总预算;耗尽时保存检查点;缺失usage不伪造准确费用 |
| C16 多代理协作 | 1.13候选已实现两个受限worker、独立worktree、父子累计预算/停止恢复、当前成果与具体冲突、父工程审查合并;独立完整发行验收中,任意规模/OS沙箱待做 | 独立问题分工、上下文/预算隔离、独立worktree、结果与证据汇总、冲突合并 | CC-1、CU-3、DS-2、WB-1 / tasks、workspaces / M4 | 两个独立任务并行完成可合并;重叠编辑被发现;父任务停止可传播 |
| C15 预算与用量 | 完整请求预检、Run/Task累计预算与unknown usage已交付;1.13增加父总预算/两个子分配、累计步数/token/工具/时限、迟到和未知请求保守记账;价格与实际费用待做 | 时间、token、费用、步骤、重试与worker总预算;无进展检测;可配置价格与未知usage标记 | CC-2、DS-2 / models、tasks / M1–M4 | 子任务/重试纳入总预算;耗尽时保存检查点;缺失usage不伪造准确费用 |
| C16 多代理协作 | 1.13已交付两个受限worker、独立worktree、父子累计预算/停止恢复、当前成果与具体冲突、父工程审查合并;任意规模/OS沙箱待做 | 独立问题分工、上下文/预算隔离、独立worktree、结果与证据汇总、冲突合并 | CC-1、CU-3、DS-2、WB-1 / tasks、workspaces / M4 | 两个独立任务并行完成可合并;重叠编辑被发现;父任务停止可传播 |
| C17 REA能力研究 | 固定REA6.8.0的ASAR/PE三项静态操作、所属job/目标SHA256/原Evidence已交付;其余工具与运行trace待做 | 目标清单、版本/hash、inventory/analyze/trace、分析job、Evidence查看与研究结论登记 | 全部目标 / tools、artifacts / M3 | 从能力结论能追到确切工件与Evidence;静态/运行证据和未知范围分别显示 |
| C18 Purge增强实验 | DSH-purge来源/机制研究已登记,未集成工程执行或验证收益;兼容组合与同题对照待做 | 独立实验profile、兼容版本、策略分类、开关/回退和同题对照;有效机制按接口采纳 | PG-1 / engines、models、tasks / M3 | 同模型/任务/预算重复比较成功率、成本与错误修改;插件失效可恢复基线 |
| C19 外部代理引擎 | 固定DeepSeek0.2.1-rc.2的六方法连接/所属进程/原协议已交付;Codex适配及引擎prompt/工程写入待做 | EngineAdapter管理握手、会话/进程、事件、停止/恢复和真实能力限制 | CX-2、DS-1 / engines / M3 | 引擎事件有Task/Run映射;协议缺失能力明确;root idle不直接判工程完成 |
+3 -3
View File
@@ -1,6 +1,6 @@
# 后续执行计划
更新:2026-10-31。当前正式交付基线为1.12.1,[里程碑审查](MILESTONE-AUDIT.md)及补丁独立/便携/保留状态验收已完成。1.13隔离协作实现与三个真实功能工程已完成,正在完成最终独立源码、完整界面和保留状态发行。之后按[1.14方案](PLAN-1.14.md)推进受控外部引擎与DSH-purge对照;真实模型工程验收仍按用户选择暂缓。历史研究、局部测试与连接核验不能代替真实工程交付。其他项目不进入本计划。
更新:2026-10-31。当前正式交付基线为1.13.0,[1.12.1里程碑审查](MILESTONE-AUDIT.md)及本阶段隔离协作、独立源码404/404、完整UI21类160组、三工程13节点、最终归档/便携和保留状态升级已完成。原PID23172/Provider、模型中心及最新16项目/28会话/2551记录/4568事件每行和全部导出保持,部署后10页通过。下一阶段按[1.14方案](PLAN-1.14.md)推进受控外部引擎与DSH-purge对照;真实模型工程验收仍按用户选择暂缓。历史研究、局部测试与连接核验不能代替真实工程交付。其他项目不进入本计划。
产品目标是让用户给出需求后,工作台能保留项目基线,完成定位、计划、修改、检查、必要修复、审查和Git交付,并在停止、故障、断线后明确保留已完成结果。桌面与手机共享同一执行宿主、任务和证据。
@@ -9,7 +9,7 @@
| 顺序 | 开发范围 | 前置条件 | 完成标准 |
| --- | --- | --- | --- |
| 0:审查闭环(完成) | 对照1.0–1.12计划/模块/原报告;修复确认问题;补丁发行及安装失败回退核验 | 保留旧发行、历史失败和正式服务连接 | 1.12.1独立371项、150组UI、实际旧进程/页面8组、最终便携/归档及部署后8页通过;当前PID23172/Provider、完整模型中心与四表每行/全部会话导出保持;未完成能力明确登记 |
| 1:隔离执行与多worker(实现完成,发行验收中) | 父任务拆分、两个所属worker、独立worktree、累计预算、停止恢复、成果归集、具体冲突及父工程审查 | 当前Task/Run、工作区、计划和未知结果恢复契约 | 三工程13节点、父Node8/8、React9/9、Python10/10与构建/编译/Git已通过,React两视口各10项真实断言;最终完整源码/UI/便携及保留正式状态升级仍须通过,见QA-1.13 |
| 1:隔离执行与多worker(完成) | 父任务拆分、两个所属worker、独立worktree、累计预算、停止恢复、成果归集、具体冲突及父工程审查 | 当前Task/Run、工作区、计划和未知结果恢复契约 | 三工程13节点、父Node8/8、React9/9、Python10/10与构建/编译/Git、React两视口各10断言、独立404项、160组UI、最终归档/便携与保留状态升级通过,见QA-1.13 |
| 2:引擎执行与增强对照 | 固定版本的Codex/DeepSeek适配、受控工具桥;Claude Code/Cursor/WorkBuddy机制研究;DSH-purge实验 | 外部SDK的实际审批、取消、写入与事件契约;阶段1隔离工作区 | 引擎能完成一个指定工程任务,原输入、工具与结果可追溯;Purge按同模型、同题、同预算进行有/无插件对照,记录失败和人工介入;仅采纳有证据的机制 |
| 3:Windows桌面 | 单实例、后台宿主、项目/终端/审查入口、安装包与保留数据更新 | 宿主与客户端生命周期拆分;本机凭据加密;稳定迁移契约 | 关闭/重开窗口不丢任务;重复启动复用宿主;安装/升级/卸载的数据行为可核验;崩溃后显式恢复;旧版本可回退 |
| 4:手机伴随端 | PWA、一次性配对、设备身份、撤销、同Run观察/审批、断线游标补发 | 设备认证、加密传输、审批身份/幂等、速率限制;阶段3宿主 | 在真实手机完成配对和撤销;断线后按seq恢复;旧Run/过期/重复审批拒绝;手机和桌面显示同一结果;手机不直接执行宿主文件与命令 |
@@ -28,7 +28,7 @@
4. 归集diff/测试/报告,校验来源与基线;分离修改可审查合并,重叠修改显示具体文件与冲突,不覆盖父工程。
5. 使用Node、React、Python各一个固定工程任务,验证正常、测试失败后修复、冲突、停止、宿主退出和恢复。真实模型语义验收待用户在工作台配置后单独执行。
当前实际实现和原失败/通过分别见[隔离协作](WORKERS.md)、[1.13验收](QA-1.13.md)与[阶段回顾](RETROSPECTIVE-1.13.md)。首个完整源码候选403/404被拒绝,修正后的崩溃专项1/1不与原轮拼接,最终以新独立完整结果判定。
当前实际实现和原失败/通过分别见[隔离协作](WORKERS.md)、[1.13验收](QA-1.13.md)与[阶段回顾](RETROSPECTIVE-1.13.md)。首个完整源码候选403/404被拒绝,修正后的专项不与原轮拼接;新独立整轮404/404及最终发行通过,原失败保持。
## 下一开发切片:受控外部引擎
+2
View File
@@ -29,6 +29,8 @@
每个切片都记录计划、实际实现、原失败/通过证据、仍未知事项及commit。只有引擎原协议和真实工具链都得到核验,才把相关能力标为可用。
界面切片同时完善1.13回顾发现的窄屏标题栏:短操作文案单行、固定最小触控宽度、长标题换行且不挤压刷新/停止入口,并用真实390px交互和截图复验。
## 实际工程评测
沿用固定Node/React/Python基准,需求、原测试、受保护文件及预算在运行前冻结。评测记录完成率、检查/页面通过情况、人工操作次数、失败分类、耗时、已报告与估算用量、实际Git变化;零测试、失败构建或无原工件不计成功。增加停止、来源变化、迟到响应、宿主退出、预算耗尽和旧审批场景,保留每一次原结果。
+1 -1
View File
@@ -1,6 +1,6 @@
# Agent Workbench 后续产品与执行开发方案
更新:2026-10-31。本文保留完整产品规划。当前正式基线1.12.1已完成[里程碑审查](MILESTONE-AUDIT.md)、五类确认问题修复、371/371独立源码、150组UI及保留状态升级;1.13已实现两个受限worker、累计预算/停止恢复、来源复核/冲突及父工程审查合并,三个真实功能工程已通过,完整独立发行正在验收。之后按[1.14方案](PLAN-1.14.md)进入受控外部引擎与DSH-purge对照,再按[后续计划](NEXT-STEPS.md)推进桌面/手机和其余能力。真实模型工程验收继续按用户选择暂缓;实际实现、验收与部署分别见[能力矩阵](CAPABILITIES.md)及[验证记录](VALIDATION.md)。
更新:2026-10-31。本文保留完整产品规划。1.12.1[里程碑审查](MILESTONE-AUDIT.md)与五类确认问题修复保持;当前正式基线1.13.0已交付两个受限worker、累计预算/停止恢复、来源复核/冲突和父工程审查合并,独立404/404、完整160组UI、三工程13节点及最终归档/便携/保留状态升级通过。原Provider/PID、模型中心与最新28会话全部历史保持。下一阶段按[1.14方案](PLAN-1.14.md)进入受控外部引擎与DSH-purge对照,再按[后续计划](NEXT-STEPS.md)推进桌面/手机和其余能力。真实模型工程验收继续按用户选择暂缓;实际实现、验收与部署分别见[能力矩阵](CAPABILITIES.md)及[验证记录](VALIDATION.md)。
## 1. 产品目标
+11 -3
View File
@@ -1,6 +1,6 @@
# 1.13 验收与发行记录
2026-10-31。新独立源码404/404、完整UI21类160组及三工程13节点通过。最终便携运行与保留正式状态升级待验,正式服务仍为不可变1.12.1。以下保留各切片和原失败,不将夹具成功计为真实模型推理或自主完成率。
2026-10-31。1.13.0已由新不可变发行20261030193314594升级至正式4318,保持原PID23172、Provider和模型中心。独立源码404/404、完整UI21类160组、三工程13节点及最终归档/便携通过;升级前最新16项目/28会话/2551记录/4568事件每行及全部会话导出保持,部署后10个桌面/390px只读页面通过。以下保留各切片和原失败,真实模型推理与自主完成率按用户选择单独待验。
## 切片一:父子记录与受限执行
@@ -38,10 +38,18 @@ QA补强91cdd45后重新冻结232份输入、6份构建及40份基准,三个
随后串行完整UI21类160组全部通过,0页面异常/请求失败,原报告和21份日志副本以workers-all-ui-validation及workers-final-ui-logs封存。新控制台c4ae46be桌面/390px截图已目视核对,通道/预算/范围/父审查与具体冲突清楚,窄屏无横向溢出。全程源码与构建冻结,正式4318不参与夹具;下一步新不可变源码/便携及保留状态正式升级,不复用修正前候选来宣称最终通过。
## 新独立源码通过,最终安装验收待完成
## 新独立源码与最终安装验收完成
新候选20261030190844003归档通过:便携11232/源码9532文件,独立解压至D:/awb/source-check-ab4af9d650d0426ba58562fe29927139。使用固定Node24.22.1、Python3.10.11/pytest8.4.2,离线安装及6份构建、随包REA三操作、实际DeepSeek六方法探针和Edge两视口通过;完整TAP404/404,0失败/取消/跳过/todo。此前失败的第354项在这一整轮也通过,不能与旧403/404轮拼接。
232份源码输入与冻结基线全程一致,40份基准保持;原报告、完整TAP及五份阶段日志保存为workers-source-*。原403/404候选与每一轮界面/工程失败保留;最终包只补证据与文档,不改测试过的代码或运行包。
待完成:最终不可变便携运行与保留正式状态发行。正式服务升级前重新读取实际PID、公开模型中心和全部历史;原Provider/Key不复制,数据库四表每行及全部会话导出升级后逐项复核,本轮0真实模型请求。
最终不可变发行20261030193314594只补文档与原证据,便携11242/源码9542文件的CRC、清单、目录及ZIP SHA256全部通过。全部232份输入、6份构建与8815份实现/基准/原生资源与独立验收版本核对;REA-RUNTIME.json只有builtAt不同,其余字段/依赖散列一致。Git228份输入原字节匹配,4份历史未修改文件只有已登记的CRLF/LF差异;报告和原日志保留原字节,未扩大生产代码的换行例外。
实际便携包Node24.22.1启动/复用、命令审查、npm4/4、REA三操作、DeepSeek六方法探针、Edge桌面/390px与停止通过。原方法缺失仍按原错误保存,不宣称外部引擎工程执行或真实模型收益已完成。
正式服务升级前重新观察1.12.1/PID23172、无忙任务,2连接/1池;本轮保持原Provider对象及内存凭据升级1.13.0。最新16项目、28全部会话(20可见/8归档)、2551记录、4568事件每行和全部28份导出完全一致;公开模型中心2连接/1池/0导入来源/6既有请求摘要逐字段保持。旧27会话/2523记录/4510事件是1.12.1交付当时的历史计数,不套用本轮。9229已关闭,本轮0真实模型请求。
实际部署后的计划/模型中心/Skills/MCP/隔离协作共10个桌面/390px页面通过,0页面/请求/HTTP异常、0写入调用。模型中心1280与协作390截图已目视核对,面板、字段及操作在视口内;窄屏标题栏短文案/触控布局继续在1.14界面切片完善。不可变包保留打包时的文档快照,最终部署与原证据在本仓库docs中按包SHA绑定,运行包不改写。
最终来源、原日志/PNG、完整数据与报告索引见workers-release-identity;后续受控引擎与Purge对照见PLAN-1.14。当前仅两个受限worker、文本审查合并与应用层控制,OS沙箱、任意调度规模、桌面安装版、真实手机配对及真实模型自主工程成功率继续独立实现/验收。
+1 -1
View File
@@ -1,6 +1,6 @@
# REA与代理机制研究路线
更新:2026-10-31。本文记录研究与落地路线;1.8已将REA三项静态分析接入工作台,1.9已完成固定DeepSeek Harness六个SDK方法探针的连接核验,缺少session/cancel的方法错误保持原值。1.12.1[里程碑审查](MILESTONE-AUDIT.md)已完成,1.13隔离协作正在完成发行验收。五款客户端完整机制、受控外部引擎工程执行及Purge增强收益按[PLAN-1.14](PLAN-1.14.md)与[NEXT-STEPS](NEXT-STEPS.md)继续研究和实测。
更新:2026-10-31。本文记录研究与落地路线;1.8已将REA三项静态分析接入工作台,1.9已完成固定DeepSeek Harness六个SDK方法探针的连接核验,缺少session/cancel的方法错误保持原值。1.12.1[里程碑审查](MILESTONE-AUDIT.md)及1.13隔离协作的独立/便携/保留状态发行已完成。五款客户端完整机制、受控外部引擎工程执行及Purge增强收益按[PLAN-1.14](PLAN-1.14.md)与[NEXT-STEPS](NEXT-STEPS.md)继续研究和实测。
来源身份登记见 [research/targets.json](../research/targets.json)。产品目标见 [PRODUCT-PLAN.md](PRODUCT-PLAN.md),能力ID见 [CAPABILITIES.md](CAPABILITIES.md)。
+7 -2
View File
@@ -1,6 +1,6 @@
# 1.13 阶段回顾
2026-10-31。基线1.12.1的全部里程碑审查已完成,本阶段按NEXT-STEPS进入隔离协作。完整实现由1a847c1、2ada7b8和e1a2661分片本地提交;发行验收与部署状态以[QA-1.13](QA-1.13.md)和最终发行身份为准。尚未完成的验证不写成通过。
2026-10-31。基线1.12.1的全部里程碑审查已完成,本阶段按NEXT-STEPS完成隔离协作。1a847c1、2ada7b8和e1a2661实现核心,91cdd45强化真实崩溃夹具,be02e99/24b8341封存界面、工程与独立源码证据。新不可变发行20261030193314594已正式升级1.13.0并保留原Provider/PID和全部历史,实际结果见[QA-1.13](QA-1.13.md)与最终发行身份。
## 计划与实际
@@ -11,7 +11,8 @@
| 父成果/合并 | 当前源码、HEAD/index/config、提案链、原检查/用量核对;重叠/父已有修改显示具体冲突,应用前重新核对,父检查/Git完成后收尾 | 合并5项与HTTP、控制台原记录;三个父工程只提交审查过的文件 |
| 控制台 | 桌面/390px计划、两个真实通道、审批、原证据、冲突、停止和恢复,迟到历史错误不污染当前记录 | 10节点真实界面;原文案/异步弹窗等待及网络失败保留 |
| 功能工程 | Node父8/8、React父9/9、Python父10/10及构建/编译/Git;React内置Edge两视口各10项断言,原owner修改保持 | workers-projects-validation:13节点、原失败测试、9会话导出及完整自有工件 |
| 独立发行 | 232份输入/6构建/40基准保持;新独立源码404/404、全UI21类160组及三工程13节点通过,原403/404候选拒绝并保留;最终便携/升级待验 | source-package、code-baseline、final-ui-logs及QA-1.13 |
| 独立发行 | 232份输入/6构建/40基准保持;新独立源码404/404、全UI21类160组、三工程13节点、最终归档/便携及保留状态正式升级通过;原403/404拒绝并保留 | source-package、code-baseline、final-ui-logs、upgrade-live及QA-1.13 |
| 正式历史/连接 | 原PID23172/Provider、2连接/1池/6既有请求摘要与最新16项目/28会话/2551记录/4568事件每行/全部导出保持,部署后10页只读验收通过 | upgrade-live与deployed-ui;当前实际数量替代历史27会话的假设 |
## 已修复的关键问题
@@ -33,8 +34,12 @@ React统计在1280px内联数字/单位,在390px分行。最终按固定CSS分
首个独立源码403/404,宿主崩溃用例的清理钩子EPERM使候选拒绝。修正夹具为两个实际心跳PID均有原创建身份记录后再崩溃;资源清理采用onCleanup,先于目录删除,有界异步重试保留持久失败。停止与显式确认后原心跳不再变化的新增断言在专项1/1及当前新独立完整404/404轮都通过,原失败不改写,不将两轮拼为一次通过。
最终证据目录扫描把被Git忽略的workers-integrated-first.log也列为可提交报告,严格索引核对因此拒绝收尾。修正为引用既有原字节workers-integrated-first-log.txt,并记录原.log来源、字节数与SHA;115份报告、27份当前日志、1份历史日志映射及18张PNG分别核对,原文件与已验收的实现/发行包保持。后续证据清单按可提交副本封存,不能仅因文件存在就宣称已进入Git。
## 后续门槛
固定Provider夹具证明执行内核和真实工具链,不能证明模型推理或自主完成率。当前只有两个受限worker、文本合并与应用层隔离;OS沙箱、外部引擎工程写入、桌面壳、真实手机配对和大规模调度仍按[后续计划](NEXT-STEPS.md)推进。
390px标题较长时,刷新短文案会分行;实际按钮与无横向溢出已验证,下一界面切片收紧操作区最小触控宽度和短文案布局。界面局部细节、真实模型与外部引擎的未验范围继续登记,不把完整本地回归当作全产品已完成。
下一阶段按[PLAN-1.14](PLAN-1.14.md)的六切片固定外部引擎运行/审批/取消/写入契约,放在本阶段的独立工程中验收;DSH-purge需同模型、同题、同预算有/无插件对照。每个切片继续保存计划、实际实现、原失败/通过证据、本地Git和回顾,候选未通过完整验收不能升级正式服务。
+2 -2
View File
@@ -1,8 +1,8 @@
# Agent Workbench 验收记录
## 1.13 · 隔离协作独立源码与界面通过,安装验收进行中
## 1.13 · 隔离协作、独立发行与保留状态升级
父目标与两个受限worker、独立Git工作区、累计预算/停止恢复、来源复核/具体冲突、父工程审查/检查/Git已实现。新三功能工程13节点及父Node8/8、React9/9、Python10/10与构建/编译/Git通过,React内置Edge两视口各10项断言通过;完整UI21类160组通过,0页面/请求异常。91cdd45补强两份实际心跳PID归属和清理顺序,232份输入/6构建/40基准保持;新候选20261030190844003完整独立源码404/404、REA/DeepSeek/Edge及归档通过,首个403/404失败及六份原日志保留。最终便携与保留状态正式升级待验,本轮真实模型0请求。见[1.13验收](QA-1.13.md)、[回顾](RETROSPECTIVE-1.13.md)及[1.14计划](PLAN-1.14.md)。
父目标与两个受限worker、独立Git工作区、累计预算/停止恢复、来源复核/具体冲突及父工程审查/检查/Git已交付。三功能工程13节点、父Node8/8、React9/9、Python10/10与构建/编译/Git,React两视口各10项断言通过;完整UI21类160组及新独立源码404/404通过,232份输入/6构建/40基准保持。最终不可变发行20261030193314594便携11242/源码9542文件归档、实际Node/REA/DeepSeek/Edge与便携停止通过;正式4318保持原PID23172/Provider升级1.13.0,2连接/1池/6既有请求摘要、最新16项目/28全部会话/2551记录/4568事件每行和全部导出保持,部署后10个只读页面通过。原403/404及每次失败保留,本轮真实模型0请求。见[1.13验收](QA-1.13.md)、[回顾](RETROSPECTIVE-1.13.md)、[发行身份](workers-release-identity.json)与[1.14计划](PLAN-1.14.md)。
## 1.12.1 · 里程碑审查与确认问题修复
+4 -4
View File
@@ -1,14 +1,14 @@
{
"ready": true,
"url": "http://127.0.0.1:4318",
"version": "1.12.1",
"version": "1.13.0",
"mode": "compatible",
"model": "gpt-6.1-sol",
"hasKey": true,
"pid": 23172,
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.12.1-win-x64-20261030155712678",
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-win-x64-20261030193314594",
"originalAppRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.12.0-win-x64-20261030124454517",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\AgentWorkbench",
"installedAt": "2026-10-30T16:03:42.411Z",
"verification": "milestone-audit-upgrade-live-validation.json"
"installedAt": "2026-10-30T19:36:30.478Z",
"verification": "workers-upgrade-live-validation.json"
}
+24
View File
@@ -0,0 +1,24 @@
{
"success": true,
"version": "1.13.0",
"testedAt": "2026-10-30T19:34:18.906960+00:00",
"archives": [
{
"kind": "portable",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-win-x64-20261030193314594.zip",
"files": 11242,
"crcPassed": true,
"manifestAndDirectoryMatch": true,
"sha256": "caa1f15a0b1f7b1daf8d2924cb4650408530776cde9f47da4b02c4232eaf678d"
},
{
"kind": "source",
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-source-20261030193314594.zip",
"files": 9542,
"crcPassed": true,
"manifestAndDirectoryMatch": true,
"sha256": "349b0b8a98a6d4a2314f881c9afb8ffa6944cf3d7f0fdda3114bb5e5232e7e47"
}
],
"extractionRoot": null
}
+95
View File
@@ -0,0 +1,95 @@
{
"success": true,
"version": "1.13.0",
"pid": 23172,
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb",
"results": [
{
"width": 1280,
"height": 900,
"panel": "执行计划",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\plan-1280.png",
"screenshotSha256": "8c9fa1417a635587f5aa7e64d3c6b44200a9a6e5ae2672a45c11c9b4dbbfd0d8"
},
{
"width": 1280,
"height": 900,
"panel": "模型中心",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\model-center-1280.png",
"screenshotSha256": "d1301935f0bfe0d9d71f627c994952aa893d34e946eba3fe2be33410171b614f"
},
{
"width": 1280,
"height": 900,
"panel": "项目技能",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\skills-1280.png",
"screenshotSha256": "8735877215ba453ac9af6e196b3ed3bee0450dbfed5631ed57d00a57e06cedc1"
},
{
"width": 1280,
"height": 900,
"panel": "项目 MCP 工具",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\mcp-1280.png",
"screenshotSha256": "abc87581d846052b9755bd85c2a31457fdf7ac2f9ea7e0f5708ddd04293ca785"
},
{
"width": 1280,
"height": 900,
"panel": "隔离协作",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\workers-1280.png",
"screenshotSha256": "68bcd6b3676e3b3dfbe69028b7bd86f37b399a64572aff30878c641364872900"
},
{
"width": 390,
"height": 844,
"panel": "执行计划",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\plan-390.png",
"screenshotSha256": "57aa81dedb25bba9462cc6fe11305f9cda1a3ab4699de209a03d9dd80bd03717"
},
{
"width": 390,
"height": 844,
"panel": "模型中心",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\model-center-390.png",
"screenshotSha256": "51c69103146f0532ef53a050b3a96364f330317351adb1f249a5eb40142d903b"
},
{
"width": 390,
"height": 844,
"panel": "项目技能",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\skills-390.png",
"screenshotSha256": "f396265aa6db64061522e3a4ef0ec054701108c1e54cc3c131b4a8a475158c90"
},
{
"width": 390,
"height": 844,
"panel": "项目 MCP 工具",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\mcp-390.png",
"screenshotSha256": "ab43f9075eb6a29ff90d5583a955b0842507913188e046afc6fb088675c29ad2"
},
{
"width": 390,
"height": 844,
"panel": "隔离协作",
"readOnly": true,
"screenshot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployed-ui-4fc534f3-86ae-4796-be87-6a71a144d6cb\\workers-390.png",
"screenshotSha256": "929e1e7576734714be1ac81a5a773f13faeb93a9b907d14a0b4c466fd6d2a190"
}
],
"testedAt": "2026-10-30T19:36:33.322Z",
"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."
}
+76
View File
@@ -0,0 +1,76 @@
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', 'workers-deployed-ui-' + randomUUID());
fs.mkdirSync(directory);
const health = await (await fetch(base + '/api/health')).json();
const deployed = JSON.parse(fs.readFileSync('docs/workers-upgrade-live-validation.json', 'utf8'));
assert.equal(deployed.success, true); assert.equal(health.version, '1.13.0'); assert.equal(health.pid, deployed.pid);
const pageErrors = [], requestFailures = [], httpErrors = [], blockedWrites = [], results = [];
const record = { success: false, version: health.version, pid: health.pid, directory, results };
const browser = await chromium.launch({ channel: 'msedge', headless: true });
const screenshot = async (page, filename) => {
const file = path.join(directory, filename); await page.screenshot({ path: file, fullPage: true });
return { screenshot: file, screenshotSha256: createHash('sha256').update(fs.readFileSync(file)).digest('hex') };
};
try {
for (const [width, height] of [[1280, 900], [390, 844]]) {
const context = await browser.newContext({ viewport: { width, height }, reducedMotion: 'reduce' });
let closing = false;
try {
const page = await context.newPage();
page.on('pageerror', error => pageErrors.push(error.message));
page.on('requestfailed', request => { if (!closing) requestFailures.push({ url: request.url(), error: request.failure()?.errorText }); });
page.on('response', response => { if (response.status() >= 400) httpErrors.push({ url: response.url(), status: response.status() }); });
await page.route('**/api/**', route => {
if (!['GET', 'HEAD', 'OPTIONS'].includes(route.request().method())) {
blockedWrites.push({ method: route.request().method(), url: route.request().url() }); return route.abort();
}
return route.continue();
});
await Promise.all([page.waitForResponse(response => response.url().endsWith('/api/bootstrap') && response.status() === 200),
page.goto(base + '/?release=1.13.0', { waitUntil: 'domcontentloaded' })]);
await expect(page.locator('.connection small')).toHaveText('v1.13.0');
await expect(page.locator('.connection')).toContainText('本地服务已连接');
await page.getByRole('button', { name: '查看任务记录', exact: true }).click();
const plan = page.getByLabel('执行计划', { exact: true }); await expect(plan).toBeVisible();
await expect(plan).not.toHaveAttribute('aria-busy', 'true', { timeout: 15000 });
await expect(plan).not.toContainText('正在核对任务计划', { timeout: 15000 });
await expect(plan.getByRole('heading', { name: '执行计划', exact: true })).toBeVisible();
assert.ok(await page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth));
results.push({ width, height, panel: '执行计划', readOnly: true, ...await screenshot(page, 'plan-' + width + '.png') });
if (width <= 940) await page.getByRole('button', { name: '关闭检视区', exact: true }).click();
for (const [launcher, title, suffix] of [['打开模型中心', '模型中心', '/api/model-center'], ['项目技能', '项目技能', '/skills'], ['项目MCP工具', '项目 MCP 工具', '/mcp']]) {
await Promise.all([page.waitForResponse(response => response.url().endsWith(suffix) && response.status() === 200),
page.getByRole('button', { name: launcher, exact: true }).click()]);
const dialog = page.getByRole('dialog', { name: title, exact: true }); await expect(dialog).toBeVisible();
await expect(dialog.getByRole('heading', { name: title, exact: true })).toBeVisible();
for (const loading of ['正在读取实际连接状态', '正在核对已登记技能', '正在读取项目注册']) await expect(dialog).not.toContainText(loading);
const bounds = await dialog.boundingBox(); assert.ok(bounds.x >= 0 && bounds.x + bounds.width <= width + 1);
results.push({ width, height, panel: title, readOnly: true, ...await screenshot(page, suffix.split('/').at(-1) + '-' + width + '.png') });
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, 'workers-' + width + '.png') });
await workers.getByRole('button', { name: '关闭窗口', exact: true }).click();
console.log(JSON.stringify({ width, passedPanels: 5 }));
} finally { closing = true; await context.close(); }
}
assert.deepEqual(pageErrors, []); assert.deepEqual(requestFailures, []); assert.deepEqual(httpErrors, []); assert.deepEqual(blockedWrites, []);
record.success = true;
} catch (error) { record.error = error.stack; throw error; }
finally {
await browser.close();
Object.assign(record, { testedAt: new Date().toISOString(), pageErrors, requestFailures, httpErrors, blockedWrites, modelRequests: 0,
scope: 'Read-only smoke of deployed host in actual Edge desktop/390px; API mutations are blocked, no task/tool/model/configuration/project writes.' });
fs.writeFileSync(path.join(directory, 'result.json'), JSON.stringify(record, null, 2) + '\n');
fs.writeFileSync('.qa/workers-deployed-ui-validation.json', JSON.stringify(record, null, 2) + '\n');
console.log(JSON.stringify({ success: record.success, directory, panels: results.length, pageErrors: pageErrors.length, requestFailures: requestFailures.length, blockedWrites: blockedWrites.length }));
}
+121
View File
@@ -0,0 +1,121 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash, randomUUID } from 'node:crypto';
import { DatabaseSync } from 'node:sqlite';
import { upgradeRunning } from '../scripts/upgrade-running.mjs';
const targetVersion = '1.13.0', previousVersion = '1.12.1';
const read = filename => JSON.parse(fs.readFileSync(filename, 'utf8'));
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const canonical = value => Array.isArray(value) ? value.map(canonical) : value && typeof value === 'object'
? Object.fromEntries(Object.keys(value).sort().map(key => [key, canonical(value[key])])) : value;
const digest = value => hash(JSON.stringify(canonical(value)));
const release = read('releases/latest.json'), source = read('.qa/source-package-validation.json'), archive = read('.qa/archives-validation.json'), portable = read('.qa/release-validation.json');
const preflight = read('docs/workers-service-preflight.json');
assert.equal(preflight.version, previousVersion); assert.equal(preflight.registeredPid, preflight.pid); assert.equal(preflight.busySessions, 0);
assert.ok(Number.isInteger(preflight.pid) && preflight.pid > 0);
for (const [name, result] of Object.entries({ source, archive, portable })) { assert.equal(result.success, true, name); assert.equal(result.version, targetVersion, name); }
assert.equal(read(path.join(release.portableRoot, 'MANIFEST.json')).version, targetVersion);
assert.equal(path.resolve(portable.appRoot), path.resolve(release.portableRoot));
assert.equal(source.tests.tests, 404); assert.equal(source.tests.pass, source.tests.tests);
for (const name of ['fail', 'cancelled', 'skipped', 'todo']) assert.equal(source.tests[name], 0);
assert.equal(source.buildMatchedFiles, 6); assert.ok(source.actualRea.success && source.actualEngine.success && source.actualBrowser.success);
for (const kind of ['portable', 'source']) {
assert.equal(archive.archives.find(item => item.kind === kind).sha256, release[kind].sha256);
assert.equal(hash(fs.readFileSync(release[kind].path)), release[kind].sha256);
}
for (const input of source.inputs) {
for (const root of [process.cwd(), release.sourceRoot]) {
const bytes = fs.readFileSync(path.join(root, input.path)); assert.equal(bytes.length, input.bytes, input.path); assert.equal(hash(bytes), input.sha256, input.path);
}
}
const files = (root, relative) => fs.readdirSync(path.join(root, relative), { withFileTypes: true }).sort((a, b) => a.name.localeCompare(b.name))
.flatMap(entry => { assert.equal(entry.isSymbolicLink(), false); const filename = path.join(relative, entry.name); return entry.isDirectory() ? files(root, filename) : [filename]; });
const compared = [], repackedMetadata = [];
function compare(leftRoot, rightRoot, relative) {
const names = files(leftRoot, relative); assert.deepEqual(names, files(rightRoot, relative));
for (const filename of names) {
const left = fs.readFileSync(path.join(leftRoot, filename)), right = fs.readFileSync(path.join(rightRoot, filename));
if (!left.equals(right) && filename.replaceAll('\\', '/') === 'runtime/REA-RUNTIME.json') {
const { builtAt: leftBuiltAt, ...a } = JSON.parse(left), { builtAt: rightBuiltAt, ...b } = JSON.parse(right);
assert.ok(Number.isFinite(Date.parse(leftBuiltAt)) && Number.isFinite(Date.parse(rightBuiltAt))); assert.deepEqual(a, b);
repackedMetadata.push({ path: filename.replaceAll('\\', '/'), leftBuiltAt, rightBuiltAt, leftSha256: hash(left), rightSha256: hash(right), difference: 'builtAt only; every other field/hash equal' });
} else assert.ok(left.equals(right), filename);
compared.push(filename.replaceAll('\\', '/'));
}
}
for (const folder of ['src', 'tests', 'scripts', 'public', 'benchmarks', 'runtime']) compare(release.sourceRoot, source.sourceRoot, folder);
for (const folder of ['dist-client', 'dist-server']) { compare(release.portableRoot, source.sourceRoot, folder); compare(process.cwd(), release.portableRoot, folder); }
const ui = read('docs/workers-all-ui-validation.json'), projects = read('docs/workers-projects-validation.json');
assert.equal(ui.success, true); assert.equal(ui.version, targetVersion); assert.equal(ui.groups, 160); assert.equal(ui.results.length, 21);
assert.equal(projects.success, true); assert.equal(projects.version, targetVersion); assert.equal(projects.results.length, 3); assert.equal(projects.realModelRequests, 0); assert.ok(projects.results.every(value => value.success));
const directory = path.resolve('.qa/workers-deployment-' + randomUUID()); fs.mkdirSync(directory);
const url = 'http://127.0.0.1:4318'; let token;
async function api(route) {
const response = await fetch(url + '/api' + route, { headers: { Connection: 'close', ...(token ? { 'X-Workbench-Token': token } : {}) }, signal: AbortSignal.timeout(20000) });
assert.ok(response.ok, route + ': HTTP ' + response.status); return await response.json();
}
const before = await api('/bootstrap'), health = await api('/health'); token = before.token;
assert.equal(before.version, previousVersion); assert.equal(health.pid, preflight.pid); assert.equal(typeof before.config.hasKey, 'boolean');
assert.ok(before.sessions.every(value => !['running', 'awaiting_approval', 'stopping'].includes(value.status)));
const info = read(path.join(process.env.LOCALAPPDATA, 'AgentWorkbench/service-info.json')); assert.equal(info.pid, health.pid);
assert.equal(fs.realpathSync.native(info.appRoot), fs.realpathSync.native(preflight.appRoot));
assert.equal(fs.realpathSync.native(before.runtimeRoot), fs.realpathSync.native(preflight.runtimeRoot));
assert.equal(fs.realpathSync.native(info.dataRoot), fs.realpathSync.native(preflight.dataRoot));
const modelCenterBefore = await api('/model-center');
assert.equal(modelCenterBefore.waiting, 0); assert.ok(modelCenterBefore.connections.every(value => value.activeRequests === 0));
function snapshotDb() {
const db = new DatabaseSync(path.join(info.dataRoot, 'workbench.sqlite'), { readOnly: true }); db.exec('BEGIN');
try {
const tables = {};
for (const [table, order] of [['projects', 'id'], ['sessions', 'id'], ['records', 'kind,id'], ['events', 'seq']]) {
const rows = db.prepare('SELECT * FROM ' + table + ' ORDER BY ' + order).all();
tables[table] = { count: rows.length, sha256: digest(rows), rows: rows.map(row => ({ id: row.id, ...(row.kind ? { kind: row.kind } : {}), sha256: digest(row) })) };
}
const sessions = db.prepare("SELECT id,json_extract(payload,'$.archived') AS archived FROM sessions ORDER BY id").all();
const recordKinds = db.prepare('SELECT kind,COUNT(*) AS count FROM records GROUP BY kind ORDER BY kind').all();
return { tables, sessions, recordKinds };
} finally { db.exec('ROLLBACK'); db.close(); }
}
const beforeDb = snapshotDb(), exports = [];
for (const brief of beforeDb.sessions) { const value = await api('/sessions/' + brief.id + '/export'); exports.push({ id: brief.id, session: digest(value.session), project: digest(value.project), execution: digest(value.execution) }); }
fs.writeFileSync(path.join(directory, 'before.json'), JSON.stringify({ version: before.version, pid: health.pid, configSha256: digest(before.config), projectsSha256: digest(before.projects), sessionsSha256: digest(before.sessions), modelCenterSha256: digest(modelCenterBefore), database: beforeDb, exports }, null, 2));
assert.deepEqual(snapshotDb(), beforeDb, 'User state changed during preflight; do not use stale snapshots.');
console.log(JSON.stringify({ stage: 'pre-upgrade', version: before.version, pid: health.pid, hasKey: before.config.hasKey,
counts: Object.fromEntries(Object.entries(beforeDb.tables).map(([name, value]) => [name, value.count])), allSessions: beforeDb.sessions.length, inputs: source.inputFiles, comparedFiles: compared.length }));
const upgraded = await upgradeRunning({ url, pid: health.pid, currentRoot: info.appRoot, ...(before.runtimeRoot ? { handlerRoot: before.runtimeRoot } : {}), newRoot: release.portableRoot });
fs.writeFileSync(path.join(directory, 'upgrade.json'), JSON.stringify(upgraded, null, 2));
assert.equal(upgraded.version, targetVersion); assert.equal(upgraded.verified, true); assert.equal(upgraded.connectionPreserved, true);
const after = await api('/bootstrap'), afterHealth = await api('/health');
assert.equal(afterHealth.pid, health.pid); assert.equal(digest(after.config), digest(before.config));
assert.equal(digest(after.projects), digest(before.projects)); assert.equal(digest(after.sessions), digest(before.sessions));
assert.equal(digest(await api('/model-center')), digest(modelCenterBefore), 'All public connections, pools, imports, credential flags and attempts must remain unchanged.');
assert.deepEqual(snapshotDb(), beforeDb, 'Every persisted row must remain unchanged.');
for (const saved of exports) { const value = await api('/sessions/' + saved.id + '/export'); assert.equal(digest(value.session), saved.session); assert.equal(digest(value.project), saved.project); assert.equal(digest(value.execution), saved.execution); }
await assert.rejects(fetch('http://127.0.0.1:9229/json/list', { signal: AbortSignal.timeout(750) }));
const headers = Object.fromEntries((await fetch(url)).headers); assert.equal(headers['x-frame-options'], 'DENY'); assert.match(headers['content-security-policy'], /frame-ancestors 'none'/);
const rea = await api('/research/availability'); assert.equal(rea.status, 'available'); assert.equal(rea.version, '6.8.0');
assert.equal(fs.realpathSync.native(rea.packageRoot), fs.realpathSync.native(path.join(release.portableRoot, 'runtime/node_modules/rea-agents')));
assert.equal((await api('/engines/deepseek/availability')).status, 'available');
assert.equal((await api('/sessions/' + before.sessions[0].id + '/browser')).availability.status, 'available');
const result = { success: true, version: targetVersion, previousVersion, testedAt: new Date().toISOString(), ...upgraded,
directory, appRoot: release.portableRoot, dataRoot: info.dataRoot, originalAppRoot: info.appRoot,
model: after.config.model, hasKey: after.config.hasKey, allSessionCount: beforeDb.sessions.length, visibleSessionCount: before.sessions.length,
archivedSessionCount: beforeDb.sessions.filter(value => value.archived).length,
database: Object.fromEntries(Object.entries(beforeDb.tables).map(([name, value]) => [name, { count: value.count, sha256: value.sha256 }])),
recordKinds: beforeDb.recordKinds, preservedSessionSnapshots: exports, allRowsAndExportsPreserved: true, inspectorClosed: true,
comparedFiles: compared.length, repackedMetadata, frozenInputs: source.inputFiles, independentSourceRoot: source.sourceRoot,
independentSourceTests: source.tests, uiGroups: ui.groups, projectSamples: projects.results.length, realModelRequests: 0, headers,
comparison: 'Exact canonical hashes of every persisted row and exported project/session/execution, with no omitted compatibility fields.',
preflight, historicalReleasePid: preflight.historicalReleasePid, preservesCurrentObservedProcess: true,
modelCenterPreserved: true, modelCenter: { sha256: digest(modelCenterBefore), connections: modelCenterBefore.connections.length,
pools: modelCenterBefore.pools.length, imports: modelCenterBefore.imports.length, attempts: modelCenterBefore.attempts.length },
credentialsHandling: 'Only public configuration/hasKey and data hashes; original Provider/credentials stay in the process. No model key read/copied/printed/saved and no model request.' };
fs.writeFileSync(path.join(directory, 'result.json'), JSON.stringify(result, null, 2) + '\n');
fs.writeFileSync('docs/workers-upgrade-live-validation.json', JSON.stringify(result, null, 2) + '\n');
fs.writeFileSync('docs/deployment.json', JSON.stringify({ ready: true, url, version: targetVersion, mode: after.config.mode, model: after.config.model, hasKey: after.config.hasKey,
pid: health.pid, appRoot: release.portableRoot, originalAppRoot: info.appRoot, dataRoot: info.dataRoot, installedAt: new Date().toISOString(), verification: 'workers-upgrade-live-validation.json' }, null, 2) + '\n');
console.log(JSON.stringify({ success: true, version: targetVersion, pid: health.pid, hasKey: result.hasKey, directory, allSessions: result.allSessionCount,
counts: Object.fromEntries(Object.entries(result.database).map(([name, value]) => [name, value.count])), allRowsAndExportsPreserved: true, inspectorClosed: true, realModelRequests: 0 }));
+72
View File
@@ -0,0 +1,72 @@
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 { DatabaseSync } from 'node:sqlite';
const read = file => JSON.parse(fs.readFileSync(file, 'utf8'));
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const canonical = value => Array.isArray(value) ? value.map(canonical) : value && typeof value === 'object' ? Object.fromEntries(Object.keys(value).sort().map(key => [key, canonical(value[key])])) : value;
const digest = value => hash(JSON.stringify(canonical(value)));
const source = read('.qa/source-package-validation.json'), compared = read('.qa/workers-final-inputs-comparison.json'), baseline = read('docs/workers-code-baseline.json');
const release = read('releases/latest.json'), archive = read('.qa/archives-validation.json'), portable = read('.qa/release-validation.json');
const ui = read('docs/workers-all-ui-validation.json'), projects = read('docs/workers-projects-validation.json'), workerUi = read('docs/workers-ui-validation.json');
const deployed = read('docs/workers-upgrade-live-validation.json'), smoke = read('.qa/workers-deployed-ui-validation.json');
for (const [name, report] of Object.entries({ source, compared, baseline, archive, portable, ui, projects, deployed, smoke })) { assert.equal(report.success, true, name); assert.equal(report.version, '1.13.0', name); }
assert.equal(workerUi.passed, true); assert.equal(workerUi.version, '1.13.0'); assert.equal(workerUi.assertions.length, 10);
assert.equal(source.tests.tests, 404); assert.equal(source.tests.pass, source.tests.tests);
for (const name of ['fail', 'cancelled', 'skipped', 'todo']) assert.equal(source.tests[name], 0);
assert.deepEqual(source.inputs, baseline.inputs); assert.equal(source.inputFiles, baseline.inputs.length); assert.equal(source.buildMatchedFiles, 6);
assert.equal(ui.groups, 160); assert.equal(ui.results.length, 21); assert.equal(projects.results.length, 3); assert.equal(projects.cases.length, 13);
for (const sample of projects.results) { assert.equal(sample.success, true); assert.equal(sample.realModelRequests, 0); assert.equal(sample.parentChecks.status, 'passed'); assert.ok(sample.commit); }
assert.deepEqual(projects.results.map(value => value.parentChecks.results[0].tests.passed), [8, 9, 10]);
for (const sample of projects.results.filter(value => value.kind === 'react')) { assert.equal(sample.browserJobs.length, 2); for (const job of sample.browserJobs) { assert.equal(job.status, 'passed'); assert.equal(job.cleanup.exited, true); assert.equal(job.assertions.passed, 10); } }
assert.equal(smoke.results.length, 10); assert.equal(smoke.pid, deployed.pid); assert.equal(deployed.preservesCurrentObservedProcess, true);
assert.equal(deployed.allRowsAndExportsPreserved, true); assert.equal(deployed.connectionPreserved, true); assert.equal(deployed.modelCenterPreserved, true);
assert.equal(deployed.realModelRequests, 0); assert.equal(smoke.modelRequests, 0);
for (const field of ['pageErrors', 'requestFailures', 'httpErrors', 'blockedWrites']) assert.deepEqual(smoke[field], []);
for (const row of [...baseline.inputs, ...baseline.builds, ...baseline.benchmarks]) assert.equal(hash(fs.readFileSync(row.path)), row.sha256, row.path);
for (const row of projects.inputs) assert.equal(hash(fs.readFileSync(row.path)), row.sha256, row.path);
for (const row of workerUi.inputs) assert.equal(hash(fs.readFileSync(row.path)), row.sha256, row.path);
for (const native of [source.actualRea, source.actualEngine, source.actualBrowser]) assert.equal(native.success, true);
for (const kind of ['source', 'portable']) { const item = archive.archives.find(value => value.kind === kind); assert.equal(item.sha256, release[kind].sha256); assert.equal(hash(fs.readFileSync(release[kind].path)), item.sha256); }
const logs = [...source.logs.map(row => ({ path: row.path, bytes: row.bytes, sha256: row.sha256 })), ...ui.results.map(row => { const bytes = fs.readFileSync(row.log); return { path: row.log, bytes: bytes.length, sha256: hash(bytes) }; })];
for (const row of logs) { const bytes = fs.readFileSync(row.path); assert.equal(bytes.length, row.bytes); assert.equal(hash(bytes), row.sha256); }
const images = [...smoke.results.map(row => ({ path: row.screenshot, sha256: row.screenshotSha256 })), ...workerUi.screenshots.map(row => ({ path: row.file, sha256: row.sha256 })), ...projects.results.flatMap(row => (row.screenshots ?? []).map(image => ({ path: image.file, sha256: image.sha256 })))];
for (const row of images) { const bytes = fs.readFileSync(row.path); assert.equal(hash(bytes), row.sha256); assert.ok(bytes.subarray(0, 8).equals(Buffer.from([137, 80, 78, 71, 13, 10, 26, 10]))); }
const db = new DatabaseSync(path.join(deployed.dataRoot, 'workbench.sqlite'), { readOnly: true }); db.exec('BEGIN');
try { for (const [table, order] of [['projects', 'id'], ['sessions', 'id'], ['records', 'kind,id'], ['events', 'seq']]) { const rows = db.prepare('SELECT * FROM ' + table + ' ORDER BY ' + order).all(); assert.equal(rows.length, deployed.database[table].count); assert.equal(digest(rows), deployed.database[table].sha256); } }
finally { db.exec('ROLLBACK'); db.close(); }
const bootstrap = await (await fetch('http://127.0.0.1:4318/api/bootstrap')).json();
assert.equal(bootstrap.version, '1.13.0'); assert.equal((await (await fetch('http://127.0.0.1:4318/api/health')).json()).pid, deployed.pid);
for (const row of deployed.preservedSessionSnapshots) { const value = await (await fetch('http://127.0.0.1:4318/api/sessions/' + row.id + '/export', { headers: { 'X-Workbench-Token': bootstrap.token } })).json(); for (const kind of ['project', 'session', 'execution']) assert.equal(digest(value[kind]), row[kind]); }
await assert.rejects(fetch('http://127.0.0.1:9229/json/list', { signal: AbortSignal.timeout(1000) }));
const historicalLogCopies = fs.readdirSync('docs').filter(name => name.startsWith('workers-') && name.endsWith('.log')).sort()
.map(name => ['docs/' + name, 'docs/' + name.replace(/\.log$/, '-log.txt')]);
for (const [from, to] of historicalLogCopies) {
if (fs.existsSync(to)) assert.ok(fs.readFileSync(from).equals(fs.readFileSync(to)), to + ': existing original log copy must be identical');
}
const copies = [
['.qa/archives-validation.json', 'docs/workers-archives-validation.json'], ['.qa/release-validation.json', 'docs/workers-release-validation.json'],
['.qa/source-package-validation.json', 'docs/workers-source-package-validation.json'], ['.qa/workers-final-inputs-comparison.json', 'docs/workers-git-inputs.json'],
['.qa/workers-source-tested-candidate.json', 'docs/workers-source-tested-candidate.json'], ['.qa/workers-source-candidate-archives-validation.json', 'docs/workers-source-candidate-archives-validation.json'],
['.qa/workers-deployed-ui-validation.json', 'docs/workers-deployed-ui-validation.json'],
...source.logs.map(row => [row.path, 'docs/workers-source-' + path.basename(row.path).replace(/\.log$/, '-log.txt')]),
...ui.results.map(row => [row.log, 'docs/workers-ui-' + row.script.replace('.mjs', '') + '-log.txt']),
['.qa/finish-workers-deployment.mjs', 'docs/workers-deployment-verifier.mjs'], ['.qa/smoke-workers-deployed.mjs', 'docs/workers-deployed-ui-verifier.mjs'],
['.qa/compare-workers-final-candidate.mjs', 'docs/workers-final-candidate-verifier.mjs'], ['.qa/seal-workers-evidence.mjs', 'docs/workers-evidence-seal-verifier.mjs'],
...historicalLogCopies,
];
for (const [from, to] of copies) { const bytes = fs.readFileSync(from); fs.writeFileSync(to, bytes); assert.equal(hash(fs.readFileSync(to)), hash(bytes)); }
const names = [...new Set([...fs.readdirSync('docs').filter(name => name.startsWith('workers-') && name !== 'workers-release-identity.json' && !name.endsWith('.log')).map(name => 'docs/' + name),
'docs/QA-1.13.md', 'docs/WORKERS.md', 'docs/RETROSPECTIVE-1.13.md', 'docs/PLAN-1.13.md', 'docs/PLAN-1.14.md', 'docs/NEXT-STEPS.md', 'docs/PRODUCT-PLAN.md', 'docs/RESEARCH-ROADMAP.md', 'docs/CAPABILITIES.md', 'docs/VALIDATION.md', 'docs/deployment.json'])].sort();
const identity = { success: true, version: '1.13.0', releaseId: path.basename(release.portableRoot).match(/(\d{17})$/)[1], sealedAt: new Date().toISOString(), codeCommit: baseline.codeCommit,
release, independentlyTestedCandidate: read('.qa/workers-source-tested-candidate.json'), independentSourceRoot: source.sourceRoot,
sourceInputs: baseline.inputs, benchmarkInputs: baseline.benchmarks, builds: baseline.builds, tests: source.tests, uiGroups: ui.groups, functionalProjects: projects.results.length,
projectAssertions: projects.cases.length, realModelRequests: 0, currentPid: deployed.pid, allRowsAndExportsPreserved: true, postSmokeDatabaseUnchanged: true, inspectorClosed: true,
gitExactInputs: compared.exactBytes, gitLfOnlyInputs: compared.normalized, originalLogs: logs, originalImages: images,
originalReportLogs: historicalLogCopies.map(([sourcePath, file]) => { const bytes = fs.readFileSync(sourcePath); return { sourcePath, path: file, bytes: bytes.length, sha256: hash(bytes) }; }),
reports: names.map(file => { const bytes = fs.readFileSync(file); return { path: file, bytes: bytes.length, sha256: hash(bytes) }; }),
scope: 'Two isolated workers, verified parent integration and recovery, three owned functional projects, complete independent source/portable/UI and state-preserving deployment. Fixed Provider fixtures are distinct from real-model reasoning or autonomous success.' };
fs.writeFileSync('docs/workers-release-identity.json', JSON.stringify(identity, null, 2));
console.log(JSON.stringify({ success: true, tests: source.tests.tests, uiGroups: ui.groups, projects: projects.results.length, reports: identity.reports.length, logs: logs.length, images: images.length, pid: deployed.pid }));
+65
View File
@@ -0,0 +1,65 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { execFileSync } from 'node:child_process';
const read = filename => JSON.parse(fs.readFileSync(filename, 'utf8'));
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const source = read('.qa/source-package-validation.json'), release = read('releases/latest.json');
const baseline = read('.qa/workers-final-code-baseline.json');
assert.equal(source.success, true); assert.equal(source.version, '1.13.0');
assert.equal(source.tests.tests, 404); assert.equal(source.tests.pass, source.tests.tests);
for (const key of ['fail', 'cancelled', 'skipped', 'todo']) assert.equal(source.tests[key], 0);
assert.deepEqual(source.inputs, baseline.inputs); assert.equal(source.inputFiles, baseline.inputs.length);
assert.equal(source.buildMatchedFiles, baseline.builds.length);
const exact = [], normalized = [];
const permittedLf = new Map(read('docs/model-center-release-identity.json').gitLfOnlyInputs.map(value => [value.path, value]));
const commit = execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8', windowsHide: true }).trim();
for (const input of source.inputs) {
for (const root of [process.cwd(), release.sourceRoot, source.sourceRoot]) {
const bytes = fs.readFileSync(path.join(root, input.path)); assert.equal(bytes.length, input.bytes); assert.equal(hash(bytes), input.sha256, input.path);
}
const bytes = fs.readFileSync(input.path), blob = execFileSync('git', ['show', commit + ':' + input.path], { windowsHide: true, maxBuffer: 16 * 1024 * 1024 });
if (bytes.equals(blob)) exact.push(input.path);
else {
const original = permittedLf.get(input.path); assert.ok(original, 'Unexpected input/Git byte mismatch: ' + input.path);
assert.equal(hash(blob), original.gitBlobSha256, 'Previously recorded file must remain unchanged: ' + input.path);
assert.ok(Buffer.from(bytes.toString('utf8').replaceAll('\r\n', '\n')).equals(blob), 'Only previously recorded CRLF/LF differences are permitted.');
normalized.push({ path: input.path, sourceSha256: input.sha256, gitBlobSha256: hash(blob), difference: 'Previously recorded unchanged file; exact bytes match after CRLF to LF only.' });
}
}
for (const input of baseline.builds) for (const root of [process.cwd(), release.portableRoot, source.sourceRoot]) {
const bytes = fs.readFileSync(path.join(root, input.path)); assert.equal(bytes.length, input.bytes); assert.equal(hash(bytes), input.sha256, input.path);
}
const files = (root, relative) => fs.readdirSync(path.join(root, relative), { withFileTypes: true }).sort((a, b) => a.name.localeCompare(b.name)).flatMap(entry => {
assert.equal(entry.isSymbolicLink(), false);
const name = path.join(relative, entry.name); return entry.isDirectory() ? files(root, name) : [name];
});
const compared = [], repackedMetadata = [];
const validationNodeSha256 = hash(fs.readFileSync(process.execPath));
const bundledNodeSha256 = hash(fs.readFileSync(path.join(release.portableRoot, 'runtime/node.exe')));
assert.equal(validationNodeSha256, bundledNodeSha256, 'The source validation and portable host use the same Node binary.');
for (const folder of ['src', 'tests', 'scripts', 'public', 'benchmarks', 'runtime']) {
const names = files(release.sourceRoot, folder); assert.deepEqual(names, files(source.sourceRoot, folder), folder);
for (const filename of names) {
const left = fs.readFileSync(path.join(release.sourceRoot, filename)), right = fs.readFileSync(path.join(source.sourceRoot, filename));
if (!left.equals(right) && filename.replaceAll('\\', '/') === 'runtime/REA-RUNTIME.json') {
const { builtAt: finalBuiltAt, ...a } = JSON.parse(left), { builtAt: testedBuiltAt, ...b } = JSON.parse(right);
assert.ok(Number.isFinite(Date.parse(finalBuiltAt)) && Number.isFinite(Date.parse(testedBuiltAt))); assert.deepEqual(a, b);
repackedMetadata.push({ path: filename.replaceAll('\\', '/'), finalBuiltAt, testedBuiltAt, finalSha256: hash(left), testedSha256: hash(right), difference: 'builtAt only; all other fields and dependency hashes equal.' });
} else assert.ok(left.equals(right), filename);
compared.push(filename.replaceAll('\\', '/'));
}
}
for (const log of source.logs) { const bytes = fs.readFileSync(log.path); assert.equal(bytes.length, log.bytes); assert.equal(hash(bytes), log.sha256, log.stage); }
const result = { success: true, version: source.version, testedAt: new Date().toISOString(), codeCommit: baseline.codeCommit, commit,
finalSourceRoot: release.sourceRoot, finalPortableRoot: release.portableRoot, independentSourceRoot: source.sourceRoot,
tests: source.tests, inputFiles: source.inputFiles, exactBytes: exact.length, normalized, buildMatchedFiles: baseline.builds.length,
comparedFiles: compared.length, comparedFolders: ['src', 'tests', 'scripts', 'public', 'benchmarks', 'runtime'], repackedMetadata,
logsVerified: source.logs.length, validationNode: { path: process.execPath, version: process.version, sha256: validationNodeSha256 },
portableNode: { path: path.join(release.portableRoot, 'runtime/node.exe'), sha256: bundledNodeSha256 },
scope: 'All frozen inputs/builds and native source runtime compared with independently validated source. Git exceptions limited to four previously recorded unchanged CRLF/LF files.' };
fs.writeFileSync('.qa/workers-final-inputs-comparison.json', JSON.stringify(result, null, 2) + '\n');
console.log(JSON.stringify({ success: true, inputs: source.inputFiles, exactGitBytes: exact.length, normalized: normalized.length,
builds: baseline.builds.length, comparedFiles: compared.length, repackedMetadata: repackedMetadata.length, logsVerified: source.logs.length }));
+77
View File
@@ -0,0 +1,77 @@
{
"success": true,
"version": "1.13.0",
"testedAt": "2026-10-30T19:34:59.409Z",
"codeCommit": "91cdd454ed9fed484a67b4f909aae4bb75e05161",
"commit": "24b8341ad5b01727ddc5a12edf048b3f4728d607",
"finalSourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-source-20261030193314594",
"finalPortableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-win-x64-20261030193314594",
"independentSourceRoot": "D:\\awb\\source-check-ab4af9d650d0426ba58562fe29927139\\Agent-Workbench-1.13.0-source-20261030190844003",
"tests": {
"tests": 404,
"pass": 404,
"fail": 0,
"cancelled": 0,
"skipped": 0,
"todo": 0
},
"inputFiles": 232,
"exactBytes": 228,
"normalized": [
{
"path": "scripts/verify-ui.mjs",
"sourceSha256": "d9e7b3e8eb0ff80168acfd5d320685db6d4e1f53827cac4b96cffd5e54c758b6",
"gitBlobSha256": "cd57dd67aada66f667a4e62b7a8f76a79d3c09acd7ba7c658b89e6d38dc6be9f",
"difference": "Previously recorded unchanged file; exact bytes match after CRLF to LF only."
},
{
"path": "src/client/SkillCenter.tsx",
"sourceSha256": "b227ffdccf1d90ac969f1e4e2a56c592b7c9eac13746bf0c90ee9d9e702e9f10",
"gitBlobSha256": "de7a4426aef468a73a9522da9883592ab0cc29a1f2b3786b764cd51a304347b2",
"difference": "Previously recorded unchanged file; exact bytes match after CRLF to LF only."
},
{
"path": "src/client/styles.css",
"sourceSha256": "2712f7bb0a0145a6945ea904ba95a1a189831fef40108bdc4300400cd4d20218",
"gitBlobSha256": "734193e1a166024f1418c021bbd56255412d49268386c2c688e5766ef118e438",
"difference": "Previously recorded unchanged file; exact bytes match after CRLF to LF only."
},
{
"path": "tests/skills.test.mjs",
"sourceSha256": "c7228c190337bb5f2b9ab5a85ad34b78fd03541854e83197d7c4d2506bb3c6c6",
"gitBlobSha256": "977e987ccdeab5bf07fd3dd1788d8ba866a3dc3715c9dd947982a9abfbab7e06",
"difference": "Previously recorded unchanged file; exact bytes match after CRLF to LF only."
}
],
"buildMatchedFiles": 6,
"comparedFiles": 8815,
"comparedFolders": [
"src",
"tests",
"scripts",
"public",
"benchmarks",
"runtime"
],
"repackedMetadata": [
{
"path": "runtime/REA-RUNTIME.json",
"finalBuiltAt": "2026-10-30T19:33:14.593Z",
"testedBuiltAt": "2026-10-30T19:08:44.002Z",
"finalSha256": "538dedca9363b0851df9ebf3bdced0cd39ee98fb848c2743282dc89b6e873357",
"testedSha256": "6a75da9c8cc4b2d138a6eadf55e4d997eda468fe04a3180500f177273d863271",
"difference": "builtAt only; all other fields and dependency hashes equal."
}
],
"logsVerified": 6,
"validationNode": {
"path": "C:\\Program Files\\nodejs\\node.exe",
"version": "v24.22.1",
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
},
"portableNode": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-win-x64-20261030193314594\\runtime\\node.exe",
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
},
"scope": "All frozen inputs/builds and native source runtime compared with independently validated source. Git exceptions limited to four previously recorded unchanged CRLF/LF files."
}
File diff suppressed because it is too large Load Diff
+139
View File
@@ -0,0 +1,139 @@
{
"success": true,
"date": "2026-10-30T19:34:47.977Z",
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-win-x64-20261030193314594",
"version": "1.13.0",
"nodeVersion": "v24.22.1",
"verifiedFiles": 11242,
"url": "http://127.0.0.1:52533",
"reusedPid": 3124,
"checks": {
"jobId": "44ace8d3-d855-4039-baae-6cf9fc621f4d",
"status": "passed",
"tests": {
"total": 4,
"passed": 4,
"failed": 0,
"cancelled": 0,
"skipped": 0
}
},
"actualRea": [
{
"operation": "javascript",
"jobId": "274c895b-7ad9-4065-b530-6923064f6d4f",
"evidenceId": "ev_3bf6591507de3a1f38d91c94c1a1733583ef507e6e63a9e3ee14054ca82c3be9",
"targetSha256": "4c553a2de1868b0f571c825dd5a06555fe46905d92dac8ace17f68d5e0d841f2",
"bundleSha256": "caa04d30463843075b969d87f125d8cdf777cfe37fcb6191542c7ddc7aee4982",
"rootExited": true,
"reusedJobId": "3de9eae9-4eaf-4820-9e5f-8175ced657c7"
},
{
"operation": "pe-imports",
"jobId": "83386311-cb9a-44d9-bdf5-f5d5a5fa8cc8",
"evidenceId": "ev_bb1948f158b59c197be19ae40d5033614c241d5d1b3347307927bb037d5b9a01",
"targetSha256": "7102754492d544b471ff84afdb3bbec983824049e4c2118bd0e240f8e7cbe973",
"bundleSha256": "e0de512286d6e463e930ef304a1f9d3a7067972302f6b75e4eb2efd198c1d67f",
"rootExited": true,
"reusedJobId": "a2f00ed9-ef37-427b-ad2d-f133bf6a02e1"
},
{
"operation": "pe-resources",
"jobId": "5a26e581-4fe7-4a92-827a-b7f0b4a78d6d",
"evidenceId": "ev_8bc9d57e1d43301ef3de8a93fe53142b3c597afc07554804c1ea4b0d62d88a60",
"targetSha256": "7102754492d544b471ff84afdb3bbec983824049e4c2118bd0e240f8e7cbe973",
"bundleSha256": "43986edc60e339c0417433152226ad7799c4fb4055fbbf587db65f2bfe45523e",
"rootExited": true,
"reusedJobId": "4aba2e60-4d7d-406b-9d55-7c48b4c85778"
}
],
"actualEngine": {
"packageVersion": "0.2.1-rc.2",
"profile": "sdk-minimal",
"installationSha256": "72079082ad88c494541227319dfb8409993c3457f2fdae31350ed186a512352b",
"reportSha256": "5acda48af7d189eb1512c3ae02fd30d8e5cee0c5e47471ea18aa65e7bed93913",
"rootExited": true,
"modelRequests": 0,
"nativeMethods": [
"initialize",
"session/working-directory/get",
"session/wait",
"session/resume",
"session/cancel",
"shutdown"
],
"node": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-win-x64-20261030193314594\\runtime\\node.exe",
"bytes": 93915464,
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5",
"version": "24.22.1"
}
},
"actualBrowser": {
"success": true,
"installation": {
"status": "available",
"engine": "Microsoft Edge",
"playwrightVersion": "1.64.1"
},
"results": [
{
"jobId": "0446c069-ce40-4b34-bbe7-3cb301ffe9b4",
"taskId": "db35a5f1-131a-4654-9e3b-b86a90adc398",
"viewport": {
"width": 1280,
"height": 900
},
"status": "passed",
"assertions": {
"total": 3,
"passed": 3,
"failed": 0
},
"resultSha256": "ad444e531872308315ed40e9c987714fb85ee652c46aca7e46dfb15d1732056a",
"buildSha256": "1128c86f9108e72bc1ada18b7c48c9f865283f46d5e530b99caa04d7507f46cd",
"screenshotSha256": "a0b9187034642bb65372f74db669b60f07c0888d7ce86deb60a4a202b505ca54",
"browserExited": true,
"reusedOriginalJob": true
},
{
"jobId": "4ecb9a7e-12fb-4303-9345-d168ffc10a57",
"taskId": "db35a5f1-131a-4654-9e3b-b86a90adc398",
"viewport": {
"width": 390,
"height": 844
},
"status": "passed",
"assertions": {
"total": 3,
"passed": 3,
"failed": 0
},
"resultSha256": "07d6de486a9787548b54c32707265a7f107a76ab829205b57c23509c3c539cce",
"buildSha256": "1128c86f9108e72bc1ada18b7c48c9f865283f46d5e530b99caa04d7507f46cd",
"screenshotSha256": "590ef1090d857bc7a7eb30ed790f918d76ebabe4d53b54b82948de4db20cfb4f",
"browserExited": true,
"reusedOriginalJob": true
}
],
"modelRequests": 0,
"scope": "Actual API, locked browser runtime, two isolated Edge processes, CSS interactions, original DOM and PNG bytes. The task is created through the offline demonstration; no remote model is used."
},
"steps": [
"manifest hashes",
"bundled Node launch",
"same-service reuse",
"packaged example and static page",
"explicit command consent",
"actual bundled Node version",
"actual bundled npm check without system Node/npm",
"check log artifact",
"contained REA installation and Node identity",
"actual ASAR/imports/resources",
"original Bundle and target hash binding",
"verified reuse without producer replay",
"report availability",
"graceful stop"
],
"realModel": false
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"success": true,
"observedAt": "2026-10-30T18:14:17.571Z",
"observedAt": "2026-10-30T19:36:27.541Z",
"version": "1.12.1",
"pid": 23172,
"registeredPid": 23172,
+340
View File
@@ -0,0 +1,340 @@
{
"success": true,
"version": "1.13.0",
"previousVersion": "1.12.1",
"testedAt": "2026-10-30T19:36:30.477Z",
"pid": 23172,
"hasKey": true,
"projects": 16,
"sessions": 28,
"appDirectory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-win-x64-20261030193314594",
"verified": true,
"connectionPreserved": true,
"url": "http://127.0.0.1:4318",
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workers-deployment-0985be39-3440-498a-af33-e0f4680ea4ff",
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.13.0-win-x64-20261030193314594",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\AgentWorkbench",
"originalAppRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.12.0-win-x64-20261030124454517",
"model": "gpt-6.1-sol",
"allSessionCount": 28,
"visibleSessionCount": 20,
"archivedSessionCount": 8,
"database": {
"projects": {
"count": 16,
"sha256": "a4910b993a12644be4e973b4034cb3b70877a0a44e99bcb600103d9abfbb35db"
},
"sessions": {
"count": 28,
"sha256": "959c69170e5d341fc2c0affc8f6e36439ee66986316a9ebfad2ed33371ca5a6b"
},
"records": {
"count": 2551,
"sha256": "7857665f6665cc97ad200d94afaeffb7c9a306aa02cf5937cb48700d98180d36"
},
"events": {
"count": 4568,
"sha256": "c0cb9f12e8c3e47b0749dae36db9adad5e690176a668c43a888232502f3043db"
}
},
"recordKinds": [
{
"kind": "artifact",
"count": 1438
},
{
"kind": "browser_job",
"count": 5
},
{
"kind": "browser_plan",
"count": 5
},
{
"kind": "change_set",
"count": 5
},
{
"kind": "check_job",
"count": 16
},
{
"kind": "check_plan",
"count": 17
},
{
"kind": "context_plan",
"count": 207
},
{
"kind": "delivery_job",
"count": 7
},
{
"kind": "delivery_plan",
"count": 7
},
{
"kind": "engine_job",
"count": 1
},
{
"kind": "run",
"count": 48
},
{
"kind": "step",
"count": 266
},
{
"kind": "task",
"count": 26
},
{
"kind": "tool",
"count": 500
},
{
"kind": "workspace",
"count": 3
}
],
"preservedSessionSnapshots": [
{
"id": "03d6acd3-01ee-46fb-aa1c-90483307737e",
"session": "ce12fab8fa32c200b16851a66d7af6eea99ddb4783aa5c2ebd2211f7fbbfcb4b",
"project": "4eaa22c28bc011f866c6fd49ad44169d8c6eb14e3e3a6a23e916d25545d5e3fa",
"execution": "fc07423c0785459b1860eca780a5f50d0d8da5237062fc9c77dfcfeac348f6aa"
},
{
"id": "0c9601a4-cc20-476c-aa28-ea010c222f70",
"session": "915912a528aa7578b56b5b1329518201102b4229a28a457a6916695cbd7eb287",
"project": "8de47871c83677c90f046ab4ef11b10f2bf6602e4e7683a68034f91665f18ae7",
"execution": "e826073aa1f1535941fe334dfc660aef9b3d888b192730d03dd314bd1a8c050d"
},
{
"id": "0f3ace68-4988-4370-bf22-aac01f33a8ab",
"session": "462ab9235f6132141aab9b6fc9c03966d256970c8e19b98a17a38d1a0812b4b4",
"project": "b62f016403188e605f211acf90e6435af951fa772e339f5a967078dc49341dc9",
"execution": "ee93daaa7a1318ab0f98df6378d0afdbf8df5ead6d7e8a48b38c5ea5223fbd5c"
},
{
"id": "1102be26-9799-4f0f-9a28-7a4ce552f3a9",
"session": "3303bc0113392be74ba3091f133a247b86acf7fdd935a9d3d7692a12a555f928",
"project": "4eaa22c28bc011f866c6fd49ad44169d8c6eb14e3e3a6a23e916d25545d5e3fa",
"execution": "fc07423c0785459b1860eca780a5f50d0d8da5237062fc9c77dfcfeac348f6aa"
},
{
"id": "1cf22a27-ac13-4c95-a878-9b4356ccb5b3",
"session": "519eea1e103fd081279a82d4b4e72d17857a18b027eb0b156972855c90349552",
"project": "0a1d247fb4e3fc9dfc35ec2e4902e107c8ccc8efcc33e61e556cd5230e4777d1",
"execution": "1fdf39f6d6876e362cc130d621ddf22ae0887395fdaa21be822742e9d2c3367d"
},
{
"id": "3fffee63-edc6-4538-b1dd-941354535e85",
"session": "0a30562724493eee8b93fad3abdacbee57230ba2627ac578a030a9d43c86bc60",
"project": "cebd4478e20bbbcf23872e94adaa0b7967f55a16b9343eabae4ee99855989bec",
"execution": "b33ab1fd33f041833c85292a72a035e212d7d72055e3d8aeab4fafc40939a38c"
},
{
"id": "4442eee6-8b68-4bb5-a39c-9cafbaeb9eb8",
"session": "7c45225f6ace5f5397584a92e5303db762acdb2bfa311cc3d16e8fd6aaeb5253",
"project": "5ec499d561c29586cc0f4d4237d361d144bcbee14c1fc262479172a77d93b1a1",
"execution": "d1a01e32fbb6295a6aba6b788057eaa2354fd208610d9fbda1465ab96531fa71"
},
{
"id": "4abc4201-549e-46e0-947c-3d3f5b53ffae",
"session": "2868af7181ce7ecbc903932c9f25fcaba421100317017dd9e3c94b5aebd5ebe5",
"project": "91f80e1c4cec343d0b632ad7e0b9eb8f732ca39c8290e40a8dc085f113339ffd",
"execution": "4e3ca3e707c618ae28d4ff8c6738c80a8b8dbbc6e272b9203a79219ed5c5f702"
},
{
"id": "50c279be-66ad-48b8-a483-4e11c814db47",
"session": "9abdcf0865de6578dbfda995836e7e913f4f65ee38c0f40af90f7bb8a9f0ae87",
"project": "4eaa22c28bc011f866c6fd49ad44169d8c6eb14e3e3a6a23e916d25545d5e3fa",
"execution": "fc07423c0785459b1860eca780a5f50d0d8da5237062fc9c77dfcfeac348f6aa"
},
{
"id": "569c9457-d399-46e6-b53e-4b1fdbb02109",
"session": "4daa494a90d4ed6d5161e4ea2cfe7ae60703b7c7722cb31621859d66bbb32677",
"project": "91f80e1c4cec343d0b632ad7e0b9eb8f732ca39c8290e40a8dc085f113339ffd",
"execution": "16b8c268db9de78d3f44461496f022371d0bd8345e124e27e20a08618c9cb0c3"
},
{
"id": "57aee35b-7e64-46cf-a685-4867de8f4e0b",
"session": "61d32b2fdf93e5c4eec42d9f4cab28f3c24e7c7b0cf308e21f7ff3884870daec",
"project": "76532f9c3e309accdb4e46a50552ed347d089d63096efedf1372444527ae1ea3",
"execution": "cf40e7826c922323a84e7a5260000992527eb8956bbc8c6f1632bab358aa408c"
},
{
"id": "596df050-d490-44da-be1c-bcaf58c88dc0",
"session": "870300930ed9b8791b2d3381df7bd9c6ae7578aa39ba0fed72b606c9af548adb",
"project": "3b83f6c68b0af564e8732559ff71514f738252a0fd2d097db61c9a023f179d79",
"execution": "68fc0ee38d3101de7d2d75a8d821ec71ec97fbaf996fa5924b413bac20adb4b9"
},
{
"id": "72d3d22f-14d9-4bca-bb6a-ab686bc96b26",
"session": "707ebc4a9c4dd210eacb5f3c2b119fe999085e6b157df50dd89180706df812e0",
"project": "4eaa22c28bc011f866c6fd49ad44169d8c6eb14e3e3a6a23e916d25545d5e3fa",
"execution": "339307371999d6e01c107c102d0b0e17609f263aed6eb05cd48eb63dd17df7e5"
},
{
"id": "776d488f-18a7-41aa-96a4-91dd1f19d374",
"session": "dc9824b3cd6e7203e6e805ab7291bd6c4b514c7524637a937e487c32853aab1d",
"project": "bcaad9ff6ce07b52fbe8f23009bc72f8928c2f2a4859099bfbd3121d52d0bca3",
"execution": "9e11585ede5558f130e22f01deb51d7d1f1f35582ab390fcd1a749378fa221a5"
},
{
"id": "77f7237d-b7b4-4725-b82b-0781a669740b",
"session": "27f35a1b6db0905f20b758abc68c79286a703c6557eeef7bcb95bc17c13eafa0",
"project": "d881bf752b0e14b37c0325d077a459b08be741605aef0db775195d2de66c4595",
"execution": "66dcd67380219986a70e663e87a38d6d511dab82b4873beb1628ff4f193d6581"
},
{
"id": "87a48440-804e-4ac4-8a9f-5ba38a55c082",
"session": "b4e9c835232835730d601c1a327795602c5bc21bf330d30b67acd0f5b57720fa",
"project": "3b83f6c68b0af564e8732559ff71514f738252a0fd2d097db61c9a023f179d79",
"execution": "a2748e42a4fd85c61e5f9ad9c604c33996592039f5268fdaec4529e60fc17377"
},
{
"id": "997213e9-ccd7-485e-a099-ad348b626610",
"session": "7edddb9135e4c0694e9e375d00d0db38f889b47c3cd8ce9c118873e3ab17c9a8",
"project": "4eaa22c28bc011f866c6fd49ad44169d8c6eb14e3e3a6a23e916d25545d5e3fa",
"execution": "fc07423c0785459b1860eca780a5f50d0d8da5237062fc9c77dfcfeac348f6aa"
},
{
"id": "af2827eb-b31c-456e-b9ab-6f34ab8f600e",
"session": "8b5fcd43f63f2dcb5a2bf65c9503b02147f3e0a76ca5da6c84cb588b53b1714c",
"project": "4eaa22c28bc011f866c6fd49ad44169d8c6eb14e3e3a6a23e916d25545d5e3fa",
"execution": "fc07423c0785459b1860eca780a5f50d0d8da5237062fc9c77dfcfeac348f6aa"
},
{
"id": "b045829c-377b-4f69-ad0b-513fe797b421",
"session": "44040c046fd23053228a203745112b277acfcb191ae5a5ce957dd7090c983a2f",
"project": "0a1d247fb4e3fc9dfc35ec2e4902e107c8ccc8efcc33e61e556cd5230e4777d1",
"execution": "e441f4dbf00fbe867072c0cf89134eb81e33bce2ad87848bc573d6fb577a491f"
},
{
"id": "c25669d5-9c3b-4548-80d5-51c58a3c5e73",
"session": "e662f26079c573528662fe5a144142fc938f8a316a74afea9a4eaffd4fa25e69",
"project": "e5048b792e2681faf68f83b4cd35a7e321dce4ac0dafd07d8b6007d430db66bf",
"execution": "b3c9912482a56bda774344e7da9db4b7e05a661896f15554c1f95d9f56075f5d"
},
{
"id": "c32c9c87-8239-4606-a4c0-783529603bc7",
"session": "5a9d028a1054136e85c2037d4151709c3d835d9edb2e67476e3dd9becb493e83",
"project": "6b00a6786f0a47fc81edbcdb39300b0d486deea338d1c4c327395da64238f331",
"execution": "989ea006d275a3a8127409ac55d2efffb0990a11c9b825ae970a2e2f3fe8392a"
},
{
"id": "c52d620a-dbaa-4bbd-9039-0eabe53ba03d",
"session": "019799045a657a75bf74f2cb659ca00aa31e55a8c1609df64ac007ee4b1a9c61",
"project": "4eaa22c28bc011f866c6fd49ad44169d8c6eb14e3e3a6a23e916d25545d5e3fa",
"execution": "fc07423c0785459b1860eca780a5f50d0d8da5237062fc9c77dfcfeac348f6aa"
},
{
"id": "dccf608f-44c9-4031-a58c-5ba87fe3b3f8",
"session": "00018e8b18ba8311b139cce9ab5c5414c26b8893b3234efd8f54804711978ed1",
"project": "844f1c9a520e159edb9e76a169d674484386ca30a141e47de720a8c2ec4d4acd",
"execution": "d1c4dc43bbcfec94500e51d23ba4f995c55f798fd27a53fa2d3d63172a7e4b1c"
},
{
"id": "dfe8ad2b-1346-42e4-a597-602784371692",
"session": "fa23f538a563db8cf0fc5aa0620af15fc1475648de2cf5da6ad3ec06ceed1dc8",
"project": "91f80e1c4cec343d0b632ad7e0b9eb8f732ca39c8290e40a8dc085f113339ffd",
"execution": "a81d70245229a6a84b2ba0e02d9577c7bb2793ff25b0e36339d3b1f1bd677f3c"
},
{
"id": "e8846c6e-1ba2-497e-b0db-ca5778181eb0",
"session": "81477eeefcdf965fdd9091e05670df99e3817f7cbc6ab56605c215262ec3cd5c",
"project": "0a1d247fb4e3fc9dfc35ec2e4902e107c8ccc8efcc33e61e556cd5230e4777d1",
"execution": "7a000c717f543db70875d9f163766606a1bc9ec8747881e5d91a9fafa7d2a084"
},
{
"id": "ea5ec3cb-b074-41ac-989c-34c6515bd742",
"session": "983e92750affa53234ea805de39889e58c5a2a1b4e016e8a84d1ff15d83bb918",
"project": "3b83f6c68b0af564e8732559ff71514f738252a0fd2d097db61c9a023f179d79",
"execution": "3d6af5dd21d62fa98fd36ce353111b08bb48194985d16262d7bd9a7ca036e0a6"
},
{
"id": "f8a5a714-183d-4d6c-af27-ed56c60225b2",
"session": "cff80cd569d20f8294703ad3fce75555a21b911e07339220a5bb2a31c01eb78d",
"project": "d3025c877b071c0815d63323d883f68be4e778ba4392ab2bae91cf24cd34e29f",
"execution": "daab52abf10ac06e6a0e1b2b13cd4bd0f9de620e9b6404392041212d63df8808"
},
{
"id": "fc87c3f6-a108-4095-ae41-4ef56bc789c3",
"session": "49dbf09c02b74d867df47a65185c60f5fac173ed114ccd6e7adf261a93e71b1f",
"project": "72cc4e0235d860965503c3b4f7d0a59f5f8a8720592e10578c4da7ab36bf1af1",
"execution": "4dce8aa90154d21f6f34e2a562cc567cc37f0eb06dd600094b1b47278b97b5df"
}
],
"allRowsAndExportsPreserved": true,
"inspectorClosed": true,
"comparedFiles": 8827,
"repackedMetadata": [
{
"path": "runtime/REA-RUNTIME.json",
"leftBuiltAt": "2026-10-30T19:33:14.593Z",
"rightBuiltAt": "2026-10-30T19:08:44.002Z",
"leftSha256": "538dedca9363b0851df9ebf3bdced0cd39ee98fb848c2743282dc89b6e873357",
"rightSha256": "6a75da9c8cc4b2d138a6eadf55e4d997eda468fe04a3180500f177273d863271",
"difference": "builtAt only; every other field/hash equal"
}
],
"frozenInputs": 232,
"independentSourceRoot": "D:\\awb\\source-check-ab4af9d650d0426ba58562fe29927139\\Agent-Workbench-1.13.0-source-20261030190844003",
"independentSourceTests": {
"tests": 404,
"pass": 404,
"fail": 0,
"cancelled": 0,
"skipped": 0,
"todo": 0
},
"uiGroups": 160,
"projectSamples": 3,
"realModelRequests": 0,
"headers": {
"cache-control": "no-store",
"connection": "keep-alive",
"content-security-policy": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; connect-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'self'",
"content-type": "text/html; charset=utf-8",
"date": "Fri, 30 Oct 2026 19:36:30 GMT",
"keep-alive": "timeout=5",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY"
},
"comparison": "Exact canonical hashes of every persisted row and exported project/session/execution, with no omitted compatibility fields.",
"preflight": {
"success": true,
"observedAt": "2026-10-30T19:36:27.541Z",
"version": "1.12.1",
"pid": 23172,
"registeredPid": 23172,
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.12.0-win-x64-20261030124454517",
"runtimeRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.12.1-win-x64-20261030155712678",
"dataRoot": "C:\\Users\\wangy\\AppData\\Local\\AgentWorkbench",
"busySessions": 0,
"historicalReleasePid": 19084,
"hasKey": true,
"model": "gpt-6.1-sol",
"connections": 2,
"pools": 1,
"inspectorClosed": true,
"credentialsHandling": "Public identity/counts only. No Provider key read, copied or sent; no model request."
},
"historicalReleasePid": 19084,
"preservesCurrentObservedProcess": true,
"modelCenterPreserved": true,
"modelCenter": {
"sha256": "3b45c5899533fa560a6c6b69afc149df7252656efd6730eb0d2105c3ca64845d",
"connections": 2,
"pools": 1,
"imports": 0,
"attempts": 6
},
"credentialsHandling": "Only public configuration/hasKey and data hashes; original Provider/credentials stay in the process. No model key read/copied/printed/saved and no model request."
}
+2
View File
@@ -2,6 +2,8 @@
## 2026-10-31 1.13 隔离worker接续
- 最终Git严格复核曾拒绝被全局*.log忽略的workers-integrated-first.log。既有workers-integrated-first-log.txt与其原字节/SHA一致;封存器修正后115份报告及身份共116文件与Git索引原字节一致,27份当前日志、1份历史日志来源映射及18张原PNG核对通过,原.log保留。身份SHA256为0f3e2f13f25ca9a10126cdeb537b2da45e8b4f488396e5e2fb62ff70300d8f2f。Node/REA/SDK/Edge来源、部署后四表每行和28全部导出再次核对一致,9229关闭。真正的交付边界为两个受限worker、文本审查合并与本地真实工具链;真实模型自主完成率及下一阶段引擎写入/Purge收益不纳入本轮通过。
- 最终实际升级前用户状态已从历史27会话增至28会话/2551记录/4568事件,当前20可见/8归档、2连接/1池/6既有请求摘要;原PID23172/Provider按最新全部行和28导出保持升级1.13.0,未套用旧计数。部署后10页实际Edge只读通过;模型中心1280与协作390截图已目视核对,面板在视口内,390标题栏刷新文案分行列入1.14界面切片,未声称全部细节已完善。下一步封存原证据/数据复核及本地Git。
- 新完整独立源码404/404与228份Git原字节、4份旧文件仅既有CRLF/LF差异、6构建及8815份实现/基准/原生资源比较通过。暂存时Git发现Python归档原JSON的CRLF会被自动规范化;本阶段workers-*.json增加-text,只保存原报告字节,不改原文件或旧生产输入。暂存后重新核对报告及日志原字节,最终发行仍仅补文档。
- 原归档JSON保留CRLF后,git diff --check把CR本身报告为尾部空白;本阶段报告属性明确cr-at-eol,同时保留blank-at-eol/blank-at-eof/space-before-tab检查,原报告不重写。十份新报告/日志与Git索引已逐字节一致,继续发行,不对代码或原测试扩大换行例外。
- 本轮串行控制台截图c4ae46be的桌面/390px已目视核对:两个子通道、真实预算/范围、父成果审查及具体冲突均清楚,窄屏按钮和路径留在面板内,无横向溢出。截图是已滚动的控制台,顶部标题在上方;没有据此声称标题缺失或改动产品布局。当前新三工程187cea09的13节点和输入全部通过,完整UI前11类102组已完成,最终统计仍待整轮退出。
+4
View File
@@ -2,6 +2,10 @@
## 2026-10-31 1.13 隔离执行阶段
- 最终重新封存与严格Git核对通过:115份报告及身份共116文件与索引原字节一致,27份当前日志、1份历史日志来源映射与18张PNG保持;身份SHA256为0f3e2f13f25ca9a10126cdeb537b2da45e8b4f488396e5e2fb62ff70300d8f2f。四表/全部28导出、正式1.13.0/PID23172及9229关闭再次核对;git diff --cached --check通过。本次提交保存最终发行/部署/证据与回顾,PLAN-1.14六切片保持未实现。
- 最终Git索引核对发现workers-integrated-first.log被全局*.log忽略,却被目录扫描纳入封存报告,严格验证拒绝收尾。原日志及既有workers-integrated-first-log.txt均保留,修正封存器为原字节副本与sourcePath/bytes/SHA映射;115份可提交报告、27份当前原日志、1份历史日志映射及18张PNG待重新封存、索引核对与本地提交。不强制加入忽略文件、不修改已通过的实现或发行包。
- 1.13功能、发行及正式部署完成:最终不可变20261030193314594归档/便携、404项独立源码、160组UI和三工程13节点全部通过。原PID23172/Provider、2连接/1池/6既有请求摘要及最新16项目/28会话(20可见/8归档)/2551记录/4568事件每行/全部导出保持;正式桌面/390px10页通过,随后数据库/28导出复核仍一致,9229关闭,0真实模型请求。最终身份索引调整为115份可提交报告、27份当前原日志、1份历史日志来源映射及18张原PNG,待严格索引核对后提交;原失败及四份旧CRLF/LF输入例外保持,后续PLAN-1.14已记录,未提前开启引擎工程或真实模型任务。
- 新独立源码91264完成404/404,0失败/取消/跳过/todo,原第354项宿主崩溃在同轮通过;232份输入与冻结基线一致,6份构建及REA/DeepSeek/Edge通过。六份原日志及报告/受测候选/归档身份已复制docs/workers-source-*并核对原字节。只补最终文档后重封不可变包;便携、实际Provider/PID及全部历史升级仍待执行,不重复已通过的源码/工程/UI。
- be02e99封存160组全UI、原日志、三工程与后续方案。新不可变候选20261030190844003便携11232/源码9532文件归档通过,独立解压至D:/awb/source-check-ab4af9d650d0426ba58562fe29927139;源码会话91264已通过离线安装、6份构建、REA/DeepSeek/Edge,完整回归进行中,原403/404候选保留且不采用。当前只有91264执行,不并行运行UI/工程;最终升级/比对/封存明确要求固定404项全部通过及PLAN-1.14原文身份。
- 串行全UI会话70846完成21类160组,0页面异常/请求失败;三工程13节点、全部源码/构建/基准和21份原日志字节核对通过。控制台桌面/390px截图已目视检查并记入findings;更新1.13验收/能力/总计划及PLAN-1.14,下一步生成新不可变候选、独立离线完整回归,不提前升级正式服务。
+5 -3
View File
@@ -2,14 +2,16 @@
## 2026-10-31 当前任务:1.13 隔离执行与两个受限worker
用户授权进入下一阶段全量开发,并要求及时回顾。基线f0fcefd/1.12.1保持;在feat/isolated-workers-1.13分支开发,正式服务不普通重启、不读取/复制Key、不发送真实模型请求。每个切片检查实现、原证据及遗留项后小步本地提交。
用户授权的1.13隔离协作阶段已完成,最终证据及Git索引严格核对通过,本次本地提交封存全部收尾。基线f0fcefd/1.12.1保留;feat/isolated-workers-1.13上的实现、独立验收与新不可变发行已正式交付,原PID23172/Provider、模型中心及最新全部历史保持。未普通重启、读取/复制Key或发送真实模型请求;各切片的原失败、检查、回顾与本地Git记录保留。
1. [complete] Task/Run、独立Git工作区、审批、预算、检查及持久归属契约已复用,PLAN-1.13已封存。工作区不宣称为OS沙箱。
2. [complete] 父子记录、不可变范围/预算/模型、预分配身份、两个串行工作区与并行受限执行已实现;核心6/6、文件批次/检查/工作区32/32通过并保存原失败。本切片完成时源码仍1.12.1,后续切片已统一1.13.0;局部通过不登记为发行。
3. [complete] 停止传播、原创建身份的检查进程树、迟到/未知用量与累计预算、部分创建及宿主退出核对已实现。整合原轮64/65,唯一QA清理竞态修正后真实宿主崩溃专项1/1;未拼称同轮65/65,最终独立源码待验。
3. [complete] 停止传播、原创建身份的检查进程树、迟到/未知用量与累计预算、部分创建及宿主退出核对已实现。整合原轮64/65与QA专项1/1分别保留、不拼称同轮65/65;两份实际心跳及清理顺序强化后,宿主崩溃场景已纳入新独立404/404通过的整轮。
4. [complete] 原子成果、当前文件/检查原日志、Git及提案链核对、具体路径冲突、父封存批次与应用前复核、父检查/Git完成门槛已接入并实际验证。部分归集封存中断按原绑定恢复,未知不造完成结果。
5. [complete] 桌面/390px协作控制台10节点及Node/React/Python三个真实功能工程完成;父测试8/8、9/9、10/10与实际构建/编译/Git通过,React内置Edge两视口各10项断言通过。13个工程节点、原失败及完整工件保留;UI等待及响应式文本断言已修正,真实模型语义仍单独待验。
6. [in_progress] 新独立源码404/404、232份输入/6构建/40基准、完整UI21类160组及三工程13节点通过;91264已退出。保存全部原证据后只补文档生成最终不可变包,完成便携、保留当前Provider/全部历史正式升级及1.13封存;下一阶段PLAN-1.14已记录。正式服务未升级,不提前登记交付。
6. [complete] 新独立源码404/404、232份输入/6构建/40基准、完整UI21类160组及三工程13节点通过;最终不可变20261030193314594便携11242/源码9542文件、实际随包运行及保留状态正式1.13.0升级通过。原PID23172/Provider、2连接/1池、最新16项目/28会话/2551记录/4568事件每行及全导出保持,部署后10页与数据库/全部导出复核通过,9229关闭。被Git忽略的历史.log改引用已核对的原字节-log.txt副本,原文件保留;115份报告及身份共116文件与Git索引原字节一致,27份当前原日志、1份历史日志来源映射及18张PNG核对通过,本次本地提交封存收尾。
下一阶段起点已记录为[PLAN-1.14](docs/PLAN-1.14.md):受控外部引擎契约/工具桥/独立工程/恢复界面/Purge同题对照/独立发行六切片,尚未开始实现。桌面、手机、多模态和自我迭代依照NEXT-STEPS的前置继续推进,真实模型工程仍单独待验。
## 2026-10-30 当前任务:里程碑回顾、漏洞修复与后续计划封存