conversation-session-edit.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-edit",
  4. "spec": "./test/e2e/conversation-session/editing/conversation-session-edit.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-edit.json"
  8. ],
  9. "fileFixtures": [
  10. {
  11. "path": ".zcode-e2e/shared/readonly-tool.txt",
  12. "source": "created-by-helper",
  13. "description": "prepareConversationE2E 写入的只读工具输入文件,用于构造 edit 前后的 tool_result 历史。"
  14. }
  15. ],
  16. "requests": [
  17. {
  18. "id": "upstream-conversation-edit-title-generic",
  19. "kind": "common",
  20. "source": "synthetic",
  21. "timingPolicy": "fast-text",
  22. "syntheticReason": "标题不属于 edit 产品语义,只需要稳定返回,防止标题请求误命中业务 fixture。"
  23. },
  24. {
  25. "id": "upstream-conversation-edit-original-final",
  26. "kind": "main",
  27. "source": "synthetic",
  28. "timingPolicy": "fast-text",
  29. "syntheticReason": "首轮只用于构造可编辑 completed 历史,真实 provider 回复内容不影响 edit 产品语义。"
  30. },
  31. {
  32. "id": "upstream-conversation-readonly-edit-final",
  33. "kind": "main",
  34. "source": "synthetic",
  35. "timingPolicy": "fast-text",
  36. "syntheticReason": "该响应稳定完成 edit 后的只读工具历史,用于断言旧 user query 被替换。"
  37. },
  38. {
  39. "id": "upstream-conversation-edit-held-running-controlled-stream",
  40. "kind": "main",
  41. "source": "synthetic",
  42. "timingPolicy": "controlled-stream",
  43. "syntheticReason": "真实 provider 可能过快完成;旧 legacy slow stream 90.2s 贴近测试 90s 等待边界,会把时序抖动误报成产品 bug。"
  44. },
  45. {
  46. "id": "upstream-conversation-edit-held-rerun-controlled-stream",
  47. "kind": "main",
  48. "source": "synthetic",
  49. "timingPolicy": "controlled-stream",
  50. "syntheticReason": "该 case 需要 edit 重跑保持 streaming 以验证 held queue、普通 queue、goal queue 和重复 compact guard;使用 30s case-local 流避免 legacy 90.2s 边界超时。"
  51. },
  52. {
  53. "id": "upstream-conversation-edit-manual-compact-success",
  54. "kind": "main",
  55. "source": "synthetic",
  56. "timingPolicy": "fast-text",
  57. "syntheticReason": "该响应只用于证明 compact marker 完成且 queue 保留,不依赖真实 summary 内容。"
  58. },
  59. {
  60. "id": "upstream-conversation-edit-interrupted-source-controlled-stream",
  61. "kind": "main",
  62. "source": "synthetic",
  63. "timingPolicy": "controlled-stream",
  64. "syntheticReason": "D10 需要稳定制造已出现首个 assistant delta 但仍可 stop 的窗口;短 source 只保留 interrupted 语义,避免回放尾部拖慢该 case。"
  65. },
  66. {
  67. "id": "upstream-conversation-edit-interrupted-rerun-final",
  68. "kind": "main",
  69. "source": "synthetic",
  70. "timingPolicy": "fast-text",
  71. "syntheticReason": "该响应只用于区分 edit 后 rerun 是否真的执行;source interrupted 窗口仍由 legacy slow-stream fixture 构造。"
  72. },
  73. {
  74. "id": "upstream-conversation-readonly-tool-call",
  75. "kind": "common",
  76. "source": "synthetic",
  77. "timingPolicy": "fast-text",
  78. "syntheticReason": "只读工具首段用于构造稳定 tool_use/tool_result 历史;工具业务由本地文件 fixture 决定,不依赖真实模型选择。"
  79. }
  80. ]
  81. }