docs(desktop): preserve runtime timestamp rejection and promote validated payload bytes

This commit is contained in:
Agent Workbench Dev
2026-10-31 13:32:55 +08:00
parent 659e032d5e
commit dd31eefc77
10 changed files with 90224 additions and 0 deletions
+5
View File
@@ -63,3 +63,8 @@ A–E原证据和五个提交保持。F把离线源码Electron运行、重建客
### 产品体验审查依据
用户更新UI规范后,采用product-ui-ux及其验收/体验审查指南收口,继续沿用既有frontend-design规则。主任务为打开桌面 → 复用所属后台宿主 → 读取/审批/检查/父审查/Git → 关闭重开继续观察原任务。已观察实际1.15宽窄桌面状态和React父检查/Git截图,中文与混合长路径、对象/状态/下一步明确,必要滚动与整页溢出分别判断。源码7窗口/9原生UI/16工程节点及B的真实保存/重启/HTTP结果证明交互与持久化,截图本身不代替流程验收。最终正式18页只读复验和实际安装窗口仍独立记录;不重做页面模板,也不从自有响应推断真实模型能力。
### 运行库时间字段与最终发行身份
标准重新打包的最终候选仅runtime/REA-RUNTIME.json发生字节差异;完整结构核对确认唯一字段为builtAt,其余代码、依赖、构建、基准与许可证完全相同。[原差异与失败](desktop-host-f-runtime-time-evidence.json)保留。最终说明发行采用已通过的不可变候选全部运行字节,并从当前Git文档生成新的外层清单、ZIP和精确安装器;仍执行完整字节等价、最终归档/便携/安装和正式保留状态验收。运行库沿用其原制作时间,外层发行记录本次真实时间。
@@ -0,0 +1,69 @@
{
"success": true,
"version": "1.15.0",
"freshCandidateAccepted": false,
"pairs": [
{
"kind": "portable",
"acceptedRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448",
"freshRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031052312636",
"originalRuntimeSha256": "b8f6fcb83713071b688ab7d1733e48cc124f69d72b4b84ec38a6e27cedb6283e",
"freshRuntimeSha256": "13406830cfbc05c933f9858bb33f69d09b7c6c107a0524d658a97f88e2ba240a",
"originalBuiltAt": "2026-10-31T04:36:22.133Z",
"freshBuiltAt": "2026-10-31T05:23:11.037Z",
"soleChangedRuntimeField": "/builtAt",
"identicalOtherRuntimeFiles": 10720
},
{
"kind": "source",
"acceptedRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031043622448",
"freshRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031052312636",
"originalRuntimeSha256": "b8f6fcb83713071b688ab7d1733e48cc124f69d72b4b84ec38a6e27cedb6283e",
"freshRuntimeSha256": "13406830cfbc05c933f9858bb33f69d09b7c6c107a0524d658a97f88e2ba240a",
"originalBuiltAt": "2026-10-31T04:36:22.133Z",
"freshBuiltAt": "2026-10-31T05:23:11.037Z",
"soleChangedRuntimeField": "/builtAt",
"identicalOtherRuntimeFiles": 10995
}
],
"files": [
{
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-equivalence-final-result.json",
"path": "docs/desktop-host-f-runtime-time/001-desktop-host-f-equivalence-final-result.json",
"bytes": 61005,
"sha256": "6fac6df9d26b1837885ef49ff1c5c933f83d9f48f93933d31420221d21d79f37"
},
{
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-f-equivalence-final-log.txt",
"path": "docs/desktop-host-f-runtime-time/002-desktop-host-f-equivalence-final-log.txt",
"bytes": 35106,
"sha256": "3613b9db5ef9117a3ebcc55b25accaf134044e50ecf6d39f5b30d99e42cb3077"
},
{
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\latest.json",
"path": "docs/desktop-host-f-runtime-time/003-latest.json",
"bytes": 2874,
"sha256": "ab9ee89cf4972fd569d8f9d5d50a51c532594a9acea785d2972ba34e062d2e05"
},
{
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031043622448\\runtime\\REA-RUNTIME.json",
"path": "docs/desktop-host-f-runtime-time/004-REA-RUNTIME.json",
"bytes": 1627668,
"sha256": "b8f6fcb83713071b688ab7d1733e48cc124f69d72b4b84ec38a6e27cedb6283e"
},
{
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031052312636\\runtime\\REA-RUNTIME.json",
"path": "docs/desktop-host-f-runtime-time/005-REA-RUNTIME.json",
"bytes": 1627668,
"sha256": "13406830cfbc05c933f9858bb33f69d09b7c6c107a0524d658a97f88e2ba240a"
},
{
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\record-desktop-f-runtime-time.mjs",
"path": "docs/desktop-host-f-runtime-time/006-record-desktop-f-runtime-time.mjs",
"bytes": 4942,
"sha256": "a58a3c18ddb53955218b803f257a6cf0e7609ea59dec0ca9d2cc2f437d106633"
}
],
"recordedAt": "2026-10-31T05:30:22.536Z",
"scope": "Original full equivalence failure is retained. All non-documentation bytes except REA runtime manifest matched; complete parsed manifests differ only at builtAt. The final documentation package will inherit all original accepted runtime bytes and generate new outer manifests/ZIPs/setup in new directories, followed by strict equivalence and exact final acceptance."
}
@@ -0,0 +1,3 @@
* -text
*.txt binary
*.log binary
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,70 @@
{
"portableRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031052312636",
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031052312636",
"portable": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031052312636.zip",
"bytes": 284639501,
"sha256": "f59e905d500e16a85ddc1e96073f4440e940891b244241490b22d8c2649d6d58"
},
"source": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-source-20261031052312636.zip",
"bytes": 284929734,
"sha256": "457278242fb8e199ae274323b86776d147c6b6f19fc278373a32edca2d0e0bdc"
},
"installer": {
"path": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\releases\\Agent-Workbench-1.15.0-win-x64-20261031052312636-Setup.exe",
"bytes": 253790008,
"sha256": "ee26af0b55d932a8282b89e2f4fab682637e4d7412fc438c378fd3b3eb42dbd0",
"compiler": {
"version": "6.3.1",
"sha256": "3b22d36fc7e7c421d8caf780008ecdb42b14b3f0371b9bafe3cad64e6648d9cf"
},
"source": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\installer-build-6f4667ce-ac56-4ab6-ae84-3734357481f5\\installer.iss",
"version": "1.15.0",
"candidateDirectory": "Agent-Workbench-1.15.0-win-x64-20261031052312636",
"qaFixture": null
},
"desktopRuntime": {
"version": "45.2.0",
"sha256": "010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab",
"bytes": 249810432,
"executable": "desktop/AgentWorkbench.exe",
"scope": "Fixed original Windows Electron runtime, full license texts, isolated application loader and native bootstrap; original executable hash unchanged."
},
"nativeLauncher": {
"bytes": 12288,
"sha256": "e3d31cb7ce5009d3ca5a96d04dc16b1add0bd1f5cde7e1304461de6713d37463",
"inputs": {
"compiler": "46809206887326d2d24db1eff1f3064de972c3451abe766b49111450a5e08e00",
"source": "1c8e7d7ee5c383897bec48e9aadb8051b47c09686f74bbf34e0b6b695cd01ae5",
"icon": "f1879074e45f01c480ad9bf50b818637cc60ad56526056c886f808a4812d7b0c"
},
"compiler": "Windows .NET Framework C# compiler; source-bound cached original output, no deterministic-build claim."
},
"nodeVersion": "v24.22.1",
"reaRuntime": {
"version": "6.8.0",
"protocolVersion": "2025-03-26",
"packages": 149,
"files": 8413,
"bytes": 142395402,
"lockSha256": "687fb3fa3089a12f239dd5e87d9fa07df55a87df4935931d495a92600a1b0f6e"
},
"portableFiles": 12205,
"licenseTexts": 86,
"browserRuntime": {
"playwrightVersion": "1.64.1",
"packages": [
{
"name": "playwright",
"version": "1.64.1",
"files": 60
},
{
"name": "playwright-core",
"version": "1.64.1",
"files": 115
}
]
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,36 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
const hash = bytes => createHash('sha256').update(bytes).digest('hex');
const read = file => JSON.parse(fs.readFileSync(file));
const accepted = read('.qa/desktop-host-f-accepted-code-release.json');
const fresh = read('releases/latest.json');
const source = read('.qa/desktop-host-f-accepted-source.json'); assert.equal(source.success, true);
const runner = read('.qa/desktop-host-f-equivalence-final-result.json'); assert.equal(runner.success, false); assert.equal(runner.unchangedInputs, true);
const docs = file => file.startsWith('docs/') || ['README.md', 'CHANGELOG.md', 'DESIGN.md', 'AGENTS.md', 'task_plan.md', 'findings.md', 'progress.md'].includes(file);
const pairs = [];
for (const kind of ['portable', 'source']) {
const before = read(path.join(accepted[kind + 'Root'], 'MANIFEST.json')), after = read(path.join(fresh[kind + 'Root'], 'MANIFEST.json'));
const a = new Map(before.files.filter(row => !docs(row.path)).map(row => [row.path, row])), b = new Map(after.files.filter(row => !docs(row.path)).map(row => [row.path, row]));
const changed = [...new Set([...a.keys(), ...b.keys()])].filter(file => JSON.stringify(a.get(file)) !== JSON.stringify(b.get(file)));
assert.deepEqual(changed, ['runtime/REA-RUNTIME.json']);
const original = read(path.join(accepted[kind + 'Root'], changed[0])), current = read(path.join(fresh[kind + 'Root'], changed[0]));
assert.notEqual(current.builtAt, original.builtAt); assert.deepEqual({ ...current, builtAt: original.builtAt }, original);
pairs.push({ kind, acceptedRoot: accepted[kind + 'Root'], freshRoot: fresh[kind + 'Root'], originalRuntimeSha256: a.get(changed[0]).sha256,
freshRuntimeSha256: b.get(changed[0]).sha256, originalBuiltAt: original.builtAt, freshBuiltAt: current.builtAt, soleChangedRuntimeField: '/builtAt', identicalOtherRuntimeFiles: a.size - 1 });
}
const directory = 'docs/desktop-host-f-runtime-time'; assert.equal(fs.existsSync(directory), false); fs.mkdirSync(directory);
fs.writeFileSync(path.join(directory, '.gitattributes'), '* -text\n*.txt binary\n*.log binary\n');
const inputs = ['.qa/desktop-host-f-equivalence-final-result.json', runner.log, 'releases/latest.json',
path.join(accepted.portableRoot, 'runtime/REA-RUNTIME.json'), path.join(fresh.portableRoot, 'runtime/REA-RUNTIME.json'), '.qa/record-desktop-f-runtime-time.mjs'];
const files = inputs.map((file, index) => {
const bytes = fs.readFileSync(file), destination = path.join(directory, String(index + 1).padStart(3, '0') + '-' + path.basename(file));
fs.writeFileSync(destination, bytes, { flag: 'wx' }); return { source: path.resolve(file), path: destination.replaceAll('\\', '/'), bytes: bytes.length, sha256: hash(bytes) };
});
const result = { success: true, version: '1.15.0', freshCandidateAccepted: false, pairs, files, recordedAt: new Date().toISOString(),
scope: 'Original full equivalence failure is retained. All non-documentation bytes except REA runtime manifest matched; complete parsed manifests differ only at builtAt. The final documentation package will inherit all original accepted runtime bytes and generate new outer manifests/ZIPs/setup in new directories, followed by strict equivalence and exact final acceptance.' };
fs.writeFileSync('docs/desktop-host-f-runtime-time-evidence.json', JSON.stringify(result, null, 2), { flag: 'wx' });
fs.appendFileSync('docs/RETROSPECTIVE-1.15.md', '\n\n### 运行库时间字段与最终发行身份\n\n标准重新打包的最终候选仅runtime/REA-RUNTIME.json发生字节差异;完整结构核对确认唯一字段为builtAt,其余代码、依赖、构建、基准与许可证完全相同。[原差异与失败](desktop-host-f-runtime-time-evidence.json)保留。最终说明发行采用已通过的不可变候选全部运行字节,并从当前Git文档生成新的外层清单、ZIP和精确安装器;仍执行完整字节等价、最终归档/便携/安装和正式保留状态验收。运行库沿用其原制作时间,外层发行记录本次真实时间。\n');
fs.appendFileSync('progress.md', '\n\nF最终说明包首次全字节对照拒绝REA运行清单的builtAt时间变化,原失败日志和两份完整清单已封存,结构比较只此字段变化。最终包从已验收候选继承全部运行字节,加入当前说明后生成全新清单/ZIP/安装器;原候选保持,不改变360源码/测试/构建输入或491项/179组原结果。文档同步首次过期计划段落匹配中止后,保留已完成的三个文档并从当前F段落续写,未触碰产品或正式服务。\n');
console.log(JSON.stringify({ success: true, freshCandidateAccepted: false, pairs: pairs.map(row => ({ kind: row.kind, field: row.soleChangedRuntimeField, identicalOtherRuntimeFiles: row.identicalOtherRuntimeFiles })), files: files.length }));
+3
View File
@@ -686,3 +686,6 @@ A–E提交与原证据已核对,HEAD b77783b。统一1.15版本/独立证据
## 2026-10-31 F独立源码与历史界面收口
首候选484/484后实际Electron失败,原结果封存;d005344修复源码loader与跨盘登记来源,c93515c保存新360输入/12构建/40基准。新不可变20261031043622448独立离线安装/重建/十阶段/491测试、窗口7/原生UI9/三工程16节点与父8/8、9/9、10/10通过;修复后完整历史UI23类179组通过并按原字节封存。最终说明包只允许说明变化,产品/测试/依赖/许可证全部逐字节一致才复用源码结果;便携、精确安装器和保留状态正式升级继续执行。正式仍1.14/PID23172,此处未宣称安装或部署完成。
F最终说明包首次全字节对照拒绝REA运行清单的builtAt时间变化,原失败日志和两份完整清单已封存,结构比较只此字段变化。最终包从已验收候选继承全部运行字节,加入当前说明后生成全新清单/ZIP/安装器;原候选保持,不改变360源码/测试/构建输入或491项/179组原结果。文档同步首次过期计划段落匹配中止后,保留已完成的三个文档并从当前F段落续写,未触碰产品或正式服务。