fix: preserve working sources ahead of historical metadata

This commit is contained in:
Agent Workbench Dev
2026-10-30 02:04:11 +08:00
parent b398348c5a
commit 86c236ac77
40 changed files with 1033 additions and 38 deletions
+2
View File
@@ -92,6 +92,8 @@
## 3. 当前实现的源码锚点
1.6.2补充C04/C12/C13/C15:工作依据优先于大历史定位页,同SHA256的更宽实际读取可复用;原结果导航、视图版本与单独保留预算进入封存和报告。旧版完整来源发送视图保持可核验。具体回归、独立发行与实际Task续接见[QA-1.6.2](QA-1.6.2.md)。
- [provider.mjs](../src/server/provider.mjs):固定工具定义、有界项目/诊断状态、实际正文指纹核对及非流式模型请求;[request-plan.mjs](../src/core/context/request-plan.mjs)负责完整请求预算、协议组选择、可核验封存和历史追溯。
- [runtime.mjs](../src/server/runtime.mjs):有限循环、内存active/waiters、命令审批与60秒进程生命周期。
- [store.mjs](../src/server/store.mjs):SQLite任务与事件、旧JSON迁移、备份与重启状态处理。
+10
View File
@@ -43,3 +43,13 @@ read_file也按本轮实际双层JSON消息预算生成页面。保留文件SHA2
请求计划优先选择近期直接代码/原结果组,并提供有界working_evidence定位。目标、追加要求和完整协议仍按原契约保留;不能容纳的原大结果仍整体封存,不宣称所有任意大小工具组都能进入模型窗口。
Task保存有界工件覆盖区间、重复次数和最近读取身份。连续3次读取已完整覆盖区间或连续追逐6个更新历史索引时,以no_progress暂停,所有已执行结果先保存并完成工具配对。读取新区间或取得直接证据会结束重复序列;显式续接清除暂停序列,保留已读证据与同Task身份。此检测针对工件读取,尚不是通用任务调度/语义无进展判断。
## 1.6.2:依据保留、视图版本与原始引用
实际1.6.1续接显示,newest/priority整组先占满预算时,工作依据仍会被挤出。现在先核对所有当前Task观察,为其他小文件留出空间,历史定位或工具包装大页不能取得优先席位。观察先入预算,再补完整历史组;小文件/要求优先全文,较长观察仍受窗口限制。同一SHA256版本选择已实际读过的更宽内容,并保留不重叠的新页;不同读取版本或已失效检查不混合。
context-working-set仍保存完整调用、Run、消息组和原结果/摘录身份。workingSetViewVersion=2的发送视图减少重复来源字段,保留原结果入口、文件版本、范围和实际内容;verifyPlanEvidence由同一原工件重建发送视图。旧1.6.1无此字段时按版本1的完整来源消息核对,历史正文不改写。
workingRetentionTokens为下一页显式保留最多2048tokens的小文件依据空间,独立于mandatoryInputTokens,并纳入封存和报告。read_file/read_artifact仍按剩余实际JSON字节分页。历史read_artifact导航给出输入中的原artifact_id、offset/next_offset,不再指向该次调用新生成的包装result_artifact_id。
原失败后续请求的离线投影见[单次末轮](working-retention-frozen-replay.json)和[多轮](working-retention-multiple-replay.json),各项全文/摘录和估算分别记录;0模型/命令执行不能替代真实工程验收。
+11
View File
@@ -0,0 +1,11 @@
# 1.6.2 验收记录
本切片继续原工作区Task的真实失败,优先修复依据保留顺序、同版本较宽观察和工件包装导航。发送视图版本2与旧版本1分别核对,原始消息、工具和已报告用量保持。正式4318当前仍为已验证1.6.1,等待1.6.2独立源码和不可变发行验收。
三个可复现回归在修复前均失败,修复后3/3通过;42项上下文/工件/API/Runtime及旧视图兼容专项通过,另一个实际HTTP三请求场景通过,确认四模块在后来历史页之后仍可见、源文件字节保留。版本/模型说明微调后的最终完整源码计划有205项,须以独立包实际结果验收。
[真实末轮的离线投影](working-retention-frozen-replay.json)同16000窗口/12352输入预算,四模块、测试4389字符及构建593字符全文可见,原结果及协议核对通过;输入估算仍为12352。0模型/命令执行,不作为费用下降或工程完成证据。多轮离线回放首轮误导入未复制blob的旧归档,触发ENOENT;改为只导入根工件kind元数据并由冻结结果重建归档,保留首轮日志后复验。
七个真实后续请求的[冻结回放](working-retention-multiple-replay.json)全部通过:121–148条原消息分别投影,四模块和完整README要求始终可见;测试/构建的全文或摘录逐项记录,0模型/命令执行。代码与旧视图专项及先失败后修复的日志身份见[专项记录](working-retention-tests-validation.json)。
74组独立界面已通过,0页面/请求异常,具体见[界面总表](working-retention-all-ui-validation.json);[桌面](screenshots/working-retention-desktop-working-evidence.png)与[390px](screenshots/working-retention-mobile-working-evidence.png)已目视核对。不可变包、205项独立源码、原PID升级与原失败Task的真实续接依次验收;Python/React及其他产品能力按完整路线继续。
Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

@@ -0,0 +1,73 @@
{
"success": true,
"version": "1.6.2",
"at": "2026-10-29T17:56:31.002Z",
"groups": 74,
"results": [
{
"script": "verify-ui.mjs",
"success": true,
"groups": 10,
"durationMs": 19150,
"evidence": "docs/working-retention-basic-ui-validation.json",
"log": ".qa/working-retention-verify-ui.log"
},
{
"script": "verify-diagnostics-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 19503,
"evidence": "docs/working-retention-diagnostics-ui-validation.json",
"log": ".qa/working-retention-verify-diagnostics-ui.log"
},
{
"script": "verify-execution-ui.mjs",
"success": true,
"groups": 7,
"durationMs": 24680,
"evidence": "docs/working-retention-execution-ui-validation.json",
"log": ".qa/working-retention-verify-execution-ui.log"
},
{
"script": "verify-delivery-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 36158,
"evidence": "docs/working-retention-delivery-ui-validation.json",
"log": ".qa/working-retention-verify-delivery-ui.log"
},
{
"script": "verify-index-ui.mjs",
"success": true,
"groups": 8,
"durationMs": 5730,
"evidence": "docs/working-retention-index-ui-validation.json",
"log": ".qa/working-retention-verify-index-ui.log"
},
{
"script": "verify-change-sets-ui.mjs",
"success": true,
"groups": 11,
"durationMs": 10846,
"evidence": "docs/working-retention-change-sets-ui-validation.json",
"log": ".qa/working-retention-verify-change-sets-ui.log"
},
{
"script": "verify-context-ui.mjs",
"success": true,
"groups": 11,
"durationMs": 21129,
"evidence": "docs/working-retention-context-ui-validation.json",
"log": ".qa/working-retention-verify-context-ui.log"
},
{
"script": "verify-workspaces-ui.mjs",
"success": true,
"groups": 9,
"durationMs": 22749,
"evidence": "docs/working-retention-workspaces-ui-validation.json",
"log": ".qa/working-retention-verify-workspaces-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:57316",
"browser": "Microsoft Edge 156.0.4314.42",
"date": "2026-10-29T17:54:09.050Z",
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\ui-aa730f74-3b5c-4761-9831-eb1358dff512\\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.6.2",
"testedAt": "2026-10-29T17:55:46.677Z",
"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/working-retention-batch-desktop-review.png",
".qa/screenshots/working-retention-batch-desktop-conflict.png",
".qa/screenshots/working-retention-batch-desktop-recovery.png",
".qa/screenshots/working-retention-batch-mobile-review.png",
".qa/screenshots/working-retention-batch-mobile-rollback.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-2bcf000c-97df-461d-b6e9-b940c64dec8d",
"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,29 @@
{
"success": true,
"version": "1.6.2",
"testedAt": "2026-10-29T17:55:46.677Z",
"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/working-retention-batch-desktop-review.png",
".qa/screenshots/working-retention-batch-desktop-conflict.png",
".qa/screenshots/working-retention-batch-desktop-recovery.png",
".qa/screenshots/working-retention-batch-mobile-review.png",
".qa/screenshots/working-retention-batch-mobile-rollback.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-2bcf000c-97df-461d-b6e9-b940c64dec8d",
"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.6.2",
"testedAt": "2026-10-29T17:56:07.065Z",
"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/working-retention-desktop-plan.png",
".qa/screenshots/working-retention-desktop-history.png",
".qa/screenshots/working-retention-mobile-history.png",
".qa/screenshots/working-retention-mobile-original.png",
".qa/screenshots/working-retention-mobile-request-body.png",
".qa/screenshots/working-retention-mobile-read-pause.png",
".qa/screenshots/working-retention-desktop-working-evidence.png",
".qa/screenshots/working-retention-mobile-working-evidence.png"
],
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-bfa9694d-e36e-4e90-aa8d-46fb1ac2c78e",
"data": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-bfa9694d-e36e-4e90-aa8d-46fb1ac2c78e\\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.6.2",
"testedAt": "2026-10-29T17:55:29.916Z",
"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-f782395f-61b7-440c-9999-fe5518e124bb\\四模块交付工程",
"projectId": "fd395746-0fa7-4fd5-93a1-76994801779f",
"sessionId": "29d83f7d-33f3-4fa1-b3f6-78a1400d8845",
"taskId": "4dad1097-23c6-4cbe-8d1a-4e5e16a93d48",
"commit": "bcadddc150dfb6c5a4b78f2b3c941f2522c86056",
"recoveryCommit": "9e35a13224f3b186388cc60eaa1c9fe2bb18ae72",
"testCounts": {
"baselineFailed": 13,
"passed": 14
},
"model": "controlled local HTTP fixture",
"confirmations": 2
}
@@ -0,0 +1,20 @@
{
"success": true,
"version": "1.6.2",
"url": "http://127.0.0.1:57767",
"date": "2026-10-29T17:54:28.807Z",
"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,19 @@
{
"success": true,
"version": "1.6.2",
"testedAt": "2026-10-29T17:54:53.721Z",
"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-0fe136fc-bd70-47c4-b138-183706128f47\\project",
"model": "controlled local HTTP fixture"
}
+69
View File
@@ -0,0 +1,69 @@
{
"success": true,
"testedAt": "2026-10-29T17:50:54.625Z",
"mode": "offline-frozen-context-projection",
"originalSessionId": "4442eee6-8b68-4bb5-a39c-9cafbaeb9eb8",
"originalTaskId": "dd84a544-c444-485c-aa53-db9b74ffb9c8",
"originalRequestSha256": "66b28517d95753fc8a4339ed9ad7e134ad276e75a5f0730da1446d5f26b31944",
"originalMessagesSha256": "bd2121071c9b1ee5a8c402a1a2ced993f4f366db362663e52fcdc9060e046dbe",
"originalEstimatedInputTokens": 12352,
"newEstimatedInputTokens": 12352,
"inputBudget": 12352,
"retainedGroups": [
0
],
"workingSetEntries": 8,
"sixPreviouslyUnseenReads": [
{
"path": "src/normalize.mjs",
"callId": "call_jCLPhYKEq8dpxVS2WBfAX7rz",
"rawGroupSent": false,
"observationSent": true,
"sentCharacters": 134,
"originalCharacters": 134
},
{
"path": "src/summary.mjs",
"callId": "call_MboyAdMLqaDiw8OyZuHypupL",
"rawGroupSent": false,
"observationSent": true,
"sentCharacters": 273,
"originalCharacters": 273
},
{
"path": "src/render.mjs",
"callId": "call_2fezNY4ko0cNud31vxNxOT5p",
"rawGroupSent": false,
"observationSent": true,
"sentCharacters": 98,
"originalCharacters": 98
},
{
"path": "src/cli.mjs",
"callId": "call_QFEiitipvCUHfeNYcr2IR1sK",
"rawGroupSent": false,
"observationSent": true,
"sentCharacters": 349,
"originalCharacters": 349
},
{
"path": "test/delivery.test.mjs",
"callId": "call_DqKr29Q3sMBjYOYNLA8ZEtq8",
"rawGroupSent": false,
"observationSent": true,
"sentCharacters": 4389,
"originalCharacters": 4389
},
{
"path": "scripts/build.mjs",
"callId": "call_RI7eC8S3kxZ92Yqjo1NZNxev",
"rawGroupSent": false,
"observationSent": true,
"sentCharacters": 593,
"originalCharacters": 593
}
],
"protocolAndSourceVerified": true,
"modelRequests": 0,
"note": "Original result bytes were copied into an isolated evidence store for projection only. No command or model request was executed. Local estimates are not actual tokens or cost savings."
}
@@ -0,0 +1,19 @@
{
"checkedAt": "2026-10-29T17:55:35.866Z",
"version": "1.6.2",
"passed": [
"工程索引可独立于任务使用,实际覆盖范围与损坏文件显示明确",
"真实AST查询打开原文件第181行并仅滚动代码容器,输入区和顶部保持可见",
"查询词保留;过期SHA不高亮旧位置,增量刷新后正确定位第184行",
"切换项目时延迟返回的旧索引不覆盖新项目结果",
"Python候选、字符串误报排除和局部导入文件候选保留真实证据标签",
"两处唯一锚点成为待审核提案,真实界面应用后BOM/CRLF和未选择原字节保留",
"390px索引查询、范围和完整指纹可读且无横向溢出,实际文件行定位通过",
"索引刷新失败保留归属和解释,旧结果禁用并可重试恢复"
],
"pageErrors": [],
"requestFailures": [],
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\index-ui-7f04812c-ec62-4c3d-8f0a-6d17b57a01f3",
"primaryProjectId": "c1f71ffd-83ed-4060-b6c8-35b286f3e113",
"otherProjectId": "0da4e764-ecac-4e4f-a081-8e9d779116a3"
}
+349
View File
@@ -0,0 +1,349 @@
{
"success": true,
"version": "1.6.2",
"at": "2026-10-29T18:00:53.684Z",
"mode": "offline-frozen-late-request-projection",
"originalTaskId": "dd84a544-c444-485c-aa53-db9b74ffb9c8",
"originalSessionId": "4442eee6-8b68-4bb5-a39c-9cafbaeb9eb8",
"cases": [
{
"originalRequestSha256": "c6715ef8ecae8508a4641b1090a08613de35fbbe7936ec09930e9d6d8f057ed9",
"originalMessageCount": 121,
"historySha256": "74f13abf13bb484a8d49ada337a637dad595a0b14f17405b00ec274ca0252f87",
"originalEstimatedInputTokens": 12273,
"estimatedInputTokens": 12269,
"inputBudget": 12352,
"workingRetentionTokens": 2048,
"files": [
{
"path": "src/normalize.mjs",
"sentCharacters": 134,
"originalCharacters": 134,
"complete": true
},
{
"path": "src/summary.mjs",
"sentCharacters": 273,
"originalCharacters": 273,
"complete": true
},
{
"path": "src/render.mjs",
"sentCharacters": 98,
"originalCharacters": 98,
"complete": true
},
{
"path": "src/cli.mjs",
"sentCharacters": 349,
"originalCharacters": 349,
"complete": true
},
{
"path": "test/delivery.test.mjs",
"sentCharacters": 4389,
"originalCharacters": 4389,
"complete": true
},
{
"path": "scripts/build.mjs",
"sentCharacters": 593,
"originalCharacters": 593,
"complete": true
}
],
"completeRequirements": true
},
{
"originalRequestSha256": "7c071b7e8a4da715721f6b90d591077f3b2044bfa0c3c13267451434416ba07e",
"originalMessageCount": 128,
"historySha256": "31815b2f02b17172f7f588467a2ef377d651e35d6b3d8cfddbcae1e00a457527",
"originalEstimatedInputTokens": 12255,
"estimatedInputTokens": 12352,
"inputBudget": 12352,
"workingRetentionTokens": 1463,
"files": [
{
"path": "src/normalize.mjs",
"sentCharacters": 134,
"originalCharacters": 134,
"complete": true
},
{
"path": "src/summary.mjs",
"sentCharacters": 273,
"originalCharacters": 273,
"complete": true
},
{
"path": "src/render.mjs",
"sentCharacters": 98,
"originalCharacters": 98,
"complete": true
},
{
"path": "src/cli.mjs",
"sentCharacters": 349,
"originalCharacters": 349,
"complete": true
},
{
"path": "test/delivery.test.mjs",
"sentCharacters": 1487,
"originalCharacters": 4389,
"complete": false
},
{
"path": "scripts/build.mjs",
"sentCharacters": 593,
"originalCharacters": 593,
"complete": true
}
],
"completeRequirements": true
},
{
"originalRequestSha256": "8a3627bc74af12f48172850d7794133014d46457e33d60cfb7d793f3055c8cda",
"originalMessageCount": 132,
"historySha256": "5248e20f78aebbe9947ed2e80c3837dc8d75087a07cd7eab2155ccb270059b75",
"originalEstimatedInputTokens": 12131,
"estimatedInputTokens": 12352,
"inputBudget": 12352,
"workingRetentionTokens": 2048,
"files": [
{
"path": "src/normalize.mjs",
"sentCharacters": 134,
"originalCharacters": 134,
"complete": true
},
{
"path": "src/summary.mjs",
"sentCharacters": 273,
"originalCharacters": 273,
"complete": true
},
{
"path": "src/render.mjs",
"sentCharacters": 98,
"originalCharacters": 98,
"complete": true
},
{
"path": "src/cli.mjs",
"sentCharacters": 349,
"originalCharacters": 349,
"complete": true
},
{
"path": "test/delivery.test.mjs",
"sentCharacters": 4389,
"originalCharacters": 4389,
"complete": true
},
{
"path": "scripts/build.mjs",
"sentCharacters": 593,
"originalCharacters": 593,
"complete": true
}
],
"completeRequirements": true
},
{
"originalRequestSha256": "bd16064b6adb638e016bd2006ec0eec57ee079f7def7ab0c9fefe2d816df89b8",
"originalMessageCount": 140,
"historySha256": "d9b427b505200a30f6d9dc7db89c395117f24ea4291caf04c8871699f022f36c",
"originalEstimatedInputTokens": 12080,
"estimatedInputTokens": 12274,
"inputBudget": 12352,
"workingRetentionTokens": 2048,
"files": [
{
"path": "src/normalize.mjs",
"sentCharacters": 134,
"originalCharacters": 134,
"complete": true
},
{
"path": "src/summary.mjs",
"sentCharacters": 273,
"originalCharacters": 273,
"complete": true
},
{
"path": "src/render.mjs",
"sentCharacters": 98,
"originalCharacters": 98,
"complete": true
},
{
"path": "src/cli.mjs",
"sentCharacters": 349,
"originalCharacters": 349,
"complete": true
},
{
"path": "test/delivery.test.mjs",
"sentCharacters": 4389,
"originalCharacters": 4389,
"complete": true
},
{
"path": "scripts/build.mjs",
"sentCharacters": 593,
"originalCharacters": 593,
"complete": true
}
],
"completeRequirements": true
},
{
"originalRequestSha256": "fd3dce4627e29a9a83b98651085448cf7184d54dbc61662cfdc3505c8ac92b23",
"originalMessageCount": 142,
"historySha256": "b2098c9a5634952d704d1db51baff1b903c1a943cae9e750080cf1528829187c",
"originalEstimatedInputTokens": 11863,
"estimatedInputTokens": 12303,
"inputBudget": 12352,
"workingRetentionTokens": 2048,
"files": [
{
"path": "src/normalize.mjs",
"sentCharacters": 134,
"originalCharacters": 134,
"complete": true
},
{
"path": "src/summary.mjs",
"sentCharacters": 273,
"originalCharacters": 273,
"complete": true
},
{
"path": "src/render.mjs",
"sentCharacters": 98,
"originalCharacters": 98,
"complete": true
},
{
"path": "src/cli.mjs",
"sentCharacters": 349,
"originalCharacters": 349,
"complete": true
},
{
"path": "test/delivery.test.mjs",
"sentCharacters": 4389,
"originalCharacters": 4389,
"complete": true
},
{
"path": "scripts/build.mjs",
"sentCharacters": 593,
"originalCharacters": 593,
"complete": true
}
],
"completeRequirements": true
},
{
"originalRequestSha256": "9e9a9ba0ec5e73d4fea26695eb4d997f01ba8431790c221861f1da15524d350f",
"originalMessageCount": 146,
"historySha256": "e37fe30f0e386c0722b563b139931abaa9d34414f1559950e0ca57fef9a5e62f",
"originalEstimatedInputTokens": 12229,
"estimatedInputTokens": 12352,
"inputBudget": 12352,
"workingRetentionTokens": 2048,
"files": [
{
"path": "src/normalize.mjs",
"sentCharacters": 134,
"originalCharacters": 134,
"complete": true
},
{
"path": "src/summary.mjs",
"sentCharacters": 273,
"originalCharacters": 273,
"complete": true
},
{
"path": "src/render.mjs",
"sentCharacters": 98,
"originalCharacters": 98,
"complete": true
},
{
"path": "src/cli.mjs",
"sentCharacters": 349,
"originalCharacters": 349,
"complete": true
},
{
"path": "test/delivery.test.mjs",
"sentCharacters": 4389,
"originalCharacters": 4389,
"complete": true
},
{
"path": "scripts/build.mjs",
"sentCharacters": 593,
"originalCharacters": 593,
"complete": true
}
],
"completeRequirements": true
},
{
"originalRequestSha256": "66b28517d95753fc8a4339ed9ad7e134ad276e75a5f0730da1446d5f26b31944",
"originalMessageCount": 148,
"historySha256": "bd2121071c9b1ee5a8c402a1a2ced993f4f366db362663e52fcdc9060e046dbe",
"originalEstimatedInputTokens": 12352,
"estimatedInputTokens": 12352,
"inputBudget": 12352,
"workingRetentionTokens": 2048,
"files": [
{
"path": "src/normalize.mjs",
"sentCharacters": 134,
"originalCharacters": 134,
"complete": true
},
{
"path": "src/summary.mjs",
"sentCharacters": 273,
"originalCharacters": 273,
"complete": true
},
{
"path": "src/render.mjs",
"sentCharacters": 98,
"originalCharacters": 98,
"complete": true
},
{
"path": "src/cli.mjs",
"sentCharacters": 349,
"originalCharacters": 349,
"complete": true
},
{
"path": "test/delivery.test.mjs",
"sentCharacters": 4389,
"originalCharacters": 4389,
"complete": true
},
{
"path": "scripts/build.mjs",
"sentCharacters": 593,
"originalCharacters": 593,
"complete": true
}
],
"completeRequirements": true
}
],
"modelRequests": 0,
"commandsExecuted": 0,
"note": "Frozen result bytes are mapped to an isolated Store for deterministic selection only. All four modules and observed README requirements remain complete. Test/build excerpts and local estimates are reported individually; no task success or cost benefit is inferred."
}
@@ -0,0 +1,64 @@
{
"success": true,
"version": "1.6.2",
"recordedAt": "2026-10-29T18:01:39.111Z",
"checks": [
{
"log": ".qa/working-retention-targeted.log",
"sha256": "e8a1c1609e9bdddd97dc363d16617447d70f1bcd0c86cf65df21c8a0c3f00b30",
"stats": {
"tests": 42,
"pass": 42,
"fail": 0,
"cancelled": 0,
"skipped": 0,
"todo": 0
}
},
{
"log": ".qa/working-retention-http.log",
"sha256": "268293f90200722bbfec64757b38f8c96a06b6fec61cdabf953d3be341005a66",
"stats": {
"tests": 1,
"pass": 1,
"fail": 0,
"cancelled": 0,
"skipped": 0,
"todo": 0
}
}
],
"scope": "42 core/legacy-view cases plus 1 separate HTTP four-module retention case; final version and explanatory provider text were then updated. Full independent final source-package validation is separate and must contain 205 tests.",
"regressions": {
"before": {
"log": ".qa/working-retention-regression-before.log",
"sha256": "2310ccc9fb5ebc013d88fc8727e7dac7aeaa7f5d925a23a9398b46d86eb70506",
"stats": {
"tests": 3,
"pass": 0,
"fail": 3,
"cancelled": 0,
"skipped": 0,
"todo": 0
}
},
"after": {
"log": ".qa/working-retention-regression-after.log",
"sha256": "670617bc5533502c385d2240f9152c68c43abb3664f5e78e13da7833ed89e824",
"stats": {
"tests": 3,
"pass": 3,
"fail": 0,
"cancelled": 0,
"skipped": 0,
"todo": 0
}
}
},
"ui": {
"evidence": "docs/working-retention-all-ui-validation.json",
"groups": 74,
"desktopAnd390pxViewed": true
},
"buildLogSha256": "99fe2d95e64a7a20d6a59a87accbe13d5371557916e29830d5c7850ab5dc72e1"
}
@@ -0,0 +1,28 @@
{
"success": true,
"version": "1.6.2",
"at": "2026-10-29T17:56:30.506Z",
"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/working-retention-workspaces-review-desktop.png",
".qa/screenshots/working-retention-workspaces-ready-desktop.png",
".qa/screenshots/working-retention-workspaces-recovery-desktop.png",
".qa/screenshots/working-retention-workspaces-review-mobile.png",
".qa/screenshots/working-retention-workspaces-child-mobile.png"
],
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workspace-ui-d0529ada-9358-404c-a916-a3403c8abb7a",
"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."
}