Files
Agent-Workbench/docs/m2-native-cache-state-2026-11-07.json
2026-11-07 20:37:50 +08:00

981 lines
43 KiB
JSON

{
"schemaVersion": 1,
"checkedAt": "2026-11-07T12:35:16.944Z",
"milestone": "M2 I09/I11 source acceptance",
"baseline": "bdfeb29c85b3231bfd7bc24b8b5f49d40a3beebf",
"sourceCommits": {
"sources": "71f1805561e6082011ed4f0c70bb38f4546413c5",
"core": "9e1feeebb3eca5c82bfa9efb4f32e68a73628df4",
"ui": "ee97aaae7389e0aff7f89eced8d06ecce7d4f982"
},
"productVersion": "1.25.12",
"node": {
"executable": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
"version": "v24.22.1"
},
"sourceAcceptanceComplete": true,
"sourceReview": {
"schemaVersion": 1,
"baseline": "bdfeb29c85b3231bfd7bc24b8b5f49d40a3beebf",
"sources": [
{
"id": "openai-conversation-state",
"provider": "openai",
"url": "https://developers.openai.com/api/docs/guides/conversation-state",
"checkedAt": "2026-11-07",
"file": "sources/openai-conversation-state.md",
"sha256": "8a62162c2ef6ff7e94dfdad5ba06f417f5a6c00ea6521e6466d462ff2fcd9b96",
"bytes": 24788,
"captureSha256": "df7776f8ac54a84b55cbc0d42bc2b80192428921d96b2e272d21754e2f3d5f8b",
"representation": "official-docs-mcp-markdown-utf8",
"scope": "complete-captured-page",
"reusedReadOnly": true
},
{
"id": "openai-prompt-caching",
"provider": "openai",
"url": "https://developers.openai.com/api/docs/guides/prompt-caching",
"checkedAt": "2026-11-07",
"file": "sources/openai-prompt-caching.md",
"sha256": "01e57dacc2e5c0fb881b2d1909649983e9e327a5d6c17a98bb1183ee00e9d334",
"bytes": 56425,
"captureSha256": "ed312ad7e34d4de7f5861317481ae82b1bc3b9a1ae78d525c916a0d94231d522",
"representation": "official-docs-mcp-markdown-utf8",
"scope": "complete-captured-page",
"reusedReadOnly": true
},
{
"id": "claude-build-with-claude__prompt-caching",
"provider": "anthropic",
"url": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
"checkedAt": "2026-11-06",
"sha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d",
"file": "../official-model-registry/sources/claude-build-with-claude-prompt-caching.md",
"originalSha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d",
"representation": "extracted-official-markdown",
"scope": "complete-captured-source",
"bytes": 164465,
"reusedReadOnly": true
},
{
"id": "deepseek-create",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/api/create-chat-completion",
"checkedAt": "2026-11-06",
"sha256": "b43ca950bd04ae7f6f537b42e6cb729f543d942dcd848ec43ad4e9bfe059fe1f",
"file": "../official-model-registry/sources/deepseek-create.body",
"originalSha256": "b43ca950bd04ae7f6f537b42e6cb729f543d942dcd848ec43ad4e9bfe059fe1f",
"representation": "received-html-bytes",
"scope": "complete-captured-source",
"bytes": 129498,
"reusedReadOnly": true
},
{
"id": "deepseek-thinking",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/guides/thinking_mode",
"checkedAt": "2026-11-06",
"sha256": "42151b5f86827bff663a61693080a61cdbf99074dee94af756c9fce855baa7cd",
"file": "../official-model-registry/sources/deepseek-thinking.body",
"originalSha256": "42151b5f86827bff663a61693080a61cdbf99074dee94af756c9fce855baa7cd",
"representation": "received-html-bytes",
"scope": "complete-captured-source",
"bytes": 117778,
"reusedReadOnly": true
},
{
"id": "deepseek-cache",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/guides/kv_cache",
"checkedAt": "2026-11-06",
"sha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081",
"file": "../official-model-registry/sources/deepseek-cache.body",
"originalSha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081",
"representation": "received-html-bytes",
"scope": "complete-captured-source",
"bytes": 35850,
"reusedReadOnly": true
},
{
"id": "deepseek-response",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/api/create-response.md",
"checkedAt": "2026-11-07",
"sha256": "5e56e45d25db47f2b6966bbb0b2471d324035c33f0c8f81eaaf8fc444e6869da",
"file": "../official-model-registry/sources/deepseek-response.md",
"originalSha256": "5e56e45d25db47f2b6966bbb0b2471d324035c33f0c8f81eaaf8fc444e6869da",
"representation": "received-document-bytes",
"scope": "complete-captured-source",
"bytes": 33870,
"reusedReadOnly": true
},
{
"id": "deepseek-message",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/api/create-message.md",
"checkedAt": "2026-11-07",
"sha256": "46b31d10f429910bf93ea2166537fb803cd2f49f7c5b4ad2ee4f08257b2e17e8",
"file": "../official-model-registry/sources/deepseek-message.md",
"originalSha256": "46b31d10f429910bf93ea2166537fb803cd2f49f7c5b4ad2ee4f08257b2e17e8",
"representation": "received-document-bytes",
"scope": "complete-captured-source",
"bytes": 51134,
"reusedReadOnly": true
}
],
"newRealModelRequests": 0,
"previousEvidenceRootsWritten": 0,
"scope": "request-block-fidelity-provider-state-and-affinity-contracts-not-live-cache-benefit",
"retainedEarlierRounds": [
"source-1",
"source-2",
"source-3"
],
"sourceReview": [
"Messages cache_control and TTL stay on their original system/user/tool blocks.",
"OpenAI explicit cache breakpoints and independent retention controls are passed only when supplied.",
"Responses complete output items, encrypted reasoning and phase must survive applicable manual history.",
"DeepSeek assistant reasoning_content remains with every applicable historical assistant turn.",
"Affinity and scope fingerprints are local continuity observations, never supplier cache-hit evidence."
]
},
"inputIdentity": {
"schemaVersion": 1,
"checkedAt": "2026-11-07T12:24:22.125Z",
"finalBuild": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\build-5",
"app": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-5",
"inputFiles": 880,
"compiledFiles": 29,
"runtimeFiles": 74,
"inputsExact": true,
"compiledCopiesExact": true,
"runtimeCopiesExact": true,
"productFiles": 300,
"productMatchesLatestBackendCandidate": true,
"backendFiles": 178,
"backendMatchesFirstCandidate": true,
"testInputs": 213,
"unchangedTestInputs": 211,
"correctedTestFiles": [
"tests/model-center.test.mjs",
"tests/model-routing-permission.test.mjs"
],
"coverage": {
"firstCandidate": {
"build": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\build-1",
"app": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-1",
"node": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
"files": [
"tests/native-cache-state.test.mjs",
"tests/model-protocols.test.mjs",
"tests/model-stream.test.mjs",
"tests/model-parameter-fidelity.test.mjs",
"tests/model-request-contract.test.mjs",
"tests/model-center.test.mjs",
"tests/model-routing-capabilities.test.mjs",
"tests/model-routing-permission.test.mjs",
"tests/task-context.test.mjs",
"tests/model-identity.test.mjs",
"tests/model-capacity.test.mjs"
],
"startedAt": "2026-11-07T12:06:32.105Z",
"finishedAt": "2026-11-07T12:09:47.462Z",
"durationMs": 195356,
"code": 1,
"signal": null,
"totals": {
"tests": 129,
"pass": 127,
"fail": 2,
"cancelled": 0,
"skipped": 0,
"todo": 0,
"duration_ms": 195312.8855
},
"success": false
},
"correctedFiles": {
"build": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\build-3",
"app": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-3",
"node": "D:\\Ai-project\\REA逆向\\tools\\node-v24.22.1-win-x64\\node.exe",
"files": [
"tests/model-center.test.mjs",
"tests/model-routing-permission.test.mjs"
],
"startedAt": "2026-11-07T12:17:59.645Z",
"finishedAt": "2026-11-07T12:18:49.887Z",
"durationMs": 50242,
"code": 0,
"signal": null,
"totals": {
"tests": 26,
"pass": 26,
"fail": 0,
"cancelled": 0,
"skipped": 0,
"todo": 0,
"duration_ms": 50205.9558
},
"success": true
},
"unchangedPassedTestsReused": 103,
"compositeCoveredTests": 129,
"singleFinalFullSuiteClaim": false
},
"sourceManifestSha256": "ced3703c4afb174c5b939ffb3dd8572f22ff8e5f3fb8489f627f45880315b799",
"officialSources": [
{
"id": "openai-conversation-state",
"provider": "openai",
"url": "https://developers.openai.com/api/docs/guides/conversation-state",
"checkedAt": "2026-11-07",
"file": "sources/openai-conversation-state.md",
"sha256": "8a62162c2ef6ff7e94dfdad5ba06f417f5a6c00ea6521e6466d462ff2fcd9b96",
"bytes": 24788,
"captureSha256": "df7776f8ac54a84b55cbc0d42bc2b80192428921d96b2e272d21754e2f3d5f8b",
"representation": "official-docs-mcp-markdown-utf8",
"scope": "complete-captured-page",
"reusedReadOnly": true,
"repositoryPath": "tests/fixtures/native-cache-state/sources/openai-conversation-state.md",
"bytesExact": true,
"committedBytesExact": true
},
{
"id": "openai-prompt-caching",
"provider": "openai",
"url": "https://developers.openai.com/api/docs/guides/prompt-caching",
"checkedAt": "2026-11-07",
"file": "sources/openai-prompt-caching.md",
"sha256": "01e57dacc2e5c0fb881b2d1909649983e9e327a5d6c17a98bb1183ee00e9d334",
"bytes": 56425,
"captureSha256": "ed312ad7e34d4de7f5861317481ae82b1bc3b9a1ae78d525c916a0d94231d522",
"representation": "official-docs-mcp-markdown-utf8",
"scope": "complete-captured-page",
"reusedReadOnly": true,
"repositoryPath": "tests/fixtures/native-cache-state/sources/openai-prompt-caching.md",
"bytesExact": true,
"committedBytesExact": true
},
{
"id": "claude-build-with-claude__prompt-caching",
"provider": "anthropic",
"url": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
"checkedAt": "2026-11-06",
"sha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d",
"file": "../official-model-registry/sources/claude-build-with-claude-prompt-caching.md",
"originalSha256": "ff35232788f3f7fbd0f9aae002351567a9ea8e68e5b749069d96dab52882747d",
"representation": "extracted-official-markdown",
"scope": "complete-captured-source",
"bytes": 164465,
"reusedReadOnly": true,
"repositoryPath": "tests/fixtures/official-model-registry/sources/claude-build-with-claude-prompt-caching.md",
"bytesExact": true,
"committedBytesExact": true
},
{
"id": "deepseek-create",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/api/create-chat-completion",
"checkedAt": "2026-11-06",
"sha256": "b43ca950bd04ae7f6f537b42e6cb729f543d942dcd848ec43ad4e9bfe059fe1f",
"file": "../official-model-registry/sources/deepseek-create.body",
"originalSha256": "b43ca950bd04ae7f6f537b42e6cb729f543d942dcd848ec43ad4e9bfe059fe1f",
"representation": "received-html-bytes",
"scope": "complete-captured-source",
"bytes": 129498,
"reusedReadOnly": true,
"repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-create.body",
"bytesExact": true,
"committedBytesExact": true
},
{
"id": "deepseek-thinking",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/guides/thinking_mode",
"checkedAt": "2026-11-06",
"sha256": "42151b5f86827bff663a61693080a61cdbf99074dee94af756c9fce855baa7cd",
"file": "../official-model-registry/sources/deepseek-thinking.body",
"originalSha256": "42151b5f86827bff663a61693080a61cdbf99074dee94af756c9fce855baa7cd",
"representation": "received-html-bytes",
"scope": "complete-captured-source",
"bytes": 117778,
"reusedReadOnly": true,
"repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-thinking.body",
"bytesExact": true,
"committedBytesExact": true
},
{
"id": "deepseek-cache",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/guides/kv_cache",
"checkedAt": "2026-11-06",
"sha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081",
"file": "../official-model-registry/sources/deepseek-cache.body",
"originalSha256": "061c0c7055ceb96d0a522ae1829ff5f7126ff08f26af217643e371abb740a081",
"representation": "received-html-bytes",
"scope": "complete-captured-source",
"bytes": 35850,
"reusedReadOnly": true,
"repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-cache.body",
"bytesExact": true,
"committedBytesExact": true
},
{
"id": "deepseek-response",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/api/create-response.md",
"checkedAt": "2026-11-07",
"sha256": "5e56e45d25db47f2b6966bbb0b2471d324035c33f0c8f81eaaf8fc444e6869da",
"file": "../official-model-registry/sources/deepseek-response.md",
"originalSha256": "5e56e45d25db47f2b6966bbb0b2471d324035c33f0c8f81eaaf8fc444e6869da",
"representation": "received-document-bytes",
"scope": "complete-captured-source",
"bytes": 33870,
"reusedReadOnly": true,
"repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-response.md",
"bytesExact": true,
"committedBytesExact": true
},
{
"id": "deepseek-message",
"provider": "deepseek",
"url": "https://api-docs.deepseek.com/api/create-message.md",
"checkedAt": "2026-11-07",
"sha256": "46b31d10f429910bf93ea2166537fb803cd2f49f7c5b4ad2ee4f08257b2e17e8",
"file": "../official-model-registry/sources/deepseek-message.md",
"originalSha256": "46b31d10f429910bf93ea2166537fb803cd2f49f7c5b4ad2ee4f08257b2e17e8",
"representation": "received-document-bytes",
"scope": "complete-captured-source",
"bytes": 51134,
"reusedReadOnly": true,
"repositoryPath": "tests/fixtures/official-model-registry/sources/deepseek-message.md",
"bytesExact": true,
"committedBytesExact": true
}
],
"realModelRequests": 0,
"productionWrites": 0
},
"committedInputs": {
"checkedAt": "2026-11-07T12:32:35.873Z",
"base": "bdfeb29c85b3231bfd7bc24b8b5f49d40a3beebf",
"head": "ee97aaae7389e0aff7f89eced8d06ecce7d4f982",
"sourceCommits": [
"71f1805561e6082011ed4f0c70bb38f4546413c5",
"9e1feeebb3eca5c82bfa9efb4f32e68a73628df4",
"ee97aaae7389e0aff7f89eced8d06ecce7d4f982"
],
"rows": [
{
"path": "scripts/verify-native-cache-state-ui.mjs",
"bytes": 26680,
"sha256": "5a40f1a284174e2d7e3394441e6f091d23fc75eb5c495fcd5353d54b9624596d",
"committedWorkingFrozenExact": true
},
{
"path": "src/client/ModelCenter.css",
"bytes": 18118,
"sha256": "8e10c42d67393805ed2a3b64fa10303381d90d9e08eba8f6c2c0d5074a478fc1",
"committedWorkingFrozenExact": true
},
{
"path": "src/client/ModelCenter.tsx",
"bytes": 50355,
"sha256": "7f01e7e59b50a009d6a32dfdb573e6a83637020649a4b4921a017afbe75c150e",
"committedWorkingFrozenExact": true
},
{
"path": "src/client/ModelProviderStateDetails.css",
"bytes": 1404,
"sha256": "1c1f5c2c124b004b68d20affd4c9bad9594d0bc00ab63a0e569b922f49ce1417",
"committedWorkingFrozenExact": true
},
{
"path": "src/client/ModelProviderStateDetails.tsx",
"bytes": 3118,
"sha256": "4172ab798b7afe9dbb2ecb50c6eb0e399b8fe9c7a759c3f78f7d0bbb2ae8e1f8",
"committedWorkingFrozenExact": true
},
{
"path": "src/client/ModelRequestLedger.tsx",
"bytes": 11836,
"sha256": "e35dab71c350b758e2c0878f439665190bce6ff422ad91b395f89171e65bc626",
"committedWorkingFrozenExact": true
},
{
"path": "src/client/ModelRoutingDetails.tsx",
"bytes": 4801,
"sha256": "a3b93157e305954076fa78e62a285a01eb58a307a8c6cf27a2338e89a653e338",
"committedWorkingFrozenExact": true
},
{
"path": "src/client/RequestContextPanel.tsx",
"bytes": 13414,
"sha256": "b2c6152198eba74aa1c4d0cbfb29d9ca354b71bab2cf34309b2929beb2723e1e",
"committedWorkingFrozenExact": true
},
{
"path": "src/client/types.ts",
"bytes": 49501,
"sha256": "b45fc5851ae0d8620f503cb00b338cbde9dc76c8e9d2b3b3a374bebb1c10e95e",
"committedWorkingFrozenExact": true
},
{
"path": "src/core/context/request-plan.mjs",
"bytes": 56816,
"sha256": "3f56d3cc7c0757c62133a086f6b2743398a16be4cf87ecff1bce472fbadab6e1",
"committedWorkingFrozenExact": true
},
{
"path": "src/core/models/model-affinity.mjs",
"bytes": 3384,
"sha256": "fd642ecfb4c8a2e085812a1a03f5fc63784103758d4482b842555e2dada7a717",
"committedWorkingFrozenExact": true
},
{
"path": "src/core/models/model-hub.mjs",
"bytes": 47089,
"sha256": "e9c8fdc19e1076ef993c23ddf3d101c2a1a9a3bc2824c1733e6d0785a38f11cc",
"committedWorkingFrozenExact": true
},
{
"path": "src/core/models/protocols.mjs",
"bytes": 12242,
"sha256": "2f071a2e0c8308d55fde1913ee4980b6a181f935cd4836951a196af7ab165ce2",
"committedWorkingFrozenExact": true
},
{
"path": "src/shared/contracts/anthropic-messages.mjs",
"bytes": 6732,
"sha256": "7e245ba13e98fef31f5aef5f430e7b9691c46ca4c91ad1c90c1d4864f3a1afa9",
"committedWorkingFrozenExact": true
},
{
"path": "src/shared/contracts/model-provider-state.mjs",
"bytes": 3660,
"sha256": "8de752e559e32cb6cab6820a54001affde3996c07fb9e1636a2a1a189012c471",
"committedWorkingFrozenExact": true
},
{
"path": "src/shared/contracts/model-request.mjs",
"bytes": 9247,
"sha256": "b0a2b6cdb7939785eee61fb188e536a0886b8281ae9e9e403dc990ec12c2f0c8",
"committedWorkingFrozenExact": true
},
{
"path": "tests/fixtures/native-cache-state/SOURCE.json",
"bytes": 4883,
"sha256": "ced3703c4afb174c5b939ffb3dd8572f22ff8e5f3fb8489f627f45880315b799",
"committedWorkingFrozenExact": true
},
{
"path": "tests/fixtures/native-cache-state/sources/openai-conversation-state.md",
"bytes": 24788,
"sha256": "8a62162c2ef6ff7e94dfdad5ba06f417f5a6c00ea6521e6466d462ff2fcd9b96",
"committedWorkingFrozenExact": true
},
{
"path": "tests/fixtures/native-cache-state/sources/openai-prompt-caching.md",
"bytes": 56425,
"sha256": "01e57dacc2e5c0fb881b2d1909649983e9e327a5d6c17a98bb1183ee00e9d334",
"committedWorkingFrozenExact": true
},
{
"path": "tests/model-center.test.mjs",
"bytes": 16904,
"sha256": "c3aa558bdc79a9dc4181c3df85a598c94c3345081a12b7cca0a638cc9bb43af9",
"committedWorkingFrozenExact": true
},
{
"path": "tests/model-routing-permission.test.mjs",
"bytes": 21169,
"sha256": "b9339274c946a33e60928c9aa90fce2c894e32b5dd176ea982da0b355a735fde",
"committedWorkingFrozenExact": true
},
{
"path": "tests/native-cache-state.test.mjs",
"bytes": 29644,
"sha256": "ce063484e154f072aa024dd20a49fb0c9ea5846ed8b78f45baa12fb40e93567c",
"committedWorkingFrozenExact": true
}
],
"allowedChangedInputs": true,
"byteExact": true,
"productWorktreeClean": true
},
"finalUI": {
"checkedAt": "2026-11-07T12:32:35.904Z",
"ends": [
{
"stage": "web-ui-5",
"resultFile": "web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/result.json",
"success": true,
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-5",
"actualElectron": false,
"hostUrl": "http://127.0.0.1:51514",
"checks": [
"Existing pools retain their original Run/disabled scope without saving new defaults or issuing model requests",
"All four pool scopes save through the real form and survive reload; new pools start with session affinity and explicit selection persists",
"The request ledger shows completed-response affinity and applicable native states separately from the retained original unknown state and cache usage",
"The actual task inspector exposes the frozen state projection and upstream-owned context limits at 390px",
"Changed provider scope reselects the next eligible pool member, retains old states and one original upstream 400, and fabricates no old metadata",
"Manual model selection takes precedence, transmits its changed header and preserves the original 400 once without applying old opaque history or replaying tools",
"State details and scope settings remain readable and usable in the three existing palettes without narrow-screen document overflow",
"Candidate host restart retains saved scope, original pools, native cache settings, original metadata/cipher/snapshot and history; no tool or request is replayed"
],
"screenshots": [
{
"file": "existing-pools-1280.png",
"sha256": "76421e822001fcd91efc5ba380723b8aa928a4ead63a2ae90f88ea68d2b68445",
"method": "playwright-page"
},
{
"file": "new-session-pool-1280.png",
"sha256": "7026f014adc9301bfc94f76d36d891b1d64528accd7f39a8035168592efbb80d",
"method": "playwright-page"
},
{
"file": "task-pool-390.png",
"sha256": "80c91f796599e7db989792a8ea93172b366f33973d1e46f2a2b827eeded643f7",
"method": "playwright-page"
},
{
"file": "continued-history-1280.png",
"sha256": "36a122de9da3a7dea868cde6e20198f127c2044addd89cb18b946e4a517f6333",
"method": "playwright-page"
},
{
"file": "context-state-390.png",
"sha256": "9212ea44c965134340d596528511ce4057131ccbf7524b3446fa852daf5097ec",
"method": "playwright-page"
},
{
"file": "changed-state-original-error-390.png",
"sha256": "df74718897986f6f911ad0b4620048e97e48ca85650cbf4f525edb91b278f6a9",
"method": "playwright-page"
},
{
"file": "manual-selection-original-error-390.png",
"sha256": "664827ca950d238a6512056d903c6f0b3b1a0ef61b39edc63fa70aa0fe69c61c",
"method": "playwright-page"
},
{
"file": "state-green-390.png",
"sha256": "6c682a50caf511a41d2468ad955b8b91c38d34f1ed7a0d40419fe12d11f1d930",
"method": "playwright-page"
},
{
"file": "state-blue-390.png",
"sha256": "d93ee1edecff973a47c059a1ae8a70f8b6762e426d2bc1add72149e874790570",
"method": "playwright-page"
},
{
"file": "state-purple-390.png",
"sha256": "49c700c76dc3164c2e97738e53e6958ed14f1c17713c0ac215474b700dee9794",
"method": "playwright-page"
}
],
"contrast": [
{
"label": "green summary",
"color": "rgb(40, 56, 47)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 12.375218151996188
},
{
"label": "green note",
"color": "rgb(85, 107, 135)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 5.469902501657171
},
{
"label": "blue summary",
"color": "rgb(36, 51, 75)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 12.7261609258878
},
{
"label": "blue note",
"color": "rgb(85, 107, 135)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 5.469902501657171
},
{
"label": "purple summary",
"color": "rgb(55, 51, 63)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 12.296868538533582
},
{
"label": "purple note",
"color": "rgb(85, 107, 135)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 5.469902501657171
}
],
"errors": [],
"externalBlocked": [],
"syntheticRequests": 5,
"originalUnknownAttempts": 1,
"originalMetadataExact": true,
"originalCipherExact": true,
"originalSnapshotExact": true,
"originalHistoryExact": true,
"realModelRequests": 0,
"realCredentialsRead": 0,
"productionWrites": 0,
"viewportWidths": [
1280,
390
]
},
{
"stage": "electron-ui-1",
"resultFile": "electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/result.json",
"success": true,
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\m2-native-cache-state-2026-11-07\\candidate-app-5",
"actualElectron": true,
"hostUrl": "http://127.0.0.1:49470",
"checks": [
"Existing pools retain their original Run/disabled scope without saving new defaults or issuing model requests",
"All four pool scopes save through the real form and survive reload; new pools start with session affinity and explicit selection persists",
"The request ledger shows completed-response affinity and applicable native states separately from the retained original unknown state and cache usage",
"The actual task inspector exposes the frozen state projection and upstream-owned context limits at 390px",
"Changed provider scope reselects the next eligible pool member, retains old states and one original upstream 400, and fabricates no old metadata",
"Manual model selection takes precedence, transmits its changed header and preserves the original 400 once without applying old opaque history or replaying tools",
"State details and scope settings remain readable and usable in the three existing palettes without narrow-screen document overflow",
"Candidate host restart retains saved scope, original pools, native cache settings, original metadata/cipher/snapshot and history; no tool or request is replayed"
],
"screenshots": [
{
"file": "existing-pools-1280.png",
"sha256": "28cf8b907206581c360332aa4b20c6e7b035a985a1d2ac6b9ee67e8c0871bb19",
"method": "electron-native-stay-hidden",
"size": {
"width": 1280,
"height": 960
}
},
{
"file": "new-session-pool-1280.png",
"sha256": "c0db064b9079b100149d71d62e63b41a30a025aeb0551f593531224c2ee08e71",
"method": "electron-native-stay-hidden",
"size": {
"width": 1280,
"height": 960
}
},
{
"file": "task-pool-390.png",
"sha256": "dc80d6680a3c95e1c3008dc555e77250cb69475e7ac7c6f5af604c9f474409a5",
"method": "electron-native-stay-hidden",
"size": {
"width": 390,
"height": 844
}
},
{
"file": "continued-history-1280.png",
"sha256": "ac66c9a0f476b46ac10302c310cf1e1328839d7408033297a1ef64a79aefe820",
"method": "electron-native-stay-hidden",
"size": {
"width": 1280,
"height": 960
}
},
{
"file": "context-state-390.png",
"sha256": "8a59a8897f23201cc93ef633ad4cdfd7febd6aeb1d02723be1fcd26bf21995f8",
"method": "electron-native-stay-hidden",
"size": {
"width": 390,
"height": 844
}
},
{
"file": "changed-state-original-error-390.png",
"sha256": "a74278d90550e334bcf34492bf9887268a936a36c0a3e36b05366e499e33a52a",
"method": "electron-native-stay-hidden",
"size": {
"width": 390,
"height": 844
}
},
{
"file": "manual-selection-original-error-390.png",
"sha256": "faf88e5559ba552d749fd8df559eb7f6ae45a73482b426a68d5133153c96367f",
"method": "electron-native-stay-hidden",
"size": {
"width": 390,
"height": 844
}
},
{
"file": "state-green-390.png",
"sha256": "beeb74a2e0aa01b5751523addf4ee9d98361b8e540885f4a5877479b540fd702",
"method": "electron-native-stay-hidden",
"size": {
"width": 390,
"height": 844
}
},
{
"file": "state-blue-390.png",
"sha256": "b5fef93757654577f56bfbd058192d9d3e94f506ff605aeecf9501669f2d88e0",
"method": "electron-native-stay-hidden",
"size": {
"width": 390,
"height": 844
}
},
{
"file": "state-purple-390.png",
"sha256": "fa9f551ad43bd5e8f38f8fb3eaf4a51c28a5af04b988c48ff455daa1024d8a0b",
"method": "electron-native-stay-hidden",
"size": {
"width": 390,
"height": 844
}
}
],
"contrast": [
{
"label": "green summary",
"color": "rgb(40, 56, 47)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 12.375218151996188
},
{
"label": "green note",
"color": "rgb(85, 107, 135)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 5.469902501657171
},
{
"label": "blue summary",
"color": "rgb(36, 51, 75)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 12.7261609258878
},
{
"label": "blue note",
"color": "rgb(85, 107, 135)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 5.469902501657171
},
{
"label": "purple summary",
"color": "rgb(55, 51, 63)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 12.296868538533582
},
{
"label": "purple note",
"color": "rgb(85, 107, 135)",
"background": "rgb(255, 255, 255)",
"fontSize": "12px",
"ratio": 5.469902501657171
}
],
"errors": [],
"externalBlocked": [],
"syntheticRequests": 5,
"originalUnknownAttempts": 1,
"originalMetadataExact": true,
"originalCipherExact": true,
"originalSnapshotExact": true,
"originalHistoryExact": true,
"realModelRequests": 0,
"realCredentialsRead": 0,
"productionWrites": 0,
"viewportWidths": [
1280,
390
]
}
],
"realModelRequests": 0,
"realCredentialsRead": 0,
"productionWrites": 0,
"totalFinalEndToEndRequests": 10,
"allEndToEndRequestsNotWholeStageTotal": true,
"success": true
},
"review": {
"schemaVersion": 1,
"milestone": "M2 I09/I11 native cache blocks and cross-Run provider state",
"sourceCommits": {
"sources": "71f1805561e6082011ed4f0c70bb38f4546413c5",
"core": "9e1feeebb3eca5c82bfa9efb4f32e68a73628df4",
"ui": "ee97aaae7389e0aff7f89eced8d06ecce7d4f982"
},
"implementationReview": [
"Messages system/user/tool/tool_result block order, cache_control, independent TTLs and native extensions retain their original positions.",
"Responses complete output items, encrypted reasoning, phase, native tool metadata and explicit cache controls retain supplied upstream fields.",
"Schema2 native assistant state is bound to protocol, actual request URL, exact model, connection, credential revision and request header template. Unknown or incompatible original state remains stored; the request uses ordinary text and original tool calls/results.",
"Plain Chat pools now project history for every member when provider state exists, including same-model members with different credentials; switching only the model field no longer sends the first member's opaque reasoning to another route.",
"New pools default to session affinity, with persisted task/run/none choices; original pools keep their original run/disabled settings. Optional affinity persistence failure does not turn a completed upstream response into an error or cause replay.",
"Model center saves actual scope; ledger shows selected-route state and affinity provenance; context shows candidate connection count without adding the same state across projections.",
"Default unrestricted/passthrough/preserve, persisted ask/auto/full, user native parameters and complete history remain unchanged. No cache controls or optional output-token fields are automatically added.",
"Only completed response affinity is stored across Runs; manual selection wins and independent diagnostics do not overwrite main-task continuity. Completed/interrupted tools are not replayed by these metadata paths."
],
"validation": {
"sourceFinal": "source-5.log: 16/16, original source-1..4 preserved",
"firstCandidate": "candidate-backend-1: 127/129, two outdated affinity assumptions failed",
"correctedCandidateFiles": "candidate-backend-2: 26/26 for both affected test files",
"coverage": "103 unchanged passed tests reused by exact backend/test SHA plus 26 corrected-file tests; no single final full-suite claim",
"finalCandidate": "build-5/candidate-app-5: 880 inputs, 300 product sources, 178 backend inputs, 213 test inputs, 29 compiled outputs, 74 runtime files",
"finalWeb": "web-ui-5: 8 groups, 10 screenshots, 5 owned HTTP requests",
"finalElectron": "electron-ui-1: 8 groups, 10 native hidden-window screenshots, 5 owned HTTP requests",
"retention": "Original metadata, DPAPI ciphertext, stored model snapshot and original history exact on both ends; saved synthetic credentials/native parameters survive independent host restart; one executed list_files tool, no replay",
"sourceIdentity": "22 changed frozen inputs match current Git blobs and working bytes; 8 official captures and source manifest match their original SHA",
"oldSeals": "16171 original entries across I10/I13/I15/I14 roots checked read-only, original manifest SHA exact",
"cleanup": "No current candidate node/Electron processes or listeners at recorded nonformal ports; formal 4318 excluded"
},
"visualReview": {
"workflow": "Existing Orven React model center and task inspector, Chinese programming workflow, persistent scope and request provenance; no new console",
"reviewedScreenshots": [
"web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/new-session-pool-1280.png",
"web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/state-green-390.png",
"web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/state-blue-390.png",
"web-ui-5/web-d6b3ea8a-032b-4eef-a718-0efd492e3803/state-purple-390.png",
"electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/new-session-pool-1280.png",
"electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/context-state-390.png",
"electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/manual-selection-original-error-390.png",
"electron-ui-1/electron-8288962e-dccf-4b68-af88-c1ab414a6e0d/state-purple-390.png"
],
"observations": "Real Chinese text, saved fields, long request URLs/state SHA and original 400 remain readable at 1280/390. Existing horizontal tab scrolling is separate from document overflow. All 20 final screenshots SHA-checked, 8 opened for visual review; measured summary/note contrasts are at least 5.46.",
"failuresPreserved": "web-ui-1 label matching; web-ui-2 viewport transition hides existing narrow inspector; web-ui-3 expected A after automatic reselection chose B; web-ui-4 attempted background tools while narrow inspector was open. Drivers corrected from observed UI/request evidence; no force clicks."
},
"historical": [
"W/AD/AE/AG network failures and unknown usage retain original classifications and receipts.",
"Repeated-reading general improvement is unproven; R/W reserve-v2 live exclusion boundary remains untested.",
"Purge benefit remains unknown; this batch sends no real model requests and does not resume old experiments or user projects.",
"Mobile metadata performance, original host identity observation failure/late lifecycle cause and physical-device paths remain open."
],
"remaining": [
"I27/I28 CI with separate runnable checks and artifact/source binding.",
"M3 final independent source/program release, actual schema2 migration deltas and rollback after the new handler has produced records; do not remove new ledger entries or the existing per-table equality guard.",
"M4 new official/compatible-provider live compatibility and autonomous Node/React/Python samples, each frozen separately after M3.",
"M5 remaining native provider/media/server-tool protocols; M6 real engineering/computer/interactive-host paths; M7 performance/physical-phone/ecosystem; M8 comparable actual benefit and Purge AB/BA."
],
"productionDeployed": false,
"officialServiceHealthRechecked": false,
"realModelRequests": 0,
"realCredentialsRead": 0,
"productionWrites": 0,
"installed": false,
"restartedProduction": false,
"delegated": false,
"sourceAcceptanceComplete": true,
"wholeSystemOrLiveBenefitComplete": false
},
"priorSeals": {
"checkedAt": "2026-11-07T12:28:30.311Z",
"records": [
{
"root": ".qa/m2-cache-usage-2026-11-07",
"entries": 2948,
"bytes": 1018919970,
"manifestSha256": "b3438146114a6c0f0f303f5fa025ec11c647d560188beb14ae0405aaa9a202f7",
"entriesExact": true,
"dependencyLinksNotTraversed": 3,
"writes": 0
},
{
"root": ".qa/m2-request-ledger-2026-11-07",
"entries": 4328,
"bytes": 1620432307,
"manifestSha256": "6ed883ec1fb3e2147795f696802b575e4508e15775c4b764bc8aea166aa34035",
"entriesExact": true,
"dependencyLinksNotTraversed": 4,
"writes": 0
},
{
"root": ".qa/m2-official-registry-2026-11-07",
"entries": 5688,
"bytes": 1037272654,
"manifestSha256": "fbe078468917d79b280aecd4038e537b87ec5de212a772449ba000d7e507d763",
"entriesExact": true,
"dependencyLinksNotTraversed": 6,
"writes": 0
},
{
"root": ".qa/m2-request-contract-2026-11-07",
"entries": 3207,
"bytes": 1498866416,
"manifestSha256": "3963ad9e02d3f62c1ae4d5fefcb59fdc0bcdc63682be1c72109542a60a2b408c",
"entriesExact": true,
"dependencyLinksNotTraversed": 3,
"writes": 0
}
],
"realCredentialsRead": 0,
"productionWrites": 0,
"success": true
},
"cleanup": {
"checkedAt": "2026-11-07T12:33:10.4367296Z",
"root": "m2-native-cache-state-2026-11-07",
"count": 0,
"listenCount": 0,
"processes": [],
"listeners": [],
"portsChecked": [
11434,
49470,
49869,
51514,
56527,
56542,
56544,
62945,
63879
],
"formalPortExcluded": 4318,
"realCredentialsRead": 0,
"productionWrites": 0
},
"evidence": {
"path": ".qa/m2-native-cache-state-2026-11-07/MANIFEST.json",
"files": 5126,
"bytes": 2008555583,
"manifestSha256": "c887364e54fe3f68e5f432155db87517fb8413966f5786156bedceddadbf2217",
"dependencyLinksRecordedNotTraversed": 5,
"sealedReadOnlyFromNow": true,
"subsequentPushReceiptsSeparate": true
},
"productionDeployed": false,
"officialServiceHealthRechecked": false,
"realModelRequests": 0,
"realCredentialsRead": 0,
"productionWrites": 0,
"installed": false,
"restartedProduction": false,
"delegated": false,
"scope": "Source and independent deterministic candidate only; no live-provider, delivery or cache/Purge benefit claim",
"historicalUnknown": [
"W/AD/AE/AG network failures and unknown usage retain original classifications and receipts.",
"Repeated-reading general improvement is unproven; R/W reserve-v2 live exclusion boundary remains untested.",
"Purge benefit remains unknown; this batch sends no real model requests and does not resume old experiments or user projects.",
"Mobile metadata performance, original host identity observation failure/late lifecycle cause and physical-device paths remain open."
],
"remaining": [
"I27/I28 CI with separate runnable checks and artifact/source binding.",
"M3 final independent source/program release, actual schema2 migration deltas and rollback after the new handler has produced records; do not remove new ledger entries or the existing per-table equality guard.",
"M4 new official/compatible-provider live compatibility and autonomous Node/React/Python samples, each frozen separately after M3.",
"M5 remaining native provider/media/server-tool protocols; M6 real engineering/computer/interactive-host paths; M7 performance/physical-phone/ecosystem; M8 comparable actual benefit and Purge AB/BA."
]
}