{ "schemaVersion": 1, "milestone": "M2 batch 1 I10", "base": "ea2559df7de06f0ddef5dafcb03d584d6fd7244c", "source": "cb60fb1149097e0a41dd54847dae84a23b6e1635", "officialSources": { "base": "ea2559df7de06f0ddef5dafcb03d584d6fd7244c", "sources": [ { "id": "moonshot-chat", "url": "https://platform.kimi.com/docs/api/chat", "originalPath": ".qa/official-first-system-audit-2026-11-06/official-public/moonshot-chat.body", "originalObservedAt": "2026-11-06T13:07:38.880185+00:00", "reused": true, "file": "official/moonshot-chat.body", "bytes": 62409, "sha256": "db19cb0b1047af8a9b534f0e67d0cedb529265527986ed31c873d09697558409", "reviewScope": "usage counters and cache read/write semantics only" }, { "id": "deepseek-cache", "url": "https://api-docs.deepseek.com/guides/kv_cache/", "originalPath": ".qa/official-first-system-audit-2026-11-06/official-public/deepseek-cache.body", "originalObservedAt": "2026-11-06T13:05:31.918033+00:00", "reused": true, "file": "official/deepseek-cache.body", "bytes": 35850, "sha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081", "reviewScope": "usage counters and cache read/write semantics only" }, { "id": "claude-build-with-claude__prompt-caching", "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching", "originalPath": ".qa/official-first-system-audit-2026-11-06/official-public/claude-extracted/build-with-claude__prompt-caching.md", "reused": true, "file": "official/claude-build-with-claude__prompt-caching.body", "bytes": 164465, "sha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d", "reviewScope": "usage counters and cache read/write semantics only" }, { "id": "openai-prompt-caching", "url": "https://developers.openai.com/api/docs/guides/prompt-caching", "tool": "OpenAI Docs fetch_openai_doc", "recordedAt": "2026-11-07T03:00:13.182Z", "file": "official/openai-prompt-caching.json", "bytes": 58271, "sha256": "999b867854e840ebbb086a84b8e7391959082373ac20315d878f69245f3ce725", "textFile": "official/openai-prompt-caching.md", "textBytes": 56425, "textSha256": "01e57dacc2e5c0fb881b2d1909649983e9e327a5d6c17a98bb1183ee00e9d334", "representation": "tool-returned markdown; not an HTTP body capture", "reviewScope": "cache usage fields, exclusive reads/writes and lifetime breakdown, lines 629-654; cache hit guarantees" }, { "id": "openai-usage-section", "url": "https://developers.openai.com/api/docs/guides/agents-api/observability#understand-token-usage", "tool": "OpenAI Docs fetch_openai_doc", "recordedAt": "2026-11-07T03:00:13.183Z", "file": "official/openai-usage-section.json", "bytes": 899, "sha256": "bec6b84699491e3e95087a78d323d2b41ceff613f218bef5484ff68a6c2252b4", "textFile": "official/openai-usage-section.md", "textBytes": 789, "textSha256": "00b306a64e34f582862cf1052800a4db6b0dddb72a10ce241e4acbdba451eea8", "representation": "tool-returned markdown; not an HTTP body capture", "reviewScope": "complete returned token usage section" } ], "apiReferenceNote": "The fetched Responses Create reference returned a generated-reference pointer, not usage schema; decisions use the actual fetched caching guide.", "noPricingCalculated": true }, "oldBehavior": { "file": "baseline-observations.json", "cases": 6, "preserved": true }, "changes": [ "Cache read/write/uncached/reasoning categories and lifetimes with field provenance", "Original raw and legacy receipts retained; missing/invalid/conflicting counts stay explicit", "Reported error usage kept in final context plan without changing outcome or dispatch", "Passthrough evidence allows explicit/mandatory wire output fields while retaining original SHA/ownership/frozen-budget checks", "Existing Model Center and Request Context details on web/Electron, not a new workflow" ], "validation": { "sourceFirst": { "file": "source-1.log", "passed": 12, "total": 15, "failuresRetained": 3 }, "sourceSecond": { "file": "source-2.log", "passed": 15, "total": 15 }, "relatedSource": { "file": "related-source-1.log", "passed": 93, "total": 93 }, "frozen": { "file": "frozen-tests-1.log", "passed": 23, "total": 23 }, "typeChecks": [ "tsc-1.log", "tsc-2.log" ], "buildIdentity": { "checkedAt": "2026-11-07T03:17:54.566Z", "currentAndFinalInputsExact": 822, "productSourcesIdenticalToFirstTestedFreeze": 282, "finalCompiledFilesExact": 29, "build": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-cache-usage-2026-11-07\\build-3", "candidate": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-cache-usage-2026-11-07\\candidate-app-2", "note": "Only the UI QA driver changed after build-1; final build-3 compilation is byte-identical to tested candidate-2." }, "firstWebFailure": { "path": "build-1/.qa/m2-cache-usage-2026-11-07/web-b3b3dd58-2bcc-471c-bf8c-c960d8c1bb88/result.json", "reason": "QA treated task inspector as dialog" }, "firstElectronFailure": { "path": "build-2/.qa/m2-cache-usage-2026-11-07/electron-21ebc5d7-22ff-4ba7-92c2-185faf729eb1/result.json", "reason": "QA waited for browser download event instead of native DownloadItem" }, "web": { "evidencePath": "build-3/.qa/m2-cache-usage-2026-11-07/web-6ed64a7a-f9b1-45e5-85cf-be54e5da7516", "success": true, "appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-cache-usage-2026-11-07\\candidate-app-2", "actualElectron": false, "checks": [ "Real local Chat receipt displays exclusive categories and original field sources", "Responses SSE derived ordinary input and two lifetime categories fit 390px; actual downloaded bytes match the original", "Messages SSE separates uncached/read/write and 5m/1h; absent reasoning stays unknown and original download remains exact", "Unknown, conflicting, failed and legacy receipts remain distinct; keyboard expansion works without rewriting legacy records or retrying", "Existing task record and reload show accurate success/error/unknown context usage at 1280/390 with no additional model dispatch" ], "screenshots": [ { "file": "chat-source-1280.png", "sha256": "428b491f0129f062f31d0d4f0f16fdc7fe43aa5ab50df43495369aa7a4bb428d" }, { "file": "responses-ttl-390.png", "sha256": "91ee5152d0ed212e2287d218d869a80761226db55c80513202a07f95c4acf38d" }, { "file": "messages-ttl-1280.png", "sha256": "c58cb54b7fc2cf18019019aa1a1d95dd4965cf5d26e33f111a742fa3535d4620" }, { "file": "upstream-error-390.png", "sha256": "f9bee18c062e2c877d4d7da500c4b4b6069916b8c456df5e1cc8ab13f5a05cbe" }, { "file": "context-messages-source-1280.png", "sha256": "635563bf712489df2ab41bb91283ed0f8eb08abf99f3f080eac8822d0f62dd8d" }, { "file": "context-error-390.png", "sha256": "1205736f0762547d418b8e11aa659852cdb9a74682c1e494fa338dc65935ac34" } ], "downloads": [ { "file": "responses-original-response.sse", "sha256": "804824dd3f0f4e0c8dd489f01d3d5cfa23e16bb54083d955c116f0333c3d8206", "scope": "Actual browser download" }, { "file": "messages-original-response.sse", "sha256": "4ae09aab587324e629a0f25161d224635d139d41863446b661c1bf031c9b29ed", "scope": "Actual browser download" } ], "errors": [], "externalBlocked": [], "hostUrl": "http://127.0.0.1:65258", "syntheticRequests": 6, "realModelRequests": 0, "realCredentialsRead": 0, "productionWrites": 0, "viewportWidths": [ 1280, 390 ] }, "electron": { "evidencePath": "electron-a0d7370e-04b8-46bc-8131-e5d22ee3cc63", "success": true, "appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-cache-usage-2026-11-07\\candidate-app-2", "actualElectron": true, "checks": [ "Real local Chat receipt displays exclusive categories and original field sources", "Responses SSE derived ordinary input and two lifetime categories fit 390px; actual downloaded bytes match the original", "Messages SSE separates uncached/read/write and 5m/1h; absent reasoning stays unknown and original download remains exact", "Unknown, conflicting, failed and legacy receipts remain distinct; keyboard expansion works without rewriting legacy records or retrying", "Existing task record and reload show accurate success/error/unknown context usage at 1280/390 with no additional model dispatch" ], "screenshots": [ { "file": "chat-source-1280.png", "sha256": "8dec8c3f598e0a8811978e0fac77dbcffc28df44151fe7033682d9e5700e8c22" }, { "file": "responses-ttl-390.png", "sha256": "efffb2672e7aaf45b11fa12bbde0d8a29a5f147df8b496a336e2c2e55c0330a1" }, { "file": "messages-ttl-1280.png", "sha256": "143aa157fcddb920d311b9a3c8e3b8cb25e9954c0522b71b8794873166cbf3ae" }, { "file": "upstream-error-390.png", "sha256": "304509591b1121234a9491f637992990c7df1ed220c2c64a8047a2a73cfc67c6" }, { "file": "context-messages-source-1280.png", "sha256": "f31e25af272e530d9b44f5e591167b6f06dcdb0b36343ecde2802adfcaa9f36f" }, { "file": "context-error-390.png", "sha256": "254fcb459d89c4cdb2c1e38db9a7358970fb756267726314a344fc22f03a0f6a" } ], "downloads": [ { "file": "responses-original-response.sse", "sha256": "804824dd3f0f4e0c8dd489f01d3d5cfa23e16bb54083d955c116f0333c3d8206", "native": { "state": "completed", "suggestedFilename": "model-stream-ca3b4b67-a38e-4fb0-970a-247340f9b4fd.sse", "bytes": 735, "totalBytes": 735 }, "scope": "Actual Electron DownloadItem; QA selects owned path, not the Windows save dialog" }, { "file": "messages-original-response.sse", "sha256": "4ae09aab587324e629a0f25161d224635d139d41863446b661c1bf031c9b29ed", "native": { "state": "completed", "suggestedFilename": "model-stream-994ed718-6ec3-4e88-ae14-bde12cbb55cc.sse", "bytes": 973, "totalBytes": 973 }, "scope": "Actual Electron DownloadItem; QA selects owned path, not the Windows save dialog" } ], "errors": [], "externalBlocked": [], "hostUrl": "http://127.0.0.1:60684", "syntheticRequests": 6, "realModelRequests": 0, "realCredentialsRead": 0, "productionWrites": 0, "viewportWidths": [ 1280, 390 ] }, "ownedProcessAudit": { "checkedAt": "2026-11-07T03:20:03.5222324Z", "matchingOwnedProcesses": [], "productionHealthQueried": false } }, "evidence": { "root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-cache-usage-2026-11-07", "files": 2948, "bytes": 1018919970, "linkedDependencies": [ "build-1/node_modules", "build-2/node_modules", "build-3/node_modules" ], "manifestSha256": "b3438146114a6c0f0f303f5fa025ec11c647d560188beb14ae0405aaa9a202f7", "source": "cb60fb1149097e0a41dd54847dae84a23b6e1635", "sourceGitProof": { "files": 13, "byteExact": 7, "lfOnly": 6 } }, "remaining": [ "I09 native blocks/cache_control", "I11 affinity/provider state", "I12 cache native fingerprint", "I13 complete ledger and incremental storage", "I14 version/header/endpoint contracts", "I15 official capability registry", "I27/I28 locked CI", "M3 single release and production deployment", "M4 new real provider/engineering samples", "Physical iPhone and native/cloud protocols", "M7 phone metadata and Windows host lifecycle", "M8 real cache/repeated-read/Purge benefits unknown" ], "historical": { "W": "6 matched / 71044 reported tokens / no_progress / no delivery; reserve v2 exclusion boundary not reached", "AD": "21 requests / 199250 reported + 2 unknown; original Claude max_tokens 400 and network errors; DeepSeek Node delivered", "AE": "React/Python delivered; 20 requests / 367365 reported / 0 unknown; original interpreter/check failures retained", "AG": "11 requests / 109888 reported + 3 unknown; 3 ETIMEDOUT; only ba-off delivered", "PurgeBenefit": "unknown" }, "scope": { "productionHealthQueried": false, "productionWrites": 0, "productionDeployment": false, "restart": false, "realModelRequests": 0, "realKeysRead": 0, "subagents": 0, "defaults": [ "unrestricted", "passthrough", "preserve" ], "savedPermissionsUnchanged": true }, "stage": "source committed; QA commit and authorized incremental GitAtlas push pending" }