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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-plan-file-compact-continuity",
  4. "spec": "./test/e2e/conversation-session/planning/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": "conversation-session-plan-file-compact-continuity-title-sidecar",
  13. "kind": "common",
  14. "source": "synthetic",
  15. "timingPolicy": "fast-text",
  16. "syntheticReason": "运行时证据显示标题旁路缺少响应;在本例显式登记固定标题,避免依赖 legacy fixture 或触发后台网络重试。"
  17. },
  18. {
  19. "id": "upstream-plan-file-compact-enter-plan-call",
  20. "description": "首轮请求返回 EnterPlanMode,进入 plan mode。",
  21. "kind": "main",
  22. "source": "synthetic",
  23. "timingPolicy": "fast-text",
  24. "syntheticReason": "需要稳定制造 plan mode 状态,避免依赖真实模型是否选择 EnterPlanMode。"
  25. },
  26. {
  27. "id": "upstream-plan-file-compact-exit-plan-call",
  28. "description": "plan mode 内返回 ExitPlanMode,触发审批弹窗并携带唯一 plan marker。",
  29. "kind": "main",
  30. "source": "synthetic",
  31. "timingPolicy": "fast-text",
  32. "syntheticReason": "需要稳定触发 ExitPlanMode 审批弹窗,并让已批准 plan 内容可在文件和 compact 后请求中被追踪。"
  33. },
  34. {
  35. "id": "upstream-plan-file-compact-approval-final",
  36. "description": "审批通过后返回固定文本,让当前轮完成。",
  37. "kind": "main",
  38. "source": "synthetic",
  39. "timingPolicy": "fast-text",
  40. "syntheticReason": "审批通过后的回复内容不是本 case 核心,只需要稳定结束当前轮并保留 provider-visible approved plan。"
  41. },
  42. {
  43. "id": "upstream-plan-file-compact-checkpoint-final",
  44. "description": "审批后追加一轮普通消息,使手动 compact 具备两轮以上可压缩历史。",
  45. "kind": "main",
  46. "source": "synthetic",
  47. "timingPolicy": "fast-text",
  48. "syntheticReason": "当前 compact 策略会跳过过短历史,checkpoint 只用于稳定满足 compact 入口条件。"
  49. },
  50. {
  51. "id": "upstream-plan-file-compact-summary-success",
  52. "description": "手动 /compact 的 streaming summary 请求成功。",
  53. "kind": "main",
  54. "source": "synthetic",
  55. "timingPolicy": "fast-text",
  56. "syntheticReason": "本 case 关注 compact 后 plan_file_reference 重新注入;summary 文案只需稳定完成 compact。"
  57. },
  58. {
  59. "id": "upstream-plan-file-compact-post-compact-final",
  60. "description": "compact 后普通请求重新包含 plan_file_reference 与完整 plan marker。",
  61. "kind": "main",
  62. "source": "synthetic",
  63. "timingPolicy": "fast-text",
  64. "syntheticReason": "核心合同是 provider-visible 请求内容,回复文本只需稳定结束后续轮。"
  65. }
  66. ]
  67. }