| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- {
- "version": 1,
- "caseName": "conversation-session-changes-group-responsive-file-summary",
- "spec": "./test/e2e/conversation-session/conversation-session-changes-group-responsive-file-summary.test.ts",
- "fixtures": [
- {
- "id": "tge03-write-app",
- "description": "TGE03 writes App.tsx.",
- "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定多扩展名文件顺序,验证 Changes file chips。" },
- "maxMatches": 1,
- "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["E2E_CHANGES_GROUP_RESPONSIVE_FILE_SUMMARY"], "bodyExcludes": ["Generate a concise title", "toolu_tge03_write_app"] },
- "response": { "statusCode": 200, "toolUse": { "id": "toolu_tge03_write_app", "name": "Write", "input": { "file_path": "{{e2eRuntimeRoot}}/conversation-session-changes-group-responsive-file-summary/App.tsx", "content": "TGE03_0\n" } } }
- },
- {
- "id": "tge03-write-css",
- "description": "TGE03 writes styles.css.",
- "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定 CSS chip 和第二个 Changes child。" },
- "maxMatches": 1,
- "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["E2E_CHANGES_GROUP_RESPONSIVE_FILE_SUMMARY", "toolu_tge03_write_app"], "bodyExcludes": ["Generate a concise title", "toolu_tge03_write_css"] },
- "response": { "statusCode": 200, "toolUse": { "id": "toolu_tge03_write_css", "name": "Write", "input": { "file_path": "{{e2eRuntimeRoot}}/conversation-session-changes-group-responsive-file-summary/styles.css", "content": "TGE03_1\n" } } }
- },
- {
- "id": "tge03-write-json",
- "description": "TGE03 writes package.json.",
- "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定 JSON chip 和第三个 Changes child。" },
- "maxMatches": 1,
- "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["E2E_CHANGES_GROUP_RESPONSIVE_FILE_SUMMARY", "toolu_tge03_write_css"], "bodyExcludes": ["Generate a concise title", "toolu_tge03_write_json"] },
- "response": { "statusCode": 200, "toolUse": { "id": "toolu_tge03_write_json", "name": "Write", "input": { "file_path": "{{e2eRuntimeRoot}}/conversation-session-changes-group-responsive-file-summary/package.json", "content": "TGE03_2\n" } } }
- },
- {
- "id": "tge03-write-markdown",
- "description": "TGE03 writes notes.md.",
- "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "第四个短文件稳定制造窄屏 +N。" },
- "maxMatches": 1,
- "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["E2E_CHANGES_GROUP_RESPONSIVE_FILE_SUMMARY", "toolu_tge03_write_json"], "bodyExcludes": ["Generate a concise title", "toolu_tge03_write_markdown"] },
- "response": { "statusCode": 200, "toolUse": { "id": "toolu_tge03_write_markdown", "name": "Write", "input": { "file_path": "{{e2eRuntimeRoot}}/conversation-session-changes-group-responsive-file-summary/notes.md", "content": "TGE03_3\n" } } }
- },
- {
- "id": "tge03-edit-app",
- "description": "TGE03 edits App.tsx to prove path deduplication.",
- "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "重复 App.tsx path 验证唯一文件数与首次出现顺序。" },
- "maxMatches": 1,
- "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["E2E_CHANGES_GROUP_RESPONSIVE_FILE_SUMMARY", "toolu_tge03_write_markdown"], "bodyExcludes": ["Generate a concise title", "toolu_tge03_edit_app"] },
- "response": { "statusCode": 200, "toolUse": { "id": "toolu_tge03_edit_app", "name": "Edit", "input": { "file_path": "{{e2eRuntimeRoot}}/conversation-session-changes-group-responsive-file-summary/App.tsx", "old_string": "TGE03_0", "new_string": "TGE03_EDITED" } } }
- },
- {
- "id": "tge03-final",
- "description": "TGE03 completes Changes for responsive assertions.",
- "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "fast-text", "syntheticReason": "固定完成态,避免 file chip 测量发生在 streaming 抖动中。" },
- "maxMatches": 1,
- "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["E2E_CHANGES_GROUP_RESPONSIVE_FILE_SUMMARY", "toolu_tge03_edit_app"], "bodyExcludes": ["Generate a concise title"] },
- "response": { "statusCode": 200, "text": "upstream-e2e-ok" }
- }
- ]
- }
|