Prepare desktop 1.15 offline source and release acceptance
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# Agent Workbench 能力目标与验收矩阵
|
||||
|
||||
日期:2026-10-30。1.0.0为基础里程碑,1.1.0实现M1,1.2.0增加内置Git交付,1.3.0增加工程索引和精确补丁,1.4.0增加可恢复多文件变更集,1.5.0/1.5.1增加有界请求与可用工件分页,1.6.0增加独立Git工作区和审查收尾,1.6.1增加实际Task工作依据和文件预算分页。下表保留1.0.0缺口与完整产品目标;每项完成范围以实际验证记录为准。
|
||||
日期:2026-10-31。1.0.0为基础里程碑,1.1.0实现M1,1.2.0增加内置Git交付,1.3.0增加工程索引和精确补丁,1.4.0增加可恢复多文件变更集,1.5.0/1.5.1增加有界请求与可用工件分页,1.6.0增加独立Git工作区和审查收尾,1.6.1增加实际Task工作依据和文件预算分页。下表保留1.0.0缺口与完整产品目标;每项完成范围以实际验证记录为准。
|
||||
|
||||
总体方案见 [PRODUCT-PLAN.md](PRODUCT-PLAN.md),研究问题与来源见 [RESEARCH-ROADMAP.md](RESEARCH-ROADMAP.md)。
|
||||
|
||||
1.15当前实现与验收:A–E Windows宿主/单实例、DPAPI选择保存、真实Electron窗口、安装/回退/卸载和分页巡检、桌面三工程16节点及原生UI9组已通过并提交。F独立源码/最终发行/正式部署进行中,未计完整交付;原正式1.14服务和连接保持。具体证据见[QA-1.15](QA-1.15.md),下一真实手机前置见[PLAN-1.16](PLAN-1.16.md)。
|
||||
|
||||
2026-10-31当前正式交付基线为1.14.0:固定DeepSeek Harness受控工具/模型桥、单个所属worker、真实prompt/审批/检查/父审查/Git与停止核对,以及两版本来源锁定的默认关闭提示实验已交付。独立445/445、253份输入/6构建/40基准、三工程13节点、23类178组UI及最终便携/归档、保留状态升级通过。原PID23172/Provider、完整模型中心和全部7表每行/28会话导出保持,部署后14页通过。真实模型推理收益及其它引擎适配继续独立待验;见[1.14验收](QA-1.14.md)与[下一桌面阶段](PLAN-1.15.md)。
|
||||
|
||||
1.13历史交付:1.12.1逐里程碑/24项能力审查与五类确认问题修复保持,本阶段两个受限worker、父成果审查/恢复、独立404/404、完整160组UI、三工程13节点与最终源码/便携正式升级通过。原PID23172/Provider、完整模型中心及当时16项目/28会话/2551记录/4568事件每行和全导出保持,部署后10页通过,见[1.13验收](QA-1.13.md)和[回顾](RETROSPECTIVE-1.13.md)。各版本旧数字保留为历史证据,下一切片与未交付范围统一见[NEXT-STEPS](NEXT-STEPS.md)。
|
||||
@@ -117,9 +119,9 @@
|
||||
- C12/C13:成功准备Git预览后保存审查边界并停止模型;后续同消息工具不执行且协议完整。确认后内核完成原Task与报告,不继续请求模型,预览可修改/撤回。
|
||||
- 192项回归和72组界面通过;合成模型子工作区真实3项失败→3项通过/build/Git报告通过。不可变包、原进程更新与真实配置模型结果见[QA-1.6](QA-1.6.md),完整三类工程及M2/M6能力继续验收。
|
||||
|
||||
| ID / 能力 | 当前已交付能力与缺口(至1.12.0) | 后续产品目标 | 参考问题 / 模块 / 阶段 | 必须看到的验收证据 |
|
||||
| ID / 能力 | 当前能力与缺口(至1.15实现;发行状态见QA) | 后续产品目标 | 参考问题 / 模块 / 阶段 | 必须看到的验收证据 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| C01 需求与任务规划 | Task固定目标/追加要求、Run身份和不可变依赖步骤/真实证明已交付;跨worker任务调度待做 | 固定目标、约束和完成标准;拆任务、判断依赖、接收追加要求与重规划 | CX-1、WB-1 / tasks / M1–M2 | 追加要求后仍保留原目标;任务完成由验收条件决定 |
|
||||
| C01 需求与任务规划 | Task固定目标/追加要求、Run身份、依赖步骤/真实证明及两个受限worker已交付;任意规模调度待做 | 固定目标、约束和完成标准;拆任务、判断依赖、接收追加要求与重规划 | CX-1、WB-1 / tasks / M1–M2 | 追加要求后仍保留原目标;任务完成由验收条件决定 |
|
||||
| C02 执行状态与恢复 | SQLite事件/状态、原工件、Task检查点、unknown核对及显式同Task续接已交付;不重放已完成副作用 | 独立Task/Run/Step身份、持久事件、检查点与未知结果核对 | CC-2、CU-1、DS-1 / storage、tasks / M1 | 在审批、调用、结果与落盘等切点中断;恢复不重复已完成副作用 |
|
||||
| C03 工程识别与索引 | 项目识别、JS/TS/React声明/导入索引与增量核对、Python候选已交付;完整语义/运行时依赖待做 | 识别语言、入口、规则、脚本、依赖和Git;增量索引;符号/引用与必要的语义检索 | CU-2、DS-3 / context / M2 | 对Node/React/Python样本定位实际修改入口;代码变动后索引更新 |
|
||||
| C04 上下文与项目归属 | 有界原请求、工作依据/分页、实际工具反馈、来源记忆及Task/Run归属已交付 | 为Run组合需求、规则、代码、错误与验证结果;引用来源;严格绑定项目 | CC-2、CU-1 / context、contracts / M1–M2 | 切换两个项目/任务后,错误与工具结果仍归属正确;大输出用工件引用 |
|
||||
@@ -136,12 +138,12 @@
|
||||
| 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不直接判工程完成 |
|
||||
| C18 Purge增强实验 | 1.14来源锁定的两版本提示实验、开关/失效拒绝和同题夹具对照已交付;原完整插件与真实模型收益未验证 | 独立实验profile、兼容版本、策略分类、开关/回退和同题对照;有效机制按接口采纳 | PG-1 / engines、models、tasks / M3 | 同模型/任务/预算重复比较成功率、成本与错误修改;插件失效可恢复基线 |
|
||||
| C19 外部代理引擎 | 1.14固定DeepSeek0.2.1-rc.2受控prompt/工具模型桥、所属工程/审批/预算/父审查/Git与停止已交付;Codex等适配待做 | EngineAdapter管理握手、会话/进程、事件、停止/恢复和真实能力限制 | CX-2、DS-1 / engines / M3 | 引擎事件有Task/Run映射;协议缺失能力明确;root idle不直接判工程完成 |
|
||||
| C20 浏览器与界面验证 | 代理固定静态构建、真实Edge交互/DOM/PNG/原报告与Task绑定已交付;任意在线浏览与电脑操作待做 | 可选浏览器工具、页面状态/截图、请求/控制台结果、交互验收与开发预览 | CU-2、WB-1 / tools、artifacts / M3–M6 | React真实交互/失败场景可复现;结果含页面与任务身份,不只保存截图 |
|
||||
| C21 桌面产品 | Windows浏览器便携/源码包及保留原进程升级已交付;Electron安装版、后台宿主/窗口拆分待做 | Electron Windows安装/升级、后台执行宿主、工程/终端/diff/成果区和任务通知 | 产品方案 / desktop、gateway / M5 | 关闭窗口后可再查看任务;安装/升级保留数据;宿主进程生命周期明确 |
|
||||
| C21 桌面产品 | 1.15真实Electron窗口/后台宿主拆分、单实例、原生入口、安装/更新/回退/卸载A–E已验收;最终独立发行和正式部署待F | Electron Windows安装/升级、后台执行宿主、工程/终端/diff/成果区和任务通知 | 产品方案 / desktop、gateway / M5 | 关闭窗口后可再查看任务;安装/升级保留数据;宿主进程生命周期明确 |
|
||||
| C22 手机伴随端 | 390px响应式界面已验证;电脑仅绑定127.0.0.1,真实手机PWA配对/撤销待做 | PWA任务/进度/审查入口;配对网关与设备撤销;共用Run与事件游标 | 产品方案 / mobile、gateway / M5 | 实际手机连电脑并审查同一任务;断线补发不重复执行;失效设备不能授权 |
|
||||
| C23 数据、配置与发布迁移 | Key仅内存、SQLite/旧JSON迁移、不可变包/保留Provider与历史升级已交付;本机加密凭据、完整回退和设备配置待做 | 用户主动配置凭据、系统凭据存储、数据库迁移/回退、版本兼容和日志导出 | CX-2、DS-1 / storage、gateway、desktop / M1、M5–M6 | 升级副本与回退可验证;导出无Key;任务和来源不丢失 |
|
||||
| C23 数据、配置与发布迁移 | 临时Key默认内存;1.15新增显式DPAPI保存/关闭/删除、同事务回退和安装根入口/指针回退已实际验收;正式发行待F,设备配置待1.16 | 用户主动配置凭据、系统凭据存储、数据库迁移/回退、版本兼容和日志导出 | CX-2、DS-1 / storage、gateway、desktop / M1、M5–M6 | 升级副本与回退可验证;导出无Key;任务和来源不丢失 |
|
||||
| C24 工程能力评测 | 行为/UI与Node/React/Python实际样本、失败/人工介入证据已保留;封存成套基准、重复评测与整体稳定完成率待做 | 封存真实工程任务、独立验收、重复运行和错误分类;追踪人工介入/成本/恢复 | 全部目标 / evaluation、artifacts / M1–M6 | 发布能力可链接实际任务记录;报告含失败样本与环境,不能只展示成功演示 |
|
||||
|
||||
### 1.6.1 M2实际工作依据切片
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# Windows桌面与本机连接
|
||||
|
||||
1.15复用现有工作台客户端和执行内核。A–E实际验收通过,最终发行/正式部署状态以[QA-1.15](QA-1.15.md)为准。
|
||||
|
||||
安装版默认为当前Windows用户安装在`%LOCALAPPDATA%\Programs\AgentWorkbench`;用户数据在`%LOCALAPPDATA%\AgentWorkbench`。安装目录含原生`AgentWorkbench.exe`入口、`current.json`和独立`versions`程序目录。新版本写入新目录,核对完整文件清单、原执行宿主和活动后才激活;失败回退当前指针和根入口。卸载先结束所属空闲宿主,用户数据保留。
|
||||
|
||||
双击安装目录的`AgentWorkbench.exe`打开桌面。便携包双击`Start-Desktop.cmd`;`Start-Workbench.cmd`仍可打开浏览器界面。源码包使用随包Node24、`npm ci --offline --ignore-scripts`和`npm run build`后,`npm run desktop`使用固定Electron运行目录。程序/data路径在首次自定义安装后按原登记复用,不能临时把另一份用户数据目录当原宿主。
|
||||
|
||||
普通关闭桌面窗口会退出该窗口,后台Node继续保留任务、模型连接和执行记录;重开核对实际用户、进程创建、安装输入、数据目录与签名挑战后复用所属宿主。同版本的其它目录也有独立身份,端口占用不自动当作本程序。需要结束执行时使用「退出执行宿主」,核对当前状态后等待所属工具、检查和原生引擎结束。已完成操作不会因重开窗口自动重放,未知结果仍需在原任务核对。
|
||||
|
||||
桌面提供原生项目目录选择、当前项目/文件定位和所属Task审查入口。文件入口核对已登记项目、实际路径和原SHA;不会把任意渲染页参数转为系统命令。六个固定preload方法运行在隔离窗口中,模型和客户端仍通过原Task/Run、文件审查与逐次命令审批执行。
|
||||
|
||||
模型Key默认只存于执行宿主内存。新填写或本次确认导入时,可选「本机加密保存」:当前Windows用户的DPAPI密文与连接登记共同提交。临时连接在宿主重启后显示待配置;保存连接可关闭启动自动加载、删除本机保存,或单独清除内存。关闭连接调度与删除密文是不同操作,界面分别显示状态。旧内存连接不因安装升级自动持久化,公开配置/会话/报告无明文Key。
|
||||
|
||||
密文绑定当前用户、数据目录、连接及配置修订;来源变化、损坏或解密失败会显示不能加载并保留原保存块。不同Windows账号登录尚未实际验收,错误SID/entropy/损坏和自有凭据实际重启/HTTP认证已分别验证。不要手动复制密文到另一数据目录作为连接迁移。
|
||||
|
||||
运行中心巡检为只读操作,不发送模型请求或运行项目命令。报告核对实际宿主/来源、SQLite、磁盘、所属worker/driver/MCP、未知结果和工件范围。历史工件按原页/游标分段核对,最近50份正常不等于全部历史正常;报告保留本次检查数和未覆盖数。发现损坏或unknown后仍需按原Task/Run核对,巡检不会解除状态或重放工具。
|
||||
|
||||
真实手机接入按[1.16方案](PLAN-1.16.md)实施一次性配对、设备权限、HTTPS与断线恢复。390px窄屏通过仅说明布局兼容,手机`127.0.0.1`指手机本身。真实推理/Purge收益、其它引擎、语音/视觉与通用电脑操控各有独立开发和验收门槛。
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
# 后续执行计划
|
||||
|
||||
更新:2026-10-31。当前正式交付基线为1.14.0,[1.12.1里程碑审查](MILESTONE-AUDIT.md)及1.13隔离协作保持;[1.14受控引擎与提示实验](QA-1.14.md)的A–F、独立445/445、23类178组UI、三工程13节点、最终归档/便携和保留状态升级已完成。原PID23172/Provider、模型中心及16项目/28会话/2551记录/4568事件和全部7表每行/全部导出保持,部署后14页通过。下一阶段按[1.15方案](PLAN-1.15.md)开发Windows桌面与本机加密连接;真实模型工程及Purge推理收益仍按用户选择暂缓。历史研究、局部测试与连接核验不能代替真实工程交付。其他项目不进入本计划。
|
||||
更新:2026-10-31。当前正式服务仍1.14.0,原PID23172/Provider、连接和全部历史保持。1.15 Windows桌面、持久连接与安装的A–E已完成实现/实际验收/本地提交,F独立发行与正式部署正在执行;见[QA-1.15](QA-1.15.md)。下一[1.16手机伴随端](PLAN-1.16.md)已记录具体配对、设备权限、真实手机、审批/停止、断线/撤销和独立发行门槛,须先完成1.15 F。真实模型工程/Purge推理收益继续按原选择暂缓,其他项目不进入本计划。
|
||||
|
||||
产品目标是让用户给出需求后,工作台能保留项目基线,完成定位、计划、修改、检查、必要修复、审查和Git交付,并在停止、故障、断线后明确保留已完成结果。桌面与手机共享同一执行宿主、任务和证据。
|
||||
|
||||
当前接续:1.14已正式交付,原失败、独立源码/随包/界面与升级证据均封存。下一阶段[Windows桌面与本机加密连接方案](PLAN-1.15.md)已记录六个切片及真实安装/重启/工程/回退标准,前置已通过;从A宿主身份、单实例与窗口生命周期开始,尚未实现桌面壳或持久凭据。
|
||||
当前接续:完成1.15最终源码/历史UI/归档/便携/实际安装验收,以已验证候选安装保留状态升级正式4318,核对全部持久行/导出/工件和连接,再封存发行身份/回顾。只有这些完成后才进入1.16 A;计划不能代替真实手机结果。
|
||||
|
||||
## 执行顺序与完成门槛
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
| 1:隔离执行与多worker(完成) | 父任务拆分、两个所属worker、独立worktree、累计预算、停止恢复、成果归集、具体冲突及父工程审查 | 当前Task/Run、工作区、计划和未知结果恢复契约 | 三工程13节点、父Node8/8、React9/9、Python10/10与构建/编译/Git、React两视口各10断言、独立404项、160组UI、最终归档/便携与保留状态升级通过,见QA-1.13 |
|
||||
| 2a:受控DeepSeek与提示对照(1.14完成) | 固定Harness/工具模型桥、所属工程/停止/父审查、两版本来源锁定默认关闭提示实验 | 外部SDK实际契约和1.13隔离工作区;运行器及实际输入身份固定 | 三工程13节点、独立445项、178组UI、实际随包/状态升级及14页通过;八工程36节点的夹具提示对照保留原输入/用量,真实推理收益未测,见QA-1.14 |
|
||||
| 2b:其它引擎与真实收益(后续独立切片) | Codex实际适配;Claude Code/Cursor/WorkBuddy机制研究;Purge真实模型对照 | 实际版本、审批/取消/模型与工具契约;已验证的受限桥和所属工作区 | 指定工程有实际原协议/工具/检查/Git与停止结果;真实有无实验同模型同题同预算,记录失败和人工介入,不用连接或固定回答夹具推断成功率 |
|
||||
| 3:Windows桌面 | 单实例、后台宿主、项目/终端/审查入口、安装包与保留数据更新 | 宿主与客户端生命周期拆分;本机凭据加密;稳定迁移契约 | 关闭/重开窗口不丢任务;重复启动复用宿主;安装/升级/卸载的数据行为可核验;崩溃后显式恢复;旧版本可回退 |
|
||||
| 3:Windows桌面(A–E通过,F验收中) | 单实例、后台宿主、项目/终端/审查入口、安装包与保留数据更新 | 宿主与客户端生命周期拆分;本机凭据加密;稳定迁移契约 | 关闭/重开窗口不丢任务;重复启动复用宿主;安装/升级/卸载的数据行为可核验;崩溃后显式恢复;旧版本可回退 |
|
||||
| 4:手机伴随端 | PWA、一次性配对、设备身份、撤销、同Run观察/审批、断线游标补发 | 设备认证、加密传输、审批身份/幂等、速率限制;阶段3宿主 | 在真实手机完成配对和撤销;断线后按seq恢复;旧Run/过期/重复审批拒绝;手机和桌面显示同一结果;手机不直接执行宿主文件与命令 |
|
||||
| 5:模型与多模态 | 更多实际协议、流式取消、按能力选路、可恢复池策略、视觉/语音/附件、项目缓存 | 每种协议的工具调用/用量/取消实测;凭据和附件隔离 | 图像、语音、文本各有真实样本;流式断开保留unknown而不重复副作用;不兼容成员不被调度;缓存绑定项目/权限/源码版本并可清除;429/401/超时/冷却有独立证据 |
|
||||
| 6:自我迭代与专业交付 | 隔离分支生成候选、固定评测集、多模型复核、质量/成本对照、升级候选和回滚 | 可复现工程基准、完整质量门槛、阶段1隔离和阶段3更新 | 工作台可提出并验证自身改进;候选不直接改运行中的发行;回归或独立验收失败不能发布;保存原差异、指标和回退点;采纳须经用户已有权限规则 |
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
按[PLAN-1.14](PLAN-1.14.md)已固定DeepSeek Harness的prompt/事件/审批/停止契约并通过受限桥完成所属工程、父审查和Git;实际SDK仍缺少session/cancel,停止单位为所属进程树,旧SDK会话不自动恢复,逐token流未实现。Codex等其它适配按具体版本独立推进,不能从连接成功推断能力。
|
||||
|
||||
DSH-purge两版本的来源锁定和同题本地HTTP夹具对照已完成,独立提示实验默认关闭;真实推理收益继续待验。下一[1.15桌面阶段](PLAN-1.15.md)先实现实际宿主身份/单实例,再本机加密连接、Electron窄范围窗口、可回退安装、实际桌面工程和独立发行。手机、跨协议多模态和自我迭代依照上表前置推进,每个切片继续回顾并本地Git。
|
||||
DSH-purge两版本的来源锁定和同题本地HTTP夹具对照已完成,独立提示实验默认关闭;真实推理收益继续待验。当前[1.15桌面阶段](PLAN-1.15.md)A–E通过,F正执行独立发行/正式保留状态部署;下一[1.16](PLAN-1.16.md)按实际HTTPS和一次性配对开始。手机、跨协议多模态和自我迭代依照上表前置推进,每个切片继续回顾并本地Git。
|
||||
|
||||
## 跨阶段必须保持的能力
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# 1.15 Windows 桌面宿主与持久连接执行方案
|
||||
|
||||
2026-10-31。A–C已分别实现、验收和提交(249f191、72a496a、5354d95);D的16项补强回归、6组UI、11组实际安装演练通过并提交f7a5969;E的桌面三工程16节点和原生停止/恢复9组通过;F独立发行和正式部署尚未完成。1.14原445/445、178组UI、三工程及发行证据保持,具体前置结果见[1.14验收](QA-1.14.md)。每个切片保留原失败、回顾、复验并本地Git提交,失败的候选不进入正式服务。
|
||||
2026-10-31。A–C已分别实现、验收和提交(249f191、72a496a、5354d95);D的16项补强回归、6组UI、11组实际安装演练通过并提交f7a5969;E的桌面三工程16节点和原生停止/恢复9组通过并提交b77783b;F元数据/源码离线运行与17相关检查已补齐,独立发行和正式部署进行中。1.14原445/445、178组UI、三工程及发行证据保持,具体前置结果见[1.14验收](QA-1.14.md)。每个切片保留原失败、回顾、复验并本地Git提交,失败的候选不进入正式服务。
|
||||
|
||||
## 本阶段交付目标
|
||||
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
# 1.16 手机伴随端执行方案
|
||||
|
||||
2026-10-31记录。前置是[1.15](PLAN-1.15.md)完成F独立发行、正式桌面安装与保留状态部署;本文为下一阶段计划,不能据此认为手机功能已经实现。
|
||||
|
||||
## 用户成果
|
||||
|
||||
用户在Windows工作台开启手机连接,扫描一次性配对码后,在手机查看指定项目的同一Task/Run、进展、实际文件差异和检查结果;在授予审批权限后,可确认原审批或停止所属任务。离开电脑、关闭桌面窗口不影响后台宿主,手机断线后从原seq补发,撤销设备立即失去访问。执行文件、命令、模型和Git仍由原宿主控制。
|
||||
|
||||
首版为PWA伴随端,覆盖观察、原审批、停止和原报告,不在手机上另做一个执行内核。真实手机验收和390px兼容分别记录。完整手机编辑器、原生Android/iOS包、跨公网托管和手机本地执行是后续独立能力。
|
||||
|
||||
## 六个切片与门槛
|
||||
|
||||
| 切片 | 实现范围 | 验收结果 |
|
||||
| --- | --- | --- |
|
||||
| A:配对网关 | 执行宿主继续只监听loopback;用户显式开启独立HTTPS网关;一次性256位配对随机值、短有效期、原宿主/用户/网关身份绑定、串行消费和设备登记 | 错误宿主、过期/重复/并发配对、未知设备与原服务变化拒绝;关闭网关不结束任务;不把原Workbench管理token交给手机 |
|
||||
| B:设备权限 | 每个设备选择项目范围和观察/审批/停止权限;服务端路由及归属检查;撤销/到期、会话轮换、连接速率限制及原操作审计 | 越项目、换Task/Run、字段扩展、绕过UI直接调用、已撤销设备和旧会话拒绝;设备审计不保存凭据明文 |
|
||||
| C:手机界面 | 配对、项目/任务列表、原进展、原文件差异、工程检查、预算/unknown状态和报告;触控、软键盘、安全区及前后台恢复 | 在实际Android或iOS浏览器操作;长路径/大量进展/原审批可读,后台切回状态正确;宽窄界面共用原Task/Run和工件 |
|
||||
| D:审批与停止 | 手机确认同一原审批ID、Task/Run、输入指纹和当前修订;重复请求幂等;明确停止等待所属工具及进程结束 | 桌面与手机同时审批只执行一次;已取消/过期/换Run审批拒绝;断线期间完成的工具不重放;停止后原心跳不再写入 |
|
||||
| E:断线与撤销 | 从原持久事件seq分页补发,设备仅收到授权项目;重复/乱序处理,原结果SHA核验;撤销立即关闭活动连接 | Wi-Fi断开/切网/刷新/后台/重连均恢复同一结果;无越项目历史;设备撤销时仍在运行的原Task继续由宿主保留 |
|
||||
| F:独立发行与回顾 | 固定源码/设备契约、全量历史回归、真实手机/桌面、干净安装、保留连接和全部持久数据升级 | 原源码/测试基线和失败保留;手机真实设备信息、步骤/结果/日志有证据;没有真实设备时不能把手机交付标完整通过 |
|
||||
|
||||
## 传输和凭据选择
|
||||
|
||||
默认关闭远程监听。局域网首版需要手机实际信任的HTTPS证书和固定网关地址;本机生成证书与设备上的信任安装要有明确操作和实测结果。仅访问一个HTTP局域网地址或忽略证书错误,不算PWA与加密传输完成。已有可信域名/证书可作为用户选择的配置,公网或第三方隧道另行配置,不自动公开工作台。
|
||||
|
||||
配对随机值仅用于短期单次授权。设备登记与权限修订在宿主事务中保存;持久秘密使用本机加密适配层,手机侧采用安全会话或实际平台可支持的设备密钥。具体认证格式通过实际浏览器验证后固定,不预先宣称硬件密钥或跨平台安全存储已可用。原模型Key始终留在Provider;手机模型状态和用量不包含Key。
|
||||
|
||||
## 模块与原契约
|
||||
|
||||
拟新增gateway传输/设备登记、共享设备与审批契约、配对管理界面及mobile伴随页面。Runtime、Store、Provider、Task/Run/Tool、工件、计划、累计预算、worker和受控引擎仍复用;新增网关只转发经设备权限和归属核对的固定操作。配对、撤销和设备审计不触发模型或项目命令。
|
||||
|
||||
手机不能访问Workbench完整管理API、任意宿主路径、任意命令或全部会话导出。观察权限只读取授权工程;审批或停止需要原身份和当前输入,UI隐藏按钮不是权限边界。每个操作写入设备身份/请求ID/Task/Run/结果,重试不产生第二次副作用。unknown必须显示需核对,不能因断线自动恢复工具。
|
||||
|
||||
## 实际验收素材
|
||||
|
||||
使用自有Node/React/Python项目、独立端口、数据目录及测试凭据,复用既有失败修复/父审查/原审批/检查/Git样本。设备端保存原步骤和截图,宿主保存原事件/工具行及工件SHA;分别覆盖只读设备、审批设备、撤销、原审批竞争、断线和停止。最终正式升级核对原PID/Provider、全部表每行与全部会话/工件,测试不读取或复制真实模型Key。
|
||||
|
||||
每个切片通过相关验收后回顾并本地Git提交,原失败候选不部署。A–E可以先以自有协议/浏览器夹具开发,但F必须增加真实手机结果;需要的设备或证书选择在实际接入前取得用户信息,不能用等待时间替代授权。
|
||||
|
||||
## 后续能力顺序
|
||||
|
||||
手机完成后,按实际协议接入更多模型,验证工具调用、用量、流式断开和池路由,再做视觉/语音附件、项目范围缓存;最后用独立分支、固定工程评测、多模型复核和可回退候选开发自我迭代。Codex、Claude Code、Cursor、WorkBuddy适配和Purge真实收益均以具体版本/原协议/原工程结果判定,不能以名称或静态研究替代接入。参见[NEXT-STEPS](NEXT-STEPS.md)。
|
||||
@@ -1,10 +1,10 @@
|
||||
# Agent Workbench 后续产品与执行开发方案
|
||||
|
||||
更新:2026-10-31。本文保留完整产品规划。1.12.1[里程碑审查](MILESTONE-AUDIT.md)与五类确认问题修复、1.13两个受限worker保持;当前正式基线1.14.0已交付固定DeepSeek受控引擎、工具/模型桥、父工程审查/Git及默认关闭的来源锁定提示实验。独立445/445、完整178组UI、三工程13节点及最终归档/便携/保留状态升级通过,原Provider/PID、模型中心与28会话全部历史保持,部署后14页通过。下一阶段按[1.15方案](PLAN-1.15.md)开发Windows桌面与本机加密连接,再按[后续计划](NEXT-STEPS.md)推进手机和其余能力。真实模型工程与Purge推理收益继续按用户选择暂缓;实际实现、验收与部署分别见[能力矩阵](CAPABILITIES.md)及[验证记录](VALIDATION.md)。
|
||||
更新:2026-10-31。当前正式基线1.14.0、原Provider/PID与全部历史保持。1.15 Windows桌面与本机加密连接的A–E已实现、实际验收并提交;F正在核对独立源码/完整历史UI/最终安装/便携和保留状态部署,未完成前不登记正式交付。下一[1.16手机方案](PLAN-1.16.md)已封存,按[后续计划](NEXT-STEPS.md)逐切片回顾和本地Git。真实模型工程及Purge推理收益继续按用户选择暂缓;具体实现/证据/部署分别见[能力矩阵](CAPABILITIES.md)、[QA-1.15](QA-1.15.md)与[验证记录](VALIDATION.md)。
|
||||
|
||||
## 1. 产品目标
|
||||
|
||||
1.14的A–F已完成实现、独立验收和正式交付:253份源码输入/6构建/40基准、三工程13节点、23类178组UI及独立445/445通过;最终不可变20261030235440461便携/归档与保留状态升级通过。原PID23172/Provider、全部7表每行及28会话导出保持,具体原结果见[QA-1.14](QA-1.14.md)。[1.15桌面方案](PLAN-1.15.md)记录窗口/宿主分离、本机加密连接、单实例、实际安装/更新/回退六切片,前置已通过,尚未实现。
|
||||
1.14的A–F已完成实现、独立验收和正式交付:253份源码输入/6构建/40基准、三工程13节点、23类178组UI及独立445/445通过;最终不可变20261030235440461便携/归档与保留状态升级通过。原PID23172/Provider、全部7表每行及28会话导出保持,具体原结果见[QA-1.14](QA-1.14.md)。[1.15桌面方案](PLAN-1.15.md)的A–E已分别实现及实际验收(249f191、72a496a、5354d95、f7a5969、b77783b),F独立发行/正式部署正在执行,后续真实手机配对另属1.16。
|
||||
|
||||
建立由我们掌握源码、可接用户选择的大模型、在本地持续完成真实工程任务的AI编程与能力研究工作台。研究Codex、Claude Code、Cursor、DeepSeek Harness、WorkBuddy的有价值机制,用REA取得可追溯证据,将机制独立开发成工作台内置能力;DSH-purge作为明确版本和作用范围的研究及增强策略候选。
|
||||
|
||||
@@ -31,7 +31,7 @@ Purge的源码机制不证明模型权重或工程成功率已经提升。增强
|
||||
|
||||
现有基础:React工作台、兼容模型连接、Task/Run/Tool及预算、SQLite/工件恢复、工程索引与精确补丁、npm实际检查、单文件/整批审核、Git和报告。1.4.0增加原/新字节快照和逐文件执行账本、整批预检及显式恢复;各版本实测证据单独登记。
|
||||
|
||||
正式1.12基础包括Task所属依赖计划与原结果核验、多连接兼容Chat协议模型池、本地格式导入/巡检、带来源核对和有界请求快照的[项目记忆](PROJECT-MEMORY.md)、Task检查点、本地Skills和受控stdio MCP。1.13源码已实现两个受限worker、独立Git工作区、累计预算/停止恢复、当前成果核对和父工程文本审查合并,最终发行以[QA-1.13](QA-1.13.md)为准。动态REA/外部引擎注册、任意规模调度、OS沙箱、桌面壳和手机配对仍待开发;已有不同阶段的Node/React/Python工程样本,整体自主交付能力按真实任务评估。Python专用检查和混合范围选择的来源见[Python契约](PYTHON-CHECKS.md),真实React类型/构建/交互/Git样本见[React基准](../benchmarks/react-delivery-v1/README.md)。任意自动合并与归档继续开发,现有批次支持文本创建/修改,不提供跨文件原子事务。当前模型协议仍使用stream:false;跨协议与真实模型池工程验收另行记录。
|
||||
正式1.12基础包括Task所属依赖计划与原结果核验、多连接兼容Chat协议模型池、本地格式导入/巡检、带来源核对和有界请求快照的[项目记忆](PROJECT-MEMORY.md)、Task检查点、本地Skills和受控stdio MCP。1.13源码已实现两个受限worker、独立Git工作区、累计预算/停止恢复、当前成果核对和父工程文本审查合并,最终发行以[QA-1.13](QA-1.13.md)为准。1.14受控DeepSeek工程引擎已交付;1.15桌面宿主/窗口、本机加密和安装A–E已通过,正式发行看QA-1.15。动态REA/任意外部引擎注册、任意规模调度、OS沙箱及真实手机配对仍待开发;已有不同阶段的Node/React/Python工程样本,整体自主交付能力按真实任务评估。Python专用检查和混合范围选择的来源见[Python契约](PYTHON-CHECKS.md),真实React类型/构建/交互/Git样本见[React基准](../benchmarks/react-delivery-v1/README.md)。任意自动合并与归档继续开发,现有批次支持文本创建/修改,不提供跨文件原子事务。当前模型协议仍使用stream:false;跨协议与真实模型池工程验收另行记录。
|
||||
|
||||
工作台源码已建立本地Git,基线提交为`bac87da`,标签`v1.0.0-baseline`,继续按可审查小步提交。用户工程已有内置审查提交/证据报告、独立工作区及1.13父子文本成果审查合并;任意自动合并、归档和总体自主工程完成率继续实施与验收。
|
||||
|
||||
|
||||
+2
-2
@@ -52,6 +52,6 @@ C#旧compiler不支持deterministic选项,使用源码/图标/编译器SHA绑
|
||||
|
||||
原环境根误用、精确seq误判、父审查漏点“审查变更集”、隐藏窗口截图等待绘制、Playwright下载事件、截图后的弹窗遮挡、窄屏自动收起项目栏均保存原失败。修正到实际SDK根、原事件补发、正常界面动作、显示窗口后捕获和原生DownloadItem,不使用force点击或放宽工程/预算/审批断言。[67份原证据](desktop-projects-e-evidence.json)包含失败/通过及PNG/DOM/日志;完整原fixture/工件仍保存在所引QA目录。原UI9组之后,仅共享QA helper增加正常弹窗关闭/项目栏展开,[原/新SHA差异](desktop-projects-e-ui-helper-delta.json)独立登记;产品/构建未改变,F以最终1.15重新验收这个helper。D本地提交f7a5969;E仍是开发版1.14.0,F不可跳过。
|
||||
|
||||
## F:独立发行与正式部署(待执行)
|
||||
## F:独立发行与正式部署(进行中)
|
||||
|
||||
完成E并提交后,固定1.15.0输入,核对全部构建目录、完整源码和历史UI,再验收源码/归档/便携/实际安装及保留原宿主升级。按照[执行方案](PLAN-1.15.md)完成F后才将本阶段计为完整交付。
|
||||
E已提交b77783b。已统一1.15.0元数据/独立证据路径、离线随包Electron和实际源码构建输入;源码重建资产加入宿主身份。首个构建误用系统Node16,原日志保留;固定Node24.22.1后构建及17相关检查通过。当前固定1.15.0输入,核对全部构建目录、完整源码和历史UI,再验收源码/归档/便携/实际安装及保留原宿主升级。按照[执行方案](PLAN-1.15.md)完成F后才将本阶段计为完整交付。
|
||||
|
||||
@@ -43,3 +43,8 @@
|
||||
新适配脚本暴露了几类原假设:父成果按钮只导航到改动区,还需实际审查动作;隐藏Electron窗口截图可能不绘制;Playwright网页下载事件不适合作为本机下载结论;宽窄切换后,弹窗和项目栏状态仍需正常操作。原失败均保存,补正常按钮/关闭/展开及实际DownloadItem,避免把自动化穿透遮罩当真实用户流程。原生DownloadItem落盘和原SHA证明下载过程,Windows保存对话框仍未测。
|
||||
|
||||
本切片继续用自有HTTP模型响应算法和in-process宿主;工程命令、检查、文件审查、Git和原生进程实际运行,但真实模型推理与整宿主退出需要分别判定。当前实际停止/崩溃/重启由C/D覆盖。原9组UI之后的helper小改动单独保存原/新SHA,F最终版本复验;历史报告不重写。下一F同步全部版本/独立证据路径、离线源码含Electron运行依赖及全部构建范围,再完整回归、实际安装和保留状态正式部署。
|
||||
|
||||
|
||||
## F发行前回顾
|
||||
|
||||
A–E原证据和五个提交保持。F把离线源码Electron运行、重建客户端资产身份和全部dist构建范围纳入验收;完整回归/新归档/实际安装/状态保留部署继续执行。首个npm构建由系统旧Node16抢占,固定子进程PATH为实际Node24.22.1后通过,原失败未覆盖。当前17宿主/窗口/安装/旧升级专项通过,不代表最终整轮已通过。
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Agent Workbench 验收记录
|
||||
|
||||
## 1.15 · Windows桌面与本机加密(A–E通过,F验收中)
|
||||
|
||||
宿主身份/单实例、DPAPI选择保存、实际Electron窗口、安装/回退/卸载与分页工件巡检、桌面三工程16节点和原生UI9组已通过;五切片分别提交。F正进行1.15最终源码/历史UI/安装/便携及保留状态正式部署,当前正式仍1.14.0/PID23172;不将局部结果计为完整发行。原失败与具体范围见[QA-1.15](QA-1.15.md)、[回顾](RETROSPECTIVE-1.15.md)与[下一手机方案](PLAN-1.16.md)。
|
||||
|
||||
## 1.14 · 受控引擎、默认关闭提示实验与正式交付
|
||||
|
||||
固定DeepSeek Harness的受限工具/模型桥、所属独立工程、原prompt/审批/预算/结果、停止核对和父工程审查/检查/Git已交付;两版本Purge来源锁定的提示实验默认关闭。新Node/React/Python三工程13节点、父8/8、9/9、10/10及构建/编译/Git、React真实Edge两视口各8项断言通过。独立源码445/445、253输入/6构建/40基准、23类178组完整UI及7阶段原日志通过;最终不可变20261030235440461便携11427/源码9748文件归档与实际随包受控四节点通过。正式4318保留PID23172/Provider升级1.14.0,2连接/1池/6原请求摘要、16项目/28全部会话/2551记录/4568事件及全部7表每行/全部导出保持,部署后14页通过,9229关闭。升级后QA误判原Node路径及SQLite行原型的原失败分别保留,续验没有重放升级;本轮真实模型0请求。见[1.14验收](QA-1.14.md)、[回顾](RETROSPECTIVE-1.14.md)、[发行身份](controlled-engine-release-identity.json)与[下一桌面计划](PLAN-1.15.md)。
|
||||
|
||||
@@ -1,95 +1,95 @@
|
||||
{
|
||||
"success": true,
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525",
|
||||
"url": "http://127.0.0.1:62117",
|
||||
"stage": "plaintext leak scan over actual database, WAL, exports and host logs",
|
||||
"originalHost": {
|
||||
"url": "http://127.0.0.1:62117",
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.14.0",
|
||||
"instanceId": "ad80c3c8-5484-443d-b142-1d763e49350f",
|
||||
"pid": 28724,
|
||||
"createdAt": "2026-10-31T01:21:14.095Z",
|
||||
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
|
||||
"ownerId": "41b7bfe9-e7f5-4051-a5bc-e371575da94a",
|
||||
"executable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
|
||||
"bytes": 93915464,
|
||||
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
|
||||
},
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\app",
|
||||
"runtimeRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\app",
|
||||
"runtimeIdentity": "e53c216c4180c7b2960028f2e9cb1763fc5510efe0ea088e5370450e76a621d8",
|
||||
"dataRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data",
|
||||
"port": 62117
|
||||
},
|
||||
"reused": false,
|
||||
"logs": {
|
||||
"stdoutPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data\\logs\\desktop-host-78659811-d287-4dd2-bee4-655a36c0c328-stdout.log",
|
||||
"stderrPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data\\logs\\desktop-host-78659811-d287-4dd2-bee4-655a36c0c328-stderr.log"
|
||||
}
|
||||
},
|
||||
"freshHost": {
|
||||
"url": "http://127.0.0.1:62117",
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.14.0",
|
||||
"instanceId": "ae5ee3e1-584d-4969-bbe3-7483382035cb",
|
||||
"pid": 49924,
|
||||
"createdAt": "2026-10-31T01:21:23.749Z",
|
||||
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
|
||||
"ownerId": "5d0fb73d-77b2-450a-9a07-b089a3e6a4c6",
|
||||
"executable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
|
||||
"bytes": 93915464,
|
||||
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
|
||||
},
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\app",
|
||||
"runtimeRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\app",
|
||||
"runtimeIdentity": "e53c216c4180c7b2960028f2e9cb1763fc5510efe0ea088e5370450e76a621d8",
|
||||
"dataRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data",
|
||||
"port": 62117
|
||||
},
|
||||
"reused": false,
|
||||
"logs": {
|
||||
"stdoutPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data\\logs\\desktop-host-747ea62f-e2db-46e7-a878-d48d3533ab64-stdout.log",
|
||||
"stderrPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data\\logs\\desktop-host-747ea62f-e2db-46e7-a878-d48d3533ab64-stderr.log"
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
"real connection form and explicit encrypted save",
|
||||
"real legacy credential save without exposing an existing key",
|
||||
"real desktop and 390px saved-state controls and layout",
|
||||
"actual host exit and fresh process restores encrypted revisions",
|
||||
"fresh host actually uses both DPAPI-restored keys with owned HTTP responses",
|
||||
"disable, delete and forget through real controls",
|
||||
"plaintext leak scan over actual database, WAL, exports and host logs"
|
||||
],
|
||||
"requests": [
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
},
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
},
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\credentials-new-connection.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\credentials-1440.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\credentials-390.png"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"detail": null,
|
||||
"scope": "Owned CurrentUser DPAPI and local HTTP fixture; no external model request or existing credential is used."
|
||||
{
|
||||
"success": true,
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525",
|
||||
"url": "http://127.0.0.1:62117",
|
||||
"stage": "plaintext leak scan over actual database, WAL, exports and host logs",
|
||||
"originalHost": {
|
||||
"url": "http://127.0.0.1:62117",
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.14.0",
|
||||
"instanceId": "ad80c3c8-5484-443d-b142-1d763e49350f",
|
||||
"pid": 28724,
|
||||
"createdAt": "2026-10-31T01:21:14.095Z",
|
||||
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
|
||||
"ownerId": "41b7bfe9-e7f5-4051-a5bc-e371575da94a",
|
||||
"executable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
|
||||
"bytes": 93915464,
|
||||
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
|
||||
},
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\app",
|
||||
"runtimeRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\app",
|
||||
"runtimeIdentity": "e53c216c4180c7b2960028f2e9cb1763fc5510efe0ea088e5370450e76a621d8",
|
||||
"dataRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data",
|
||||
"port": 62117
|
||||
},
|
||||
"reused": false,
|
||||
"logs": {
|
||||
"stdoutPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data\\logs\\desktop-host-78659811-d287-4dd2-bee4-655a36c0c328-stdout.log",
|
||||
"stderrPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data\\logs\\desktop-host-78659811-d287-4dd2-bee4-655a36c0c328-stderr.log"
|
||||
}
|
||||
},
|
||||
"freshHost": {
|
||||
"url": "http://127.0.0.1:62117",
|
||||
"identity": {
|
||||
"schema": 1,
|
||||
"protocol": "agent-workbench-host-v1",
|
||||
"app": "agent-workbench",
|
||||
"version": "1.14.0",
|
||||
"instanceId": "ae5ee3e1-584d-4969-bbe3-7483382035cb",
|
||||
"pid": 49924,
|
||||
"createdAt": "2026-10-31T01:21:23.749Z",
|
||||
"userSid": "S-1-5-21-3906741337-925321518-3767092861-1001",
|
||||
"ownerId": "5d0fb73d-77b2-450a-9a07-b089a3e6a4c6",
|
||||
"executable": {
|
||||
"path": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
|
||||
"bytes": 93915464,
|
||||
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5"
|
||||
},
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\app",
|
||||
"runtimeRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\app",
|
||||
"runtimeIdentity": "e53c216c4180c7b2960028f2e9cb1763fc5510efe0ea088e5370450e76a621d8",
|
||||
"dataRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data",
|
||||
"port": 62117
|
||||
},
|
||||
"reused": false,
|
||||
"logs": {
|
||||
"stdoutPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data\\logs\\desktop-host-747ea62f-e2db-46e7-a878-d48d3533ab64-stdout.log",
|
||||
"stderrPath": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\data\\logs\\desktop-host-747ea62f-e2db-46e7-a878-d48d3533ab64-stderr.log"
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
"real connection form and explicit encrypted save",
|
||||
"real legacy credential save without exposing an existing key",
|
||||
"real desktop and 390px saved-state controls and layout",
|
||||
"actual host exit and fresh process restores encrypted revisions",
|
||||
"fresh host actually uses both DPAPI-restored keys with owned HTTP responses",
|
||||
"disable, delete and forget through real controls",
|
||||
"plaintext leak scan over actual database, WAL, exports and host logs"
|
||||
],
|
||||
"requests": [
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
},
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
},
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\credentials-new-connection.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\credentials-1440.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\credentials-390.png"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"detail": null,
|
||||
"scope": "Owned CurrentUser DPAPI and local HTTP fixture; no external model request or existing credential is used."
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
PASS real connection form and explicit encrypted save
|
||||
PASS real legacy credential save without exposing an existing key
|
||||
PASS real desktop and 390px saved-state controls and layout
|
||||
PASS actual host exit and fresh process restores encrypted revisions
|
||||
PASS fresh host actually uses both DPAPI-restored keys with owned HTTP responses
|
||||
PASS disable, delete and forget through real controls
|
||||
PASS plaintext leak scan over actual database, WAL, exports and host logs
|
||||
PASS real connection form and explicit encrypted save
|
||||
PASS real legacy credential save without exposing an existing key
|
||||
PASS real desktop and 390px saved-state controls and layout
|
||||
PASS actual host exit and fresh process restores encrypted revisions
|
||||
PASS fresh host actually uses both DPAPI-restored keys with owned HTTP responses
|
||||
PASS disable, delete and forget through real controls
|
||||
PASS plaintext leak scan over actual database, WAL, exports and host logs
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
{
|
||||
"success": true,
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c",
|
||||
"url": "http://127.0.0.1:62578",
|
||||
"stage": "plaintext leak scan over actual database, WAL, exports and host logs",
|
||||
"groups": [
|
||||
"real connection form and explicit encrypted save",
|
||||
"real legacy credential save without exposing an existing key",
|
||||
"real desktop and 390px saved-state controls and layout",
|
||||
"actual host exit and fresh process restores encrypted revisions",
|
||||
"fresh host actually uses both DPAPI-restored keys with owned HTTP responses",
|
||||
"disable, delete and forget through real controls",
|
||||
"plaintext leak scan over actual database, WAL, exports and host logs"
|
||||
],
|
||||
"requests": [
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
},
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
},
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c\\credentials-new-connection.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c\\credentials-1440.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c\\credentials-390.png"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"detail": null,
|
||||
"scope": "Owned CurrentUser DPAPI and local HTTP fixture; no external model request or existing credential is used."
|
||||
{
|
||||
"success": true,
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c",
|
||||
"url": "http://127.0.0.1:62578",
|
||||
"stage": "plaintext leak scan over actual database, WAL, exports and host logs",
|
||||
"groups": [
|
||||
"real connection form and explicit encrypted save",
|
||||
"real legacy credential save without exposing an existing key",
|
||||
"real desktop and 390px saved-state controls and layout",
|
||||
"actual host exit and fresh process restores encrypted revisions",
|
||||
"fresh host actually uses both DPAPI-restored keys with owned HTTP responses",
|
||||
"disable, delete and forget through real controls",
|
||||
"plaintext leak scan over actual database, WAL, exports and host logs"
|
||||
],
|
||||
"requests": [
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
},
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
},
|
||||
{
|
||||
"path": "/v1/chat/completions",
|
||||
"authorizedOwnedKey": true
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c\\credentials-new-connection.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c\\credentials-1440.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c\\credentials-390.png"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"detail": null,
|
||||
"scope": "Owned CurrentUser DPAPI and local HTTP fixture; no external model request or existing credential is used."
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
PASS real connection form and explicit encrypted save
|
||||
PASS real legacy credential save without exposing an existing key
|
||||
PASS real desktop and 390px saved-state controls and layout
|
||||
PASS actual host exit and fresh process restores encrypted revisions
|
||||
PASS fresh host actually uses both DPAPI-restored keys with owned HTTP responses
|
||||
PASS disable, delete and forget through real controls
|
||||
PASS plaintext leak scan over actual database, WAL, exports and host logs
|
||||
PASS real connection form and explicit encrypted save
|
||||
PASS real legacy credential save without exposing an existing key
|
||||
PASS real desktop and 390px saved-state controls and layout
|
||||
PASS actual host exit and fresh process restores encrypted revisions
|
||||
PASS fresh host actually uses both DPAPI-restored keys with owned HTTP responses
|
||||
PASS disable, delete and forget through real controls
|
||||
PASS plaintext leak scan over actual database, WAL, exports and host logs
|
||||
|
||||
@@ -1,136 +1,136 @@
|
||||
TAP version 13
|
||||
# Subtest: actual Windows CurrentUser DPAPI roundtrips owned UTF-8 and rejects damaged bytes and wrong entropy
|
||||
ok 1 - actual Windows CurrentUser DPAPI roundtrips owned UTF-8 and rejects damaged bytes and wrong entropy
|
||||
---
|
||||
duration_ms: 1703.112
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: only explicitly supplied keys persist; new provider restores original revisions and public views contain no key
|
||||
ok 2 - only explicitly supplied keys persist; new provider restores original revisions and public views contain no key
|
||||
---
|
||||
duration_ms: 2823.1817
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: registry and cipher commit failure restores original routing, keys, block and every database row
|
||||
ok 3 - registry and cipher commit failure restores original routing, keys, block and every database row
|
||||
---
|
||||
duration_ms: 1872.4547
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a two-key import with a protection failure rolls back all registry and cipher entries and retains its preview
|
||||
ok 4 - a two-key import with a protection failure rolls back all registry and cipher entries and retains its preview
|
||||
---
|
||||
duration_ms: 1892.0773
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: connection revision changes retain the original saved block and report a source mismatch on restart
|
||||
ok 5 - connection revision changes retain the original saved block and report a source mismatch on restart
|
||||
---
|
||||
duration_ms: 2825.6882
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: disable skips real restart loading, explicit enable restores, delete preserves memory and forget removes both
|
||||
ok 6 - disable skips real restart loading, explicit enable restores, delete preserves memory and forget removes both
|
||||
---
|
||||
duration_ms: 2609.0633
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: corrupt saved block and another SID do not load; failures are visible without returning ciphertext or plaintext
|
||||
ok 7 - corrupt saved block and another SID do not load; failures are visible without returning ciphertext or plaintext
|
||||
---
|
||||
duration_ms: 2682.8404
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: legacy persistence requires a new explicit key and binds config and credential revisions; stale requests cannot save
|
||||
ok 8 - legacy persistence requires a new explicit key and binds config and credential revisions; stale requests cannot save
|
||||
---
|
||||
duration_ms: 2361.2135
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: owned plaintext keys never reach SQLite pages, WAL, config or public execution exports
|
||||
ok 9 - owned plaintext keys never reach SQLite pages, WAL, config or public execution exports
|
||||
---
|
||||
duration_ms: 1256.7214
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 10 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 914.4979
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 11 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 753.8609
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
ok 12 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 2729.1166
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 13 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 3857.7792
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 14 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 2080.9134
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 15 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 958.8689
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 16 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2084.6897
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 17 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 957.6324
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 18 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 711.9416
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 19 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 726.4839
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 20 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 751.8999
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 21 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 728.8236
|
||||
type: 'test'
|
||||
...
|
||||
1..21
|
||||
# tests 21
|
||||
# suites 0
|
||||
# pass 21
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 20118.8961
|
||||
TAP version 13
|
||||
# Subtest: actual Windows CurrentUser DPAPI roundtrips owned UTF-8 and rejects damaged bytes and wrong entropy
|
||||
ok 1 - actual Windows CurrentUser DPAPI roundtrips owned UTF-8 and rejects damaged bytes and wrong entropy
|
||||
---
|
||||
duration_ms: 1703.112
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: only explicitly supplied keys persist; new provider restores original revisions and public views contain no key
|
||||
ok 2 - only explicitly supplied keys persist; new provider restores original revisions and public views contain no key
|
||||
---
|
||||
duration_ms: 2823.1817
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: registry and cipher commit failure restores original routing, keys, block and every database row
|
||||
ok 3 - registry and cipher commit failure restores original routing, keys, block and every database row
|
||||
---
|
||||
duration_ms: 1872.4547
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a two-key import with a protection failure rolls back all registry and cipher entries and retains its preview
|
||||
ok 4 - a two-key import with a protection failure rolls back all registry and cipher entries and retains its preview
|
||||
---
|
||||
duration_ms: 1892.0773
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: connection revision changes retain the original saved block and report a source mismatch on restart
|
||||
ok 5 - connection revision changes retain the original saved block and report a source mismatch on restart
|
||||
---
|
||||
duration_ms: 2825.6882
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: disable skips real restart loading, explicit enable restores, delete preserves memory and forget removes both
|
||||
ok 6 - disable skips real restart loading, explicit enable restores, delete preserves memory and forget removes both
|
||||
---
|
||||
duration_ms: 2609.0633
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: corrupt saved block and another SID do not load; failures are visible without returning ciphertext or plaintext
|
||||
ok 7 - corrupt saved block and another SID do not load; failures are visible without returning ciphertext or plaintext
|
||||
---
|
||||
duration_ms: 2682.8404
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: legacy persistence requires a new explicit key and binds config and credential revisions; stale requests cannot save
|
||||
ok 8 - legacy persistence requires a new explicit key and binds config and credential revisions; stale requests cannot save
|
||||
---
|
||||
duration_ms: 2361.2135
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: owned plaintext keys never reach SQLite pages, WAL, config or public execution exports
|
||||
ok 9 - owned plaintext keys never reach SQLite pages, WAL, config or public execution exports
|
||||
---
|
||||
duration_ms: 1256.7214
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 10 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 914.4979
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 11 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 753.8609
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
ok 12 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 2729.1166
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 13 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 3857.7792
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 14 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 2080.9134
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 15 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 958.8689
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 16 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2084.6897
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 17 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 957.6324
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 18 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 711.9416
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 19 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 726.4839
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 20 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 751.8999
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 21 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 728.8236
|
||||
type: 'test'
|
||||
...
|
||||
1..21
|
||||
# tests 21
|
||||
# suites 0
|
||||
# pass 21
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 20118.8961
|
||||
|
||||
+304
-304
@@ -1,304 +1,304 @@
|
||||
TAP version 13
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 1 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 1.1348
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 2 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1247
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 3 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1133.2191
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2526.6054
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 5 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 1.9739
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 6 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 818.2146
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a question about the previous workbench error receives local error context and current change states
|
||||
ok 7 - a question about the previous workbench error receives local error context and current change states
|
||||
---
|
||||
duration_ms: 2213.6377
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a transient model failure after an approved command retries only the model request
|
||||
ok 8 - a transient model failure after an approved command retries only the model request
|
||||
---
|
||||
duration_ms: 2266.197
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay
|
||||
ok 9 - exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay
|
||||
---
|
||||
duration_ms: 3657.3963
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during model backoff cancels further requests and clears the running request state
|
||||
ok 10 - stopping during model backoff cancels further requests and clears the running request state
|
||||
---
|
||||
duration_ms: 1798.9338
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP authentication errors are classified, redacted and never automatically retried
|
||||
ok 11 - HTTP authentication errors are classified, redacted and never automatically retried
|
||||
---
|
||||
duration_ms: 21.9978
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: temporary HTTP service errors retry and recover with recorded attempt counts
|
||||
ok 12 - temporary HTTP service errors retry and recover with recorded attempt counts
|
||||
---
|
||||
duration_ms: 8.2405
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: invalid and oversized protocol responses fail once with a useful response-format diagnosis
|
||||
ok 13 - invalid and oversized protocol responses fail once with a useful response-format diagnosis
|
||||
---
|
||||
duration_ms: 4.0449
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP rate limits expose their source and obey the service retry interval before recovery
|
||||
ok 14 - HTTP rate limits expose their source and obey the service retry interval before recovery
|
||||
---
|
||||
duration_ms: 1010.8285
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: Windows commands preserve Chinese through a PowerShell pipeline into Node
|
||||
ok 15 - Windows commands preserve Chinese through a PowerShell pipeline into Node
|
||||
---
|
||||
duration_ms: 1003.6617
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: Windows shell syntax errors stay readable and native command exit codes are retained
|
||||
ok 16 - Windows shell syntax errors stay readable and native command exit codes are retained
|
||||
---
|
||||
duration_ms: 971.0757
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: review and completed states do not turn a generic continue click into a new model request
|
||||
ok 17 - review and completed states do not turn a generic continue click into a new model request
|
||||
---
|
||||
duration_ms: 852.3601
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: old session data receives a truthful historical connection diagnosis without rewriting history
|
||||
ok 18 - old session data receives a truthful historical connection diagnosis without rewriting history
|
||||
---
|
||||
duration_ms: 1178.3301
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 19 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 1356.0532
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 20 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 1132.7334
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
ok 21 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 3159.0983
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 22 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 4730.0215
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 23 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 2035.7928
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 24 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 1053.5497
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 25 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2488.7937
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 26 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 924.9926
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 27 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 896.6963
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 28 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 903.5305
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop from the event loop interrupts immediate model replies before later tools
|
||||
ok 29 - a stop from the event loop interrupts immediate model replies before later tools
|
||||
---
|
||||
duration_ms: 1924.7977
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
ok 30 - a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
---
|
||||
duration_ms: 2188.5101
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
ok 31 - the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
---
|
||||
duration_ms: 5677.1928
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: denial prevents command execution and produces a paired denied result
|
||||
ok 32 - denial prevents command execution and produces a paired denied result
|
||||
---
|
||||
duration_ms: 1786.9452
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during approval interrupts pending calls without executing or replaying them
|
||||
ok 33 - stopping during approval interrupts pending calls without executing or replaying them
|
||||
---
|
||||
duration_ms: 1887.1945
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
ok 34 - stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
---
|
||||
duration_ms: 1887.357
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
ok 35 - command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
---
|
||||
duration_ms: 1547.6495
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
ok 36 - model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
---
|
||||
duration_ms: 6.3458
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
ok 37 - truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
---
|
||||
duration_ms: 2889.131
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
ok 38 - request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
---
|
||||
duration_ms: 2106.8141
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
ok 39 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
---
|
||||
duration_ms: 4369.1298
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed upgrade restores the original artifact object, provider and request handler
|
||||
ok 40 - failed upgrade restores the original artifact object, provider and request handler
|
||||
---
|
||||
duration_ms: 1701.0943
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 41 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 897.1056
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 42 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 1193.7581
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 43 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 969.9211
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 44 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 1010.0131
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 45 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1579.1
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 46 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 1174.6617
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 47 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 1018.0031
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 48 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 674.2535
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 49 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 511.5755
|
||||
type: 'test'
|
||||
...
|
||||
1..49
|
||||
# tests 49
|
||||
# suites 0
|
||||
# pass 49
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 38427.6009
|
||||
TAP version 13
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 1 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 1.1348
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 2 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1247
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 3 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1133.2191
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2526.6054
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 5 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 1.9739
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 6 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 818.2146
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a question about the previous workbench error receives local error context and current change states
|
||||
ok 7 - a question about the previous workbench error receives local error context and current change states
|
||||
---
|
||||
duration_ms: 2213.6377
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a transient model failure after an approved command retries only the model request
|
||||
ok 8 - a transient model failure after an approved command retries only the model request
|
||||
---
|
||||
duration_ms: 2266.197
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay
|
||||
ok 9 - exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay
|
||||
---
|
||||
duration_ms: 3657.3963
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during model backoff cancels further requests and clears the running request state
|
||||
ok 10 - stopping during model backoff cancels further requests and clears the running request state
|
||||
---
|
||||
duration_ms: 1798.9338
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP authentication errors are classified, redacted and never automatically retried
|
||||
ok 11 - HTTP authentication errors are classified, redacted and never automatically retried
|
||||
---
|
||||
duration_ms: 21.9978
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: temporary HTTP service errors retry and recover with recorded attempt counts
|
||||
ok 12 - temporary HTTP service errors retry and recover with recorded attempt counts
|
||||
---
|
||||
duration_ms: 8.2405
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: invalid and oversized protocol responses fail once with a useful response-format diagnosis
|
||||
ok 13 - invalid and oversized protocol responses fail once with a useful response-format diagnosis
|
||||
---
|
||||
duration_ms: 4.0449
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP rate limits expose their source and obey the service retry interval before recovery
|
||||
ok 14 - HTTP rate limits expose their source and obey the service retry interval before recovery
|
||||
---
|
||||
duration_ms: 1010.8285
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: Windows commands preserve Chinese through a PowerShell pipeline into Node
|
||||
ok 15 - Windows commands preserve Chinese through a PowerShell pipeline into Node
|
||||
---
|
||||
duration_ms: 1003.6617
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: Windows shell syntax errors stay readable and native command exit codes are retained
|
||||
ok 16 - Windows shell syntax errors stay readable and native command exit codes are retained
|
||||
---
|
||||
duration_ms: 971.0757
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: review and completed states do not turn a generic continue click into a new model request
|
||||
ok 17 - review and completed states do not turn a generic continue click into a new model request
|
||||
---
|
||||
duration_ms: 852.3601
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: old session data receives a truthful historical connection diagnosis without rewriting history
|
||||
ok 18 - old session data receives a truthful historical connection diagnosis without rewriting history
|
||||
---
|
||||
duration_ms: 1178.3301
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 19 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 1356.0532
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 20 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 1132.7334
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
ok 21 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 3159.0983
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 22 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 4730.0215
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 23 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 2035.7928
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 24 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 1053.5497
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 25 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2488.7937
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 26 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 924.9926
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 27 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 896.6963
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 28 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 903.5305
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop from the event loop interrupts immediate model replies before later tools
|
||||
ok 29 - a stop from the event loop interrupts immediate model replies before later tools
|
||||
---
|
||||
duration_ms: 1924.7977
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
ok 30 - a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
---
|
||||
duration_ms: 2188.5101
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
ok 31 - the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
---
|
||||
duration_ms: 5677.1928
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: denial prevents command execution and produces a paired denied result
|
||||
ok 32 - denial prevents command execution and produces a paired denied result
|
||||
---
|
||||
duration_ms: 1786.9452
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during approval interrupts pending calls without executing or replaying them
|
||||
ok 33 - stopping during approval interrupts pending calls without executing or replaying them
|
||||
---
|
||||
duration_ms: 1887.1945
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
ok 34 - stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
---
|
||||
duration_ms: 1887.357
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
ok 35 - command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
---
|
||||
duration_ms: 1547.6495
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
ok 36 - model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
---
|
||||
duration_ms: 6.3458
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
ok 37 - truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
---
|
||||
duration_ms: 2889.131
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
ok 38 - request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
---
|
||||
duration_ms: 2106.8141
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
ok 39 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
---
|
||||
duration_ms: 4369.1298
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed upgrade restores the original artifact object, provider and request handler
|
||||
ok 40 - failed upgrade restores the original artifact object, provider and request handler
|
||||
---
|
||||
duration_ms: 1701.0943
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 41 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 897.1056
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 42 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 1193.7581
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 43 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 969.9211
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 44 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 1010.0131
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 45 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1579.1
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 46 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 1174.6617
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 47 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 1018.0031
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 48 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 674.2535
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 49 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 511.5755
|
||||
type: 'test'
|
||||
...
|
||||
1..49
|
||||
# tests 49
|
||||
# suites 0
|
||||
# pass 49
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 38427.6009
|
||||
|
||||
+319
-319
@@ -1,319 +1,319 @@
|
||||
TAP version 13
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 1 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 1.2329
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 2 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1251
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 3 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1235.5945
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
not ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2624.3439
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\desktop-host.test.mjs:40:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: '无法为本机秘密目录设置当前Windows用户权限。'
|
||||
code: 'HOST_DIRECTORY_UNPROTECTED'
|
||||
stack: |-
|
||||
hostError (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/shared/contracts/desktop-host.mjs:5:100)
|
||||
protectUserDirectory (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/process-identity.mjs:21:17)
|
||||
HostAuthority.initialize (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-authority.mjs:18:5)
|
||||
TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/desktop-host.test.mjs:46:13)
|
||||
Test.runInAsyncScope (node:async_hooks:227:14)
|
||||
Test.run (node:internal/test_runner/test:1402:25)
|
||||
Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||||
Test.postRun (node:internal/test_runner/test:1542:19)
|
||||
Test.run (node:internal/test_runner/test:1467:12)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 5 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 2.5545
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 6 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 1009.2534
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a question about the previous workbench error receives local error context and current change states
|
||||
ok 7 - a question about the previous workbench error receives local error context and current change states
|
||||
---
|
||||
duration_ms: 2355.5938
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a transient model failure after an approved command retries only the model request
|
||||
ok 8 - a transient model failure after an approved command retries only the model request
|
||||
---
|
||||
duration_ms: 2540.0191
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay
|
||||
ok 9 - exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay
|
||||
---
|
||||
duration_ms: 3629.734
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during model backoff cancels further requests and clears the running request state
|
||||
ok 10 - stopping during model backoff cancels further requests and clears the running request state
|
||||
---
|
||||
duration_ms: 1609.2816
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP authentication errors are classified, redacted and never automatically retried
|
||||
ok 11 - HTTP authentication errors are classified, redacted and never automatically retried
|
||||
---
|
||||
duration_ms: 21.1158
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: temporary HTTP service errors retry and recover with recorded attempt counts
|
||||
ok 12 - temporary HTTP service errors retry and recover with recorded attempt counts
|
||||
---
|
||||
duration_ms: 6.9441
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: invalid and oversized protocol responses fail once with a useful response-format diagnosis
|
||||
ok 13 - invalid and oversized protocol responses fail once with a useful response-format diagnosis
|
||||
---
|
||||
duration_ms: 4.0345
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP rate limits expose their source and obey the service retry interval before recovery
|
||||
ok 14 - HTTP rate limits expose their source and obey the service retry interval before recovery
|
||||
---
|
||||
duration_ms: 1022.397
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: Windows commands preserve Chinese through a PowerShell pipeline into Node
|
||||
ok 15 - Windows commands preserve Chinese through a PowerShell pipeline into Node
|
||||
---
|
||||
duration_ms: 1069.2031
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: Windows shell syntax errors stay readable and native command exit codes are retained
|
||||
ok 16 - Windows shell syntax errors stay readable and native command exit codes are retained
|
||||
---
|
||||
duration_ms: 1045.5572
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: review and completed states do not turn a generic continue click into a new model request
|
||||
ok 17 - review and completed states do not turn a generic continue click into a new model request
|
||||
---
|
||||
duration_ms: 920.9875
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: old session data receives a truthful historical connection diagnosis without rewriting history
|
||||
ok 18 - old session data receives a truthful historical connection diagnosis without rewriting history
|
||||
---
|
||||
duration_ms: 919.6361
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 19 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 1320.4966
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 20 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 1097.0453
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
ok 21 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 3015.9964
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 22 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 4841.3906
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 23 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 2150.3254
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 24 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 1305.1053
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 25 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2560.933
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 26 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 959.2805
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 27 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 976.065
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 28 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 833.4502
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop from the event loop interrupts immediate model replies before later tools
|
||||
ok 29 - a stop from the event loop interrupts immediate model replies before later tools
|
||||
---
|
||||
duration_ms: 2200.8626
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
ok 30 - a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
---
|
||||
duration_ms: 2434.7655
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
ok 31 - the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
---
|
||||
duration_ms: 5449.6749
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: denial prevents command execution and produces a paired denied result
|
||||
ok 32 - denial prevents command execution and produces a paired denied result
|
||||
---
|
||||
duration_ms: 1648.3382
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during approval interrupts pending calls without executing or replaying them
|
||||
ok 33 - stopping during approval interrupts pending calls without executing or replaying them
|
||||
---
|
||||
duration_ms: 1643.657
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
ok 34 - stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
---
|
||||
duration_ms: 2162.5898
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
ok 35 - command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
---
|
||||
duration_ms: 1329.7417
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
ok 36 - model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
---
|
||||
duration_ms: 6.2866
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
ok 37 - truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
---
|
||||
duration_ms: 3618.0824
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
ok 38 - request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
---
|
||||
duration_ms: 1269.4481
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
ok 39 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
---
|
||||
duration_ms: 4653.6582
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed upgrade restores the original artifact object, provider and request handler
|
||||
ok 40 - failed upgrade restores the original artifact object, provider and request handler
|
||||
---
|
||||
duration_ms: 2039.9906
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 41 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 1004.9648
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 42 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 994.6092
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 43 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 897.7159
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 44 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 1065.9033
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 45 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1815.9839
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 46 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 1021.041
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 47 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 1169.9017
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 48 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 982.3635
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 49 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 938.8454
|
||||
type: 'test'
|
||||
...
|
||||
1..49
|
||||
# tests 49
|
||||
# suites 0
|
||||
# pass 48
|
||||
# fail 1
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 39180.5899
|
||||
TAP version 13
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 1 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 1.2329
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 2 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1251
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 3 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1235.5945
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
not ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2624.3439
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\desktop-host.test.mjs:40:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: '无法为本机秘密目录设置当前Windows用户权限。'
|
||||
code: 'HOST_DIRECTORY_UNPROTECTED'
|
||||
stack: |-
|
||||
hostError (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/shared/contracts/desktop-host.mjs:5:100)
|
||||
protectUserDirectory (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/process-identity.mjs:21:17)
|
||||
HostAuthority.initialize (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-authority.mjs:18:5)
|
||||
TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/desktop-host.test.mjs:46:13)
|
||||
Test.runInAsyncScope (node:async_hooks:227:14)
|
||||
Test.run (node:internal/test_runner/test:1402:25)
|
||||
Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||||
Test.postRun (node:internal/test_runner/test:1542:19)
|
||||
Test.run (node:internal/test_runner/test:1467:12)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 5 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 2.5545
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 6 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 1009.2534
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a question about the previous workbench error receives local error context and current change states
|
||||
ok 7 - a question about the previous workbench error receives local error context and current change states
|
||||
---
|
||||
duration_ms: 2355.5938
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a transient model failure after an approved command retries only the model request
|
||||
ok 8 - a transient model failure after an approved command retries only the model request
|
||||
---
|
||||
duration_ms: 2540.0191
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay
|
||||
ok 9 - exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay
|
||||
---
|
||||
duration_ms: 3629.734
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during model backoff cancels further requests and clears the running request state
|
||||
ok 10 - stopping during model backoff cancels further requests and clears the running request state
|
||||
---
|
||||
duration_ms: 1609.2816
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP authentication errors are classified, redacted and never automatically retried
|
||||
ok 11 - HTTP authentication errors are classified, redacted and never automatically retried
|
||||
---
|
||||
duration_ms: 21.1158
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: temporary HTTP service errors retry and recover with recorded attempt counts
|
||||
ok 12 - temporary HTTP service errors retry and recover with recorded attempt counts
|
||||
---
|
||||
duration_ms: 6.9441
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: invalid and oversized protocol responses fail once with a useful response-format diagnosis
|
||||
ok 13 - invalid and oversized protocol responses fail once with a useful response-format diagnosis
|
||||
---
|
||||
duration_ms: 4.0345
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP rate limits expose their source and obey the service retry interval before recovery
|
||||
ok 14 - HTTP rate limits expose their source and obey the service retry interval before recovery
|
||||
---
|
||||
duration_ms: 1022.397
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: Windows commands preserve Chinese through a PowerShell pipeline into Node
|
||||
ok 15 - Windows commands preserve Chinese through a PowerShell pipeline into Node
|
||||
---
|
||||
duration_ms: 1069.2031
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: Windows shell syntax errors stay readable and native command exit codes are retained
|
||||
ok 16 - Windows shell syntax errors stay readable and native command exit codes are retained
|
||||
---
|
||||
duration_ms: 1045.5572
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: review and completed states do not turn a generic continue click into a new model request
|
||||
ok 17 - review and completed states do not turn a generic continue click into a new model request
|
||||
---
|
||||
duration_ms: 920.9875
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: old session data receives a truthful historical connection diagnosis without rewriting history
|
||||
ok 18 - old session data receives a truthful historical connection diagnosis without rewriting history
|
||||
---
|
||||
duration_ms: 919.6361
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 19 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 1320.4966
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 20 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 1097.0453
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
ok 21 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 3015.9964
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 22 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 4841.3906
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 23 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 2150.3254
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 24 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 1305.1053
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 25 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2560.933
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 26 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 959.2805
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 27 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 976.065
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 28 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 833.4502
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop from the event loop interrupts immediate model replies before later tools
|
||||
ok 29 - a stop from the event loop interrupts immediate model replies before later tools
|
||||
---
|
||||
duration_ms: 2200.8626
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
ok 30 - a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
---
|
||||
duration_ms: 2434.7655
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
ok 31 - the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
---
|
||||
duration_ms: 5449.6749
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: denial prevents command execution and produces a paired denied result
|
||||
ok 32 - denial prevents command execution and produces a paired denied result
|
||||
---
|
||||
duration_ms: 1648.3382
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during approval interrupts pending calls without executing or replaying them
|
||||
ok 33 - stopping during approval interrupts pending calls without executing or replaying them
|
||||
---
|
||||
duration_ms: 1643.657
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
ok 34 - stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
---
|
||||
duration_ms: 2162.5898
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
ok 35 - command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
---
|
||||
duration_ms: 1329.7417
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
ok 36 - model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
---
|
||||
duration_ms: 6.2866
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
ok 37 - truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
---
|
||||
duration_ms: 3618.0824
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
ok 38 - request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
---
|
||||
duration_ms: 1269.4481
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
ok 39 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
---
|
||||
duration_ms: 4653.6582
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed upgrade restores the original artifact object, provider and request handler
|
||||
ok 40 - failed upgrade restores the original artifact object, provider and request handler
|
||||
---
|
||||
duration_ms: 2039.9906
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 41 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 1004.9648
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 42 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 994.6092
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 43 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 897.7159
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 44 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 1065.9033
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 45 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1815.9839
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 46 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 1021.041
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 47 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 1169.9017
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 48 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 982.3635
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 49 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 938.8454
|
||||
type: 'test'
|
||||
...
|
||||
1..49
|
||||
# tests 49
|
||||
# suites 0
|
||||
# pass 48
|
||||
# fail 1
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 39180.5899
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
concurrent start: passed
|
||||
independent creation and user observation: passed
|
||||
wrong data root and installation rejected: passed
|
||||
stale registration and creation rejected: passed
|
||||
damaged service index rejected: passed
|
||||
running input binding does not silently change: passed
|
||||
foreign health service rejected: passed
|
||||
completed tools and approvals retained on stop and restart: passed
|
||||
actual model HTTP request abort and verified process exit: passed
|
||||
concurrent start: passed
|
||||
independent creation and user observation: passed
|
||||
wrong data root and installation rejected: passed
|
||||
stale registration and creation rejected: passed
|
||||
damaged service index rejected: passed
|
||||
running input binding does not silently change: passed
|
||||
foreign health service rejected: passed
|
||||
completed tools and approvals retained on stop and restart: passed
|
||||
actual model HTTP request abort and verified process exit: passed
|
||||
|
||||
+148
-148
@@ -1,148 +1,148 @@
|
||||
TAP version 13
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 1 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 1.1912
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 2 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1222
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 3 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1246.7954
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2518.2715
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 5 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 1.348
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 6 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 1092.8051
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 7 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 1416.2692
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 8 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 990.0314
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
ok 9 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 3079.9908
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 10 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 5018.7778
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 11 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 1973.4865
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 12 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 963.6111
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 13 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2006.8513
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 14 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 566.9346
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 15 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 693.7432
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 16 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 574.4074
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 17 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 1095.9592
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 18 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 995.0958
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 19 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 949.7472
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 20 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 1051.4217
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 21 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1565.5388
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 22 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 1000.6998
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 23 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 990.8517
|
||||
type: 'test'
|
||||
...
|
||||
1..23
|
||||
# tests 23
|
||||
# suites 0
|
||||
# pass 23
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 17409.5834
|
||||
TAP version 13
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 1 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 1.1912
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 2 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1222
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 3 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1246.7954
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2518.2715
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 5 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 1.348
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 6 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 1092.8051
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 7 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 1416.2692
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 8 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 990.0314
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
ok 9 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 3079.9908
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 10 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 5018.7778
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 11 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 1973.4865
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 12 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 963.6111
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 13 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2006.8513
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 14 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 566.9346
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 15 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 693.7432
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 16 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 574.4074
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 17 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 1095.9592
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 18 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 995.0958
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 19 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 949.7472
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 20 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 1051.4217
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 21 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1565.5388
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 22 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 1000.6998
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 23 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 990.8517
|
||||
type: 'test'
|
||||
...
|
||||
1..23
|
||||
# tests 23
|
||||
# suites 0
|
||||
# pass 23
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 17409.5834
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"success": true,
|
||||
"files": [
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-a-accepted.tap",
|
||||
"path": "docs/desktop-host-a-accepted.tap",
|
||||
"bytes": 13730,
|
||||
"sha256": "c0aaa540a682d8c9520e5e7f823370f42e4f1ee3f7e87db899f132f009eb7695",
|
||||
"previousCommittedSha256": "a738c0a6403ab1636d9626ffd8d1d5d996ae7f22f9a02e14c901835aab75c7dc",
|
||||
"previousCommittedBytes": 13426,
|
||||
"byteNormalizationCorrection": true
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-a-first-failures.txt",
|
||||
"path": "docs/desktop-host-a-first-failures.txt",
|
||||
"bytes": 8505,
|
||||
"sha256": "8e6d069ea668e144ef338c9c4b7a56ed0b1d9d7f91451740736ae18ec5306699",
|
||||
"previousCommittedSha256": "8e6d069ea668e144ef338c9c4b7a56ed0b1d9d7f91451740736ae18ec5306699",
|
||||
"previousCommittedBytes": 8505,
|
||||
"byteNormalizationCorrection": false
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-a-second-failure.tap",
|
||||
"path": "docs/desktop-host-a-acl-failure.tap",
|
||||
"bytes": 14870,
|
||||
"sha256": "8cdadc5290ff2fbe2dc4b928847846a741df0f9d8851348127d42e6d0ee2a7bf",
|
||||
"previousCommittedSha256": "5534e9c1bc23690c93dfc4eb2b785f8ca74c2923bca7e9159e20f33db3cbb205",
|
||||
"previousCommittedBytes": 14551,
|
||||
"byteNormalizationCorrection": true
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-a-repair.tap",
|
||||
"path": "docs/desktop-host-a-repair.tap",
|
||||
"bytes": 6954,
|
||||
"sha256": "4e650e5e89b4e403bdbc1d668a6b05a98d65b959c181377a9b1bbda58f940178",
|
||||
"previousCommittedSha256": "e0c28116f1a935eb60a6c98e9a611e7a8877a87d35e286c925b7f20a09fb09fa",
|
||||
"previousCommittedBytes": 6806,
|
||||
"byteNormalizationCorrection": true
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-a-real-final.log",
|
||||
"path": "docs/desktop-host-a-actual.txt",
|
||||
"bytes": 450,
|
||||
"sha256": "2ebbc135eecd1c733f8c6ac885b07d1e0845d1ffceb24632469872b72f017457",
|
||||
"previousCommittedSha256": "53e80e49388f47b3b9f0b304f71876dc551239180236bfd198188fafb911180b",
|
||||
"previousCommittedBytes": 441,
|
||||
"byteNormalizationCorrection": true
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-b-tests-first.tap",
|
||||
"path": "docs/desktop-credentials-b-tests.tap",
|
||||
"bytes": 6371,
|
||||
"sha256": "58004a6eaeb141d132bcb963e2fff8edee3dceacb393bdf7ab1037b280a074f3",
|
||||
"previousCommittedSha256": "1d571a9e06636877a5447275cc0d5609446ddbdc46f1f2efd5807dd583a4fdf0",
|
||||
"previousCommittedBytes": 6235,
|
||||
"byteNormalizationCorrection": true
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-b-ui-final.txt",
|
||||
"path": "docs/desktop-credentials-b-actual.txt",
|
||||
"bytes": 465,
|
||||
"sha256": "c78fd8cc8b73ef415bc87b9d3ac7720e23513537d2a8aa8302a545f38a4886d4",
|
||||
"previousCommittedSha256": "f55cf1123c1d5ff05def023dac28238959c48508e73cece8ce00ce0d3523e10d",
|
||||
"previousCommittedBytes": 458,
|
||||
"byteNormalizationCorrection": true
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-b-ui-second-run.txt",
|
||||
"path": "docs/desktop-credentials-b-prelayout.txt",
|
||||
"bytes": 465,
|
||||
"sha256": "c78fd8cc8b73ef415bc87b9d3ac7720e23513537d2a8aa8302a545f38a4886d4",
|
||||
"previousCommittedSha256": "f55cf1123c1d5ff05def023dac28238959c48508e73cece8ce00ce0d3523e10d",
|
||||
"previousCommittedBytes": 458,
|
||||
"byteNormalizationCorrection": true
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-a0f264b1-949f-413a-9be1-c7d29823eb40\\result.json",
|
||||
"path": "docs/desktop-host-a-actual.json",
|
||||
"bytes": 1576,
|
||||
"sha256": "591b52274540876513c236f0beb73371fdbf6b5abafc36feaed1f63f385c49c6",
|
||||
"previousCommittedSha256": "591b52274540876513c236f0beb73371fdbf6b5abafc36feaed1f63f385c49c6",
|
||||
"previousCommittedBytes": 1576,
|
||||
"byteNormalizationCorrection": false
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4083fa57-495c-4f03-a634-38b3af7ac525\\result.json",
|
||||
"path": "docs/desktop-credentials-b-actual.json",
|
||||
"bytes": 4993,
|
||||
"sha256": "4fc932a831b03838a926163a825392c17db98f4cfda03449c9d3063037baf5e6",
|
||||
"previousCommittedSha256": "37415bc541150e8de73dfcafb433dd1cbf80c6f0bbcdba733270434ad417f401",
|
||||
"previousCommittedBytes": 4899,
|
||||
"byteNormalizationCorrection": true
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-credentials-4cfcf5da-eaaf-472e-b6c0-99266b1e9a3c\\result.json",
|
||||
"path": "docs/desktop-credentials-b-prelayout.json",
|
||||
"bytes": 1646,
|
||||
"sha256": "95a3c6ce02971fe8e01a1b109b4b116caf53411998884c73e3f4e3a15bd65876",
|
||||
"previousCommittedSha256": "eff2d8c53cf5e6eb08216dad3e9e2f4af611c12ed108e71c85d15e4f92b0598b",
|
||||
"previousCommittedBytes": 1610,
|
||||
"byteNormalizationCorrection": true
|
||||
}
|
||||
],
|
||||
"scope": "Original A/B raw evidence bytes retained. Explicit -text attributes repair earlier Git line-ending normalization only; historical commits/reports remain unchanged."
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
> local-agent-workbench@1.15.0 build
|
||||
> tsc --noEmit && vite build && node scripts/build-server.mjs
|
||||
|
||||
You are using Node.js 16.13.1. Vite requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/node_modules/vite/dist/node/chunks/config.js:8
|
||||
import fsp, { constants } from "node:fs/promises";
|
||||
^^^^^^^^^
|
||||
SyntaxError: The requested module 'node:fs/promises' does not provide an export named 'constants'
|
||||
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
|
||||
at async ModuleJob.run (node:internal/modules/esm/module_job:181:5)
|
||||
at async Promise.all (index 0)
|
||||
at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
|
||||
at async CAC.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/node_modules/vite/dist/node/cli.js:626:28)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,14 @@
|
||||
|
||||
> local-agent-workbench@1.15.0 build
|
||||
> tsc --noEmit && vite build && node scripts/build-server.mjs
|
||||
|
||||
[36mvite v7.3.7 [32mbuilding client environment for production...[36m[39m
|
||||
transforming...
|
||||
[32m✓[39m 1718 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
[2mdist-client/[22m[32mindex.html [39m[1m[2m 0.50 kB[22m[1m[22m[2m │ gzip: 0.37 kB[22m
|
||||
[2mdist-client/[22m[35massets/index-CxHXL0MO.css [39m[1m[2m130.90 kB[22m[1m[22m[2m │ gzip: 25.10 kB[22m
|
||||
[2mdist-client/[22m[36massets/index-DluFw6fs.js [39m[1m[2m496.30 kB[22m[1m[22m[2m │ gzip: 146.12 kB[22m
|
||||
[32m✓ built in 1.44s[39m
|
||||
Server bundle built.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"success": true,
|
||||
"files": [
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-build-first.log",
|
||||
"path": "docs/desktop-host-f-build-first-log.txt",
|
||||
"bytes": 894,
|
||||
"sha256": "0ebbeb738fa7fe2ccdbda84b098e2ddf376cd1738f891e8f52861c99e9ef9f3a"
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-build-first-validation.json",
|
||||
"path": "docs/desktop-host-f-build-first-result.json",
|
||||
"bytes": 42804,
|
||||
"sha256": "79c82a8580f617a0e32ef95d22b696beaaf070261c801a05d043af15717c547f"
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-build-second-log.txt",
|
||||
"path": "docs/desktop-host-f-build-second-log.txt",
|
||||
"bytes": 685,
|
||||
"sha256": "8c346201fb678d538cf68be99cc3216271f9a64369640ee52e20994cfc75d388"
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-build-second-result.json",
|
||||
"path": "docs/desktop-host-f-build-second-result.json",
|
||||
"bytes": 57256,
|
||||
"sha256": "fa7cdcdc96ebec54ddc4f496085b147c1b7680634c25e5305e3887520c4a4985"
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-related-first-log.txt",
|
||||
"path": "docs/desktop-host-f-related-first-log.txt",
|
||||
"bytes": 4791,
|
||||
"sha256": "682d35ca4e4c2622b92dc7c888adfd06a76607e69787f5c74a68756cf2c716e6"
|
||||
},
|
||||
{
|
||||
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-related-first-result.json",
|
||||
"path": "docs/desktop-host-f-related-first-result.json",
|
||||
"bytes": 57451,
|
||||
"sha256": "0af693170de720831a8a9d41f74ad333c65477890a862215491be12722f1f0e5"
|
||||
}
|
||||
],
|
||||
"scope": "Original build environment failure and subsequent fixed-Node build plus 17 related tests. Not a complete release acceptance."
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
TAP version 13
|
||||
# Subtest: a rebuilt source archive binds actual generated client assets and retains its original running identity after disk changes
|
||||
ok 1 - a rebuilt source archive binds actual generated client assets and retains its original running identity after disk changes
|
||||
---
|
||||
duration_ms: 2148.6442
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 2 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 0.8172
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 3 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1437
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 4 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1148.0079
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 5 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2313.9959
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 6 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 1.4393
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 7 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 748.7107
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: full candidate validation returns the exact loaded-input host identity and rejects undeclared or altered files
|
||||
ok 8 - full candidate validation returns the exact loaded-input host identity and rejects undeclared or altered files
|
||||
---
|
||||
duration_ms: 1281.3903
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: installation requires separate absolute program/data directories and a candidate in its own versions namespace
|
||||
ok 9 - installation requires separate absolute program/data directories and a candidate in its own versions namespace
|
||||
---
|
||||
duration_ms: 818.2452
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: staging retains the original data and pointer without querying or restarting a host
|
||||
ok 10 - staging retains the original data and pointer without querying or restarting a host
|
||||
---
|
||||
duration_ms: 2187.3817
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a post-pointer failure restores every original pointer byte and persistent row; a first-install failure removes only its published pointer
|
||||
ok 11 - a post-pointer failure restores every original pointer byte and persistent row; a first-install failure removes only its published pointer
|
||||
---
|
||||
duration_ms: 4270.6777
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: changed active manifest and concurrent pointer changes are rejected without overwriting the unknown record
|
||||
ok 12 - changed active manifest and concurrent pointer changes are rejected without overwriting the unknown record
|
||||
---
|
||||
duration_ms: 1802.8301
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an unregistered non-HTTP listener blocks preflight even when service-info is absent
|
||||
ok 13 - an unregistered non-HTTP listener blocks preflight even when service-info is absent
|
||||
---
|
||||
duration_ms: 926.0963
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: uninstall archives its original pointer and preserves every data row/artifact instead of recursively deleting data
|
||||
ok 14 - uninstall archives its original pointer and preserves every data row/artifact instead of recursively deleting data
|
||||
---
|
||||
duration_ms: 2718.4972
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: preflight rejects an unrelated program root or changed native bootstrap while preserving its original bytes
|
||||
ok 15 - preflight rejects an unrelated program root or changed native bootstrap while preserving its original bytes
|
||||
---
|
||||
duration_ms: 844.1368
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a changed owned bootstrap follows its candidate and a post-pointer fault restores both original bytes
|
||||
ok 16 - a changed owned bootstrap follows its candidate and a post-pointer fault restores both original bytes
|
||||
---
|
||||
duration_ms: 4417.8842
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an external bootstrap change after preflight is preserved and never overwritten as an update or rollback
|
||||
ok 17 - an external bootstrap change after preflight is preserved and never overwritten as an update or rollback
|
||||
---
|
||||
duration_ms: 2819.1904
|
||||
type: 'test'
|
||||
...
|
||||
1..17
|
||||
# tests 17
|
||||
# suites 0
|
||||
# pass 17
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 22180.5487
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user