test: seal actual model React and Python engineering deliveries

This commit is contained in:
Agent Workbench Dev
2026-10-30 07:53:31 +08:00
parent ddf178c061
commit 29a65760c9
9 changed files with 633 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
# 工程预览与浏览器验证:后续核心切片
状态:设计,尚未实现。对应C20;先完成1.9.0真实React/Python交付与最终封存,再进入实现。
目标是让工作台代理取得实际页面行为、DOM、控制台、请求和截图依据,并在修复循环中使用;目前浏览器验收由外部验证器执行,代理自身没有这些工具。
执行范围为当前工程已生成的本地构建目录。每项计划封存Project/Session/Task/Run、源码与构建输入SHA256、视口及交互步骤;复用当前命令/检查审批、事件、工件与停止流程。用独立静态服务、独立浏览器上下文和固定Playwright版本运行,发行包保留所需库与许可证,Windows先核对本机Edge可用性。
首批交互包含选择、填写、点击、DOM读取以及文本/数量断言。步骤、等待、输出和截图尺寸有明确上限;页面文字和脚本属于工程数据。只访问所属预览源,外部网络、下载及任意脚本执行不属于首批工具契约。
原计划、步骤结果、DOM/控制台/请求、图片字节与SHA256、输入前后身份及浏览器关闭分别保存。完成判定需要实际断言和原记录;纯截图与模型自述不代替检查。停止/失败/重启不自动重放,异步结果继续绑定原任务。页面可以在桌面和390px查看,同一结果进入任务记录及交付说明。
验收覆盖缺少构建、计划或输入变化、真实交互成功与失败、停止/启动失败、外部请求、工件损坏、跨任务及迟到结果、实际宿主重启、随包独立启动。新的真实模型React样本应在提交前发现并修复页面错误;基础接口、浏览器原执行、模型工程和手机设备连接分别记录。
+3 -1
View File
@@ -14,7 +14,9 @@
该版本不捆绑本机第三方Harness源码与登录状态;用户填写已有安装的绝对目录。检测限定当前发行/SDK/profile与关键输入,源码或运行器变化后重新检测,不代表验证全部第三方依赖或未来版本。固定模型连接仍由自有ModelProvider管理;本次引擎核验不发送prompt,也不开放外部工程写入。
后续真实React/Python工程验收使用已配置模型与同一自有Harness,在新建、受保护的工程样本中记录实际代码、测试、浏览器行为、Git与人工确认。与原1.8.0 Node样本、接口夹具以及SDK连接结果分别计量;完整自主成功率和Purge收益仍需要重复同题对照。
已配置模型gpt-6.1-sol通过同一自有Harness完成两个新的受保护工程样本。React修复四模块,9/9测试、类型检查、构建、真实页面筛选/trim搜索/空状态/单任务切换/统计/390px及内置Git提交afd3a6e均通过;17响应/153813已报告tokens/343秒,见[React原报告](live-react-engineering-validation.json)。Python修复三模块,6/6 unittest和编译及内置Git提交a7b99e1通过;11响应/97174已报告tokens/59秒,见[Python原报告](live-python-engineering-validation.json)。
两者均保留初始失败、原Task/Run/工具结果、模型准备的整批提案与Git预览,验证器只按封存范围批准检查、审查模型写出的文件与确认预览,没有提供源码修复。来源HEAD/index、既有暂存/未暂存/未跟踪文件及测试/配置原字节保持。原Provider在所属进程执行请求,未读取、复制或保存Key。React页面结果来自外部验收器;代理内置浏览器工具仍在后续C20切片中实现。两个实际样本与1.8.0 Node、合成夹具和SDK连接分别计量,不代表完整自主成功率或Purge收益。
不可变候选20261029232509970的便携10808份、源码9026份清单/CRC/SHA256及独立运行通过;源码包独立离线安装、6份构建一致、实际REA三操作和实际DeepSeek SDK六方法通过,完整261项回归无失败、跳过或取消。150份源码/测试/脚本/构建输入与6份构建逐字节核对,见[完整源码](external-engines-source-package-validation.json)、[回归](external-engines-tests-validation.json)、[便携](external-engines-release-validation.json)与[归档](external-engines-archives-validation.json)。
@@ -0,0 +1,227 @@
{
"success": true,
"version": "1.9.0",
"testedAt": "2026-10-29T23:52:41.136Z",
"kind": "python",
"model": "gpt-6.1-sol",
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-python-d790a83e-ca3c-4e5a-87ff-b809ff70ea8d",
"taskId": "74acb45b-b381-4054-8352-dac69847f926",
"sessionId": "776d488f-18a7-41aa-96a4-91dd1f19d374",
"projectId": "778f8d02-0bdb-4d69-b052-56b087049019",
"sourceProjectId": "b515d897-b8ae-4ac6-9b8b-424894355734",
"workspaceId": "57494745-b140-41ae-bf23-f5c11845164e",
"workspaceRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench\\workspaces\\checkouts\\w-0f5585924e2e16da9f5e",
"sourceCommit": "03ee4b1dc8795007c84590fd254e49579ea01643",
"commit": "a7b99e1af93e54cc119a99286b20e0c1bc5652b7",
"tests": {
"total": 6,
"passed": 6,
"failed": 0,
"skipped": 0,
"cancelled": 0
},
"checks": [
{
"id": "7b2de2ea-ad79-4d8f-959d-8bd5996fc523",
"name": "python:test",
"kind": "test",
"command": "unittest · tests",
"status": "passed",
"exitCode": 0,
"durationMs": 199,
"tests": {
"total": 6,
"passed": 6,
"failed": 0,
"skipped": 0,
"cancelled": 0
},
"timedOut": false,
"truncated": false,
"engine": "python",
"python": {
"invocationId": "c269feae-a0de-48d4-a2b1-962e3490be51",
"inputSha256": "f7ffb7de086187c414082a5c6c257cd69463bccff0b374f8a19a0f32558c0082",
"runner": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.9.0-win-x64-20261029232509970\\scripts\\python-check-runner.py",
"sha256": "17bd6fd64ad93b8f806e0f5d325e75fd4534c065f4fcb597ad45fb9152caf657"
},
"executable": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\Scripts\\python.exe",
"args": [
"-I",
"-B",
"-u",
"-X",
"utf8",
"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb-python-0MHvs9\\runner.py",
"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb-python-0MHvs9\\result.json"
],
"runtime": {
"status": "available",
"logicalExecutable": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\Scripts\\python.exe",
"executable": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\Scripts\\python.exe",
"sha256": "dca06b839d5040365e9240acba67166c6b1de899cf729c56f9adad53932fe5e8",
"configuration": {
"path": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\pyvenv.cfg",
"sha256": "07d90c1b15f0bb757610b06c17e99ed92051a3914884d7f7fb2fff645888627d"
},
"version": "3.11.15",
"baseExecutable": "C:\\Users\\wangy\\AppData\\Roaming\\uv\\python\\cpython-3.11.15-windows-x86_64-none\\python.exe",
"baseSha256": "749a54c7896d14138d74c6e35f89cb4f8fb1c59d1dd6ddaeaa8107b2a8e0aba2",
"libraries": [
{
"path": "C:\\Users\\wangy\\AppData\\Roaming\\uv\\python\\cpython-3.11.15-windows-x86_64-none\\python3.dll",
"sha256": "946879bf34929efb696f72f8f57c009a9fdefcf7794ea3c70efb44a4d5ead041"
},
{
"path": "C:\\Users\\wangy\\AppData\\Roaming\\uv\\python\\cpython-3.11.15-windows-x86_64-none\\python311.dll",
"sha256": "69377a35324e3ecaca3f9f0e803b35979bfcbe242f4aef90240afed7a60e8021"
}
],
"insideProject": false,
"probe": "isolated-host-probe"
},
"mode": "unittest"
},
"compilation": null,
"collectionErrors": 0,
"collectionSkipped": 0,
"evidenceValidated": true,
"evidenceError": null,
"cleanupError": null,
"metricsArtifactId": "2fa9a4e0-aa65-4214-b661-b8b7dc5c5a17",
"metricsSha256": "ceb129f21b30c6eacc8a6e7b46d65bd8fe7098c1db58b006af468cf288a327ce",
"inputArtifactId": "8d05e57d-b6ae-443a-897c-d4fff4e40860",
"logArtifactId": "97d1fd5e-090e-43e6-8fe7-497da7139c6f",
"logExcerpt": "\n--- stderr ---\ntest_empty (test_workflow.Workflow.test_empty) ... ok\r\ntest_negative (test_workflow.Workflow.test_negative) ... ok\r\ntest_number (test_workflow.Workflow.test_number) ... ok\r\ntest_render (test_workflow.Workflow.test_render) ... ok\r\ntest_summary (test_workflow.Workflow.test_summary) ... ok\r\ntest_zero (test_workflow.Workflow.test_zero) ... ok\r\n\r\n----------------------------------------------------------------------\r\nRan 6 tests in 0.000s\r\n\r\nOK\r\n"
},
{
"id": "86a5e968-1421-4b3d-8412-6e7ed4eadfae",
"name": "python:compile",
"kind": "check",
"command": "Python源码编译 · 6 个文件",
"status": "passed",
"exitCode": 0,
"durationMs": 170,
"tests": null,
"timedOut": false,
"truncated": false,
"engine": "python",
"python": {
"invocationId": "a012b85f-74ae-4285-8a88-7b2e218657c2",
"inputSha256": "5d2b4c036523e4f0ad57422100adbdc0385ed2ecc059447adf4a286c728c190c",
"runner": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.9.0-win-x64-20261029232509970\\scripts\\python-check-runner.py",
"sha256": "17bd6fd64ad93b8f806e0f5d325e75fd4534c065f4fcb597ad45fb9152caf657"
},
"executable": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\Scripts\\python.exe",
"args": [
"-I",
"-B",
"-u",
"-X",
"utf8",
"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb-python-sakrta\\runner.py",
"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb-python-sakrta\\result.json"
],
"runtime": {
"status": "available",
"logicalExecutable": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\Scripts\\python.exe",
"executable": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\Scripts\\python.exe",
"sha256": "dca06b839d5040365e9240acba67166c6b1de899cf729c56f9adad53932fe5e8",
"configuration": {
"path": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\pyvenv.cfg",
"sha256": "07d90c1b15f0bb757610b06c17e99ed92051a3914884d7f7fb2fff645888627d"
},
"version": "3.11.15",
"baseExecutable": "C:\\Users\\wangy\\AppData\\Roaming\\uv\\python\\cpython-3.11.15-windows-x86_64-none\\python.exe",
"baseSha256": "749a54c7896d14138d74c6e35f89cb4f8fb1c59d1dd6ddaeaa8107b2a8e0aba2",
"libraries": [
{
"path": "C:\\Users\\wangy\\AppData\\Roaming\\uv\\python\\cpython-3.11.15-windows-x86_64-none\\python3.dll",
"sha256": "946879bf34929efb696f72f8f57c009a9fdefcf7794ea3c70efb44a4d5ead041"
},
{
"path": "C:\\Users\\wangy\\AppData\\Roaming\\uv\\python\\cpython-3.11.15-windows-x86_64-none\\python311.dll",
"sha256": "69377a35324e3ecaca3f9f0e803b35979bfcbe242f4aef90240afed7a60e8021"
}
],
"insideProject": false,
"probe": "isolated-host-probe"
},
"mode": "compile"
},
"compilation": {
"compiled": 6,
"total": 6,
"failures": []
},
"collectionErrors": null,
"collectionSkipped": null,
"evidenceValidated": true,
"evidenceError": null,
"cleanupError": null,
"metricsArtifactId": "c27bb220-693f-483c-9dba-73d2c78b2f6c",
"metricsSha256": "4c1d4a9b968e7180d578e5755d6cf8105bed518639a51dc41925793a6e9f8abe",
"inputArtifactId": "4641feed-d35c-4940-b170-b723a3a79824",
"logArtifactId": "5a89e618-1b9e-443c-8b35-9fa419987f39",
"logExcerpt": "Python source compilation: 6 / 6\r\n"
}
],
"usage": {
"requests": 11,
"inputTokens": 95688,
"outputTokens": 1486,
"totalTokens": 97174,
"unknownRequests": 0,
"estimatedUnknownTokens": 0
},
"elapsedSeconds": 61,
"applications": [
{
"id": "02de1fbe-06fc-49a9-92c2-f91da3fbb71b",
"fingerprint": "90781184cec203113068fd3be02083f52dae2fcc6ac2143535b58959a63aaa31",
"paths": [
"src/workflow/normalize.py",
"src/workflow/summary.py",
"src/workflow/render.py"
],
"source": "agent"
}
],
"decisions": [
{
"approvalId": "408bba89-550e-401d-bb27-80a2bf84966f",
"checkPlanId": "c90a13e3-bf82-42aa-8271-f91fc914b94f",
"command": "unittest · tests\nPython源码编译 · 6 个文件",
"allow": true
},
{
"approvalId": "a2e9f983-fd7d-408b-919c-c596b9e29e81",
"checkPlanId": "a0e1b65d-0b44-4bac-ae84-275082443bed",
"command": "unittest · tests\nPython源码编译 · 6 个文件",
"allow": true
}
],
"continuations": [],
"browser": null,
"reportStatus": "verified_committed",
"reportSha256": "8c5872fdaa57ee3ecb065a45b3e4995bae489b6d20d83bd153a15dd3e6642ddb",
"sourcePreserved": true,
"protectedInputs": {
"README.md": "8e0476950a2586beefdb25bd014c72ad383319f27a4536ffe367dfcead8ef92e",
"pyproject.toml": "f8206caf6450de842f3d649ed807385e140e3bf1905d7c8ce194634edaae39ef",
"tests/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tests/test_workflow.py": "17fbe8a1e6527a751ece2646ed2c72f45b055d9f75b4be4a152a906d67ede660",
"src/workflow/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"package.json": "1c26727fb3ed1b8a4ed6eba242ea1ea04a8ff628cbaa9211039d9bea6f33f0a4",
"test/add.test.mjs": "081b0fcd9c16a8b852a66ebc6aa706d32061845afb6b2bf757cdae60aa15a2f7",
"scripts/build.mjs": "a67df74a3abaedad5481beff0a8497ad50f53ffc1ac31cdabac25d8dd79a00f4",
"src/add.mjs": "4a381860447226426a116b024081641b32f9b6c4f7c2c5d3cb86987e85c8ae33",
"owner-staged.txt": "e99e44505c1b7871ee5cbbac0bd91f7324699ea7595b48c5798f34f1ba8c1dad",
"owner-unstaged.txt": "517ba87c535ecf824e6d54c6d9bc33d2f444224820ba5a7186ffc252a38cc691",
"owner-untracked.txt": "1fbaa4bf240707b9850934378dff892cd9ba8e7ca35e964388ade1dfa966968e"
},
"scope": "One actual configured-model engineering sample. Verifier confirms bounded checks, reviews model-written batches and confirms the model-prepared Git preview; no implementation supplied by the verifier. Not an autonomous success-rate measurement.",
"credentialsHandling": "The original Provider executes requests in its own process; no model key is read, copied or written."
}
+148
View File
@@ -0,0 +1,148 @@
{
"success": true,
"version": "1.9.0",
"testedAt": "2026-10-29T23:45:16.749Z",
"kind": "react",
"model": "gpt-6.1-sol",
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-react-005798c5-74b5-4d29-95f9-1379579cc0f7",
"taskId": "6320694e-4ab1-467f-82fb-9ad5aa60c0fa",
"sessionId": "ea5ec3cb-b074-41ac-989c-34c6515bd742",
"projectId": "336f85d7-9c5b-4fbd-8a17-5115e1f93d9a",
"sourceProjectId": "fb86f2ff-d14c-4d16-901e-5383a414dce5",
"workspaceId": "08417a96-a681-4bfa-a98b-e36605568f36",
"workspaceRoot": "C:\\Users\\wangy\\AppData\\Local\\Packages\\OpenAI.Codex_2p2nqsd0c76g0\\LocalCache\\Local\\AgentWorkbench\\workspaces\\checkouts\\w-93b18747caac20d52b28",
"sourceCommit": "5c34ca5cdfa7a262e615973d1e8209f8ee171eb2",
"commit": "afd3a6ee6bd74b3bf2fc7ba3e133262fe7de4ea1",
"tests": {
"total": 9,
"passed": 9,
"failed": 0,
"cancelled": 0,
"skipped": 0
},
"checks": [
{
"id": "0cddb465-1936-4a0d-b16d-a69ba6e42eb9",
"name": "test",
"kind": "test",
"command": "npm run test",
"status": "passed",
"exitCode": 0,
"durationMs": 251,
"tests": {
"total": 9,
"passed": 9,
"failed": 0,
"cancelled": 0,
"skipped": 0
},
"timedOut": false,
"truncated": false,
"logArtifactId": "3b2bfd55-6e82-4df1-a8ef-8b5fbc7a92c7",
"logExcerpt": "\n> react-delivery-fixture@0.1.0 test\n> node --test test/*.test.mjs\n\n✔ the all filter preserves all tasks (0.7824ms)\n✔ pending shows only pending tasks (0.09ms)\n✔ done shows only completed tasks (0.0622ms)\n✔ search combines the selected state with trimmed text (0.0589ms)\n✔ unmatched search returns an empty list (0.0747ms)\n✔ actual totals use completion states and pending hours (0.0821ms)\n✔ toggle changes only the selected task and keeps the input intact (0.5253ms)\n✔ two toggles restore the selected task (0.0789ms)\n✔ an unknown identity preserves the tasks (0.073ms)\nℹ tests 9\nℹ suites 0\nℹ pass 9\nℹ fail 0\nℹ cancelled 0\nℹ skipped 0\nℹ todo 0\nℹ duration_ms 82.2865\n"
},
{
"id": "599deb40-60ba-47c5-a380-9f422fbab3d6",
"name": "typecheck",
"kind": "check",
"command": "npm run typecheck",
"status": "passed",
"exitCode": 0,
"durationMs": 553,
"tests": null,
"timedOut": false,
"truncated": false,
"logArtifactId": "25a0f361-77b1-4b86-82aa-6d4b4eeeb278",
"logExcerpt": "\n> react-delivery-fixture@0.1.0 typecheck\n> tsc --noEmit\n\n"
},
{
"id": "bc3cf767-0552-402b-9dd0-79d31934506d",
"name": "build",
"kind": "build",
"command": "npm run build",
"status": "passed",
"exitCode": 0,
"durationMs": 829,
"tests": null,
"timedOut": false,
"truncated": false,
"logArtifactId": "bf2d72b8-950a-4fd3-886d-3a537693776d",
"logExcerpt": "\n> react-delivery-fixture@0.1.0 build\n> vite build\n\nvite v7.3.7 building client environment for production...\ntransforming...\n✓ 32 modules transformed.\nrendering chunks...\ncomputing gzip size...\ndist/index.html 0.37 kB │ gzip: 0.29 kB\ndist/assets/index-CYhkjVMh.css 2.02 kB │ gzip: 0.84 kB\ndist/assets/index-0DYIVw09.js 224.90 kB │ gzip: 70.45 kB\n✓ built in 464ms\n"
}
],
"usage": {
"requests": 17,
"inputTokens": 150992,
"outputTokens": 2821,
"totalTokens": 153813,
"unknownRequests": 0,
"estimatedUnknownTokens": 0
},
"elapsedSeconds": 343,
"applications": [
{
"id": "aba3bb2f-bc9f-4fee-a073-f17549669d56",
"fingerprint": "a941c4726cc7ab4d6ea89cb5e68df99541b8ff3a8a15833dc8f36058d557d4c4",
"paths": [
"src/query.ts",
"src/summary.ts",
"src/transition.ts",
"src/App.tsx"
],
"source": "agent"
}
],
"decisions": [
{
"approvalId": "24362a6a-6b3a-40cb-ab05-d756297561dd",
"checkPlanId": "d040a014-3160-40ab-a106-e64df662fe75",
"command": "npm run test\nnpm run typecheck\nnpm run build",
"allow": true
},
{
"approvalId": "f97601fd-9e58-4267-aa3b-4a1a5762199e",
"checkPlanId": "2db440a2-7635-4899-94a1-e56ce151f6dd",
"command": "npm run test\nnpm run typecheck\nnpm run build",
"allow": true
}
],
"continuations": [],
"browser": {
"success": true,
"browser": "156.0.4314.42",
"pageErrors": [],
"requestFailures": [],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-react-005798c5-74b5-4d29-95f9-1379579cc0f7\\screenshots\\live-react-desktop.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-react-005798c5-74b5-4d29-95f9-1379579cc0f7\\screenshots\\live-react-mobile.png"
],
"verified": [
"pending/done filters",
"trimmed search",
"empty state",
"one-task toggle",
"unfiltered statistics",
"390px layout"
]
},
"reportStatus": "verified_committed",
"reportSha256": "538361686fd9336470b9afeacdb7468af460056228c6cd593d962f85146b32c4",
"sourcePreserved": true,
"protectedInputs": {
"README.md": "b4c025982b21212552f180ce6230947f5965f073ac80a10a29475c49f7f1bc8b",
"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",
"owner-staged.txt": "e99e44505c1b7871ee5cbbac0bd91f7324699ea7595b48c5798f34f1ba8c1dad",
"owner-unstaged.txt": "517ba87c535ecf824e6d54c6d9bc33d2f444224820ba5a7186ffc252a38cc691",
"owner-untracked.txt": "1fbaa4bf240707b9850934378dff892cd9ba8e7ca35e964388ade1dfa966968e"
},
"scope": "One actual configured-model engineering sample. Verifier confirms bounded checks, reviews model-written batches and confirms the model-prepared Git preview; no implementation supplied by the verifier. Not an autonomous success-rate measurement.",
"credentialsHandling": "The original Provider executes requests in its own process; no model key is read, copied or written."
}
+8
View File
@@ -1,5 +1,13 @@
# 汇总发现
## 2026-10-30 真实工程与浏览器能力恢复
- 实际模型Python三模块样本11响应/97174tokens/59秒完成,6/6 unittest、编译、模型准备的批次与Git交付通过。原结果docs/live-python-engineering-validation.json;保护声明、测试、来源仓库和owner状态不变。
- 正式服务实测1.9.0/PID23080;main=ddf178c,四份未提交的React验证器/原报告和预览设计属于既有续作,保留后接续。
- 实际模型React样本17次已报告响应/153813tokens:四文件整批应用、9/9测试、类型检查、构建、外部真实浏览器筛选/搜索/切换/390px及内置Git交付均通过。原结果docs/live-react-engineering-validation.json;只有一个样本,不是自主成功率或成本收益证明。
- C20设计仍未实现;当前代理无法实际操作工程页面,已有浏览器成果来自外部验证器。下一步将有界原页面结果内置,沿用审批、工件、Task来源和显式重试。
- 恢复首轮rg未排除releases导致过量输出,已改为明确src/tests/scripts/docs;计划补丁用不存在的单独#锚点被完整拒绝,未改任何文件,改用实际标题。
## 2026-10-30 引擎接入再次恢复
- 新适配器已使用本机原SDK 0.2.1-rc.2完成一次真实核验:appReady/PID、initialize及六方法原响应、安装前后SHA256、独立目录不变和所属进程正常退出全部通过,模型请求为0。原报告和完整结果保存在.qa/native-engine-e98cc331-7746-4ca5-8a64-da93ad121f65;这是连接成果,尚不代表工程任务执行。
+8
View File
@@ -1,5 +1,13 @@
# 统一执行进度
## 2026-10-30 全量推进:真实工程与浏览器切片
- Python真实模型三模块工程59秒/11响应/97174已报告tokens完成:原6项测试失败记录→三个精确补丁→模型封存整批→明确审查应用→6/6实际测试和编译→模型Git预览→确认提交a7b99e1。来源HEAD/index/owner和所有测试声明保持,验证器未提供源码修复。原Task和结果docs/live-python-engineering-validation.json。
- React既有实际模型样本与Python新样本均单独计量;1.9.0独立源码/界面验收不据此重跑。当前内置浏览器仍是下一切片,页面验收来自外部验证器。
- 已读AGENTS与接续记录,session-catchup无额外输出;正式4318实测1.9.0/PID23080,沿用既有261项/108组验收和React真实交付,不重跑已经完成样本。
- 使用planning-with-files持续保存阶段;真实React四文件/9项测试/typecheck/build/页面交互/Git原报告尚未入Git,先完成Python同类交付再封存。
- 恢复时宽rg造成输出截断,两次读取未当完整证据;后续限定具体文件段落。一次计划补丁锚点不存在,整体未应用,按实际标题修正。
## 2026-10-30 引擎UI与实际SDK接续
- 新增“解释原引擎失败”的真实工具反馈用例:首轮验证器误把Runtime.start返回会话当运行Promise,提前断言状态导致失败;按现有Runtime.active所属Promise等待并注册停止清理后复验。该用例核对当前Task原错误/报告,防止回复脱离实际操作。
+46
View File
@@ -0,0 +1,46 @@
import assert from 'node:assert/strict';
import fs from 'node:fs';
import path from 'node:path';
import http from 'node:http';
import { chromium } from 'playwright';
import { until } from '../tests/helpers.mjs';
// Independent acceptance of the built app; this helper never supplies source fixes.
export async function verifyLiveReactClient(projectRoot, outputDirectory) {
const dist = fs.realpathSync.native(path.join(projectRoot, 'dist')), pageErrors = [], requestFailures = [], screenshots = [];
const server = http.createServer((request, response) => {
try {
const pathname = decodeURIComponent(new URL(request.url, 'http://127.0.0.1').pathname);
const candidate = path.resolve(dist, '.' + (pathname === '/' ? '/index.html' : pathname));
if (!candidate.startsWith(dist + path.sep) || !fs.existsSync(candidate) || !fs.statSync(candidate).isFile()
|| !fs.realpathSync.native(candidate).startsWith(dist + path.sep)) { response.writeHead(404); response.end(); return; }
const mime = { '.html': 'text/html; charset=utf-8', '.js': 'text/javascript; charset=utf-8', '.css': 'text/css; charset=utf-8' }[path.extname(candidate)] ?? 'application/octet-stream';
response.writeHead(200, { 'Content-Type': mime, 'Cache-Control': 'no-store', 'X-Content-Type-Options': 'nosniff' }); response.end(fs.readFileSync(candidate));
} catch { response.writeHead(400); response.end(); }
});
await new Promise(resolve => server.listen(0, '127.0.0.1', resolve));
const browser = await chromium.launch({ channel: 'msedge', headless: true }), page = await browser.newPage({ viewport: { width: 1280, height: 920 } });
page.on('pageerror', error => pageErrors.push(error.message)); page.on('requestfailed', request => requestFailures.push(request.url() + ': ' + request.failure()?.errorText));
const count = async expected => { await until(async () => await page.locator('article').count() === expected); };
const text = async (locator, expected) => { await until(async () => (await locator.innerText()) === expected); };
fs.mkdirSync(outputDirectory, { recursive: true });
try {
await page.goto('http://127.0.0.1:' + server.address().port); await page.waitForLoadState('networkidle'); await count(3);
await page.getByLabel('任务状态').selectOption('pending'); await count(2);
await page.getByLabel('任务状态').selectOption('done'); await count(1);
await page.getByLabel('任务搜索').fill(' 不存在 '); await count(0); await page.getByText('没有匹配的任务', { exact: true }).waitFor({ state: 'visible' });
await page.getByLabel('任务搜索').fill(' 验证 '); await count(1);
await page.getByLabel('任务搜索').fill(''); await page.getByLabel('任务状态').selectOption('all'); await count(3);
await page.locator('article[data-task="api"]').getByRole('button', { name: '标为完成', exact: true }).click();
await text(page.locator('article[data-task="api"] .tag'), '已完成'); await text(page.locator('article[data-task="tests"] .tag'), '待完成');
await text(page.getByLabel('项目统计').locator('div').filter({ hasText: '完成任务' }).locator('strong'), '2');
await text(page.getByLabel('项目统计').locator('div').filter({ hasText: '待办工时' }).locator('strong'), '5小时');
const desktop = path.join(outputDirectory, 'live-react-desktop.png'); await page.screenshot({ path: desktop, scale: 'css' }); screenshots.push(desktop);
await page.setViewportSize({ width: 390, height: 844 }); await page.getByLabel('任务状态').selectOption('pending'); await count(1);
assert.ok(await page.locator('body').evaluate(node => node.scrollWidth <= 390));
const mobile = path.join(outputDirectory, 'live-react-mobile.png'); await page.screenshot({ path: mobile, scale: 'css' }); screenshots.push(mobile);
assert.deepEqual(pageErrors, []); assert.deepEqual(requestFailures, []);
return { success: true, browser: browser.version(), pageErrors, requestFailures, screenshots,
verified: ['pending/done filters', 'trimmed search', 'empty state', 'one-task toggle', 'unfiltered statistics', '390px layout'] };
} finally { await browser.close(); server.closeAllConnections(); await new Promise(resolve => server.close(resolve)); }
}
+168
View File
@@ -0,0 +1,168 @@
import assert from 'node:assert/strict';
import fs from 'node:fs';
import path from 'node:path';
import { execFileSync } from 'node:child_process';
import { createHash, randomUUID } from 'node:crypto';
import { Store } from '../src/server/store.mjs';
import { APP_VERSION } from '../src/server/diagnostics.mjs';
import { gitEnvironment } from '../src/core/git-process.mjs';
import { createPythonDeliveryProject, pythonProtected } from '../tests/fixtures/python-project.mjs';
import { deliveryGit, writeDeliveryFile } from '../tests/fixtures/delivery-project.mjs';
import { captureWorkspaceSource, assertWorkspaceSource } from '../tests/fixtures/workspace-project.mjs';
import { verifyLiveReactClient } from './live-react-client.mjs';
if (process.argv.includes('--help')) {
console.log('node scripts/verify-live-engineering.mjs --case react|python [--url http://127.0.0.1:4318] — fresh owned Git source/workspace, configured model and bounded review/check/delivery acceptance'); process.exit(0);
}
const index = process.argv.indexOf('--case'), kind = index >= 0 ? process.argv[index + 1] : null;
assert.ok(['react', 'python'].includes(kind), '--case react or --case python is required');
const urlIndex = process.argv.indexOf('--url'), origin = new URL(urlIndex >= 0 ? process.argv[urlIndex + 1] : 'http://127.0.0.1:4318');
assert.equal(origin.hostname, '127.0.0.1'); assert.equal(origin.protocol, 'http:');
const bootstrap = await (await fetch(origin.origin + '/api/bootstrap', { headers: { Connection: 'close' } })).json();
assert.equal(bootstrap.version, APP_VERSION); assert.equal(bootstrap.config.mode, 'compatible'); assert.ok(bootstrap.config.model);
const api = async (route, input) => {
const response = await fetch(origin.origin + '/api' + route, { method: input === undefined ? 'GET' : 'POST',
headers: { 'Content-Type': 'application/json', 'X-Workbench-Token': bootstrap.token, Connection: 'close' },
...(input === undefined ? {} : { body: JSON.stringify(input) }), signal: AbortSignal.timeout(20000) });
const value = await response.json(); if (!response.ok) throw Object.assign(new Error(value.error ?? 'Workbench HTTP ' + response.status), { status: response.status }); return value;
};
const root = path.resolve('.qa', 'live-' + kind + '-' + randomUUID()), sourceRoot = path.join(root, kind + '-source');
fs.mkdirSync(sourceRoot, { recursive: true }); fs.writeFileSync(path.join(sourceRoot, 'README.md'), '# Owned ' + kind + ' engineering acceptance\n');
const sourceStore = new Store(path.join(root, 'fixture-data')), sourceProject = sourceStore.addProject(sourceRoot), fixtureSession = sourceStore.createSession(sourceProject.id);
const sourceF = { projectRoot: sourceRoot, store: sourceStore, session: fixtureSession };
const allowed = kind === 'react' ? ['src/query.ts', 'src/summary.ts', 'src/transition.ts', 'src/App.tsx']
: ['src/workflow/normalize.py', 'src/workflow/summary.py', 'src/workflow/render.py'];
const checkNames = kind === 'react' ? ['test', 'typecheck', 'build'] : ['python:test', 'python:compile'];
try {
if (kind === 'python') createPythonDeliveryProject(sourceF);
else {
fs.cpSync(path.resolve('benchmarks/react-delivery-v1/baseline'), sourceRoot, { recursive: true, filter: file => !file.split(path.sep).includes('node_modules') });
writeDeliveryFile(sourceF, '.gitignore', 'node_modules/\ndist/\n.env\n.awb-*\n');
for (const name of ['owner-staged.txt', 'owner-unstaged.txt']) writeDeliveryFile(sourceF, name, 'Owner baseline bytes\n');
deliveryGit(sourceF, ['init', '--initial-branch=main']); deliveryGit(sourceF, ['config', 'core.autocrlf', 'false']);
deliveryGit(sourceF, ['config', 'user.name', 'Workbench Engineering QA']); deliveryGit(sourceF, ['config', 'user.email', 'qa@workbench.invalid']);
deliveryGit(sourceF, ['add', '--', '.']); deliveryGit(sourceF, ['commit', '--no-gpg-sign', '-m', 'Seal four-file React failure for actual-model acceptance']);
writeDeliveryFile(sourceF, 'owner-staged.txt', 'Owner staged change\n'); deliveryGit(sourceF, ['add', '--', 'owner-staged.txt']);
writeDeliveryFile(sourceF, 'owner-staged.txt', 'Owner working copy after staging\n'); writeDeliveryFile(sourceF, 'owner-unstaged.txt', 'Owner unstaged change\n');
writeDeliveryFile(sourceF, 'owner-untracked.txt', 'Owner untracked change\n');
}
} finally { sourceStore.close(); }
const originalSource = captureWorkspaceSource(sourceF), protectedNames = kind === 'react'
? ['README.md', 'package.json', 'package-lock.json', 'tsconfig.json', 'vite.config.mjs', 'index.html', 'test/domain.test.mjs', 'src/types.ts', 'src/main.tsx', 'src/styles.css']
: ['README.md', ...pythonProtected, 'package.json', 'test/add.test.mjs', 'scripts/build.mjs', 'src/add.mjs'];
const parentProject = await api('/projects', { root: sourceRoot }), parentSession = await api('/sessions', { projectId: parentProject.id });
const parentRoute = '/sessions/' + parentSession.id;
let state, workspace, childProject, childSession, route, taskId, result, succeeded = false, completedDelivery = null, lastProgress = '';
const decisions = [], applications = [], continuations = [], startedAt = Date.now(), maxModelResponses = 30, maxReportedTokens = 180000, maxDurationMs = 360000;
const sha = value => createHash('sha256').update(value).digest('hex');
const wait = async (predicate, timeout = 30000) => {
const deadline = Date.now() + timeout; while (!await predicate()) { if (Date.now() > deadline) throw new Error('Acceptance wait timed out'); await new Promise(resolve => setTimeout(resolve, 250)); }
};
let protectedBytes, childF, ownerStage;
const assertProtected = () => {
assertWorkspaceSource(assert, sourceF, originalSource, workspace.branch);
for (const [name, bytes] of Object.entries(protectedBytes)) assert.deepEqual(fs.readFileSync(path.join(childProject.root, name)), bytes, 'Protected input changed: ' + name);
assert.equal(deliveryGit(childF, ['diff', '--cached', '--', 'owner-staged.txt']), ownerStage);
};
const readArtifact = async id => {
let text = '', offset = 0, page;
do { page = await api('/artifacts/' + id + '?session=' + childSession.id + '&offset=' + offset + '&limit=16000');
assert.ok(page.content.length || !page.truncated); text += page.content; offset += page.content.length; } while (page.truncated);
assert.equal(sha(text), page.sha256); return text;
};
try {
const prepared = await api(parentRoute + '/workspaces', { label: kind + ' actual engineering' }); workspace = prepared;
await api(parentRoute + '/workspaces/' + workspace.id + '/create', { fingerprint: workspace.fingerprint });
await wait(async () => { workspace = await api(parentRoute + '/workspaces/' + workspace.id); return workspace.status === 'ready'; }, 30000);
const opened = await api(parentRoute + '/workspaces/' + workspace.id + '/open', {}); childProject = opened.project; childSession = opened.session; route = '/sessions/' + childSession.id;
childF = { projectRoot: childProject.root };
if (kind === 'react') {
const npmCli = path.join(path.dirname(process.execPath), 'node_modules/npm/bin/npm-cli.js');
const installed = execFileSync(process.execPath, [npmCli, 'ci', '--offline', '--no-audit', '--no-fund'], { cwd: childProject.root, env: gitEnvironment(), windowsHide: true, encoding: 'utf8' });
fs.writeFileSync(path.join(root, 'offline-install.log'), installed);
}
for (const name of ['owner-staged.txt', 'owner-unstaged.txt']) writeDeliveryFile(childF, name, 'Child owner baseline\n');
deliveryGit(childF, ['add', '--', 'owner-staged.txt']); writeDeliveryFile(childF, 'owner-staged.txt', 'Child owner working copy after stage\n');
writeDeliveryFile(childF, 'owner-untracked.txt', 'Child owner untracked change\n');
protectedBytes = Object.fromEntries([...protectedNames, 'owner-staged.txt', 'owner-unstaged.txt', 'owner-untracked.txt'].map(name => [name, fs.readFileSync(path.join(childProject.root, name))]));
ownerStage = deliveryGit(childF, ['diff', '--cached', '--', 'owner-staged.txt']); assertProtected();
const requirements = kind === 'react'
? '修复交付看板的query、summary、transition和App四个模块。状态筛选与trim后忽略大小写的搜索取交集;统计针对全部任务,完成数量及待办工时准确;toggle只切换指定id并保持其他对象和原数组,App绑定筛选/搜索和函数式状态更新,切换一条任务后界面与统计同步。必须通过9项测试、类型检查、构建,以及真正浏览器的筛选/搜索/单任务切换。'
: '修复normalize、summary和render三个Python模块:normalize把数字或数字字符串转换为数值并把负数归零;summary返回count和数值合计total,空列表为0;render返回“共 N 项 · 合计 X”,整数合计没有多余小数。必须通过六项unittest及源码编译。';
const goal = requirements + '先用inspect_project核对工程与工作区,再用plan_checks明确选择' + JSON.stringify(checkNames)
+ '并用run_checks实际执行,保留基线失败与日志。根据真实失败读取有关源码;只能修改' + JSON.stringify(allowed)
+ ',测试、配置、README、类型声明、样式、OWNER文件和已有暂存保持。不能改测试来通过,不使用run_command、不能直接提交Git。'
+ '用propose_patch或propose_file准备全部允许模块的提案,再用prepare_change_set一次封存完整三/四文件批次,等待用户审查应用;未审查的提案不是已写入。应用后继续同一Task,用相同检查范围重新执行并根据日志修复。全部检查通过后用plan_delivery准备这些文件的本地Git预览,等待确认;停止继续查询或请求模型。最后以实际结果说明测试、构建和交付。';
await api(route + '/messages', { content: goal });
while (Date.now() - startedAt < maxDurationMs) {
state = await api(route); taskId ??= state.execution.task.id; assert.equal(state.execution.task.id, taskId); assertProtected();
if (state.execution.task.usage.requests > maxModelResponses || state.execution.task.usage.totalTokens > maxReportedTokens) throw new Error('Actual-model acceptance reached its bounded response/token scope');
const progress = state.status + '|' + state.events.length + '|' + state.execution.checks.map(job => job.status).join(',');
if (progress !== lastProgress) { console.log(JSON.stringify({ kind, status: state.status, elapsedSeconds: Math.round((Date.now() - startedAt) / 1000),
responses: state.execution.task.usage.requests, reportedTokens: state.execution.task.usage.totalTokens,
latestTools: state.events.filter(event => event.kind === 'tool').slice(-3).map(event => ({ tool: event.tool, phase: event.phase })) })); lastProgress = progress; }
for (const proposal of state.changes.filter(change => ['pending', 'conflict'].includes(change.status))) assert.ok(allowed.includes(proposal.path), 'Out-of-scope model proposal: ' + proposal.path);
for (const approval of state.approvals.filter(item => item.status === 'pending')) {
const plan = state.execution.plans.find(value => value.id === approval.checkPlanId);
const allow = !!plan && plan.taskId === taskId && plan.checks.length > 0 && plan.checks.every(check => checkNames.includes(check.name) && !check.lifecycle?.length)
&& approval.cwd === childProject.root && approval.command === plan.checks.map(check => check.command).join('\n');
decisions.push({ approvalId: approval.id, checkPlanId: plan?.id, command: approval.command, allow });
await api(route + '/approvals/' + approval.id, { allow }); assert.ok(allow, 'Requested command does not match the owned engineering contract');
}
if (['running', 'awaiting_approval', 'stopping'].includes(state.status)) { await new Promise(resolve => setTimeout(resolve, 750)); continue; }
if (state.status === 'failed') throw new Error(state.failure?.message ?? 'Actual-model Task failed');
const deliveryPlan = state.execution.deliveryPlans?.findLast(plan => plan.status === 'planned' && plan.taskId === taskId);
if (deliveryPlan) {
assert.deepEqual(deliveryPlan.paths.slice().sort(), allowed.slice().sort()); const requestsBefore = state.execution.task.usage.requests;
assert.ok(state.events.some(event => event.tool === 'plan_delivery' && event.phase === 'completed'), 'The model must prepare the Git review');
await api(route + '/delivery-jobs', { planId: deliveryPlan.id });
await wait(async () => { state = await api(route); completedDelivery = state.execution.deliveries.at(-1); return completedDelivery?.reportArtifactId && completedDelivery?.reportMarkdownArtifactId; }, 30000);
assert.equal(completedDelivery.status, 'completed'); assert.equal(state.execution.task.usage.requests, requestsBefore); break;
}
const pending = state.changes.filter(change => change.status === 'pending');
const batch = state.execution.changeSets?.findLast(set => set.taskId === taskId && set.status === 'prepared');
if (state.status === 'paused' && !batch) {
assert.equal(state.execution.run.stopReason, 'step_limit', 'Other stopped outcomes are recorded, not automatically replayed');
assert.ok(continuations.length < 3); continuations.push({ runId: state.runId, reason: 'step_limit', taskId }); await api(route + '/resume', {}); continue;
}
if (pending.length) {
assert.ok(state.execution.checks.some(job => job.status === 'failed' && job.results.some(value => value.tests?.failed > 0)), 'Record actual initial test failure before repairs');
assert.ok(batch && batch.source === 'agent', 'The model must seal the reviewed batch');
assert.deepEqual(batch.files.map(file => file.changeId).sort(), pending.map(change => change.id).sort());
if (!applications.length) assert.deepEqual(batch.files.map(file => file.path).sort(), allowed.slice().sort());
assert.ok(applications.length < 3); await api(route + '/change-sets/' + batch.id + '/apply', { fingerprint: batch.fingerprint });
await wait(async () => (await api(route + '/change-sets/' + batch.id)).status === 'completed');
for (const proposal of pending) assert.equal(sha(fs.readFileSync(path.join(childProject.root, proposal.path))), proposal.sha256);
applications.push({ id: batch.id, fingerprint: batch.fingerprint, paths: batch.files.map(file => file.path), source: batch.source }); assertProtected();
await api(route + '/continue-reviewed', {}); continue;
}
throw new Error('The model stopped before the complete check/review/Git flow: ' + state.status + '/' + state.execution.run.stopReason);
}
assert.ok(completedDelivery, 'Actual-model engineering acceptance timed out'); assert.equal(state.status, 'completed');
const passing = state.execution.checks.filter(job => job.status === 'passed').at(-1); assert.ok(passing);
assert.deepEqual(passing.results.map(value => value.name).sort(), checkNames.slice().sort());
const tests = passing.results.find(value => value.name === (kind === 'react' ? 'test' : 'python:test')).tests;
assert.equal(tests.total, kind === 'react' ? 9 : 6); assert.equal(tests.passed, tests.total); assert.equal(tests.failed, 0);
assert.deepEqual(deliveryGit(childF, ['diff-tree', '--no-commit-id', '--name-only', '-r', 'HEAD']).trim().split(/\r?\n/).sort(), allowed.slice().sort()); assertProtected();
const reportText = await readArtifact(completedDelivery.reportArtifactId), markdown = await readArtifact(completedDelivery.reportMarkdownArtifactId), report = JSON.parse(reportText);
assert.equal(report.status, 'verified_committed'); assert.equal(report.task.id, taskId); assert.equal(report.verifiedCheckJobId, passing.id);
fs.writeFileSync(path.join(root, 'delivery-report.json'), reportText); fs.writeFileSync(path.join(root, 'delivery-report.md'), markdown);
const browser = kind === 'react' ? await verifyLiveReactClient(childProject.root, path.join(root, 'screenshots')) : null;
fs.writeFileSync(path.join(root, 'session.json'), JSON.stringify(await api(route + '/export'), null, 2) + '\n');
result = { success: true, version: bootstrap.version, testedAt: new Date().toISOString(), kind, model: bootstrap.config.model, root,
taskId, sessionId: childSession.id, projectId: childProject.id, sourceProjectId: parentProject.id, workspaceId: workspace.id, workspaceRoot: childProject.root,
sourceCommit: workspace.source.head, commit: completedDelivery.commit, tests, checks: passing.results, usage: state.execution.task.usage,
elapsedSeconds: Math.round((Date.now() - startedAt) / 1000), applications, decisions, continuations, browser,
reportStatus: report.status, reportSha256: sha(reportText), sourcePreserved: true, protectedInputs: Object.fromEntries(Object.entries(protectedBytes).map(([name, bytes]) => [name, sha(bytes)])),
scope: 'One actual configured-model engineering sample. Verifier confirms bounded checks, reviews model-written batches and confirms the model-prepared Git preview; no implementation supplied by the verifier. Not an autonomous success-rate measurement.',
credentialsHandling: 'The original Provider executes requests in its own process; no model key is read, copied or written.' };
succeeded = true;
} catch (error) {
result = { success: false, version: bootstrap.version, kind, testedAt: new Date().toISOString(), root, model: bootstrap.config.model,
taskId, sessionId: childSession?.id, projectId: childProject?.id, workspaceId: workspace?.id, error: error.stack,
elapsedSeconds: Math.round((Date.now() - startedAt) / 1000), usage: state?.execution?.task?.usage, state: state?.status,
stopReason: state?.execution?.run?.stopReason, applications, decisions, continuations, checks: state?.execution?.checks }; process.exitCode = 1;
} finally { if (!succeeded && route) await api(route + '/stop', {}).catch(() => {}); }
fs.writeFileSync(path.join(root, 'result.json'), JSON.stringify(result, null, 2) + '\n');
fs.writeFileSync(path.resolve('docs', 'live-' + kind + '-engineering-validation.json'), JSON.stringify(result, null, 2) + '\n');
console.log(JSON.stringify({ success: result.success, kind, root, taskId, commit: result.commit, tests: result.tests, usage: result.usage, error: result.error }));
+12 -2
View File
@@ -1,13 +1,23 @@
# Agent Workbench:核心代理能力研究与产品计划
## 当前执行:1.9 引擎接入与实际流程(2026-10-30)
## 当前执行:真实工程交付与内置浏览器验证(2026-10-30)
1. [complete] 恢复到ddf178c,正式4318实测1.9.0/PID23080;独立源码261项、108组界面与原Provider保留证据已有,继续沿用。
2. [complete] 已有React四文件/9项测试/typecheck/build/实际页面/Git通过;新Python三文件/6项测试/编译/Git通过,分别保存原Task、审查、输入和用量,准备本地封存提交。
3. [pending] 实现C20当前工程构建预览与有界浏览器检查:封存计划/输入/视口/交互,实际DOM、错误、请求与截图,Task/Run来源、停止、恢复及过期输入核对。
4. [pending] 将浏览器工具接入自有Harness、HTTP、任务界面与交付报告,在独立桌面/390px环境验证真实成功/失败、隔离、重启和迟到结果。
5. [pending] 检查实现diff并按范围本地提交;不可变发行/独立源码和随包浏览器运行验收通过后保留原Provider升级,记录下一切片。
本轮接续不重复旧工程运行,不修改已有真实模型连接;不把连接核验、外部验证器或计划中的桌面/手机连接记为已实现。外部Harness工程写入仍依赖后续受控工具桥。
## 1.9 引擎接入与实际流程(历史记录,2026-10-30)
用户要求继续全量推进,接续既有1.8.0与未提交引擎实现。正式服务与真实模型连接保持;当前开发使用独立宿主、数据目录和本地Git小步提交。
1. [complete] 未提交DeepSeek引擎契约、实际0.2.1-rc.2 SDK、22项专项与原协议记录已经完成;接续审核并在独立发行中验证。
2. [complete] 引擎面板10组桌面/390px验收通过,含原记录下载、归属、停止和实际重启;保留前两轮失败原记录。
3. [pending] 审查实际SDK的受控执行入口,按真实工具与权限契约推进工程执行;连接通过和工程交付分别判定,不以idle通知判断完成。
4. [in_progress] 接续PID30912的1.9.0完整源码回归;首轮全量界面在离线演示等待审批时超时,保存原DOM/数据库/报告,先查实际任务与负载。完成后提交实现、生成不可变发行、独立源码/便携验收和保留原Provider升级。
4. [complete] 原事件循环缺陷已修复;最终261项独立源码/108组界面通过,91981c1与ddf178c已提交,不可变1.9.0发行和原Provider升级完成。原中断/失败报告保留。
5. [pending] 继续真实工程样本、桌面宿主与手机伴随端切片;每个实际成果独立验证和提交,计划不记为已实现。
恢复核对:Agent-Workbench为独立Git仓库;正式1.8.0已有244项独立源码、98组界面和真实四模块工程交付证据,不重复既有任务。新增核心/适配/API草稿未提交,前一轮尚无产品引擎UI或实际SDK适配验收。Node实测24.22.1。首次父目录Git错误与大输出截断已改为明确工作目录和限定读取。