docs: seal autonomous React and Python delivery evidence
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Agent Workbench项目执行规范
|
||||
|
||||
AE已封存:新React/Python各10请求、合计367365报告tokens/0unknown,原九测试+tsc/build+实际1280/390页面与Python原十pytest+compileall、仅允许源码Git和owner/index均通过。原Python内置检查误选无pytest的Hermes解释器而失败,模型自主用指定解释器终端验证成功;两例未登记delivery_job/Python报告in_progress继续单列。原48100行/116导出/全部工件与旧模型尝试保持,新增2项目2会话均自有,DeepSeek11→15/config112→116、原池/其余配置/凭据状态恢复,空闲/窗口0/9229关闭。225份52216677字节封存见docs/QA-LIVE-ENGINEERING-AE.md。下一验证当前开放worker/engine契约,再另冻原版Purge AB/BA;未执行前收益unknown。不续跑AD/AE/旧样本或用户项目,不委派/推送/触Key,不恢复默认额度。下方旧接续按历史时点。
|
||||
|
||||
AD已封存:正式1.25.8/PID71628,五线10真实预检8通过;jojocode目录ECONNRESET,Claude目录UND_ERR_SOCKET及两次HTTP400缺Messages必填max_tokens原错保留。新DeepSeek Node11请求180554报告tokens、0unknown、原9测试/build/仅三模块Git88bb25cb及owner/index全过,0人工审批/继续,原高性能池已恢复。全批21请求199250报告tokens+2unknown/338本地估算,不补造计费;216份60197251字节封存、原46111行/105导出/工件精确对账,配置仅声明修订/连接编辑时间与顺序变化,9229关闭。见docs/QA-LIVE-VALIDATION-AD.md及live-validation-ad-evidence.json。7次不同文件读取、30工具schema稳定、上游122624缓存输入tokens仅本例观测;内置delivery_report仍in_progress(终端Git未登记delivery_job)如实保留。下一另冻AE React/Python,过后才原版Purge,不续跑AD/旧样本或用户项目,不委派/推送/触Key、不恢复默认额度。
|
||||
|
||||
C随1.25.8已正式交付:工具登记/装配/可见原因与schema摘要、前缀v2首次变化段和消息/主线诊断归属,新诊断历史独立保存。来源a6e31dec/候选20261106042247703;原41相关40过1夹具UUID失败保持,最终8/8和升级3/3、717输入重建22/22、安装副本两端各4组及正式两端回看通过。唯一正式安装319241ms,保留PID71628/instance37d6b536-c0dc-4cbf-9c51-095bbe779062/Provider、五条连接Key存在状态和85项目105会话全部原行/导出/工件/模型中心exact,9229关闭。见docs/QA-TOOL-PREFIX-C.md与tool-prefix-c-1.25.8-release-identity.json。下一新AD驱动先本机验证,再冻结五供应商文本/工具兼容及独立Node;Node闭环后才React/Python/Purge,不续跑原样本/用户项目,不委派/推送/触Key。默认unrestricted/full/passthrough不退回有限额度,真实模型/网络/重复读取/缓存/真实预留/Purge未知保持。下方旧版本按历史时点理解。
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 1.25 计划:任务要求与交付复核
|
||||
|
||||
AE新React/Python真实交付均已通过:20请求367365报告tokens/0unknown,原九测试/页面与原十pytest/编译、源码限定Git及owner/index独立通过,225份原证据封存;原48100行/116导出/工件保持。内置Python选错环境的失败与终端Git未登记内部交付账本保留,见[AE验收](QA-LIVE-ENGINEERING-AE.md)。下一先核对开放worker/engine契约,再另冻原版Purge AB/BA,收益仍unknown;不改变任何历史样本结论。
|
||||
|
||||
新AD已完成:五线十次真实预检8通过、两次Claude上游400缺必填max_tokens,目录两处网络异常保持;DeepSeek新Node自主11请求、原九测试/build/三源码实际Git交付成功,0人工审批/继续。全批21请求199250报告tokens+2unknown,216份原证据及原状态对账完成,见[AD验收](QA-LIVE-VALIDATION-AD.md)。本例30工具schema保持、7次不同文件读取及122624上游缓存输入tokens不作普遍收益;终端Git未登记内置交付账本的缺口单列。下一另冻AE React/Python,通过后才原版Purge AB/BA;历史失败/真实预留边界/Purge收益未知保持。
|
||||
|
||||
C已随1.25.8正式交付:工具可见性/schema/代次、prefixAudit v2首次变化段和消息/主线诊断归属,修复新诊断混入主历史。来源a6e31dec;最终8/8、升级3/3、717输入重建22/22、安装副本与正式网页/Electron通过。原PID71628/Provider、五条连接凭据存在状态和85项目105会话全部原行/导出/工件/模型中心exact。见[C验收与回顾](QA-TOOL-PREFIX-C.md)。下一新AD先验证驱动、冻结供应商兼容及独立Node,之后按前置推进React/Python/Purge;D–F未据此完成,网络/自主交付/重复读取/缓存/真实预留/Purge未知保持。下方为历史时点。
|
||||
|
||||
@@ -12,6 +12,18 @@
|
||||
|
||||
React后只读审计react-737eb20c通过:原48100行、116导出及原工件字节保持;新增1项目/1会话/545事件及outbox/150记录/98去重工件全部归属AE。DeepSeek11→13,config112→114,其它字段/凭据修订/高性能池恢复,空闲/窗口0/9229关闭。
|
||||
|
||||
## Python及后续
|
||||
## Python
|
||||
|
||||
React前置已通过,下一运行一次全新Python工程;原十测试/配置及owner保护。两工程完成后先审计/封存,再另冻原版Purge AB/BA,当前Purge未执行、收益unknown。当前真实成功样本不能改写历史失败,也不能外推长期供应商稳定、普遍不重复读或缓存收益。
|
||||
10次请求、184463输入/9100输出/193563报告tokens,0unknown,全部完整matched。模型自行读取业务契约和原测试、自动应用三个模块,并使用任务中提供的现成解释器运行原十项pytest和源码编译,实际本地提交35c5986748c782ebb81cc87d0b120e7a05640408。独立结束后再次pytest10/10与compileall退出0;提交只含normalize.py、summary.py、render.py,提交内容与当前文件逐字节一致,所有非允许文件、owner字节和原index状态保持,0人工审批/继续/实现提示/重试。
|
||||
|
||||
内置plan_checks/run_checks却选中了Hermes的Python3.11环境,未采用目标文字提供的pytest解释器,原python:test因ModuleNotFoundError: No module named 'pytest'失败,compile4/4通过。模型自主改用指定Python3.10.11/pytest8.4.2的终端检查成功;没有改测试、安装依赖或覆盖原失败。独立交付成功与内置检查环境选择缺口分别判定,不把失败job补签为通过。
|
||||
|
||||
## 审计、封存与回顾
|
||||
|
||||
两工程合计20真实请求/367365报告tokens,0unknown。终端Git均独立通过,但两者都没有内部delivery_job;Python delivery_report仍report_status=in_progress,原账本整合缺口保持,不将终端提交冒认内部闭环。
|
||||
|
||||
最终只读审计react-python-3f300ee4通过:原48100行、116导出、全部原工件、旧模型尝试及原凭据行保持;新增2自有项目/2会话、1223事件及outbox、287记录、193去重工件均核对所属。DeepSeek11→15、config112→116,仅声明的修订/编辑时间变化,其余公开配置、凭据revision1、五条Key存在状态及用户高性能池恢复。正式1.25.8/PID71628,空闲/窗口0/9229关闭。
|
||||
|
||||
225份52216677字节证据逐SHA通过,见[live-engineering-ae-evidence.json](live-engineering-ae-evidence.json)与.qa/live-engineering-ae/FINAL-MANIFEST.json。只排除可按原锁重建的React node_modules;源码/Git、原请求响应、失败检查、独立检查与真实页面原件均保留,历史AD/C不重打包。封存验证逐请求确认wire未附加输出token上限、prefixAudit v2工具SHA与真实body.tools一致。
|
||||
|
||||
本阶段没有产品改动,不重制发行。新React/Python已经满足Purge的工程前置;下一先验证原版Harness/Purge在当前开放模式的实际契约,再另冻原版AB/BA。当前Purge未执行、收益unknown;本批成功不能改写历史失败,不能外推长期供应商稳定、普遍不重复读或缓存因果收益。内置Python环境选择和终端Git账本整合需要另切产品修复,保留原样本结论。
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Tianshu 研究后的 Agent Workbench 采用计划
|
||||
|
||||
AE新React/Python真实交付均已通过:20请求367365报告tokens/0unknown,原九测试/页面与原十pytest/编译、源码限定Git及owner/index独立通过,225份原证据封存;原48100行/116导出/工件保持。内置Python选错环境的失败与终端Git未登记内部交付账本保留,见[AE验收](QA-LIVE-ENGINEERING-AE.md)。下一先核对开放worker/engine契约,再另冻原版Purge AB/BA,收益仍unknown;不改变任何历史样本结论。
|
||||
|
||||
新AD已完成:五线十次真实预检8通过、两次Claude上游400缺必填max_tokens,目录两处网络异常保持;DeepSeek新Node自主11请求、原九测试/build/三源码实际Git交付成功,0人工审批/继续。全批21请求199250报告tokens+2unknown,216份原证据及原状态对账完成,见[AD验收](QA-LIVE-VALIDATION-AD.md)。本例30工具schema保持、7次不同文件读取及122624上游缓存输入tokens不作普遍收益;终端Git未登记内置交付账本的缺口单列。下一另冻AE React/Python,通过后才原版Purge AB/BA;历史失败/真实预留边界/Purge收益未知保持。
|
||||
|
||||
C已随1.25.8正式交付:工具可见性/schema/代次、prefixAudit v2首次变化段和消息/主线诊断归属,修复新诊断混入主历史。来源a6e31dec;最终8/8、升级3/3、717输入重建22/22、安装副本与正式网页/Electron通过。原PID71628/Provider、五条连接凭据存在状态和85项目105会话全部原行/导出/工件/模型中心exact。见[C验收与回顾](QA-TOOL-PREFIX-C.md)。下一新AD先验证驱动、冻结供应商兼容及独立Node,之后按前置推进React/Python/Purge;D–F未据此完成,网络/自主交付/重复读取/缓存/真实预留/Purge未知保持。下方为历史时点。
|
||||
|
||||
@@ -0,0 +1,586 @@
|
||||
{
|
||||
"summary": {
|
||||
"schema": 1,
|
||||
"driverCommit": "d4f1e42f7e89f5413ab2d9613dce1e9659cdd262",
|
||||
"version": "1.25.8",
|
||||
"realModelRequests": 20,
|
||||
"reportedTokens": 367365,
|
||||
"unknownRequests": 0,
|
||||
"samples": [
|
||||
{
|
||||
"kind": "react",
|
||||
"success": true,
|
||||
"commit": "d09b3379878e6ea53e392dade043c1447f72a66f",
|
||||
"committedPaths": [
|
||||
"src/App.tsx",
|
||||
"src/query.ts",
|
||||
"src/summary.ts",
|
||||
"src/transition.ts"
|
||||
],
|
||||
"checks": {
|
||||
"test": {
|
||||
"status": 0,
|
||||
"signal": null,
|
||||
"error": null,
|
||||
"stats": {
|
||||
"tests": 9,
|
||||
"pass": 9,
|
||||
"fail": 0,
|
||||
"cancelled": 0,
|
||||
"skipped": 0,
|
||||
"todo": 0
|
||||
},
|
||||
"stdoutSha256": "936aa846500be05c0c09fbe09b5f8451a37262642a40f1d71b636087a658ae39",
|
||||
"stderrSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"typecheck": {
|
||||
"status": 0,
|
||||
"signal": null,
|
||||
"error": null,
|
||||
"stats": null,
|
||||
"stdoutSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"stderrSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"build": {
|
||||
"status": 0,
|
||||
"signal": null,
|
||||
"error": null,
|
||||
"stats": null,
|
||||
"stdoutSha256": "fa8da73fcd0fcd7735ae28c74958e68d6c259f57fedb1523da74f065d91744f9",
|
||||
"stderrSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
}
|
||||
},
|
||||
"browser": {
|
||||
"success": true,
|
||||
"browser": "156.0.4314.50",
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"screenshots": [
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-engineering-ae\\react\\browser\\live-react-desktop.png",
|
||||
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-engineering-ae\\react\\browser\\live-react-mobile.png"
|
||||
],
|
||||
"verified": [
|
||||
"pending/done filters",
|
||||
"trimmed search",
|
||||
"empty state",
|
||||
"one-task toggle",
|
||||
"unfiltered statistics",
|
||||
"390px layout"
|
||||
]
|
||||
},
|
||||
"requests": 10,
|
||||
"usage": {
|
||||
"requests": 10,
|
||||
"inputTokens": 168533,
|
||||
"outputTokens": 5269,
|
||||
"totalTokens": 173802,
|
||||
"unknownRequests": 0,
|
||||
"estimatedUnknownTokens": 0
|
||||
},
|
||||
"reportedCachedInputTokens": 116096,
|
||||
"elapsedMs": 52798,
|
||||
"reads": [
|
||||
{
|
||||
"path": "README.md"
|
||||
},
|
||||
{
|
||||
"path": "package.json"
|
||||
},
|
||||
{
|
||||
"path": "src/query.ts"
|
||||
},
|
||||
{
|
||||
"path": "src/summary.ts"
|
||||
},
|
||||
{
|
||||
"path": "src/transition.ts"
|
||||
},
|
||||
{
|
||||
"path": "src/App.tsx"
|
||||
},
|
||||
{
|
||||
"path": "src/types.ts"
|
||||
},
|
||||
{
|
||||
"path": "test/domain.test.mjs"
|
||||
},
|
||||
{
|
||||
"path": "src/styles.css"
|
||||
},
|
||||
{
|
||||
"path": "tsconfig.json"
|
||||
},
|
||||
{
|
||||
"path": "owner-staged.txt"
|
||||
},
|
||||
{
|
||||
"path": "owner-unstaged.txt"
|
||||
},
|
||||
{
|
||||
"path": "owner-untracked.txt"
|
||||
},
|
||||
{
|
||||
"path": "src/App.tsx",
|
||||
"start_line": 25,
|
||||
"end_line": 34
|
||||
}
|
||||
],
|
||||
"repeatedReadInputCount": 0,
|
||||
"internalChecks": [
|
||||
{
|
||||
"id": "77636801-4c5f-4114-8087-d553e379e416",
|
||||
"status": "passed",
|
||||
"results": [
|
||||
{
|
||||
"name": "test",
|
||||
"status": "passed",
|
||||
"exitCode": 0,
|
||||
"executable": null,
|
||||
"logExcerpt": null
|
||||
},
|
||||
{
|
||||
"name": "typecheck",
|
||||
"status": "passed",
|
||||
"exitCode": 0,
|
||||
"executable": null,
|
||||
"logExcerpt": null
|
||||
},
|
||||
{
|
||||
"name": "build",
|
||||
"status": "passed",
|
||||
"exitCode": 0,
|
||||
"executable": null,
|
||||
"logExcerpt": null
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"internalDeliveryJobs": 0,
|
||||
"reports": [],
|
||||
"terminalGit": true,
|
||||
"ownerBytesAndIndexPreserved": true,
|
||||
"supervisorApprovals": 0,
|
||||
"supervisorContinuations": 0
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"success": true,
|
||||
"commit": "35c5986748c782ebb81cc87d0b120e7a05640408",
|
||||
"committedPaths": [
|
||||
"normalize.py",
|
||||
"render.py",
|
||||
"summary.py"
|
||||
],
|
||||
"checks": {
|
||||
"test": {
|
||||
"status": 0,
|
||||
"signal": null,
|
||||
"error": null,
|
||||
"stats": {
|
||||
"tests": 10,
|
||||
"fail": 0,
|
||||
"skipped": 0,
|
||||
"pass": 10
|
||||
},
|
||||
"stdoutSha256": "3a7f2aba9661e12a88118aaa04776bb49b842b5af0358a4619416c9334cc26e1",
|
||||
"stderrSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"build": {
|
||||
"status": 0,
|
||||
"signal": null,
|
||||
"error": null,
|
||||
"stats": null,
|
||||
"stdoutSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"stderrSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
}
|
||||
},
|
||||
"browser": null,
|
||||
"requests": 10,
|
||||
"usage": {
|
||||
"requests": 10,
|
||||
"inputTokens": 184463,
|
||||
"outputTokens": 9100,
|
||||
"totalTokens": 193563,
|
||||
"unknownRequests": 0,
|
||||
"estimatedUnknownTokens": 0
|
||||
},
|
||||
"reportedCachedInputTokens": 134016,
|
||||
"elapsedMs": 65538,
|
||||
"reads": [
|
||||
{
|
||||
"path": "normalize.py"
|
||||
},
|
||||
{
|
||||
"path": "summary.py"
|
||||
},
|
||||
{
|
||||
"path": "render.py"
|
||||
},
|
||||
{
|
||||
"path": "README.md"
|
||||
},
|
||||
{
|
||||
"path": "tests/test_tasks.py"
|
||||
},
|
||||
{
|
||||
"path": "pyproject.toml"
|
||||
},
|
||||
{
|
||||
"path": ".gitignore"
|
||||
}
|
||||
],
|
||||
"repeatedReadInputCount": 0,
|
||||
"internalChecks": [
|
||||
{
|
||||
"id": "ed74f265-db8e-472c-9d6c-b2dd5ae8084c",
|
||||
"status": "failed",
|
||||
"results": [
|
||||
{
|
||||
"name": "python:test",
|
||||
"status": "failed",
|
||||
"exitCode": 1,
|
||||
"executable": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\Scripts\\python.exe",
|
||||
"logExcerpt": "\n--- stderr ---\nTraceback (most recent call last):\r\n File \"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb-python-fnjSmv\\runner.py\", line 207, in main\r\n evidence, code = pytest_sources(root, payload[\"settings\"])\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb-python-fnjSmv\\runner.py\", line 133, in pytest_sources\r\n import pytest\r\nModuleNotFoundError: No module named 'pytest'\r\n"
|
||||
},
|
||||
{
|
||||
"name": "python:compile",
|
||||
"status": "passed",
|
||||
"exitCode": 0,
|
||||
"executable": "C:\\Users\\wangy\\AppData\\Local\\hermes\\hermes-agent\\venv\\Scripts\\python.exe",
|
||||
"logExcerpt": null
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"internalDeliveryJobs": 0,
|
||||
"reports": [
|
||||
{
|
||||
"status": "completed",
|
||||
"report_status": "in_progress",
|
||||
"artifact_id": "eceec87e-5b15-426c-be3a-c199c84c5ad5",
|
||||
"markdown_artifact_id": "9425cd5e-90dc-4c17-9cbc-545643100371",
|
||||
"verified_check_job_id": null,
|
||||
"source_fingerprint": "7cc055899cd40351b5189f302e1f535b157fa34c25fe0593484afbcaa766e810",
|
||||
"note": "源码和检查证据不代替业务需求验收。"
|
||||
}
|
||||
],
|
||||
"terminalGit": true,
|
||||
"ownerBytesAndIndexPreserved": true,
|
||||
"supervisorApprovals": 0,
|
||||
"supervisorContinuations": 0
|
||||
}
|
||||
],
|
||||
"prefixProofs": [
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "55356416-c15a-45a7-a1bf-8025959dde2e",
|
||||
"planId": "44eb5933-22d3-4a5b-9781-9e0cff28d865",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 0,
|
||||
"firstChangedPath": "model"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "50eaeb30-7282-441e-b619-d3979f214784",
|
||||
"planId": "a2eff2ba-e8a5-4d73-a811-90a049a61d60",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 20757,
|
||||
"firstChangedPath": "messages[2]"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "205486ea-b7d5-4463-b67d-8915c15f29c3",
|
||||
"planId": "0cb774fd-3537-45bd-b473-cb99a8eb90c8",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 32141,
|
||||
"firstChangedPath": "messages[11]"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "6cb4d2f8-dcac-49ab-8b8a-b2dae1fb2f12",
|
||||
"planId": "d4143795-14f4-4173-a2dd-175b92b84d27",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 40448,
|
||||
"firstChangedPath": "messages[18]"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "98486523-06fc-4e37-8688-061cbba77356",
|
||||
"planId": "c638ac5d-9e42-459b-941f-5b9cbfb976b5",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 45127,
|
||||
"firstChangedPath": "messages[22]"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "f9f93141-c8d9-4df7-9021-ab9be257f6d6",
|
||||
"planId": "81241f51-7750-4a11-80bb-67567f9e144e",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 47682,
|
||||
"firstChangedPath": "messages[24]"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "4f429fae-3fd2-48aa-a35b-d98444a2f032",
|
||||
"planId": "f69eda3f-aa64-44d8-90b2-a5a01460e980",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 54982,
|
||||
"firstChangedPath": "messages[27]"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "1235afde-f1af-4f9c-9314-506f2e7074c2",
|
||||
"planId": "2eb9950e-c5ac-4c11-b03d-3dcc4f803f1a",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 57909,
|
||||
"firstChangedPath": "messages[29]"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "bf83b5d1-dc6e-461c-befd-a7f1d18ef508",
|
||||
"planId": "c1a455f6-42c4-471c-89df-49294cdba5b3",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 64475,
|
||||
"firstChangedPath": "messages[31]"
|
||||
},
|
||||
{
|
||||
"kind": "react",
|
||||
"attemptId": "f87de37f-2356-49d8-a9ba-c45b252d9ded",
|
||||
"planId": "b132de44-5872-405c-97f3-45751464c6b8",
|
||||
"toolCount": 33,
|
||||
"toolSha256": "07da29686de1e2ebc9b9bff3ed7f6355364d403948c33bf6572d318e6f5f3be9",
|
||||
"toolBytes": 17195,
|
||||
"commonPrefixBytes": 67314,
|
||||
"firstChangedPath": "messages[33]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "b124640a-ee0c-4048-84f6-91e4071c4b82",
|
||||
"planId": "a8f2ae54-6349-4df6-bf7b-b3636264cdc5",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 0,
|
||||
"firstChangedPath": "model"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "6007e478-f15c-416e-9399-ec7090a08f54",
|
||||
"planId": "6c2b2792-a880-4e68-bcd4-f52c4759af31",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 18664,
|
||||
"firstChangedPath": "messages[2]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "1aaaa55b-55f1-419f-8b81-b18f9cc46261",
|
||||
"planId": "5254aaf3-ff91-4d90-9325-36e176e6a66f",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 23517,
|
||||
"firstChangedPath": "messages[5]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "3b28fc15-5a1a-4049-aa3e-01267d993c2e",
|
||||
"planId": "ef11abc5-f0da-42b0-8c71-564dfb4bfc63",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 32212,
|
||||
"firstChangedPath": "messages[11]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "7ff10e69-ff5c-4bff-b5e2-e5dcd273933e",
|
||||
"planId": "3dfccfb9-51f3-44c7-9ca3-95254c26cdf2",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 35213,
|
||||
"firstChangedPath": "messages[14]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "100bf78b-2d4f-4482-a6d5-95750027597a",
|
||||
"planId": "85974b6a-eb4e-4c1a-bd99-83d1ddd83197",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 52970,
|
||||
"firstChangedPath": "messages[18]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "97837b25-326f-418b-9fb1-941bf09e0ed4",
|
||||
"planId": "59d764f1-5696-4262-8c8a-5565603dd6cb",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 63075,
|
||||
"firstChangedPath": "messages[20]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "d024ff89-fcca-418b-89bd-0677f84e22d0",
|
||||
"planId": "d0431681-9c5e-4285-963a-c90f106373b2",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 73281,
|
||||
"firstChangedPath": "messages[23]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "86b1c77d-a11b-4a36-9877-808fe85c7716",
|
||||
"planId": "fd4de674-3140-4d76-be81-07c894a21fe6",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 83855,
|
||||
"firstChangedPath": "messages[25]"
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"attemptId": "3204387e-27fa-4fdf-9ca2-4b612bb74ee1",
|
||||
"planId": "8d83e49e-9119-4524-9fa9-e8bb584551d0",
|
||||
"toolCount": 30,
|
||||
"toolSha256": "8f2ad087b3da842978ca5195ef3cad7fa1941803a1ccd48813ec55dd6af104bb",
|
||||
"toolBytes": 15121,
|
||||
"commonPrefixBytes": 90785,
|
||||
"firstChangedPath": "messages[27]"
|
||||
}
|
||||
],
|
||||
"originalStateAudit": "audits/react-python-3f300ee4-539a-46aa-94d9-e00b5aa8aef6/result.json",
|
||||
"originalStateAuditResult": {
|
||||
"success": true,
|
||||
"version": "1.25.8",
|
||||
"pid": 71628,
|
||||
"originalProjects": 91,
|
||||
"originalSessions": 116,
|
||||
"addedProjects": 2,
|
||||
"addedSessions": 2,
|
||||
"checkedOriginalRows": 48100,
|
||||
"addedRows": {
|
||||
"events": 1223,
|
||||
"metadata": 0,
|
||||
"outbox": 1223,
|
||||
"projects": 2,
|
||||
"records": 287,
|
||||
"sessions": 2,
|
||||
"sqlite_sequence": 0
|
||||
},
|
||||
"newArtifactCount": 193,
|
||||
"originalExports": "exact",
|
||||
"originalArtifactBytes": "exact",
|
||||
"originalCredentialRow": "exact hash; no decryption or copy",
|
||||
"allOldModelAttempts": "exact",
|
||||
"newModelAttempts": 20,
|
||||
"configComparison": {
|
||||
"original": 112,
|
||||
"current": 116,
|
||||
"allOtherFields": "exact"
|
||||
},
|
||||
"connectionChanges": [
|
||||
{
|
||||
"id": "1a7a55a9-29f2-4b9f-8ea2-5a55afd7eacd",
|
||||
"originalRevision": 11,
|
||||
"currentRevision": 15,
|
||||
"originalUpdatedAt": "2026-11-06T04:53:05.522Z",
|
||||
"currentUpdatedAt": "2026-11-06T05:05:04.685Z"
|
||||
}
|
||||
],
|
||||
"connectionOrder": {
|
||||
"before": [
|
||||
"5b4daed9-b2f7-4de0-b949-573eba70c7b3",
|
||||
"93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
|
||||
"09b0293b-faad-45c3-832d-7c8b615813aa",
|
||||
"9ae348a5-d0a6-42ed-8664-0da5f9effe34",
|
||||
"1a7a55a9-29f2-4b9f-8ea2-5a55afd7eacd"
|
||||
],
|
||||
"after": [
|
||||
"5b4daed9-b2f7-4de0-b949-573eba70c7b3",
|
||||
"93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
|
||||
"09b0293b-faad-45c3-832d-7c8b615813aa",
|
||||
"9ae348a5-d0a6-42ed-8664-0da5f9effe34",
|
||||
"1a7a55a9-29f2-4b9f-8ea2-5a55afd7eacd"
|
||||
]
|
||||
},
|
||||
"originalRows": "exact except declared project positions, sequence and validated public metadata",
|
||||
"keysReadOrResaved": false,
|
||||
"completed": [
|
||||
"react",
|
||||
"python"
|
||||
],
|
||||
"samples": [
|
||||
{
|
||||
"kind": "react",
|
||||
"success": true,
|
||||
"requests": 10,
|
||||
"usage": {
|
||||
"requests": 10,
|
||||
"inputTokens": 168533,
|
||||
"outputTokens": 5269,
|
||||
"totalTokens": 173802,
|
||||
"unknownRequests": 0,
|
||||
"estimatedUnknownTokens": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "python",
|
||||
"success": true,
|
||||
"requests": 10,
|
||||
"usage": {
|
||||
"requests": 10,
|
||||
"inputTokens": 184463,
|
||||
"outputTokens": 9100,
|
||||
"totalTokens": 193563,
|
||||
"unknownRequests": 0,
|
||||
"estimatedUnknownTokens": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"inspectorClosed": true,
|
||||
"purgeExecuted": false
|
||||
},
|
||||
"purgeExecuted": false,
|
||||
"cacheCausalBenefit": "unknown",
|
||||
"historicalSamplesReplayed": false,
|
||||
"keysReadOrResaved": false,
|
||||
"limitations": [
|
||||
"Terminal Git is independently verified; no internal delivery_job was registered.",
|
||||
"Python built-in check selected a different interpreter without pytest; its original failure remains.",
|
||||
"Reported cached tokens and repeated reads describe these samples only."
|
||||
]
|
||||
},
|
||||
"evidence": {
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-engineering-ae",
|
||||
"files": 225,
|
||||
"bytes": 52216677,
|
||||
"excluded": [
|
||||
"react/project/node_modules"
|
||||
],
|
||||
"manifestSha256": "96cbae9ba4ddf6dcb08e75d784eab6ef2f5aab02a30307f756c2573a66d009f4"
|
||||
}
|
||||
}
|
||||
@@ -1940,3 +1940,5 @@ c9c77c7e首完整候选完成三归档、710输入ZIP离线重建22/22和实际S
|
||||
AD驱动初次本机夹具失败在连接health由unverified转responded的错误exact断言;原结果ad-driver-5e252008保留,尚未冻结/执行真实AD。
|
||||
|
||||
AD现已完成并封存216份60197251字节。真实兼容8/10,jojocode/Claude目录网络异常及Claude缺max_tokens的两次400保持。DeepSeek新Node11请求180554tokens、9/9/build/三模块Git88bb25cb、全部owner/index通过,0人工审批/继续;原高性能池恢复。首Node审计末尾换行假设错误保留,按真实atomicJson精确逆算原SHA后审计node-577d9308通过,原46111行/105导出/工件保持。下步另冻AE React/Python,Purge仍待前置。
|
||||
|
||||
AE已封存225份52216677字节:React/Python均10请求、合计367365tokens/0unknown,自主原检查/实际页面及限定Git/owner/index独立通过。Python原内置检查误选无pytest的Hermes环境,失败保留,模型自主用目标提供的现成解释器验证成功;两例内部交付job缺失保持。最终审计原48100行/116导出/工件精确保留,新增2项目2会话均归属AE,原池与配置恢复、正式空闲/9229关闭。下一先本机核对开放原版引擎,再另冻PurgeAB/BA。
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import assert from 'node:assert/strict';
|
||||
import { engineeringEvidence, root, read, save, sha } from '../live-ad/common.mjs';
|
||||
|
||||
engineeringEvidence();
|
||||
const auditPath = 'audits/react-python-3f300ee4-539a-46aa-94d9-e00b5aa8aef6/result.json';
|
||||
const audit = read(auditPath);
|
||||
assert.equal(audit.success, true);
|
||||
assert.deepEqual(audit.completed, ['react', 'python']);
|
||||
const samples = [], proofs = [];
|
||||
for (const kind of ['react', 'python']) {
|
||||
const result = read(kind + '/result.json'), state = read(kind + '/session.json'), attempts = read(kind + '/attempts.json');
|
||||
assert.equal(result.success, true);
|
||||
assert.equal(result.ownerBytesAndIndexPreserved, true);
|
||||
assert.equal(result.requests, attempts.length);
|
||||
assert.equal(result.usage.unknownRequests, 0);
|
||||
for (const attempt of attempts) {
|
||||
assert.equal(attempt.status, 'completed');
|
||||
assert.equal(attempt.modelIdentity.complete, true);
|
||||
assert.equal(attempt.modelIdentity.status, 'matched');
|
||||
for (const type of ['request', 'response']) {
|
||||
const capture = result.captures.filter(row => row.attemptId === attempt.id && row.kind === type);
|
||||
assert.equal(capture.length, 1);
|
||||
const bytes = fs.readFileSync(path.join(root, capture[0].path));
|
||||
assert.equal(bytes.length, capture[0].bytes);
|
||||
assert.equal(sha(bytes), attempt[type + 'Sha256']);
|
||||
assert.equal(sha(bytes), capture[0].sha256);
|
||||
if (type === 'request') {
|
||||
const body = JSON.parse(bytes);
|
||||
assert.ok(['max_tokens', 'max_output_tokens', 'max_completion_tokens'].every(key => !Object.hasOwn(body, key)));
|
||||
const plan = state.execution.contextPlans.find(row => row.id === attempt.requestId);
|
||||
const variant = plan.prefixAudit.variants.find(row => row.connectionId === attempt.connectionId);
|
||||
assert.equal(plan.prefixAudit.schemaVersion, 2);
|
||||
assert.equal(sha(JSON.stringify(body.tools)), variant.toolsSha256);
|
||||
assert.equal(Buffer.byteLength(JSON.stringify(body.tools)), variant.toolBytes);
|
||||
proofs.push({ kind, attemptId: attempt.id, planId: plan.id, toolCount: body.tools.length,
|
||||
toolSha256: variant.toolsSha256, toolBytes: variant.toolBytes,
|
||||
commonPrefixBytes: variant.commonPrefixBytes, firstChangedPath: variant.firstChange?.path ?? null });
|
||||
}
|
||||
}
|
||||
}
|
||||
const reports = state.events.filter(row => row.tool === 'delivery_report' && row.phase === 'completed')
|
||||
.map(row => JSON.parse(row.output));
|
||||
const reads = state.events.filter(row => row.tool === 'read_file' && row.phase === 'completed').map(row => row.input);
|
||||
samples.push({ kind, success: result.success, commit: result.commit, committedPaths: result.committedPaths,
|
||||
checks: result.final, browser: result.browser, requests: result.requests, usage: result.usage,
|
||||
reportedCachedInputTokens: attempts.reduce((sum, row) => sum + (row.usage?.prompt_tokens_details?.cached_tokens ?? 0), 0),
|
||||
elapsedMs: Date.parse(state.execution.run.finishedAt) - Date.parse(state.execution.run.startedAt),
|
||||
reads, repeatedReadInputCount: reads.length - new Set(reads.map(row => JSON.stringify(row))).size,
|
||||
internalChecks: state.execution.checks.map(row => ({ id: row.id, status: row.status,
|
||||
results: row.results.map(check => ({ name: check.name, status: check.status, exitCode: check.exitCode,
|
||||
executable: check.python?.executable ?? null, logExcerpt: check.status === 'failed' ? check.logExcerpt : null })) })),
|
||||
internalDeliveryJobs: state.execution.deliveries.length, reports, terminalGit: true,
|
||||
ownerBytesAndIndexPreserved: true, supervisorApprovals: 0, supervisorContinuations: 0 });
|
||||
}
|
||||
const summary = { schema: 1, driverCommit: read('current.json').driverCommit, version: '1.25.8',
|
||||
realModelRequests: samples.reduce((sum, row) => sum + row.requests, 0),
|
||||
reportedTokens: samples.reduce((sum, row) => sum + row.usage.totalTokens, 0), unknownRequests: 0,
|
||||
samples, prefixProofs: proofs, originalStateAudit: auditPath, originalStateAuditResult: audit,
|
||||
purgeExecuted: false, cacheCausalBenefit: 'unknown', historicalSamplesReplayed: false, keysReadOrResaved: false,
|
||||
limitations: ['Terminal Git is independently verified; no internal delivery_job was registered.',
|
||||
'Python built-in check selected a different interpreter without pytest; its original failure remains.',
|
||||
'Reported cached tokens and repeated reads describe these samples only.'] };
|
||||
save('summary.json', summary);
|
||||
const files = [], excluded = [];
|
||||
function walk(directory) {
|
||||
for (const entry of fs.readdirSync(directory, { withFileTypes: true })) {
|
||||
const file = path.join(directory, entry.name), relative = path.relative(root, file).replaceAll('\\', '/');
|
||||
if (entry.isDirectory() && entry.name === 'node_modules') { excluded.push(relative); continue; }
|
||||
if (entry.isDirectory()) walk(file);
|
||||
else {
|
||||
assert.ok(entry.isFile(), 'Only regular evidence entries are accepted.');
|
||||
const bytes = fs.readFileSync(file);
|
||||
files.push({ path: relative, bytes: bytes.length, sha256: sha(bytes) });
|
||||
}
|
||||
}
|
||||
}
|
||||
walk(root);
|
||||
files.sort((a, b) => a.path.localeCompare(b.path));
|
||||
const bytes = files.reduce((sum, row) => sum + row.bytes, 0);
|
||||
save('FINAL-MANIFEST.json', { schema: 1, files, bytes, excluded,
|
||||
scope: 'All AE requests/responses, source/Git, checks, screenshots and audits, including original failures. Reproducible node_modules excluded; previous evidence is not repackaged.' });
|
||||
for (const row of files) {
|
||||
const value = fs.readFileSync(path.join(root, row.path));
|
||||
assert.equal(value.length, row.bytes); assert.equal(sha(value), row.sha256);
|
||||
}
|
||||
fs.writeFileSync('docs/live-engineering-ae-evidence.json', JSON.stringify({ summary,
|
||||
evidence: { root, files: files.length, bytes, excluded, manifestSha256: sha(fs.readFileSync(path.join(root, 'FINAL-MANIFEST.json'))) } }, null, 2) + '\n', { flag: 'wx' });
|
||||
console.log(JSON.stringify({ success: true, requests: summary.realModelRequests, reportedTokens: summary.reportedTokens,
|
||||
unknown: 0, files: files.length, bytes, excluded }));
|
||||
+2
-2
@@ -1016,5 +1016,5 @@ F收尾:57d075e修正独立编译QA路径,6d09ac8封存差异;202610302320
|
||||
2. [complete] 纯源码/程序归档核对、717输入独立重建22/22、隔离管理器安装与两端UI。
|
||||
3. [complete] 唯一正式安装319241ms,保留原PID/Provider/连接、85项目105会话;正式网页/Electron回看后原状态再次exact,83份证据索引与发行身份封存。
|
||||
4. [complete] AD驱动/真实兼容与独立Node已封存:21请求199250报告tokens+2unknown,Node11请求9/9/build/Git88bb25cb及owner/index通过。
|
||||
5. [in_progress] AE另冻React/Python;本机复制基线准备与原失败通过,先React完整工程和实际页面,通过后Python。
|
||||
6. [pending] 两工程前置通过才另冻原版Purge AB/BA,收益仍unknown。
|
||||
5. [complete] AE React/Python均自主交付,原九/十测试、类型/构建/页面、限定Git与owner/index通过;20请求367365tokens/0unknown,225份证据和原数据审计封存。
|
||||
6. [in_progress] 两工程前置已通过;先验证开放worker/engine的0不限契约,再另冻原版Purge AB/BA,真实收益仍unknown。
|
||||
|
||||
Reference in New Issue
Block a user