conversation-session-context-window-cold-resume.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-context-window-cold-resume",
  4. "spec": "./test/e2e/conversation-session/context/conversation-session-context-window-cold-resume.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-context-window-cold-resume.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "cw-create-history",
  13. "kind": "main",
  14. "source": "synthetic",
  15. "timingPolicy": "fast-text",
  16. "syntheticReason": "通过真实 UI 请求创建目标会话,替代直接写 sqlite 的伪冷历史。"
  17. },
  18. {
  19. "id": "cw-create-parking",
  20. "kind": "main",
  21. "source": "synthetic",
  22. "timingPolicy": "fast-text",
  23. "syntheticReason": "确保目标会话在重启后首次点击前仍未被 Agent 恢复。"
  24. },
  25. {
  26. "id": "cw-high-usage-tool-call",
  27. "kind": "main",
  28. "source": "synthetic",
  29. "timingPolicy": "fast-text",
  30. "syntheticReason": "确定性复现用户日志中的 157762 provider usage,无需生成真实 15 万 token 历史。"
  31. },
  32. {
  33. "id": "cw-tool-result-followup",
  34. "kind": "main",
  35. "source": "synthetic",
  36. "timingPolicy": "fast-text",
  37. "syntheticReason": "稳定证明高 usage 后没有错误插入 Compact,而是直接消费 readonly tool result。"
  38. },
  39. {
  40. "id": "cw-literal-continue",
  41. "kind": "main",
  42. "source": "synthetic",
  43. "timingPolicy": "fast-text",
  44. "syntheticReason": "复现用户日志中的“继续”恢复链路,并让任何意外 Compact 因无 fixture 而 fail-closed。"
  45. },
  46. {
  47. "id": "cw-manual-compact-summary",
  48. "kind": "main",
  49. "source": "synthetic",
  50. "timingPolicy": "fast-text",
  51. "syntheticReason": "固定 compact summary 并保留高 provider usage,使 CW04 可确定性验证冷恢复读取压缩后 boundary,而不是压缩前 assistant usage。"
  52. }
  53. ]
  54. }