fix: retain verifiable task observations within context budgets
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Agent Workbench 能力目标与验收矩阵
|
||||
|
||||
日期:2026-10-29。1.0.0为基础里程碑,1.1.0实现M1,1.2.0增加内置Git交付,1.3.0增加工程索引和精确补丁,1.4.0增加可恢复多文件变更集,1.5.0/1.5.1增加有界请求与可用工件分页,1.6.0增加独立Git工作区和审查收尾。下表保留1.0.0缺口与完整产品目标;每项完成范围以实际验证记录为准。
|
||||
日期:2026-10-30。1.0.0为基础里程碑,1.1.0实现M1,1.2.0增加内置Git交付,1.3.0增加工程索引和精确补丁,1.4.0增加可恢复多文件变更集,1.5.0/1.5.1增加有界请求与可用工件分页,1.6.0增加独立Git工作区和审查收尾,1.6.1增加实际Task工作依据和文件预算分页。下表保留1.0.0缺口与完整产品目标;每项完成范围以实际验证记录为准。
|
||||
|
||||
总体方案见 [PRODUCT-PLAN.md](PRODUCT-PLAN.md),研究问题与来源见 [RESEARCH-ROADMAP.md](RESEARCH-ROADMAP.md)。
|
||||
|
||||
@@ -83,6 +83,13 @@
|
||||
| C23 数据、配置与发布迁移 | Key仅内存、JSON与备份;便携/源码包已验证 | 用户主动配置凭据、系统凭据存储、数据库迁移/回退、版本兼容和日志导出 | CX-2、DS-1 / storage、gateway、desktop / M1、M5–M6 | 升级副本与回退可验证;导出无Key;任务和来源不丢失 |
|
||||
| C24 工程能力评测 | 基础行为/UI及少量真实模型场景 | 封存真实工程任务、独立验收、重复运行和错误分类;追踪人工介入/成本/恢复 | 全部目标 / evaluation、artifacts / M1–M6 | 发布能力可链接实际任务记录;报告含失败样本与环境,不能只展示成功演示 |
|
||||
|
||||
### 1.6.1 M2实际工作依据切片
|
||||
|
||||
- C04/C12:混合大工具组中的实际源码和执行结果独立投影,绑定同Task、Run、调用、原结果和消息组;视图不是新工具执行,原协议消息保持完整。应用后的旧文件版本和失效检查不参与当前依据。
|
||||
- C13/C23:发送正文、封存工作依据和原结果的逐层校验、报告引用与桌面/390px查看入口。旧请求依照发送时的原历史校验,后续编辑不会改写旧证据。
|
||||
- C15:文件读取按当前完整JSON预算分页,保留UTF-8/Unicode、原文件哈希和原行范围。可选工作视图不占用下一工具页的必需预算。
|
||||
- 原失败历史离线投影证明四模块/构建全文及测试摘录可见,0模型/命令执行;实际配置模型的续接、独立发行与最终回归分别见[QA-1.6.1](QA-1.6.1.md)。不据此宣称工程成功率或成本提升。
|
||||
|
||||
## 3. 当前实现的源码锚点
|
||||
|
||||
- [provider.mjs](../src/server/provider.mjs):固定工具定义、有界项目/诊断状态、实际正文指纹核对及非流式模型请求;[request-plan.mjs](../src/core/context/request-plan.mjs)负责完整请求预算、协议组选择、可核验封存和历史追溯。
|
||||
|
||||
@@ -24,6 +24,18 @@
|
||||
|
||||
本文件描述当前开发契约;实际完成/部署以VALIDATION.md为准。
|
||||
|
||||
## 1.6.1:当前任务工作依据与文件分页
|
||||
|
||||
1.6.0的真实样本存在一个更细的缺口:六份小代码/测试/构建读取与其他结果属于同一较大工具组,整个组被封存,原模型从未收到这些直接读取。历史定位notice又占用8482–10700字符。1.6.1保留完整消息组契约,压紧notice中的定位元数据,并为被省略组的当前Task观察构造独立工作依据视图。
|
||||
|
||||
视图来自实际read_file、工程检查/命令和非上下文工件页,按完整请求剩余预算选择。它是明确标注的数据消息,不是一组新的assistant/tool调用,也不改变providerMessages、参数或原结果。每项绑定Task、Run、调用、原结果工件SHA256、原消息组SHA256和摘录范围/SHA256;小代码可全文携带,较长数据注明截取并链接原结果。当前Task之外的调用不进入视图,已应用后旧文件版本不再作为当前工作依据;读取SHA256只代表观察版本,编辑仍须校验实际基线。
|
||||
|
||||
每轮context_plan增加workingSetArtifactId、workingSetSha256和workingSetEntries。工作依据先封存为context-working-set工件再保存请求计划;verifyPlanEvidence深度核对来源与实际发送内容,缺失/损坏不补造,旧计划没有这些字段仍可核对。桌面/390px可查看“工作依据”,交付报告引用同一工件。
|
||||
|
||||
read_file也按本轮实际双层JSON消息预算生成页面。保留文件SHA256、行范围与合法Unicode字符,返回range_start_line/range_end_line、offset/next_offset及next_start_line。同一行范围用next_offset继续;范围读完后可按next_start_line读取后续行。完整文件及之前实际响应保持不变,超长单行也有明确分页位置。
|
||||
|
||||
机制来源参考[Claude Code静态上下文/恢复研究](research/CONTEXT-RECOVERY.md)中的读取状态与持久边界;本实现为独立、确定性的工具观察投影,没有调用原版摘要或宣称Purge收益。原失败历史的[离线投影](working-context-frozen-replay.json)只证明同16000窗口下四模块全文可见,0模型请求;真实成功率、用量和服务超时仍须单独实测。
|
||||
|
||||
## 1.5.1:读取预算与重复进展
|
||||
|
||||
1.5.0真实样本暴露较大工件页被整体封存的循环,失败记录保留。1.5.1的read_artifact按下一请求中工具消息的双层JSON字节预算生成实际读取页;默认2000字符,requested_limit与实际范围分别返回,next_offset指向下一段。UTF-16坐标按合法Unicode边界处理;分页不改写历史工具参数,原工件与SHA256保持。
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Agent Workbench 后续产品与执行开发方案
|
||||
|
||||
日期:2026-10-29。本文保留完整产品规划;1.1.0实现M1,1.2.0增加Task本地Git交付,1.3.0增加索引与精确补丁,1.4.0增加可恢复多文件变更集,1.5.0/1.5.1增加有界请求与可用工件分页,1.6.0增加独立工作区与Git审查收尾。实际实现、验收与部署分别见[能力矩阵](CAPABILITIES.md)及[验证记录](VALIDATION.md),完整阶段目标继续实施。
|
||||
日期:2026-10-30。本文保留完整产品规划;1.1.0实现M1,1.2.0增加Task本地Git交付,1.3.0增加索引与精确补丁,1.4.0增加可恢复多文件变更集,1.5.0/1.5.1增加有界请求与可用工件分页,1.6.0增加独立工作区与Git审查收尾,1.6.1增加实际Task工作依据与文件预算分页。实际实现、验收与部署分别见[能力矩阵](CAPABILITIES.md)及[验证记录](VALIDATION.md),完整阶段目标继续实施。
|
||||
|
||||
## 1. 产品目标
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
# 1.6.1 验收记录
|
||||
|
||||
本批优先修复真实工程Task的工作依据缺失,保留1.6.0原失败记录和已通过发行。紧凑历史定位、当前Task的实际代码/检查/命令观察视图、原结果与发送摘录校验、文件预算分页及桌面/390px查看入口已经实现;正式4318仍在冻结1.6.0,发行与真实续接分别验收。
|
||||
|
||||
最后源码状态的42项上下文/工件/API/诊断专项全部通过,其中新增8项覆盖混合大工具组中的小代码、六份多语言源码、Task隔离、应用后旧版本排除、实际检查因源码编辑失效、原结果损坏/缺失、超长单行分页、实际HTTP下一请求可见和重新打开后证据校验。首轮分页fixture太小未触发分页,6/7通过;扩大到150行后单项与完整专项复验通过,原失败记录保留。
|
||||
|
||||
最终预算与失效检查细化前的完整199/199项回归通过;细化后42/42专项通过、构建通过。最终独立源码包应有200项,仍需以该包实际运行结果作为完整验收,不能用199项结果替代。
|
||||
|
||||
[原失败历史的离线投影](working-context-frozen-replay.json)沿用50条消息和同16000上下文窗口,输入预算12352,四个原模块全文、构建全文及测试摘录进入工作依据,所有协议/原结果来源核对通过。估算输入12256与原12235分别记录,0模型或命令执行;不能作为实际费用下降或真实模型完成的证据。
|
||||
|
||||
八类74组独立界面全部通过,0页面/请求异常,包括基础10、诊断9、任务7、Git9、索引8、批次11、上下文11、工作区9;见[界面总表](working-context-all-ui-validation.json)。工作依据查看在[桌面](screenshots/working-context-desktop-working-evidence.png)和[390px](screenshots/working-context-mobile-working-evidence.png)已目视核对,内部滚动和关闭后返回请求面板正常。行为与构建日志身份见[专项记录](working-context-tests-validation.json)。
|
||||
|
||||
最终独立源码完整回归、不可变包、原PID升级与原失败Task的实际模型续接正在验收。Python/React完整工程、外部引擎、REA执行入口、Electron和手机配对继续按产品路线推进。
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 200 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.6.1",
|
||||
"at": "2026-10-29T17:26:11.257Z",
|
||||
"groups": 74,
|
||||
"results": [
|
||||
{
|
||||
"script": "verify-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 10,
|
||||
"durationMs": 18906,
|
||||
"evidence": "docs/working-context-basic-ui-validation.json",
|
||||
"log": ".qa/working-context-verify-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-diagnostics-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 19102,
|
||||
"evidence": "docs/working-context-diagnostics-ui-validation.json",
|
||||
"log": ".qa/working-context-verify-diagnostics-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-execution-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 7,
|
||||
"durationMs": 23926,
|
||||
"evidence": "docs/working-context-execution-ui-validation.json",
|
||||
"log": ".qa/working-context-verify-execution-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-delivery-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 34575,
|
||||
"evidence": "docs/working-context-delivery-ui-validation.json",
|
||||
"log": ".qa/working-context-verify-delivery-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-index-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 8,
|
||||
"durationMs": 5900,
|
||||
"evidence": "docs/working-context-index-ui-validation.json",
|
||||
"log": ".qa/working-context-verify-index-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-change-sets-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 11,
|
||||
"durationMs": 10402,
|
||||
"evidence": "docs/working-context-change-sets-ui-validation.json",
|
||||
"log": ".qa/working-context-verify-change-sets-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-context-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 11,
|
||||
"durationMs": 15411,
|
||||
"evidence": "docs/working-context-context-ui-validation.json",
|
||||
"log": ".qa/working-context-verify-context-ui.log"
|
||||
},
|
||||
{
|
||||
"script": "verify-workspaces-ui.mjs",
|
||||
"success": true,
|
||||
"groups": 9,
|
||||
"durationMs": 19646,
|
||||
"evidence": "docs/working-context-workspaces-ui-validation.json",
|
||||
"log": ".qa/working-context-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:52896",
|
||||
"browser": "Microsoft Edge 156.0.4314.42",
|
||||
"date": "2026-10-29T17:24:01.147Z",
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\ui-d78e0b7c-4b72-42cc-9706-c5f9c331118b\\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.1",
|
||||
"testedAt": "2026-10-29T17:25:35.741Z",
|
||||
"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-context-batch-desktop-review.png",
|
||||
".qa/screenshots/working-context-batch-desktop-conflict.png",
|
||||
".qa/screenshots/working-context-batch-desktop-recovery.png",
|
||||
".qa/screenshots/working-context-batch-mobile-review.png",
|
||||
".qa/screenshots/working-context-batch-mobile-rollback.png"
|
||||
],
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-1d3bc7dd-3a35-42db-a1dd-0df3265c2e42",
|
||||
"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.1",
|
||||
"testedAt": "2026-10-29T17:25:35.741Z",
|
||||
"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-context-batch-desktop-review.png",
|
||||
".qa/screenshots/working-context-batch-desktop-conflict.png",
|
||||
".qa/screenshots/working-context-batch-desktop-recovery.png",
|
||||
".qa/screenshots/working-context-batch-mobile-review.png",
|
||||
".qa/screenshots/working-context-batch-mobile-rollback.png"
|
||||
],
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\batch-ui-1d3bc7dd-3a35-42db-a1dd-0df3265c2e42",
|
||||
"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.1",
|
||||
"testedAt": "2026-10-29T17:25:50.752Z",
|
||||
"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-context-desktop-plan.png",
|
||||
".qa/screenshots/working-context-desktop-history.png",
|
||||
".qa/screenshots/working-context-mobile-history.png",
|
||||
".qa/screenshots/working-context-mobile-original.png",
|
||||
".qa/screenshots/working-context-mobile-request-body.png",
|
||||
".qa/screenshots/working-context-mobile-read-pause.png",
|
||||
".qa/screenshots/working-context-desktop-working-evidence.png",
|
||||
".qa/screenshots/working-context-mobile-working-evidence.png"
|
||||
],
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-4702a99b-8bfb-4b56-8704-b131ef944630",
|
||||
"data": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\context-ui-4702a99b-8bfb-4b56-8704-b131ef944630\\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.1",
|
||||
"testedAt": "2026-10-29T17:25:19.305Z",
|
||||
"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-3a6fe1e3-bcae-42d3-8863-b96f5e381d7b\\四模块交付工程",
|
||||
"projectId": "554caf1e-c37d-4167-ba1f-0110f33f8339",
|
||||
"sessionId": "a6ae037f-f5cd-4ba9-b6ee-3e9104efdb0b",
|
||||
"taskId": "8d4ecee9-3c89-4d66-894d-f30e5b9f65ab",
|
||||
"commit": "2d4ba11d3750874c04ec75d726254427a64a0d08",
|
||||
"recoveryCommit": "d70611711b6aca08032cb05820857b05ffdf0b69",
|
||||
"testCounts": {
|
||||
"baselineFailed": 13,
|
||||
"passed": 14
|
||||
},
|
||||
"model": "controlled local HTTP fixture",
|
||||
"confirmations": 2
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.6.1",
|
||||
"url": "http://127.0.0.1:58044",
|
||||
"date": "2026-10-29T17:24:20.513Z",
|
||||
"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.1",
|
||||
"testedAt": "2026-10-29T17:24:44.676Z",
|
||||
"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-68738da6-981a-4d43-8ef8-473c6f7896a8\\project",
|
||||
"model": "controlled local HTTP fixture"
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"success": true,
|
||||
"testedAt": "2026-10-29T17:09:01.681Z",
|
||||
"mode": "offline-frozen-context-projection",
|
||||
"originalSessionId": "4442eee6-8b68-4bb5-a39c-9cafbaeb9eb8",
|
||||
"originalTaskId": "dd84a544-c444-485c-aa53-db9b74ffb9c8",
|
||||
"originalRequestSha256": "0d260e604d5a5cfcc4ebdb558582889111c09f96df3382c888f87ca1cdac3aee",
|
||||
"originalMessagesSha256": "bf499f2c0c83d1f2fa99340086ddb988c6945b00439582b965e21d1a8df9f0bc",
|
||||
"originalEstimatedInputTokens": 12235,
|
||||
"newEstimatedInputTokens": 12256,
|
||||
"inputBudget": 12352,
|
||||
"retainedGroups": [
|
||||
0,
|
||||
12,
|
||||
13
|
||||
],
|
||||
"workingSetEntries": 7,
|
||||
"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": 634,
|
||||
"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:25:25.399Z",
|
||||
"version": "1.6.1",
|
||||
"passed": [
|
||||
"工程索引可独立于任务使用,实际覆盖范围与损坏文件显示明确",
|
||||
"真实AST查询打开原文件第181行并仅滚动代码容器,输入区和顶部保持可见",
|
||||
"查询词保留;过期SHA不高亮旧位置,增量刷新后正确定位第184行",
|
||||
"切换项目时延迟返回的旧索引不覆盖新项目结果",
|
||||
"Python候选、字符串误报排除和局部导入文件候选保留真实证据标签",
|
||||
"两处唯一锚点成为待审核提案,真实界面应用后BOM/CRLF和未选择原字节保留",
|
||||
"390px索引查询、范围和完整指纹可读且无横向溢出,实际文件行定位通过",
|
||||
"索引刷新失败保留归属和解释,旧结果禁用并可重试恢复"
|
||||
],
|
||||
"pageErrors": [],
|
||||
"requestFailures": [],
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\index-ui-b9958786-0e28-4082-a692-db9ed9068d96",
|
||||
"primaryProjectId": "6dac4ffc-77d0-469a-87fb-905044845cb4",
|
||||
"otherProjectId": "bcd8cb82-d127-4b56-83e7-b9548af5ecec"
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.6.1",
|
||||
"recordedAt": "2026-10-29T17:27:39.466Z",
|
||||
"targeted": {
|
||||
"log": ".qa/working-context-final-targeted-tests.tap",
|
||||
"sha256": "5b0c5203f646249c1aa5f26b136bfb68e619abb27b8ed36392328dca77b0f2d1",
|
||||
"stats": {
|
||||
"tests": 42,
|
||||
"pass": 42,
|
||||
"fail": 0,
|
||||
"cancelled": 0,
|
||||
"skipped": 0,
|
||||
"todo": 0
|
||||
},
|
||||
"exactFinalSource": true
|
||||
},
|
||||
"priorFull": {
|
||||
"log": ".qa/working-context-full-tests.tap",
|
||||
"sha256": "8149423de1184468016235c9e906ac75690a3c0c91323f54316d99b349874468",
|
||||
"stats": {
|
||||
"tests": 199,
|
||||
"pass": 199,
|
||||
"fail": 0,
|
||||
"cancelled": 0,
|
||||
"skipped": 0,
|
||||
"todo": 0
|
||||
},
|
||||
"exactFinalSource": false,
|
||||
"scope": "Before final optional-view budget and stale-check refinements; final full validation must run the independent source package with 200 tests."
|
||||
},
|
||||
"sourceHashes": {
|
||||
"src/core/context/working-set.mjs": "ed6f68b92754bf3d4023376f9c46b95a6d417f382457d8dcbe7f52f6a0b34574",
|
||||
"src/core/context/read-budget.mjs": "1e98200bc5038ee5c5e2e1cf3267f1a637973c9b8bf7d623e82303c717500cdc",
|
||||
"src/core/context/request-plan.mjs": "badafd935dd0a69bac565fcebea2f99bad4cfa8b2406cdcda7342877528dc90a",
|
||||
"src/server/runtime.mjs": "cb6460b2aa4b407349d7d5bb9ce11b6d2048b22c3fec5ffc59c9cf4185b10171",
|
||||
"src/server/provider.mjs": "46f665d30a44575ff7a9d4e6a14566388b170168e0fcb124913f0ca3ba5bde04",
|
||||
"src/core/delivery-report.mjs": "5a6a4990d3718b6ede4a3581ecfc9c010eedfe3d0187a4fc283066cbae6d8a10",
|
||||
"tests/working-set.test.mjs": "e1b693d651e22f7fee369901984eb7401cd7d731a3aa1edcb03dfb53ee4e8a34"
|
||||
},
|
||||
"buildLog": {
|
||||
"path": ".qa/working-context-build.log",
|
||||
"sha256": "3e3417b9ac7d7e1495153b9c20bf1d0d7989e4aea8b04656cd1f5aa4554c1961"
|
||||
},
|
||||
"ui": {
|
||||
"groups": 74,
|
||||
"evidence": "docs/working-context-all-ui-validation.json",
|
||||
"desktopAnd390pxViewed": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"success": true,
|
||||
"version": "1.6.1",
|
||||
"at": "2026-10-29T17:26:10.863Z",
|
||||
"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-context-workspaces-review-desktop.png",
|
||||
".qa/screenshots/working-context-workspaces-ready-desktop.png",
|
||||
".qa/screenshots/working-context-workspaces-recovery-desktop.png",
|
||||
".qa/screenshots/working-context-workspaces-review-mobile.png",
|
||||
".qa/screenshots/working-context-workspaces-child-mobile.png"
|
||||
],
|
||||
"projectRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\workspace-ui-15736100-d7cb-4c59-a446-2e0ccf65acc7",
|
||||
"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."
|
||||
}
|
||||
Reference in New Issue
Block a user