conversation-session-total-tokens-reminder.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-total-tokens-reminder",
  4. "spec": "./test/e2e/conversation-session/goals/conversation-session-total-tokens-reminder.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-total-tokens-reminder.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "tt-title-a-mcs",
  13. "description": "a-mcs 首发的确定性标题响应。",
  14. "kind": "common",
  15. "timingPolicy": "fast-text",
  16. "source": "synthetic",
  17. "syntheticReason": "首发会异步触发 title sidecar;用首轮 marker 隔离并固定标题响应。"
  18. },
  19. {
  20. "id": "tt-a1-mcs",
  21. "description": "A MCS 第一轮首个请求:Read,usage 1000/5。",
  22. "kind": "main",
  23. "timingPolicy": "fast-text",
  24. "source": "synthetic",
  25. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  26. },
  27. {
  28. "id": "tt-a2-mcs",
  29. "description": "A MCS 第一个工具批次之后:Read,usage 2400/7。",
  30. "kind": "main",
  31. "timingPolicy": "fast-text",
  32. "source": "synthetic",
  33. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  34. },
  35. {
  36. "id": "tt-a3-mcs",
  37. "description": "A MCS 第二个工具批次之后:文字收尾,usage 2600/9。",
  38. "kind": "main",
  39. "timingPolicy": "fast-text",
  40. "source": "synthetic",
  41. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  42. },
  43. {
  44. "id": "tt-a4-mcs",
  45. "description": "A MCS 第二轮首个请求:Read,usage 3000/10。",
  46. "kind": "main",
  47. "timingPolicy": "fast-text",
  48. "source": "synthetic",
  49. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  50. },
  51. {
  52. "id": "tt-a5-mcs",
  53. "description": "A MCS 工具批次之后:文字因输出上限停止,usage 3050/8。",
  54. "kind": "main",
  55. "timingPolicy": "fast-text",
  56. "source": "synthetic",
  57. "syntheticReason": "固定一次因 max_tokens 停止的文字回复,触发输出续写;续写请求同样没有提醒。"
  58. },
  59. {
  60. "id": "tt-a6-mcs",
  61. "description": "A MCS 输出续写:文字收尾,usage 3100/3。",
  62. "kind": "main",
  63. "timingPolicy": "fast-text",
  64. "source": "synthetic",
  65. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  66. },
  67. {
  68. "id": "tt-a7-mcs",
  69. "description": "A MCS 冷恢复后第三轮首个请求:Read,usage 3300/4。",
  70. "kind": "main",
  71. "timingPolicy": "fast-text",
  72. "source": "synthetic",
  73. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  74. },
  75. {
  76. "id": "tt-a8-mcs",
  77. "description": "A MCS 冷恢复后的工具批次之后:文字收尾,usage 3400/6。",
  78. "kind": "main",
  79. "timingPolicy": "fast-text",
  80. "source": "synthetic",
  81. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  82. },
  83. {
  84. "id": "tt-title-a-plain",
  85. "description": "a-plain 首发的确定性标题响应。",
  86. "kind": "common",
  87. "timingPolicy": "fast-text",
  88. "source": "synthetic",
  89. "syntheticReason": "首发会异步触发 title sidecar;用首轮 marker 隔离并固定标题响应。"
  90. },
  91. {
  92. "id": "tt-a1-plain",
  93. "description": "A PLAIN 第一轮首个请求:Read,usage 1000/5。",
  94. "kind": "main",
  95. "timingPolicy": "fast-text",
  96. "source": "synthetic",
  97. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  98. },
  99. {
  100. "id": "tt-a2-plain",
  101. "description": "A PLAIN 第一个工具批次之后:Read,usage 2400/7。",
  102. "kind": "main",
  103. "timingPolicy": "fast-text",
  104. "source": "synthetic",
  105. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  106. },
  107. {
  108. "id": "tt-a3-plain",
  109. "description": "A PLAIN 第二个工具批次之后:文字收尾,usage 2600/9。",
  110. "kind": "main",
  111. "timingPolicy": "fast-text",
  112. "source": "synthetic",
  113. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  114. },
  115. {
  116. "id": "tt-a4-plain",
  117. "description": "A PLAIN 第二轮首个请求:Read,usage 3000/10。",
  118. "kind": "main",
  119. "timingPolicy": "fast-text",
  120. "source": "synthetic",
  121. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  122. },
  123. {
  124. "id": "tt-a5-plain",
  125. "description": "A PLAIN 工具批次之后:文字因输出上限停止,usage 3050/8。",
  126. "kind": "main",
  127. "timingPolicy": "fast-text",
  128. "source": "synthetic",
  129. "syntheticReason": "固定一次因 max_tokens 停止的文字回复,触发输出续写;续写请求同样没有提醒。"
  130. },
  131. {
  132. "id": "tt-a6-plain",
  133. "description": "A PLAIN 输出续写:文字收尾,usage 3100/3。",
  134. "kind": "main",
  135. "timingPolicy": "fast-text",
  136. "source": "synthetic",
  137. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  138. },
  139. {
  140. "id": "tt-a7-plain",
  141. "description": "A PLAIN 冷恢复后第三轮首个请求:Read,usage 3300/4。",
  142. "kind": "main",
  143. "timingPolicy": "fast-text",
  144. "source": "synthetic",
  145. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  146. },
  147. {
  148. "id": "tt-a8-plain",
  149. "description": "A PLAIN 冷恢复后的工具批次之后:文字收尾,usage 3400/6。",
  150. "kind": "main",
  151. "timingPolicy": "fast-text",
  152. "source": "synthetic",
  153. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  154. },
  155. {
  156. "id": "tt-title-c",
  157. "description": "c 首发的确定性标题响应。",
  158. "kind": "common",
  159. "timingPolicy": "fast-text",
  160. "source": "synthetic",
  161. "syntheticReason": "首发会异步触发 title sidecar;用首轮 marker 隔离并固定标题响应。"
  162. },
  163. {
  164. "id": "tt-c1",
  165. "description": "C 第一轮首个请求:Read,usage 1000/5。",
  166. "kind": "main",
  167. "timingPolicy": "fast-text",
  168. "source": "synthetic",
  169. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  170. },
  171. {
  172. "id": "tt-c2",
  173. "description": "C 第一个工具批次之后:Read,usage 975000/7,超过 1000000 窗口的自动压缩阈值。",
  174. "kind": "main",
  175. "timingPolicy": "fast-text",
  176. "source": "synthetic",
  177. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  178. },
  179. {
  180. "id": "tt-c-auto-summary",
  181. "description": "C 自动压缩的摘要请求。",
  182. "kind": "main",
  183. "timingPolicy": "fast-text",
  184. "source": "synthetic",
  185. "syntheticReason": "固定自动压缩的摘要响应,usage 写死。"
  186. },
  187. {
  188. "id": "tt-c3",
  189. "description": "C 自动压缩后的首个请求:Read,usage 3000/10。",
  190. "kind": "main",
  191. "timingPolicy": "fast-text",
  192. "source": "synthetic",
  193. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  194. },
  195. {
  196. "id": "tt-c4",
  197. "description": "C 压缩后的工具批次之后:文字收尾,usage 3100/3。",
  198. "kind": "main",
  199. "timingPolicy": "fast-text",
  200. "source": "synthetic",
  201. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  202. },
  203. {
  204. "id": "tt-c-manual-summary",
  205. "description": "C 手动 /compact 的摘要请求。",
  206. "kind": "main",
  207. "timingPolicy": "fast-text",
  208. "source": "synthetic",
  209. "syntheticReason": "固定手动压缩的摘要响应,usage 写死。"
  210. },
  211. {
  212. "id": "tt-c5",
  213. "description": "C 手动压缩后的第二轮首个请求:Read,usage 3300/4。",
  214. "kind": "main",
  215. "timingPolicy": "fast-text",
  216. "source": "synthetic",
  217. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  218. },
  219. {
  220. "id": "tt-c6",
  221. "description": "C 第二轮工具批次之后:文字收尾,usage 3400/6。",
  222. "kind": "main",
  223. "timingPolicy": "fast-text",
  224. "source": "synthetic",
  225. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  226. },
  227. {
  228. "id": "tt-c7",
  229. "description": "C 第三轮首个请求:Read,usage 3500/5。",
  230. "kind": "main",
  231. "timingPolicy": "fast-text",
  232. "source": "synthetic",
  233. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  234. },
  235. {
  236. "id": "tt-c8-too-long",
  237. "description": "C 第三轮工具批次之后:上游返回 prompt is too long,触发 reactive compaction。",
  238. "kind": "main",
  239. "timingPolicy": "fault-stream",
  240. "source": "synthetic",
  241. "syntheticReason": "注入一次上下文超限错误,触发 reactive compaction;错误响应没有 usage。"
  242. },
  243. {
  244. "id": "tt-c-reactive-summary",
  245. "description": "C reactive compaction 的摘要请求。",
  246. "kind": "main",
  247. "timingPolicy": "fast-text",
  248. "source": "synthetic",
  249. "syntheticReason": "固定 reactive 压缩的摘要响应,usage 写死。"
  250. },
  251. {
  252. "id": "tt-c9",
  253. "description": "C reactive compaction 后的重试:Read,usage 3700/6。",
  254. "kind": "main",
  255. "timingPolicy": "fast-text",
  256. "source": "synthetic",
  257. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  258. },
  259. {
  260. "id": "tt-c10",
  261. "description": "C 重试后的工具批次之后:文字收尾,usage 3800/2。",
  262. "kind": "main",
  263. "timingPolicy": "fast-text",
  264. "source": "synthetic",
  265. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  266. },
  267. {
  268. "id": "tt-title-s",
  269. "description": "s 首发的确定性标题响应。",
  270. "kind": "common",
  271. "timingPolicy": "fast-text",
  272. "source": "synthetic",
  273. "syntheticReason": "首发会异步触发 title sidecar;用首轮 marker 隔离并固定标题响应。"
  274. },
  275. {
  276. "id": "tt-s-parent-agent",
  277. "description": "S 父会话首个请求:启动 Explore 子 agent,usage 1000/5。",
  278. "kind": "main",
  279. "timingPolicy": "fast-text",
  280. "source": "synthetic",
  281. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  282. },
  283. {
  284. "id": "tt-s-child-1",
  285. "description": "S 子 agent 首个请求:Read,usage 1000/5。",
  286. "kind": "main",
  287. "timingPolicy": "fast-text",
  288. "source": "synthetic",
  289. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  290. },
  291. {
  292. "id": "tt-s-child-2",
  293. "description": "S 子 agent 工具批次之后:文字收尾,usage 2400/7。",
  294. "kind": "main",
  295. "timingPolicy": "fast-text",
  296. "source": "synthetic",
  297. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  298. },
  299. {
  300. "id": "tt-s-parent-launched",
  301. "description": "S 父会话 Agent 结果之后:文字,usage 2600/9。",
  302. "kind": "main",
  303. "timingPolicy": "fast-text",
  304. "source": "synthetic",
  305. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  306. },
  307. {
  308. "id": "tt-s-parent-notified",
  309. "description": "S 父会话的通知轮:文字收尾,usage 2700/4。",
  310. "kind": "main",
  311. "timingPolicy": "fast-text",
  312. "source": "synthetic",
  313. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  314. },
  315. {
  316. "id": "tt-title-n",
  317. "description": "n 首发的确定性标题响应。",
  318. "kind": "common",
  319. "timingPolicy": "fast-text",
  320. "source": "synthetic",
  321. "syntheticReason": "首发会异步触发 title sidecar;用首轮 marker 隔离并固定标题响应。"
  322. },
  323. {
  324. "id": "tt-n1",
  325. "description": "N 首轮:文字,usage 1000/5。",
  326. "kind": "main",
  327. "timingPolicy": "fast-text",
  328. "source": "synthetic",
  329. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  330. },
  331. {
  332. "id": "tt-n2",
  333. "description": "N 快照补上预算行并冷恢复后的第二轮:文字,usage 1200/6。",
  334. "kind": "main",
  335. "timingPolicy": "fast-text",
  336. "source": "synthetic",
  337. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  338. },
  339. {
  340. "id": "tt-n-summary",
  341. "description": "N 手动 /compact 的摘要请求。",
  342. "kind": "main",
  343. "timingPolicy": "fast-text",
  344. "source": "synthetic",
  345. "syntheticReason": "固定手动压缩的摘要;压缩后 system 按当前代码重建。"
  346. },
  347. {
  348. "id": "tt-n3",
  349. "description": "N 压缩后的第三轮:文字,usage 1300/4。",
  350. "kind": "main",
  351. "timingPolicy": "fast-text",
  352. "source": "synthetic",
  353. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  354. },
  355. {
  356. "id": "tt-title-o",
  357. "description": "O 首发的确定性标题响应。",
  358. "kind": "common",
  359. "timingPolicy": "fast-text",
  360. "source": "synthetic",
  361. "syntheticReason": "首发会异步触发 title sidecar;用首轮 marker 隔离并固定标题响应。"
  362. },
  363. {
  364. "id": "tt-o1",
  365. "description": "O 第一轮首个请求:Read,usage 1000/5。",
  366. "kind": "main",
  367. "timingPolicy": "fast-text",
  368. "source": "synthetic",
  369. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  370. },
  371. {
  372. "id": "tt-o2",
  373. "description": "O 工具批次之后:文字收尾,usage 2400/7。",
  374. "kind": "main",
  375. "timingPolicy": "fast-text",
  376. "source": "synthetic",
  377. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  378. },
  379. {
  380. "id": "tt-o3",
  381. "description": "O 第二轮:文字,usage 2600/9。",
  382. "kind": "main",
  383. "timingPolicy": "fast-text",
  384. "source": "synthetic",
  385. "syntheticReason": "按上一步的工具调用 id 串成固定顺序;spec 读取请求体,断言没有 token 预算提醒。"
  386. }
  387. ]
  388. }