feat: integrate approved MCP tools and recovery for 1.12

This commit is contained in:
Agent Workbench Dev
2026-10-30 20:34:54 +08:00
parent 601f13c4f8
commit 3f6797b8ee
80 changed files with 5141 additions and 70 deletions
+4 -2
View File
@@ -16,11 +16,13 @@
## 2. 能力矩阵
### 1.12 开发源码(未升级正式服务)
### 1.12 完整候选(发行与部署见QA-1.12)
- C05:项目所属记忆、来源核对/过期/归档、有界脱敏模型上下文和原发送快照已通过17项专项、桌面/390px和322项全量,见[项目记忆](PROJECT-MEMORY.md)。
- C04/C07/C11:新增可核验Task恢复包,保存完整要求、原工具/计划/证明及未知/待审查项;显式续接保留同Task和已完成结果。12项专项和桌面/390px三组通过,最终回归另行封存,见[任务检查点](TASK-CHECKPOINTS.md)。
- 新协议、多worker、动态Skills/MCP、桌面/手机配对和真实模型池任务继续按独立切片开发与验收,不从本地配置或夹具结果推断完成。
- C06/C07:项目所属[Skills](SKILLS.md)按版本启停/目录/读取,受控[stdio MCP](MCP.md)按实际schema、冻结请求目录与逐次审批调用;未知副作用需指纹核对后显式续接,宿主中断无报告也能查看原输入,不重放操作。
- C14/C15/C23:模型中心提供兼容Chat协议的多连接、轮询/权重、Run粘连、并发租约、故障冷却和请求账本;只导入已验证CCSwitch/工作台schema,凭据仅当前进程内存。运行中心只读检查不发送模型请求。
- 最终独立源码、全量界面、便携归档与正式升级见[1.12验收](QA-1.12.md)。新协议、多worker、远程MCP、桌面/手机配对、多模态和真实模型池任务继续独立开发与验收。
### 1.11.0 任务依赖与证据收尾(本地发行与正式升级完成)
+35
View File
@@ -0,0 +1,35 @@
# 项目所属 MCP 工具
1.12候选版可以按项目登记本地 stdio MCP 程序,探测真实工具目录,再让模型在明确审批后调用选定工具。探测通过、外部工具返回和工程交付分别判定。发行与部署状态见[1.12验收](QA-1.12.md)。
## 使用流程
1. 打开顶部「项目 MCP 工具」,填写程序绝对路径。脚本只接受当前宿主 Node.js 执行的 `.js`、`.mjs`、`.cjs` 入口,不接受 shell 命令、任意参数或自动安装。登记后保持停用。
2. 点击「实际探测」,核对程序/入口和说明后确认。实际启动独立进程,执行 `initialize` 和 `tools/list`,记录协议、版本、schema、请求轨迹和关闭结果。
3. 查看工具用途及参数契约,明确选择允许模型请求的工具,再保存并启用。服务的 annotations 不构成权限授予。
4. 模型只能使用当前请求实际发送目录中的注册ID、配置修订、契约SHA256和工具名。每次调用仍显示独立审批,核对后才启动程序。
5. 在所属任务「MCP 运行记录」查看原始输入、报告和状态;外部调用未收到结果时按未知处理,人工核对后才能继续涉及副作用的工作。
## 身份和进程
登记保存可执行文件、可选入口的实际路径、大小和SHA256。探测/启用/调用前重新计算;调用时再次握手并核对原服务版本和完整发现目录,漂移时拒绝发送 `tools/call`。SHA256范围为程序与入口;依赖文件没有全量封存。
每个操作使用独立临时工作目录和一条所属 stdio 连接。只继承 PATH、系统目录、临时目录等必要环境,模型Key及其他应用登录态不传入;服务发起的 sampling、roots、elicitation 等请求不获得宿主权限。独立进程不等于操作系统沙箱,程序仍以当前系统用户权限运行。
每次操作固定协议 `2025-03-26`,需要真实的工具能力声明。最多发现100项/4页、目录256KB、单帧1MB;单工具参数最多16000字节。参数校验只支持明确列出的有界JSON Schema子集,遇到 `$ref`、`pattern` 等未支持校验关键字时禁止启用该工具。
请求超时为500–45000毫秒,注册最多16项/项目、启用工具最多12项/注册、每轮目录最多12项、每任务最多30次操作。目录只使用剩余请求预算,不挤掉原目标或已保留代码。
## 原记录与恢复
输入、目录和报告工件均绑定项目、会话、Task和Run;报告包含真实握手、工具发现、返回内容、轨迹、stderr与所属进程关闭结果。完整数据经现有Provider脱敏,原外部数据不能自行授予权限或替代实际测试。
停止会传播取消并关闭本次拥有的进程。请求已发出但没有完整结果,或者进程关闭不能确认时,状态保留 `unknown`;宿主重开不会自动重放,也不会使用历史PID停止其他进程。人工核对另存审核记录,保留原未知状态和原报告,不把未知结果改成成功。
## 验证范围
专项使用自有本地MCP进程与HTTP模型夹具,验证实际stdio、审批、参数、配置漂移、凭据环境、取消/超时、原记录及项目隔离。桌面/390px另行检查实际页面。真实第三方服务、远程HTTP MCP、插件自动安装、第三方工程副作用和付费模型收益不从夹具结果推断为完成。
宿主中断且没有完整报告时,界面仍提供原始输入核验入口,不补造报告。人工核对绑定原输入/已有报告指纹和原工具调用,另存审核记录并同步工具与检查点待核对状态;保存失败恢复内存状态。未知副作用会阻止新任务、检查、变更应用、Git交付及其他外部执行,核对后显式续接。已变化的程序可以立即停用。
20项stdio/注册专项、6组管理界面和2组真实宿主中断界面通过;完整候选回归与独立发行分别登记,不沿用补强前353项作为最终结果。
+3 -3
View File
@@ -1,6 +1,6 @@
# 1.12 专业工作台与模型池执行方案
日期:2026-10-30。本文是下一阶段的开发契约,尚未作为1.11能力发布。起点为已部署的1.11.0/PID19084和已封存的298项源码、126组界面及全部历史数据;真实模型续接仍按用户选择单独待验。
日期:2026-10-30。本文保留1.12的执行契约和实际进度;起点为1.11.0/PID19084和已封存的298项源码、126组界面及全部历史数据。当前进入1.12完整候选/独立发行验收,最终部署以[QA-1.12](QA-1.12.md)为准;真实模型续接仍按用户选择单独待验。
## 交付目标与顺序
@@ -22,7 +22,7 @@ A–D分别提交和验收。A先建立注册与归属,B依赖A,C使用A的
后续[任务恢复检查点](TASK-CHECKPOINTS.md)源码已实现保存完整要求/原工具工件/计划与证明、复核当前源码和Git/工作区、显式同Task续接。12项专项含真实进程提交前后退出及桌面/390px三组通过,最终源码/构建334/334回归及204份输入已独立封存;新包与真实模型长任务收益尚未验收。
本地[Skills](SKILLS.md)源码已实现项目登记、来源SHA256、默认停用、显式启停/新修订、每轮目录与按需读取工件;10项专项和升级2项、桌面/390px四组通过。完整MCP与隔离worker仍在后续,附带脚本不自动加载执行。
本地[Skills](SKILLS.md)已实现项目登记、来源SHA256、默认停用、显式启停/新修订、每轮目录与按需读取工件;10项专项和升级2项、桌面/390px四组通过。[项目MCP](MCP.md)已实现受控stdio登记/实际探测/启停、冻结schema、逐次审批、Task/Run原输入/报告和未知副作用门控;20项专项、6组管理和2组真实中断恢复界面通过。附带脚本不自动加载执行,远程MCP/自动安装仍待开发。
## 专业界面与操作结构
@@ -132,6 +132,6 @@ REA研究、Purge策略对照与外部引擎采用同一追溯要求:具体工
## 下一次开发的明确起点
连接注册/池路由、项目记忆管理/上下文和长任务恢复检查点已通过本地验收。下一独立切片先建立版本可追踪、可启停的Skills/MCP注册与调用契约,之后推进隔离worker和桌面/移动宿主;两个worker必须绑定各自worktree和预算,父任务只归集实际结果与可审查改动。旧Provider内存连接、全部历史证据和正式4318在新候选验收前继续按现有方式运行。
连接注册/池路由、项目记忆管理/上下文、长任务恢复检查点和本地Skills/stdio MCP已分别通过本地专项。先收成1.12不可变候选,完成全量UI、独立源码/便携与保留状态升级,再推进隔离worker和桌面/移动宿主;两个worker必须绑定各自worktree和预算,父任务只归集实际结果与可审查改动。旧Provider内存连接、全部历史证据和正式4318在新候选验收前继续按现有方式运行。
每个切片提交均包含最终行为说明、适当检查和真实限制。A–D最终发行还须独立源码/便携、数据迁移/升级及界面验证;真实模型工程样本的失败如实保留,不以通过数量替代工程交付能力。
+22
View File
@@ -0,0 +1,22 @@
# 1.12 模型中心与可扩展代理验收
日期:2026-10-30。当前状态:候选验收中,正式4318仍保留原1.11进程/Provider和历史数据。通过完整候选检查后才按既有流程升级;本文随后登记原始结果与部署身份。
## 实现范围
- 模型中心/兼容Chat协议池:连接、启停、轮询/权重、Run粘连、并发租约、故障冷却、请求账本、已验证格式导入与只读巡检。
- 项目记忆:来源/源码指纹、到期与归档、有界脱敏模型上下文和原发送快照。
- 任务检查点:全部要求、源码/Git身份、原工具/计划/证明与未知操作,核对后同Task新Run续接,不重放。
- 项目Skills与stdio MCP:来源身份、不可变修订、启停、预算;MCP真实探测、schema核验、逐次审批、取消与unknown、无报告原输入审查和副作用门控。
## 分段结果与最终验收
记忆阶段322/322,检查点334/334,Skills相关专项与界面均有原始记录。MCP补强前353/353只是基线,见[mcp-baseline-regression.json](mcp-baseline-regression.json)。补强后stdio/注册20项、6组管理与2组实际宿主中断界面已通过,最终候选将单独封存全部源码与日志。
20类150组[完整界面](model-center-all-ui-validation.json)通过。最后修正模型中心标题栏实际组件选择器,桌面/390px的5组[专项复验](model-center-header-ui-validation.json)及截图核对通过;MCP长参数审批边界修复后20项专项、6组[管理](model-center-final-mcp-ui-validation.json)和2组[中断恢复](model-center-final-mcp-recovery-ui-validation.json)通过,原失败另存。
独立源码/便携/ZIP、输入与构建散列、Git提交、原PID/Provider/历史数据保留及正式页面复验正在执行。正式交付完成前不将本段标记为通过。
## 限制与后续
真实模型工程验收按用户选择暂缓,本轮真实模型请求为0。MCP仅本地stdio,独立进程不是OS沙箱,身份覆盖程序/入口而非全部依赖。仅兼容Chat非流式模型协议;凭据只在当前进程内存。WorkBuddy schema、系统加密凭据、原生多模态、桌面壳、手机配对和多worker继续按独立切片开发,不从390px或本地夹具结果推断完成。
File diff suppressed because it is too large Load Diff
+169
View File
@@ -0,0 +1,169 @@
{
"success": true,
"version": "1.12.0",
"at": "2026-10-30T12:21:31.690Z",
"groups": 150,
"results": [
{
"script": "verify-task-plans-ui.mjs",
"success": true,
"groups": 8,
"durationMs": 11461,
"evidence": "docs/model-center-task-ui-validation.json",
"log": ".qa/model-center-verify-task-plans-ui.log"
},
{
"script": "verify-browser-ui.mjs",
"success": true,
"groups": 10,
"durationMs": 19304,
"evidence": "docs/model-center-browser-ui-validation.json",
"log": ".qa/model-center-verify-browser-ui.log"
},
{
"script": "verify-ui.mjs",
"success": true,
"groups": 10,
"durationMs": 19241,
"evidence": "docs/model-center-basic-ui-validation.json",
"log": ".qa/model-center-verify-ui.log"
},
{
"script": "verify-diagnostics-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 19083,
"evidence": "docs/model-center-diagnostics-ui-validation.json",
"log": ".qa/model-center-verify-diagnostics-ui.log"
},
{
"script": "verify-execution-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 24408,
"evidence": "docs/model-center-execution-ui-validation.json",
"log": ".qa/model-center-verify-execution-ui.log"
},
{
"script": "verify-delivery-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 35754,
"evidence": "docs/model-center-delivery-ui-validation.json",
"log": ".qa/model-center-verify-delivery-ui.log"
},
{
"script": "verify-index-ui.mjs",
"success": true,
"groups": 8,
"durationMs": 5827,
"evidence": "docs/model-center-index-ui-validation.json",
"log": ".qa/model-center-verify-index-ui.log"
},
{
"script": "verify-change-sets-ui.mjs",
"success": true,
"groups": 11,
"durationMs": 10050,
"evidence": "docs/model-center-change-sets-ui-validation.json",
"log": ".qa/model-center-verify-change-sets-ui.log"
},
{
"script": "verify-context-ui.mjs",
"success": true,
"groups": 11,
"durationMs": 15297,
"evidence": "docs/model-center-context-ui-validation.json",
"log": ".qa/model-center-verify-context-ui.log"
},
{
"script": "verify-workspaces-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 20677,
"evidence": "docs/model-center-workspaces-ui-validation.json",
"log": ".qa/model-center-verify-workspaces-ui.log"
},
{
"script": "verify-python-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 16602,
"evidence": "docs/model-center-python-ui-validation.json",
"log": ".qa/model-center-verify-python-ui.log"
},
{
"script": "verify-react-delivery.mjs",
"success": true,
"groups": 6,
"durationMs": 26575,
"evidence": "docs/model-center-react-delivery-validation.json",
"log": ".qa/model-center-verify-react-delivery.log"
},
{
"script": "verify-research-ui.mjs",
"success": true,
"groups": 11,
"durationMs": 21284,
"evidence": "docs/model-center-research-ui-validation.json",
"log": ".qa/model-center-verify-research-ui.log"
},
{
"script": "verify-engines-ui.mjs",
"success": true,
"groups": 10,
"durationMs": 9718,
"evidence": "docs/model-center-engines-ui-validation.json",
"log": ".qa/model-center-verify-engines-ui.log"
},
{
"script": "verify-model-center-ui.mjs",
"success": true,
"groups": 5,
"durationMs": 3746,
"evidence": "docs/model-center-model-center-ui-validation.json",
"log": ".qa/model-center-verify-model-center-ui.log"
},
{
"script": "verify-project-memory-ui.mjs",
"success": true,
"groups": 4,
"durationMs": 4805,
"evidence": "docs/model-center-project-memory-ui-validation.json",
"log": ".qa/model-center-verify-project-memory-ui.log"
},
{
"script": "verify-task-checkpoints-ui.mjs",
"success": true,
"groups": 3,
"durationMs": 5712,
"evidence": "docs/model-center-task-checkpoints-ui-validation.json",
"log": ".qa/model-center-verify-task-checkpoints-ui.log"
},
{
"script": "verify-skills-ui.mjs",
"success": true,
"groups": 4,
"durationMs": 6270,
"evidence": "docs/model-center-skills-ui-validation.json",
"log": ".qa/model-center-verify-skills-ui.log"
},
{
"script": "verify-mcp-ui.mjs",
"success": true,
"groups": 6,
"durationMs": 8798,
"evidence": "docs/model-center-mcp-ui-validation.json",
"log": ".qa/model-center-verify-mcp-ui.log"
},
{
"script": "verify-mcp-recovery-ui.mjs",
"success": true,
"groups": 2,
"durationMs": 5514,
"evidence": "docs/model-center-mcp-recovery-ui-validation.json",
"log": ".qa/model-center-verify-mcp-recovery-ui.log"
}
],
"scope": "Every verifier owns an independent port and synthetic data directory. Synthetic provider fixtures verify protocols; configured-model acceptance is separate. No production service or real key read/copied."
}
@@ -0,0 +1,27 @@
{
"success": true,
"url": "http://127.0.0.1:59988",
"browser": "Microsoft Edge 156.0.4314.42",
"date": "2026-10-30T12:17:30.489Z",
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\ui-ea9d3b7f-bfe7-4f5c-8243-a72e79bebebe\\ui-project",
"viewports": [
1440,
780,
390
],
"passed": [
"project selection and real file preview",
"real command consent, execution and stale snapshot rejection",
"diff review and verified file application",
"manual editor creates a reviewable proposal",
"file responses stay with the current selection",
"denial, session selection, reload, stale response rejection and export",
"project inventory responses cannot replace another project",
"780 and 390 px: project drawer, file, diff and trace controls, no page overflow",
"unified and detailed research reports render",
"model list, ephemeral key, compatible fixture tool loop and return to offline mode"
],
"pageErrors": [],
"requestFailures": [],
"modelValidation": "controlled local HTTP fixture; no real model"
}
@@ -0,0 +1,29 @@
{
"success": true,
"version": "1.12.0",
"testedAt": "2026-10-30T12:19:06.263Z",
"cases": [
"Desktop batch scope, per-file diffs, sealed single-write guard and pre-apply bytes",
"Three-file reviewed application preserves exact BOM/CRLF/LF and creates the new file",
"Explicit batch rollback restores exact originals and removes only the reviewed new file",
"A last-file owner conflict blocks the whole batch and shows the real recovery direction",
"Durable partial recovery reads actual hashes and preserves owner content during rollback",
"Changed observation fingerprints reject stale acknowledgement without releasing the project",
"Explicit owner-content acknowledgement ends recovery without claiming successful application",
"Switching projects clears the previous task notification while retaining its durable error and recovery history",
"390px step-limit review, same-task continuation entry, rollback confirmation and keyboard close fit the viewport",
"A delayed preparation response never opens a different project or changes its selected session",
"A failed batch response after its component unmounts cannot display an error in the newly selected project"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
".qa/screenshots/model-center-batch-desktop-review.png",
".qa/screenshots/model-center-batch-desktop-conflict.png",
".qa/screenshots/model-center-batch-desktop-recovery.png",
".qa/screenshots/model-center-batch-mobile-review.png",
".qa/screenshots/model-center-batch-mobile-rollback.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-32eb4e53-204e-440a-9bef-cfe617806c0f",
"scope": "Real independent demo host and durable batch states; UI fixtures include actual owner conflict/rollback results. No real model credentials or user project were used."
}
@@ -0,0 +1,175 @@
{
"success": true,
"version": "1.12.0",
"testedAt": "2026-10-30T12:17:11.154Z",
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-7973f8c3-96a0-4115-a3e7-27423d7fd7d0",
"passed": [
"actual step editor seals the chosen build, viewport and three CSS interactions without opening the page",
"review shows exact build identity and planned assertions; cancelling executes no browser work",
"real inner Edge clicks the intended element and the two counted assertions display with original Task/Run/build identity",
"original large JSON is paged in the UI and downloads the complete hash-identical result",
"the original screenshot renders at its actual resolution and downloads identical PNG bytes",
"a real failed assertion retains actual count one and requires a newly reviewed plan instead of replaying",
"390px forms and result records remain usable and the inner browser captures its real 390px layout",
"stopping an actual in-flight assertion closes its owned browser and preserves prior successful and failed jobs",
"a delayed original-record failure stays with its source and does not appear in a newly selected task",
"actual host restart preserves the four original browser jobs and PNGs without model requests or execution replay"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-7973f8c3-96a0-4115-a3e7-27423d7fd7d0\\browser-desktop-results.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-7973f8c3-96a0-4115-a3e7-27423d7fd7d0\\browser-desktop-original-image.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-7973f8c3-96a0-4115-a3e7-27423d7fd7d0\\browser-mobile-results.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\browser-ui-7973f8c3-96a0-4115-a3e7-27423d7fd7d0\\browser-mobile-original-image.png"
],
"taskId": "4ca80e48-f8bf-4e94-aed0-c43f39ff6ede",
"sessionId": "20e1f0d8-d2c2-4e4c-81de-2079219a088f",
"jobs": [
{
"id": "0eeeffde-e890-4abe-8282-7864f66dc5a5",
"status": "passed",
"planId": "442355f7-e6e1-471f-a900-a413dda7e1cc",
"assertions": {
"total": 2,
"passed": 2,
"failed": 0
},
"resultSha256": "382c7f0b7f166ccfd65439effc4a467dab78cdb41d874dfd450167165832e532",
"cleanup": {
"pid": 23144,
"exited": true,
"exitCode": 0,
"signal": null,
"finishedAt": "2026-10-30T12:16:57.156Z",
"previewClosed": true,
"snapshotDisposed": true
},
"screenshots": [
{
"artifactId": "dc11a425-3407-4c43-be32-0596564542d1",
"sha256": "74f2387b837f5f74bd7e8eef7631865a3b5bb24601c4bbaa93b2478a9e94c6ef",
"bytes": 101061,
"width": 1280,
"height": 900,
"label": "initial"
},
{
"artifactId": "5230e2ca-b037-4102-9901-9c4e1ea2ed61",
"sha256": "b1de525bcf042bc1724e8a9c6670042ab3035bed394ff76cf2a934a443ae98f7",
"bytes": 85261,
"width": 1280,
"height": 900,
"label": "final"
}
]
},
{
"id": "2b393530-9061-425d-89bb-d30d5e1e23b6",
"status": "failed",
"planId": "8c69551c-25ba-471b-86ce-d95a265be5b3",
"assertions": {
"total": 2,
"passed": 1,
"failed": 1
},
"resultSha256": "295790191be3dc7be2f067b371362598b8059743698da879aad2c7a5e714f5f9",
"cleanup": {
"pid": 43620,
"exited": true,
"exitCode": 0,
"signal": null,
"finishedAt": "2026-10-30T12:17:03.486Z",
"previewClosed": true,
"snapshotDisposed": true
},
"screenshots": [
{
"artifactId": "925102ad-28ba-4b76-9cda-e12d80de2d5d",
"sha256": "74f2387b837f5f74bd7e8eef7631865a3b5bb24601c4bbaa93b2478a9e94c6ef",
"bytes": 101061,
"width": 1280,
"height": 900,
"label": "initial"
},
{
"artifactId": "1274de9d-b79d-4e3b-b8d3-f46c968ec48a",
"sha256": "b1de525bcf042bc1724e8a9c6670042ab3035bed394ff76cf2a934a443ae98f7",
"bytes": 85261,
"width": 1280,
"height": 900,
"label": "failure"
}
]
},
{
"id": "69604e68-e7d6-4835-8635-312ab77943ef",
"status": "passed",
"planId": "1fa7fd5a-fb6b-4627-906e-9c2c277f7963",
"assertions": {
"total": 2,
"passed": 2,
"failed": 0
},
"resultSha256": "f91e7b2ea314ab3a7153bb9e5b42d4351964ae254aeedc97e0f2a33ef5a6c9ae",
"cleanup": {
"pid": 4924,
"exited": true,
"exitCode": 0,
"signal": null,
"finishedAt": "2026-10-30T12:17:05.953Z",
"previewClosed": true,
"snapshotDisposed": true
},
"screenshots": [
{
"artifactId": "e3f6c371-0218-446b-b8d6-52ef5449814f",
"sha256": "93969f1954eec1f7fa4736d7a3035631c6066b6727132ff1179180eadb745602",
"bytes": 11011,
"width": 390,
"height": 844,
"label": "initial"
},
{
"artifactId": "fb232f0e-8f69-425e-90a8-0b7b41e9da89",
"sha256": "a6908ecfcfd239721ec6bbb916a5054d2f61183b6dea3f014db89216d371d0e3",
"bytes": 18832,
"width": 390,
"height": 844,
"label": "final"
}
]
},
{
"id": "11b2c76f-dd6a-42fa-846c-81d9dae57427",
"status": "interrupted",
"planId": "9be76518-d20c-486e-9162-d4686f9d863f",
"assertions": {
"total": 3,
"passed": 2,
"failed": 1
},
"resultSha256": "c45d03758d7045785c462621b42f786c490dfed5714947fcf7b66d6fa94b288c",
"cleanup": {
"pid": 16240,
"exited": true,
"exitCode": 0,
"signal": null,
"finishedAt": "2026-10-30T12:17:09.201Z",
"previewClosed": true,
"snapshotDisposed": true
},
"screenshots": [
{
"artifactId": "da872bed-3a00-4f56-88e2-90f3e452abed",
"sha256": "93969f1954eec1f7fa4736d7a3035631c6066b6727132ff1179180eadb745602",
"bytes": 11011,
"width": 390,
"height": 844,
"label": "initial"
}
]
}
],
"scope": "Actual independent Workbench UI plus real Edge static-build executions. The configured production Provider, other projects and keys are not accessed."
}
@@ -0,0 +1,29 @@
{
"success": true,
"version": "1.12.0",
"testedAt": "2026-10-30T12:19:06.263Z",
"cases": [
"Desktop batch scope, per-file diffs, sealed single-write guard and pre-apply bytes",
"Three-file reviewed application preserves exact BOM/CRLF/LF and creates the new file",
"Explicit batch rollback restores exact originals and removes only the reviewed new file",
"A last-file owner conflict blocks the whole batch and shows the real recovery direction",
"Durable partial recovery reads actual hashes and preserves owner content during rollback",
"Changed observation fingerprints reject stale acknowledgement without releasing the project",
"Explicit owner-content acknowledgement ends recovery without claiming successful application",
"Switching projects clears the previous task notification while retaining its durable error and recovery history",
"390px step-limit review, same-task continuation entry, rollback confirmation and keyboard close fit the viewport",
"A delayed preparation response never opens a different project or changes its selected session",
"A failed batch response after its component unmounts cannot display an error in the newly selected project"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
".qa/screenshots/model-center-batch-desktop-review.png",
".qa/screenshots/model-center-batch-desktop-conflict.png",
".qa/screenshots/model-center-batch-desktop-recovery.png",
".qa/screenshots/model-center-batch-mobile-review.png",
".qa/screenshots/model-center-batch-mobile-rollback.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-32eb4e53-204e-440a-9bef-cfe617806c0f",
"scope": "Real independent demo host and durable batch states; UI fixtures include actual owner conflict/rollback results. No real model credentials or user project were used."
}
@@ -0,0 +1,34 @@
{
"success": true,
"version": "1.12.0",
"testedAt": "2026-10-30T12:19:21.159Z",
"passed": [
"desktop request estimate, actual usage, complete goal and history identity are visible",
"paged complete history opens actual tool result artifacts without executing tools",
"historical and resumed Runs retain their own request records",
"390px history, original JSON and sent-body dialogs fit and retain close controls",
"late old history failure stays in its original scope after switching projects",
"late old Run failure stays in its original scope after switching projects",
"late old request-body failure stays in its original scope after switching projects",
"context-limit pause explains the intact requirement and explicit continuation",
"390px repeated-read pause explains the cause and explicit continuation retains the same Task",
"desktop working evidence shows actual code, original result provenance and the current Task",
"390px working evidence and sent request stay readable and closing the artifact retains task navigation"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
".qa/screenshots/model-center-desktop-plan.png",
".qa/screenshots/model-center-desktop-history.png",
".qa/screenshots/model-center-mobile-history.png",
".qa/screenshots/model-center-mobile-original.png",
".qa/screenshots/model-center-mobile-request-body.png",
".qa/screenshots/model-center-mobile-read-pause.png",
".qa/screenshots/model-center-desktop-working-evidence.png",
".qa/screenshots/model-center-mobile-working-evidence.png"
],
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-0b30ebbf-3765-40db-8dac-aa7adc25fc25",
"data": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-0b30ebbf-3765-40db-8dac-aa7adc25fc25\\data",
"mode": "saved synthetic context evidence; no real model or project commands executed by this UI verifier",
"browser": "156.0.4314.42"
}
@@ -0,0 +1,31 @@
{
"success": true,
"version": "1.12.0",
"testedAt": "2026-10-30T12:18:50.224Z",
"browser": "156.0.4314.42",
"passed": [
"actual failing tests and four source proposals retain the original project and task",
"reviewed changes continue the same Task through 14 real tests and model-prepared Git review",
"review shows actual paths, diffs, tests, author and policy; cancelling leaves Git unchanged",
"an index change after confirmation preview refuses the stale job and preserves both staged owners",
"390px confirmation keeps file hashes, diffs and actions inside the modal",
"double confirmation creates one four-file commit, retains owner bytes and publishes report with completion",
"report viewing and Markdown/JSON downloads preserve verified artifact bytes and truthful acceptance limits",
"mobile report preview closes cleanly and keeps the task input fixed",
"unknown Git results block new submission and the explicit reconcile action restores the existing commit"
],
"pageErrors": [],
"requestFailures": [],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\delivery-ui-e6021b84-83cb-411f-be62-9cafc5445ea5\\四模块交付工程",
"projectId": "4cb0355d-78ce-432d-990b-92dfaa2d9c22",
"sessionId": "7a16da5f-5e2d-4e97-a196-c8108fce311c",
"taskId": "051434b0-cd0d-4079-a5fc-e2c1da889bc1",
"commit": "a520984e51ac67abe15bf1e236315248b228a454",
"recoveryCommit": "7f2eb741a032cb53270e1ccb1afcc9d915a61461",
"testCounts": {
"baselineFailed": 13,
"passed": 14
},
"model": "controlled local HTTP fixture",
"confirmations": 2
}
@@ -0,0 +1,20 @@
{
"success": true,
"version": "1.12.0",
"url": "http://127.0.0.1:49629",
"date": "2026-10-30T12:17:49.749Z",
"passed": [
"model response validation checks the tentative connection before saving",
"a model failure after successful tools shows source, attempts and local runtime diagnosis",
"explicit retry preserves the completed tool result without replaying the task",
"an error question receives the actual session diagnosis and formatted answer",
"review state exposes the review action and prevents application during a running request",
"approved Unicode commands execute in the declared shell and retain Chinese output",
"authentication errors do not retry and error/diagnostic controls fit a 390 px viewport",
"stop cancels pending retry and clears running model state",
"a transient service failure recovers within the bounded retry policy"
],
"pageErrors": [],
"requestFailures": [],
"modelValidation": "controlled local HTTP fixture; actual configured model is verified separately"
}
@@ -0,0 +1,232 @@
{
"success": true,
"version": "1.12.0",
"testedAt": "2026-10-30T12:20:56.468Z",
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-1b58690f-8d90-43f4-aa1d-9eee7ffc7f19",
"browser": "156.0.4314.42",
"passed": [
"independent desktop engine entry detects the declared installation and clearly separates connection from project execution",
"missing installations and edited directories cannot launch a check until detection succeeds",
"UI launch seals the selected installation into the current Task/Run and renders actual startup and process-close facts",
"original record paging, full download SHA256 and nested-dialog keyboard close preserve the exact evidence",
"an explicit new check creates a different process and record while retaining the original check unchanged",
"declared pending-initialize fixture stops its owned process and explicit retry preserves the stopped result",
"the same product UI verifies the actual installed DeepSeek SDK without a prompt or configured-model call",
"390px installation paths, source chain, original record, paging and keyboard close remain readable without page overflow",
"late detection failure from a closed panel cannot appear in a different task or reveal its prior engine records",
"actual host restart preserves all native and declared-fixture records with no protocol replay or project modification"
],
"pageErrors": [],
"requestFailures": [],
"expectedRequestFailures": [],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-1b58690f-8d90-43f4-aa1d-9eee7ffc7f19\\screenshots\\engines-native-desktop.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-1b58690f-8d90-43f4-aa1d-9eee7ffc7f19\\screenshots\\engines-record-mobile.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-1b58690f-8d90-43f4-aa1d-9eee7ffc7f19\\screenshots\\engines-native-mobile.png"
],
"starts": [
{
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-1b58690f-8d90-43f4-aa1d-9eee7ffc7f19\\本地 SDK #",
"identitySha256": "140a81b2b0b97b77117a13d8749bd4ceb228fb0d7a9333df446b39ed938e246d"
},
{
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-1b58690f-8d90-43f4-aa1d-9eee7ffc7f19\\本地 SDK #",
"retry": true
},
{
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-1b58690f-8d90-43f4-aa1d-9eee7ffc7f19\\本地 SDK #",
"identitySha256": "140a81b2b0b97b77117a13d8749bd4ceb228fb0d7a9333df446b39ed938e246d"
},
{
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\engines-ui-1b58690f-8d90-43f4-aa1d-9eee7ffc7f19\\本地 SDK #",
"retry": true
},
{
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
"identitySha256": "a60f7733d6eaf91bcd31ce5d1da38d6d267a16ad29bc03bba548f314fddec22a"
}
],
"nativeJob": {
"schemaVersion": 1,
"id": "1308d6b3-0815-4504-944e-c73ce216d967",
"sessionId": "4bfed630-60ab-41b9-8858-0a140564ffd6",
"projectId": "2570aa55-bb68-4abe-adc6-2699471826cf",
"taskId": "5700c9b7-b61b-4493-ba23-ea339070406d",
"runId": "53a1883f-cdb7-45c6-80cb-ab8e9ffe0b06",
"engineId": "deepseek-harness",
"scope": "deepseek-sdk-connection-probe",
"source": "user",
"installation": {
"engineId": "deepseek-harness",
"name": "DeepSeek Harness",
"profile": "sdk-minimal",
"expectedVersion": "0.2.1-rc.2",
"root": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness",
"capabilities": {
"connectionProbe": true,
"projectExecution": false,
"prompt": false,
"singleSessionCancel": false,
"protocolVersionNegotiation": false,
"cancellationUnit": "owned-process",
"tokenStreaming": false
},
"limitations": [
"当前接入核验启动、会话目录、协议错误和关闭;工程执行接入开发中。",
"SDK没有单会话cancel或close;停止以所属独立进程为单位。",
"SDK serverInfo.version与发行包版本分别核对,没有有效协议版本协商。",
"SDK事件覆盖运行时会话树,idle事件不能直接判项目交付完成。"
],
"status": "available",
"version": "0.2.1-rc.2",
"entry": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\lib\\bin.js",
"inputs": [
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\package.json",
"bytes": 8138,
"sha256": "d42efe9f3ff424f602f11598af8805ad25039953ebbbd3c163d67875f7e8658b",
"relative": "apps/cli/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\apps\\cli\\lib\\bin.js",
"bytes": 11772,
"sha256": "80112efe368efb1a39720c7ada0af00442e5131fb2744edaaff8a3e8bb499e6f",
"relative": "apps/cli/lib/bin.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\boot\\cmdline\\lib\\index.js",
"bytes": 6973,
"sha256": "7253190611566485f8b6f836fae6e0f2a7abbc59bb807c42e874844016e6d3a0",
"relative": "packages/boot/cmdline/lib/index.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-app\\lib\\index.js",
"bytes": 1921,
"sha256": "cc7e6c38b0b38c0e92a0dffb45210c1dac6ef518547436e805e84b772f91a475",
"relative": "packages/bundle/sdk-app/lib/index.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-minimal\\package.json",
"bytes": 2920,
"sha256": "0e177cbca85148207343db5afd7f12829723cf3f2afedfa8e85a5c5dcd58f604",
"relative": "packages/bundle/sdk-minimal/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\bundle\\sdk-minimal\\cordis.patch.yml",
"bytes": 5636,
"sha256": "464ea07c03d3639c2c387fa3a684f5d4001e7ca39f8257b361c604f19487af66",
"relative": "packages/bundle/sdk-minimal/cordis.patch.yml"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\server\\package.json",
"bytes": 2155,
"sha256": "2690f99763c3e1e7bd57f680f26e53010c2a3d7c4dffe06ff64a07ae3928cb17",
"relative": "packages/sdk/server/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\server\\lib\\index.js",
"bytes": 16454,
"sha256": "55412923f9f7c279f7e0b2a1e2853eaf238f390b3d84046cb9c94dc5f22a1e4a",
"relative": "packages/sdk/server/lib/index.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\protocol\\package.json",
"bytes": 1237,
"sha256": "b030b0431d69723b5424dc2519cd4b381ec91acd22b73e0b30d6b8a19f1f2f94",
"relative": "packages/sdk/protocol/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\protocol\\lib\\index.js",
"bytes": 7336,
"sha256": "371c38ca3514797d86df5f4bb78a56c40a2637294b83aababe8145bec6a20253",
"relative": "packages/sdk/protocol/lib/index.js"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\packages\\sdk\\client\\package.json",
"bytes": 1325,
"sha256": "ff33f2ecec2d48bb8a24397cc664fc2dd50ba49d5288eb11fea1cb12931e5d5f",
"relative": "packages/sdk/client/package.json"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\pnpm-lock.yaml",
"bytes": 1090222,
"sha256": "4637cca3b89c4c8d5a147321710e597aa62ec2444a3772ab542be5690893dfe4",
"relative": "pnpm-lock.yaml"
},
{
"path": "D:\\Ai-project\\DeepSeek-Harness-Desktop\\deepseek-harness\\vendor\\cordis\\lib\\index.js",
"bytes": 60361,
"sha256": "6a9394c0877ff45218818c6e815edd038f8057e1a1deb390a8d43ec81c57691e",
"relative": "vendor/cordis/lib/index.js"
}
],
"node": {
"path": "C:\\Program Files\\nodejs\\node.exe",
"bytes": 93915464,
"sha256": "d702daa815eabbff763c7d3808e235cf031cf2ca70211b56847bc72f51e240e5",
"version": "24.22.1"
},
"identitySha256": "a60f7733d6eaf91bcd31ce5d1da38d6d267a16ad29bc03bba548f314fddec22a",
"serverInfo": {
"name": "deepseek-harness-sdk-runtime",
"version": "0.0.1"
},
"message": "已找到匹配版本,可验证原程序的连接与停止。"
},
"sdkSessionId": "2c6c8561-2eba-40ba-a26e-140f14fc6e41",
"directory": "C:\\Users\\wangy\\AppData\\Local\\Temp\\AgentWorkbench-Engines\\1308d6b3-0815-4504-944e-c73ce216d967",
"status": "completed",
"startedAt": "2026-10-30T12:20:53.280Z",
"finishedAt": "2026-10-30T12:20:54.406Z",
"requiresVerification": false,
"verification": {
"verified": true,
"installationSha256": "a60f7733d6eaf91bcd31ce5d1da38d6d267a16ad29bc03bba548f314fddec22a",
"readySignal": "appReady",
"sdkSessionId": "2c6c8561-2eba-40ba-a26e-140f14fc6e41",
"connectionId": "b71eec38-5caf-4013-96e3-952d3f73a2ef",
"rootExited": true,
"modelRequests": 0
},
"summary": "连接通过,启动、协议返回、会话目录与进程结束均已核对。",
"contractArtifactId": "46dfd738-7c6a-4001-8075-790d9abdf078",
"contractSha256": "cfa91586f48715dfc59da4f2bc02305835f145645aa2fdfac993a735c04c8913",
"eventId": "ae3b6ff0-fb58-4a22-b85c-00335b48be4e",
"pid": 29084,
"connectionId": "b71eec38-5caf-4013-96e3-952d3f73a2ef",
"readiness": {
"schemaVersion": 1,
"nonce": "e6b29c0b-d89f-4cbc-8c3f-36ede1c89da0",
"pid": 29084,
"signal": "appReady",
"readyAt": "2026-10-30T12:20:54.151Z",
"artifact": {
"path": "C:\\Users\\wangy\\AppData\\Local\\Temp\\AgentWorkbench-Engines\\1308d6b3-0815-4504-944e-c73ce216d967\\ready.json",
"bytes": 135,
"sha256": "68e9c741809df568e01bc53cc4236ec77736acf7a633711bbc7e83a16e25ac72"
}
},
"serverInfo": {
"name": "deepseek-harness-sdk-runtime",
"version": "0.0.1"
},
"reportArtifactId": "4e5dda64-c23f-45cd-9d36-d1236f184491",
"reportSha256": "667c1d45589fb668be17a9c2addf0f3a2050172673e71be8fb1f8986986ecede",
"reportSummary": {
"status": "verified",
"modelRequests": 0,
"providerRequests": 0,
"observedResponses": 6,
"rootExited": true
}
},
"actualSdk": {
"version": "0.2.1-rc.2",
"identitySha256": "a60f7733d6eaf91bcd31ce5d1da38d6d267a16ad29bc03bba548f314fddec22a",
"nativeMethods": 6,
"modelRequests": 0,
"rootExited": true
},
"stopScope": "declared private SDK pending-initialize fixture",
"scope": "Independent service and data. Original 4318 Provider, tasks and credentials were not accessed."
}
@@ -0,0 +1,19 @@
{
"success": true,
"version": "1.12.0",
"testedAt": "2026-10-30T12:18:14.365Z",
"browser": "156.0.4314.42",
"passed": [
"model-selected checks wait for approval and display actual counted results",
"verified artifact preview shows the real check log and hash",
"changed source invalidates old checks and manual confirmation runs the new plan",
"390px task drawer, log preview, close controls and fixed composer remain operable",
"reconnection synchronizes missed session changes in other projects",
"budget controls pause before tools and preserve the goal across recorded runs",
"applied proposals continue the original task into actual engineering verification"
],
"pageErrors": [],
"requestFailures": [],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\execution-ui-164ad3fc-5c32-48ae-bcbc-33381db6b3cd\\project",
"model": "controlled local HTTP fixture"
}
@@ -0,0 +1,16 @@
{
"success": true,
"assertions": [
"actual host crash with no result report exposes its original verified input and unknown status",
"390px original-input review clears the job and invocation gates while retaining unknown, no report and no automatic model replay"
],
"viewportWidths": [
1440,
390
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 1,
"realModelRequests": 0,
"jobId": "fdf3fa46-437a-4c30-ba74-a60e1e04fe57"
}
@@ -0,0 +1,24 @@
{
"success": true,
"assertions": [
"MCP registration stays disabled and shows the hashed local executable and Node entry",
"actual stdio tools/list schema is visible; only the reviewed echo tool is enabled",
"an enabled program whose source changes can be disabled immediately without executing the changed entry",
"approved external call interrupted after dispatch remains unknown and does not replay",
"TaskPanel exposes Task/Run source, original report, and human acknowledgement without marking unknown as success",
"390px MCP registry, long executable paths, controls, and operation history have no horizontal overflow"
],
"viewportWidths": [
1440,
390
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 1,
"realModelRequests": 0,
"unknownJobId": "0397edb9-8d6e-4dcd-a4cd-a52d5a153691",
"screenshots": [
"desktop-mcp-registry.png",
"mobile-mcp-registry.png"
]
}
@@ -0,0 +1,22 @@
{
"url": "http://127.0.0.1:50517",
"viewportWidths": [
1440,
390
],
"assertions": [
"connection form stores only the volatile credential and renders configured status without exposing it",
"pool editor saves weighted members and binds selection for new Runs",
"schema-bound import preview, opt-in automatic sync, revision update and sync shutdown keep credentials hidden",
"local inspection shows real database and artifact checks and emits zero model requests",
"390px model-center modal and connection cards remain operable without horizontal page overflow"
],
"pageErrors": [],
"requestFailures": [],
"modelRequests": 0,
"screenshots": [
"desktop-operations.png",
"mobile-operations.png",
"mobile-connections.png"
]
}
@@ -0,0 +1,19 @@
{
"checkedAt": "2026-10-30T12:18:56.257Z",
"version": "1.12.0",
"passed": [
"工程索引可独立于任务使用,实际覆盖范围与损坏文件显示明确",
"真实AST查询打开原文件第181行并仅滚动代码容器,输入区和顶部保持可见",
"查询词保留;过期SHA不高亮旧位置,增量刷新后正确定位第184行",
"切换项目时延迟返回的旧索引不覆盖新项目结果",
"Python候选、字符串误报排除和局部导入文件候选保留真实证据标签",
"两处唯一锚点成为待审核提案,真实界面应用后BOM/CRLF和未选择原字节保留",
"390px索引查询、范围和完整指纹可读且无横向溢出,实际文件行定位通过",
"索引刷新失败保留归属和解释,旧结果禁用并可重试恢复"
],
"pageErrors": [],
"requestFailures": [],
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\index-ui-90f2c102-6794-493f-a75a-527cc5769e52",
"primaryProjectId": "b6dfc342-0848-43ba-96b6-6bf08f2b48ad",
"otherProjectId": "d4adab9f-1143-4dee-a281-9e19d80fcbec"
}
@@ -0,0 +1,19 @@
✖ actual model MCP call approves long schema-valid arguments, validates the sent catalog and stores one original result without leaking environment secrets (9389.4411ms)
ℹ tests 1
ℹ suites 0
ℹ pass 0
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 9500.5763
✖ failing tests:
test at tests\mcp-registry.test.mjs:64:1
✖ actual model MCP call approves long schema-valid arguments, validates the sent catalog and stores one original result without leaking environment secrets (9389.4411ms)
Error: Timed out waiting for test state.
at until (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:37:38)
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/mcp-registry.test.mjs:69:3)
at async Test.run (node:internal/test_runner/test:1409:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
@@ -0,0 +1,16 @@
{
"success": true,
"assertions": [
"actual host crash with no result report exposes its original verified input and unknown status",
"390px original-input review clears the job and invocation gates while retaining unknown, no report and no automatic model replay"
],
"viewportWidths": [
1440,
390
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 1,
"realModelRequests": 0,
"jobId": "0496087f-730f-4718-b799-313324c92c33"
}
+130
View File
@@ -0,0 +1,130 @@
TAP version 13
# Subtest: MCP registration stays disabled until an explicit real stdio probe and schema-based tool selection, with actual process cleanup
ok 1 - MCP registration stays disabled until an explicit real stdio probe and schema-based tool selection, with actual process cleanup
---
duration_ms: 1929.4856
type: 'test'
...
# Subtest: MCP probe holds the project operation lock until its owned process and report are settled
ok 2 - MCP probe holds the project operation lock until its owned process and report are settled
---
duration_ms: 1939.6798
type: 'test'
...
# Subtest: MCP validates the declared JSON schema subset and rejects unsupported schemas before external dispatch
ok 3 - MCP validates the declared JSON schema subset and rejects unsupported schemas before external dispatch
---
duration_ms: 3.1653
type: 'test'
...
# Subtest: actual model MCP call approves long schema-valid arguments, validates the sent catalog and stores one original result without leaking environment secrets
ok 4 - actual model MCP call approves long schema-valid arguments, validates the sent catalog and stores one original result without leaking environment secrets
---
duration_ms: 4465.0099
type: 'test'
...
# Subtest: denying an MCP call never starts another process or executes the external tool
ok 5 - denying an MCP call never starts another process or executes the external tool
---
duration_ms: 2559.6054
type: 'test'
...
# Subtest: actual handshake drift rejects tools/call even if program entry hash is unchanged
ok 6 - actual handshake drift rejects tools/call even if program entry hash is unchanged
---
duration_ms: 3507.6189
type: 'test'
...
# Subtest: cancelled dispatched external side effect stays unknown, closes its owned process and cannot replay on reopen
ok 7 - cancelled dispatched external side effect stays unknown, closes its owned process and cannot replay on reopen
---
duration_ms: 3274.878
type: 'test'
...
# Subtest: changed executable input, foreign project IDs and corrupted original contracts block enable and dispatch
ok 8 - changed executable input, foreign project IDs and corrupted original contracts block enable and dispatch
---
duration_ms: 1652.8585
type: 'test'
...
# Subtest: registered MCP HTTP API uses fixed execution contracts and project-owned probe records with no model requests
ok 9 - registered MCP HTTP API uses fixed execution contracts and project-owned probe records with no model requests
---
duration_ms: 2187.5171
type: 'test'
...
# Subtest: unknown MCP pauses later tool calls and all project writers; fingerprinted acknowledgement clears only the review gates and explicit resume does not replay
ok 10 - unknown MCP pauses later tool calls and all project writers; fingerprinted acknowledgement clears only the review gates and explicit resume does not replay
---
duration_ms: 4632.5063
type: 'test'
...
# Subtest: MCP acknowledgement persistence failure restores both job and tool review gates; corrupt evidence cannot be acknowledged
ok 11 - MCP acknowledgement persistence failure restores both job and tool review gates; corrupt evidence cannot be acknowledged
---
duration_ms: 4122.1135
type: 'test'
...
# Subtest: actual host exit after an external effect restores unknown jobs without a fabricated report, allows source-bound review and never replays the call
ok 12 - actual host exit after an external effect restores unknown jobs without a fabricated report, allows source-bound review and never replays the call
---
duration_ms: 3000.9884
type: 'test'
...
# Subtest: changed enabled MCP programs can be explicitly disabled without launching or trusting their changed source
ok 13 - changed enabled MCP programs can be explicitly disabled without launching or trusting their changed source
---
duration_ms: 1440.0274
type: 'test'
...
# Subtest: stdio preserves split UTF-8 frames and final replies drained after process exit
ok 14 - stdio preserves split UTF-8 frames and final replies drained after process exit
---
duration_ms: 1624.1158
type: 'test'
...
# Subtest: server-initiated model requests are refused instead of inheriting provider privileges
ok 15 - server-initiated model requests are refused instead of inheriting provider privileges
---
duration_ms: 910.6633
type: 'test'
...
# Subtest: invalid or over-budget protocol invalid closes only its owned process and is not retried
ok 16 - invalid or over-budget protocol invalid closes only its owned process and is not retried
---
duration_ms: 898.9679
type: 'test'
...
# Subtest: invalid or over-budget protocol oversized closes only its owned process and is not retried
ok 17 - invalid or over-budget protocol oversized closes only its owned process and is not retried
---
duration_ms: 851.6717
type: 'test'
...
# Subtest: cancel and timeout do not resend a dispatched request and pre-cancel has no request trace
ok 18 - cancel and timeout do not resend a dispatched request and pre-cancel has no request trace
---
duration_ms: 900.1506
type: 'test'
...
# Subtest: startup failure remains undispatched and has no process PID to terminate
ok 19 - startup failure remains undispatched and has no process PID to terminate
---
duration_ms: 637.6633
type: 'test'
...
# Subtest: REA launch filters a fixture credential canary and rejects changed entry identity before a new connection
ok 20 - REA launch filters a fixture credential canary and rejects changed entry identity before a new connection
---
duration_ms: 1039.5138
type: 'test'
...
1..20
# tests 20
# suites 0
# pass 20
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 35384.4971
+24
View File
@@ -0,0 +1,24 @@
{
"success": true,
"assertions": [
"MCP registration stays disabled and shows the hashed local executable and Node entry",
"actual stdio tools/list schema is visible; only the reviewed echo tool is enabled",
"an enabled program whose source changes can be disabled immediately without executing the changed entry",
"approved external call interrupted after dispatch remains unknown and does not replay",
"TaskPanel exposes Task/Run source, original report, and human acknowledgement without marking unknown as success",
"390px MCP registry, long executable paths, controls, and operation history have no horizontal overflow"
],
"viewportWidths": [
1440,
390
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 1,
"realModelRequests": 0,
"unknownJobId": "17d667b1-7b0d-46bf-b5b8-22e845275b50",
"screenshots": [
"desktop-mcp-registry.png",
"mobile-mcp-registry.png"
]
}
@@ -0,0 +1,22 @@
{
"url": "http://127.0.0.1:64603",
"viewportWidths": [
1440,
390
],
"assertions": [
"connection form stores only the volatile credential and renders configured status without exposing it",
"pool editor saves weighted members and binds selection for new Runs",
"schema-bound import preview, opt-in automatic sync, revision update and sync shutdown keep credentials hidden",
"local inspection shows real database and artifact checks and emits zero model requests",
"390px model-center modal and connection cards remain operable without horizontal page overflow"
],
"pageErrors": [],
"requestFailures": [],
"modelRequests": 0,
"screenshots": [
"desktop-operations.png",
"mobile-operations.png",
"mobile-connections.png"
]
}
@@ -0,0 +1,24 @@
{
"success": true,
"url": "http://127.0.0.1:59572",
"viewportWidths": [
1440,
390
],
"assertions": [
"source hashes remain visible and a changed file is explicitly expired with retained provenance",
"incomplete inventory marks existing facts unverified and blocks new saves",
"390px memory review stays within the viewport with the incomplete-scan warning visible",
"desktop and 390px request records expose the exact memory snapshot used by one owned local HTTP request"
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 1,
"realModelRequests": 0,
"screenshots": [
"desktop-expired-memory.png",
"mobile-incomplete-memory.png",
"desktop-sent-memory.png",
"mobile-sent-memory.png"
]
}
@@ -0,0 +1,35 @@
{
"success": true,
"version": "1.12.0",
"at": "2026-10-30T12:19:58.835Z",
"browser": "156.0.4314.42",
"passed": [
"mixed projects retain npm defaults and explicitly seal the selected Python checks",
"the confirmation shows the actual interpreter and cancellation executes no checks",
"actual unittest failures and the separately passed compilation display their counted results",
"the log and original structured result are independently viewable and hash-bound",
"a reviewed three-file repair runs new checks while retaining the original failed job and protected files",
"390px checks, interpreter paths, original result dialog and composer remain operable without page overflow",
"Git confirmation and the Python execution report deliver only the three reviewed sources and preserve owner changes"
],
"pageErrors": [],
"requestFailures": [],
"checks": {
"before": {
"total": 6,
"passed": 1,
"failed": 5,
"skipped": 0,
"cancelled": 0
},
"after": {
"total": 6,
"passed": 6,
"failed": 0,
"skipped": 0,
"cancelled": 0
}
},
"commit": "559a05d74406b0c380e359f478bd8cf95faa7cc2",
"scope": "Independent host and owned fixture. Real Python processes, reviewed API repairs and actual local Git. No configured model requests or production credentials."
}
@@ -0,0 +1,76 @@
{
"success": true,
"version": "1.12.0",
"at": "2026-10-30T12:20:25.106Z",
"browser": "156.0.4314.42",
"passed": [
"the sealed React TypeScript project builds but its real domain tests first expose the functional failures",
"a real browser separately observes that the broken pending filter wrongly shows all three tasks",
"the four-file reviewed repair passes all nine domain tests, actual TypeScript checking and the Vite production build",
"the production React app passes real filtering, search, single-task toggling and updated statistics",
"the same built React app remains operable at 390px without horizontal overflow",
"Workbench Git commits only the four reviewed files and binds the actual checks while preserving tests, configuration and owner changes"
],
"pageErrors": [],
"requestFailures": [],
"originalTests": {
"total": 9,
"passed": 2,
"failed": 7,
"cancelled": 0,
"skipped": 0
},
"repairedTests": {
"total": 9,
"passed": 9,
"failed": 0,
"cancelled": 0,
"skipped": 0
},
"beforePending": 3,
"checks": [
{
"name": "test",
"status": "passed",
"exitCode": 0,
"tests": {
"total": 9,
"passed": 9,
"failed": 0,
"cancelled": 0,
"skipped": 0
}
},
{
"name": "typecheck",
"status": "passed",
"exitCode": 0,
"tests": null
},
{
"name": "build",
"status": "passed",
"exitCode": 0,
"tests": null
}
],
"commit": "4415ba3a884cc5d7c5c3bb5aab49fd17dd70df10",
"changes": [
"src/App.tsx",
"src/query.ts",
"src/summary.ts",
"src/transition.ts"
],
"protectedFiles": {
"package.json": "db3c6bfd79d1ebb1f5692727715e2b48d3f09e0314d9f1d455d335774f5e7db8",
"package-lock.json": "48c138a05408667bbd332000731598415c9ae281d5072daa18544025ad89f7ff",
"tsconfig.json": "9dcf064d622cb31ae94ef348655f4f7af84076241601148929232314ef1b0c8a",
"vite.config.mjs": "0ea84b4e2909b04e4c1cb1b92392a9f85bcb46605472763b15935d3498ba8ed3",
"index.html": "37e9fd3172422ecca3902378c567331363dc1277ac749dd9f6bdf74f04540787",
"test/domain.test.mjs": "3fbd155cfc4919f3d0570a7ee26ff5ff4243e3e94250f3d0dbebe93c2b925ec0",
"src/types.ts": "d2bbcac2cb175e7bcafe087915f02c3cf2e0ea4b65235d6231bbcd4c3a682246",
"src/main.tsx": "c9a5787f5544788757ab654e1dfd83b5bc51495144e17aa078c2ee2f4412a302",
"src/styles.css": "60bcb8f7f73f4328274096132a3d73b7ef1fc9e6fbf6a3a3477fb9d519f2c25c"
},
"scope": "Owned frozen React TypeScript project with offline-installed fixed dependencies, real npm/typecheck/build/browser and Workbench review/Git/report. API fixtures supply repairs; configured-model success is separate."
}
@@ -0,0 +1,138 @@
{
"success": true,
"version": "1.12.0",
"at": "2026-10-30T12:20:46.690Z",
"browser": "156.0.4314.42",
"passed": [
"independent desktop research entry detects the installed fixed REA version",
"UI registration seals the artifact identity in the current project and creates no model request",
"actual REA ASAR analysis renders the verified source chain and downloads the exact original Bundle",
"original field selection, paging and limitations retain exact bytes; Escape closes only the top dialog",
"raw responses and connection records are readable; repeat analysis reuses the verified original without dispatch",
"UI PE operation selection performs actual import and resource analysis with independently verified target hashes",
"changed artifact versions refuse dispatch, retain the stale record and require a separately registered version",
"390px research, long identities and original evidence dialogs fit the viewport and retain usable close controls",
"a real host restart preserves exact target/job identities and serves sealed Evidence without producer replay",
"a delayed evidence response cannot reopen a closed research panel or change another task",
"declared owned stdio fault fixture stops its root process and explicit retry adds a new record without changing history"
],
"pageErrors": [],
"requestFailures": [],
"expectedRequestFailures": [],
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\research-ui-228004b9-22fe-4e18-96a2-027d8d1a5e1e",
"actualRea": {
"version": "6.8.0",
"operations": [
"javascript",
"pe-imports",
"pe-resources"
],
"jobs": [
{
"id": "76736053-4943-49df-93d9-ce1195061024",
"status": "completed",
"evidenceId": "ev_8366d89ef10013fbf9c47f4b5a1744c34985ec2499c11caf4b6385eb185049f4"
},
{
"id": "c5d922d0-4a07-44bc-8715-1aa490e1a12e",
"status": "completed",
"evidenceId": "ev_8366d89ef10013fbf9c47f4b5a1744c34985ec2499c11caf4b6385eb185049f4"
},
{
"id": "2ac9d999-480e-4225-9808-87ff0834cf35",
"status": "completed",
"evidenceId": "ev_f0856d096de90982ace4dfc2e652ee17beed616381a806549b24b79dec12eadc"
},
{
"id": "21bc0879-19fc-4b22-8e79-0d437cc7ca96",
"status": "completed",
"evidenceId": "ev_19fedcc23b8010424b102a30045a45e5c491f4f8b0d3bdc809194f4e5146b0f6"
},
{
"id": "364436a1-bace-4fee-b342-0c449919d844",
"status": "stale"
},
{
"id": "4b6f6179-81d7-4584-8711-7d5d8f5ba8b0",
"status": "completed",
"evidenceId": "ev_a6a286289cd9ef1e8cb1f8e7314fdf2c7b8f2ac91f5cb851c0c9ccd2c443c023"
}
],
"targetExecution": false,
"modelRequests": 0
},
"stopScope": "explicitly declared private stdio handshake fault fixture",
"screenshots": [
".qa/screenshots/model-center-research-desktop.png",
".qa/screenshots/model-center-research-mobile.png",
".qa/screenshots/model-center-research-evidence-mobile.png",
".qa/screenshots/model-center-research-stop-desktop.png"
],
"analysisRequests": [
{
"url": "http://127.0.0.1:58938/api/sessions/0de2ffd8-e011-496f-a08f-9a84aad968cb/research/jobs",
"input": {
"targetId": "acbca122-57fb-4c82-be90-6b45a7294010",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:58938/api/sessions/0de2ffd8-e011-496f-a08f-9a84aad968cb/research/jobs",
"input": {
"targetId": "acbca122-57fb-4c82-be90-6b45a7294010",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:58938/api/sessions/0de2ffd8-e011-496f-a08f-9a84aad968cb/research/jobs",
"input": {
"targetId": "083c6311-1e4e-4352-b3c3-fd033aec5232",
"operation": "pe-imports",
"refresh": false
}
},
{
"url": "http://127.0.0.1:58938/api/sessions/0de2ffd8-e011-496f-a08f-9a84aad968cb/research/jobs",
"input": {
"targetId": "083c6311-1e4e-4352-b3c3-fd033aec5232",
"operation": "pe-resources",
"refresh": false
}
},
{
"url": "http://127.0.0.1:58938/api/sessions/0de2ffd8-e011-496f-a08f-9a84aad968cb/research/jobs",
"input": {
"targetId": "acbca122-57fb-4c82-be90-6b45a7294010",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:58938/api/sessions/0de2ffd8-e011-496f-a08f-9a84aad968cb/research/jobs",
"input": {
"targetId": "8563e653-c517-4105-ba24-7f367bd6eeef",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:55347/api/sessions/7d6516c2-dec1-4f91-9a04-fbd4864a41ab/research/jobs",
"input": {
"targetId": "7a59cde6-032a-45b1-8b38-a7ca9be564d1",
"operation": "javascript",
"refresh": false
}
},
{
"url": "http://127.0.0.1:55347/api/sessions/7d6516c2-dec1-4f91-9a04-fbd4864a41ab/research/jobs",
"input": {
"targetId": "7a59cde6-032a-45b1-8b38-a7ca9be564d1",
"operation": "javascript",
"refresh": true
}
}
],
"scope": "Independent ports/data and self-owned inert artifacts. No production service, configured-model request or real key read/copied."
}
@@ -0,0 +1,22 @@
{
"success": true,
"viewportWidths": [
1440,
390
],
"assertions": [
"desktop registers a disabled skill, reviews original UTF-8 instructions and explicitly enables it with no model calls",
"source edit blocks activation until a new reviewed revision is registered; original revision remains available",
"390px review and activation retain readable paths, revision history and visible source state without horizontal overflow",
"actual local HTTP task reads precisely revision 2 and exposes its SHA-bound sent catalog in task evidence"
],
"pageErrors": [],
"requestFailures": [],
"localFixtureModelRequests": 2,
"realModelRequests": 0,
"screenshots": [
"desktop-skill-source.png",
"mobile-skill-source.png",
"desktop-sent-skill-catalog.png"
]
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,20 @@
{
"success": true,
"passed": [
"desktop saves and inspects the full original Task and tool provenance without another model request",
"an outside source change is visible and removes the checkpoint continuation action",
"390px explicit continuation keeps the same Task and one original read; a second resume of the old checkpoint is blocked"
],
"viewportWidths": [
1440,
390
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
"desktop-original-checkpoint.png",
"mobile-checkpoint-ready.png"
],
"localFixtureModelRequests": 3,
"realModelRequests": 0
}
+31
View File
@@ -0,0 +1,31 @@
{
"success": true,
"version": "1.12.0",
"testedAt": "2026-10-30T12:16:51.848Z",
"directory": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-6bbdb759-b21c-4724-9843-f87d6c23abc8",
"passed": [
"structured editor seals two real steps and their dependency without running tools",
"original owned read verifies the prerequisite and opens its hashed proof without replay",
"real two-test and build job supplies the current-source proof and completes the sealed plan",
"outside source edits invalidate the current proof, retain the rejection and block a passed delivery report",
"390px immutable revision adds a mobile step, preserves old criteria and keeps evidence dialogs operable",
"a delayed plan-read failure stays with the original task after selection changes",
"controlled tab unmount during a delayed successful save retains the original task result without restoring the closed editor",
"real host restart retains all plan revisions, accepted/rejected proofs and the original operations without replay"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-6bbdb759-b21c-4724-9843-f87d6c23abc8\\task-plan-desktop-editor.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-6bbdb759-b21c-4724-9843-f87d6c23abc8\\task-plan-desktop-verified.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-6bbdb759-b21c-4724-9843-f87d6c23abc8\\task-plan-mobile-editor.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-6bbdb759-b21c-4724-9843-f87d6c23abc8\\task-plan-mobile-artifact.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-6bbdb759-b21c-4724-9843-f87d6c23abc8\\task-plan-mobile-steps.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\task-plan-ui-6bbdb759-b21c-4724-9843-f87d6c23abc8\\task-plan-mobile-overview.png"
],
"taskId": "96340930-e978-45ca-9c48-4474d507358e",
"sessionId": "2f8dcc95-60a4-4712-bc33-cd218f116c09",
"planRevisions": 3,
"proofs": 4,
"scope": "Independent real Edge desktop/390px Workbench UI, actual npm checks and owned read fixture. No real model credentials or production service access; semantic project acceptance is separate."
}
@@ -0,0 +1,28 @@
{
"success": true,
"version": "1.12.0",
"at": "2026-10-30T12:19:42.254Z",
"browser": "156.0.4314.42",
"passed": [
"desktop preview seals the committed version and shows existing staged/unstaged/untracked source changes",
"repeated create clicks execute once and preserve the exact source index and owner files",
"opening the child, returning to the source and reloading retain stable project/session identity",
"a record owned by another session navigates to that saved owner instead of accepting its actions",
"explicit recovery preserves outside content and acknowledgement does not report successful creation",
"390×844 preview/create/open/return stays within viewport and preserves source ownership",
"late-failure stays with the original session after project switching",
"late-success stays with the original session after project switching",
"a delayed bootstrap cannot navigate after the task panel has unmounted"
],
"pageErrors": [],
"requestFailures": [],
"screenshots": [
".qa/screenshots/model-center-workspaces-review-desktop.png",
".qa/screenshots/model-center-workspaces-ready-desktop.png",
".qa/screenshots/model-center-workspaces-recovery-desktop.png",
".qa/screenshots/model-center-workspaces-review-mobile.png",
".qa/screenshots/model-center-workspaces-child-mobile.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workspace-ui-11d3843e-7913-4284-bbd1-b4623c3b60e6",
"scope": "Independent synthetic Git projects and real browser flows. Desktop/390×844, actual worktree creation, source preservation, explicit external recovery, ownership navigation, delayed success/error/navigation. No production service or real model credential used."
}