conversation-session-running-send-now.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-running-send-now",
  4. "spec": "./test/e2e/conversation-session/queue/conversation-session-running-send-now.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-running-send-now.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "upstream-running-send-now-head-base",
  13. "kind": "main",
  14. "timingPolicy": "controlled-stream",
  15. "source": "synthetic",
  16. "syntheticReason": "固定当前轮的 text-only assistant 输出并保持运行,验证抢占后 human reminder 的 MCS 位置降级。"
  17. },
  18. {
  19. "id": "upstream-running-send-now-head-selected",
  20. "kind": "main",
  21. "source": "synthetic",
  22. "timingPolicy": "controlled-stream",
  23. "syntheticReason": "保持下一轮 streaming,便于同时断言 user 投影、queue 清空与请求次数。"
  24. },
  25. {
  26. "id": "upstream-running-send-now-promote-base",
  27. "kind": "main",
  28. "source": "synthetic",
  29. "timingPolicy": "controlled-stream",
  30. "syntheticReason": "稳定保留两条 typed queue,避免首轮提前完成并自动 drain。"
  31. },
  32. {
  33. "id": "upstream-running-send-now-promote-first-not-selected",
  34. "kind": "main",
  35. "source": "synthetic",
  36. "timingPolicy": "fast-text",
  37. "syntheticReason": "maxMatches=0 把未点项保持在 queue 的负向合同纳入 replay ledger。"
  38. },
  39. {
  40. "id": "upstream-running-send-now-promote-second-selected",
  41. "kind": "main",
  42. "source": "synthetic",
  43. "timingPolicy": "controlled-stream",
  44. "syntheticReason": "稳定验证被点项成为 active,未点项仍保留。"
  45. },
  46. {
  47. "id": "upstream-running-send-now-goal-base",
  48. "kind": "main",
  49. "source": "synthetic",
  50. "timingPolicy": "controlled-stream",
  51. "syntheticReason": "确保 /goal 先形成 typed queue,再由用户显式提升。"
  52. },
  53. {
  54. "id": "upstream-running-send-now-goal-continuation",
  55. "kind": "main",
  56. "source": "synthetic",
  57. "timingPolicy": "controlled-stream",
  58. "syntheticReason": "保持 active target + streaming 窗口,直接验证 intent 未退化成普通 text。"
  59. },
  60. {
  61. "id": "upstream-running-send-now-double-base",
  62. "kind": "main",
  63. "source": "synthetic",
  64. "timingPolicy": "controlled-stream",
  65. "syntheticReason": "让两个 click 在同一 active turn 和同一 React 刷新边界内发生。"
  66. },
  67. {
  68. "id": "upstream-running-send-now-double-first-not-selected",
  69. "kind": "main",
  70. "source": "synthetic",
  71. "timingPolicy": "fast-text",
  72. "syntheticReason": "maxMatches=0 证明第二条 command 不会触发普通 drain 消费 sibling queue item。"
  73. },
  74. {
  75. "id": "upstream-running-send-now-double-second-selected-once",
  76. "kind": "main",
  77. "source": "synthetic",
  78. "timingPolicy": "controlled-stream",
  79. "syntheticReason": "maxMatches=1 将重复 provider 请求直接视为 replay 失败,并保留 streaming 断言窗口。"
  80. },
  81. {
  82. "id": "upstream-running-send-now-segment-read",
  83. "kind": "main",
  84. "source": "synthetic",
  85. "timingPolicy": "fast-text",
  86. "syntheticReason": "当前轮必须先有工具工作,才能观察立即发送后工作段归属哪一轮。"
  87. },
  88. {
  89. "id": "upstream-running-send-now-segment-hold",
  90. "kind": "main",
  91. "source": "synthetic",
  92. "timingPolicy": "controlled-stream",
  93. "syntheticReason": "固定 Read 结果后的 running 窗口,让普通 queue 项在同一轮内入队并被立即发送抢占。"
  94. },
  95. {
  96. "id": "upstream-running-send-now-segment-selected",
  97. "kind": "main",
  98. "source": "synthetic",
  99. "timingPolicy": "fast-text",
  100. "syntheticReason": "只在请求同时带原轮 Read 结果和被点项时返回回复,证明抢占后才消费被点项。"
  101. }
  102. ]
  103. }