conversation-session-plan-file-compact-continuity.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-plan-file-compact-continuity",
  4. "spec": "./test/e2e/conversation-session/conversation-session-plan-file-compact-continuity.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-plan-file-compact-continuity.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "upstream-plan-file-compact-enter-plan-call",
  13. "description": "首轮请求返回 EnterPlanMode,进入 plan mode。",
  14. "kind": "main",
  15. "source": "synthetic",
  16. "timingPolicy": "fast-text",
  17. "syntheticReason": "稳定制造 plan mode 状态,避免依赖真实模型是否选择 EnterPlanMode。"
  18. },
  19. {
  20. "id": "upstream-plan-file-compact-exit-plan-call",
  21. "description": "plan mode 内返回 ExitPlanMode,触发审批弹窗并携带唯一 plan marker。",
  22. "kind": "main",
  23. "source": "synthetic",
  24. "timingPolicy": "fast-text",
  25. "syntheticReason": "稳定触发 ExitPlanMode 审批弹窗,并让已批准 plan 内容可在文件和 compact 后请求中被追踪。"
  26. },
  27. {
  28. "id": "upstream-plan-file-compact-approval-final",
  29. "description": "审批通过后返回固定文本,让当前轮完成。",
  30. "kind": "main",
  31. "source": "synthetic",
  32. "timingPolicy": "fast-text",
  33. "syntheticReason": "审批通过后的回复内容不是本 case 核心,只需要稳定结束当前轮。"
  34. },
  35. {
  36. "id": "upstream-plan-file-compact-checkpoint-final",
  37. "description": "审批后追加一轮普通消息,使手动 compact 具备两轮以上可压缩历史。",
  38. "kind": "main",
  39. "source": "synthetic",
  40. "timingPolicy": "fast-text",
  41. "syntheticReason": "当前 compact 策略会跳过过短历史,checkpoint 只用于稳定满足 compact 入口条件。"
  42. },
  43. {
  44. "id": "upstream-plan-file-compact-summary-success",
  45. "description": "手动 /compact 的 streaming summary 请求成功。",
  46. "kind": "main",
  47. "source": "synthetic",
  48. "timingPolicy": "fast-text",
  49. "syntheticReason": "本 case 关注 compact 后 plan_file_reference 重新注入;summary 文案只需稳定完成 compact。"
  50. },
  51. {
  52. "id": "upstream-plan-file-compact-post-compact-final",
  53. "description": "compact 后普通请求重新包含 plan_file_reference 与完整 plan marker。",
  54. "kind": "main",
  55. "source": "synthetic",
  56. "timingPolicy": "fast-text",
  57. "syntheticReason": "核心合同是 provider-visible 请求内容,回复文本只需稳定结束后续轮。"
  58. }
  59. ]
  60. }