conversation-session-compact-manual-queue.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-compact-manual-queue",
  4. "spec": "./test/e2e/conversation-session/conversation-session-compact-manual-queue.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-compact-manual-queue.json"
  8. ],
  9. "fileFixtures": [
  10. {
  11. "path": ".zcode-e2e/shared/readonly-tool.txt",
  12. "source": "created-by-helper",
  13. "description": "prepareConversationE2E 写入的只读工具输入文件,用于构造 compact 前的 tool_result 历史。"
  14. }
  15. ],
  16. "requests": [
  17. {
  18. "id": "upstream-conversation-readonly-tool-call",
  19. "kind": "common",
  20. "source": "synthetic",
  21. "timingPolicy": "fast-text",
  22. "syntheticReason": "通用只读 Read tool_use 让 compact 前历史包含稳定 tool_result。"
  23. },
  24. {
  25. "id": "upstream-compact-manual-queue-prep-one",
  26. "kind": "main",
  27. "source": "synthetic",
  28. "timingPolicy": "fast-text",
  29. "syntheticReason": "第一轮只用于形成可 compact 的普通历史,真实 provider 文案不影响 held queue 语义。"
  30. },
  31. {
  32. "id": "upstream-compact-manual-queue-readonly-final",
  33. "kind": "main",
  34. "source": "synthetic",
  35. "timingPolicy": "fast-text",
  36. "syntheticReason": "第二轮只用于构造含 readonly tool_result 的 compact 历史,工具业务由本地文件 fixture 决定。"
  37. },
  38. {
  39. "id": "upstream-compact-manual-queue-summary-success",
  40. "kind": "main",
  41. "source": "synthetic",
  42. "timingPolicy": "fast-text",
  43. "syntheticReason": "该响应只用于证明 manual compact marker 完成且 held queue 未被消费,不依赖真实 summary 内容。"
  44. },
  45. {
  46. "id": "upstream-compact-manual-queue-held-contract",
  47. "kind": "main",
  48. "source": "synthetic",
  49. "timingPolicy": "fast-text",
  50. "syntheticReason": "held queue 在 manual compact 前后都必须保留;fixture 只覆盖 marker 合同。"
  51. },
  52. {
  53. "id": "upstream-compact-manual-queue-append-contract",
  54. "kind": "main",
  55. "source": "synthetic",
  56. "timingPolicy": "fast-text",
  57. "syntheticReason": "manual compact 完成后 queue 仍 held,追加文本应入队而不是触发 provider。"
  58. }
  59. ]
  60. }