conversation-session-changes-group-responsive-file-summary.json 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-changes-group-responsive-file-summary",
  4. "spec": "./test/e2e/conversation-session/conversation-session-changes-group-responsive-file-summary.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "tge03-write-app",
  8. "description": "TGE03 writes App.tsx.",
  9. "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定多扩展名文件顺序,验证 Changes file chips。" },
  10. "maxMatches": 1,
  11. "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["E2E_CHANGES_GROUP_RESPONSIVE_FILE_SUMMARY"], "bodyExcludes": ["Generate a concise title", "toolu_tge03_write_app"] },
  12. "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" } } }
  13. },
  14. {
  15. "id": "tge03-write-css",
  16. "description": "TGE03 writes styles.css.",
  17. "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定 CSS chip 和第二个 Changes child。" },
  18. "maxMatches": 1,
  19. "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"] },
  20. "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" } } }
  21. },
  22. {
  23. "id": "tge03-write-json",
  24. "description": "TGE03 writes package.json.",
  25. "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定 JSON chip 和第三个 Changes child。" },
  26. "maxMatches": 1,
  27. "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"] },
  28. "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" } } }
  29. },
  30. {
  31. "id": "tge03-write-markdown",
  32. "description": "TGE03 writes notes.md.",
  33. "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "第四个短文件稳定制造窄屏 +N。" },
  34. "maxMatches": 1,
  35. "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"] },
  36. "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" } } }
  37. },
  38. {
  39. "id": "tge03-edit-app",
  40. "description": "TGE03 edits App.tsx to prove path deduplication.",
  41. "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "重复 App.tsx path 验证唯一文件数与首次出现顺序。" },
  42. "maxMatches": 1,
  43. "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"] },
  44. "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" } } }
  45. },
  46. {
  47. "id": "tge03-final",
  48. "description": "TGE03 completes Changes for responsive assertions.",
  49. "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "fast-text", "syntheticReason": "固定完成态,避免 file chip 测量发生在 streaming 抖动中。" },
  50. "maxMatches": 1,
  51. "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["E2E_CHANGES_GROUP_RESPONSIVE_FILE_SUMMARY", "toolu_tge03_edit_app"], "bodyExcludes": ["Generate a concise title"] },
  52. "response": { "statusCode": 200, "text": "upstream-e2e-ok" }
  53. }
  54. ]
  55. }