conversation-session-running-guide-steer.json 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-running-guide-steer",
  4. "spec": "./test/e2e/conversation-session/execution/conversation-session-running-guide-steer.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "upstream-running-guide-timeline-restored",
  8. "description": "P06 cold restore and model capability switch preserve guide history.",
  9. "metadata": {
  10. "kind": "main",
  11. "source": "synthetic",
  12. "timingPolicy": "fast-text",
  13. "syntheticReason": "真实 Electron/CLI 冷恢复后切换 endpoint 能力,检查原始 guide 重新投影且无重复包装。"
  14. },
  15. "maxMatches": 2,
  16. "match": {
  17. "method": "POST",
  18. "pathIncludes": "/messages",
  19. "lastUserMessageIncludes": ["E2E_GUIDE_TIMELINE_RESTORED"],
  20. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  21. },
  22. "response": {
  23. "statusCode": 200,
  24. "text": {
  25. "text": "guide-timeline-restored-ok"
  26. }
  27. }
  28. },
  29. {
  30. "id": "upstream-running-guide-timeline-title",
  31. "description": "P06 title request returns immediately without competing with the three main timeline requests.",
  32. "metadata": {
  33. "kind": "common",
  34. "timingPolicy": "fast-text",
  35. "source": "synthetic",
  36. "syntheticReason": "标题不属于 P06 steer 时序,只需稳定返回,避免后台重试给 provider 记录和运行日志引入噪声。"
  37. },
  38. "maxMatches": 2,
  39. "match": {
  40. "method": "POST",
  41. "pathIncludes": "/messages",
  42. "bodyIncludes": ["Generate a concise title", "E2E_GUIDE_TIMELINE_BASE"]
  43. },
  44. "response": {
  45. "statusCode": 200,
  46. "statusMessage": "OK",
  47. "headers": {
  48. "content-type": "application/json; charset=utf-8"
  49. },
  50. "body": "{\"id\":\"upstream-e2e-running-guide-timeline-title\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"Guide Timeline E2E\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":64,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":12,\"service_tier\":\"standard\"}}"
  51. }
  52. },
  53. {
  54. "id": "upstream-running-guide-timeline-initial-read",
  55. "description": "P06/GTB-01: delay the initial Read tool_use so guide-1 is admitted before the tool result batch.",
  56. "metadata": {
  57. "kind": "main",
  58. "timingPolicy": "controlled-stream",
  59. "source": "synthetic",
  60. "syntheticReason": "guide-1 必须稳定进入首轮 active request,并等待 Read tool result batch 完整提交后 drain。"
  61. },
  62. "maxMatches": 2,
  63. "match": {
  64. "method": "POST",
  65. "pathIncludes": "/messages",
  66. "bodyIncludes": ["E2E_GUIDE_TIMELINE_BASE"],
  67. "bodyExcludes": [
  68. "E2E_GUIDE_TIMELINE_GUIDE_ONE",
  69. "Generate a concise title",
  70. "CRITICAL: Respond with TEXT ONLY",
  71. "Verify whether the active session goal"
  72. ],
  73. "lastUserMessageIncludes": ["E2E_GUIDE_TIMELINE_BASE"]
  74. },
  75. "response": {
  76. "statusCode": 200,
  77. "delayMs": 5000,
  78. "toolUse": {
  79. "id": "toolu_e2e_running_guide_timeline_read",
  80. "messageId": "msg_e2e_running_guide_timeline_read",
  81. "name": "Read",
  82. "input": {
  83. "file_path": "{{e2eRuntimeRoot}}/shared/readonly-tool.txt"
  84. }
  85. }
  86. }
  87. },
  88. {
  89. "id": "upstream-running-guide-timeline-middle-text",
  90. "description": "P06/GTB-01: after Read result + guide-1, delay a text-only assistant so guide-2 can be admitted.",
  91. "metadata": {
  92. "kind": "main",
  93. "timingPolicy": "controlled-stream",
  94. "source": "synthetic",
  95. "syntheticReason": "guide-2 需要稳定进入 guide-1 后的 text-only active request,并等待 assistant 正常收口后 drain。 验证来源提示及非用户授权边界。"
  96. },
  97. "maxMatches": 2,
  98. "match": {
  99. "method": "POST",
  100. "pathIncludes": "/messages",
  101. "bodyIncludes": [
  102. "E2E_GUIDE_TIMELINE_BASE",
  103. "E2E_GUIDE_TIMELINE_GUIDE_ONE",
  104. "E2E_READONLY_TOOL_FILE_CONTENT",
  105. "The user sent a new message while you were working:",
  106. "This is how ZCode surfaces messages the user sends mid-turn"
  107. ],
  108. "bodyExcludes": [
  109. "E2E_GUIDE_TIMELINE_GUIDE_TWO",
  110. "Generate a concise title",
  111. "CRITICAL: Respond with TEXT ONLY",
  112. "Verify whether the active session goal"
  113. ],
  114. "lastUserMessageIncludes": ["E2E_READONLY_TOOL_FILE_CONTENT"]
  115. },
  116. "response": {
  117. "statusCode": 200,
  118. "delayMs": 5000,
  119. "text": {
  120. "id": "upstream-e2e-running-guide-timeline-middle",
  121. "inputTokens": 180,
  122. "outputTokens": 16,
  123. "text": "E2E_GUIDE_TIMELINE_MIDDLE_ASSISTANT"
  124. }
  125. }
  126. },
  127. {
  128. "id": "upstream-running-guide-timeline-final-text",
  129. "description": "P06/GTB-04: text-only completion drains guide-2 and the same product turn returns its final assistant.",
  130. "metadata": {
  131. "kind": "main",
  132. "timingPolicy": "fast-text",
  133. "source": "synthetic",
  134. "syntheticReason": "固定最终正文 marker,用于直接断言两条 guide、三个工作段与最终 assistant 的 live DOM 全序。 验证来源提示及非用户授权边界。"
  135. },
  136. "maxMatches": 2,
  137. "match": {
  138. "method": "POST",
  139. "pathIncludes": "/messages",
  140. "bodyIncludes": [
  141. "E2E_GUIDE_TIMELINE_GUIDE_TWO",
  142. "E2E_GUIDE_TIMELINE_MIDDLE_ASSISTANT",
  143. "This is how ZCode surfaces messages the user sends mid-turn"
  144. ],
  145. "bodyExcludes": [
  146. "Generate a concise title",
  147. "CRITICAL: Respond with TEXT ONLY",
  148. "Verify whether the active session goal"
  149. ],
  150. "lastUserMessageIncludes": ["E2E_GUIDE_TIMELINE_GUIDE_TWO"]
  151. },
  152. "response": {
  153. "statusCode": 200,
  154. "text": {
  155. "id": "upstream-e2e-running-guide-timeline-final",
  156. "inputTokens": 200,
  157. "outputTokens": 16,
  158. "text": "guide-timeline-final-assistant-ok"
  159. }
  160. }
  161. },
  162. {
  163. "id": "upstream-running-guide-batch-title",
  164. "description": "M06f title request returns immediately without competing with the main batch requests.",
  165. "metadata": {
  166. "kind": "common",
  167. "timingPolicy": "fast-text",
  168. "source": "synthetic",
  169. "syntheticReason": "标题不属于 M06f guide 时序,只需稳定返回,避免后台重试给 provider 记录引入噪声。"
  170. },
  171. "maxMatches": 1,
  172. "match": {
  173. "method": "POST",
  174. "pathIncludes": "/messages",
  175. "bodyIncludes": ["Generate a concise title", "E2E_GUIDE_BATCH_BASE"]
  176. },
  177. "response": {
  178. "statusCode": 200,
  179. "statusMessage": "OK",
  180. "headers": {
  181. "content-type": "application/json; charset=utf-8"
  182. },
  183. "body": "{\"id\":\"upstream-e2e-running-guide-batch-title\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"Guide Batch E2E\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":64,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":12,\"service_tier\":\"standard\"}}"
  184. }
  185. },
  186. {
  187. "id": "upstream-running-guide-batch-initial-read",
  188. "description": "M06f: delay the initial Read tool_use so both guides are admitted before the tool result batch.",
  189. "metadata": {
  190. "kind": "main",
  191. "timingPolicy": "controlled-stream",
  192. "source": "synthetic",
  193. "syntheticReason": "两条 guide 必须都在首轮 active request 内进入等待,再在同一个 Read tool result batch 后一起 drain。"
  194. },
  195. "maxMatches": 1,
  196. "match": {
  197. "method": "POST",
  198. "pathIncludes": "/messages",
  199. "bodyIncludes": ["E2E_GUIDE_BATCH_BASE"],
  200. "bodyExcludes": [
  201. "E2E_GUIDE_BATCH_GUIDE_ONE",
  202. "Generate a concise title",
  203. "CRITICAL: Respond with TEXT ONLY",
  204. "Verify whether the active session goal"
  205. ],
  206. "lastUserMessageIncludes": ["E2E_GUIDE_BATCH_BASE"]
  207. },
  208. "response": {
  209. "statusCode": 200,
  210. "delayMs": 8000,
  211. "toolUse": {
  212. "id": "toolu_e2e_running_guide_batch_read",
  213. "messageId": "msg_e2e_running_guide_batch_read",
  214. "name": "Read",
  215. "input": {
  216. "file_path": "{{e2eRuntimeRoot}}/shared/readonly-tool.txt"
  217. }
  218. }
  219. }
  220. },
  221. {
  222. "id": "upstream-running-guide-batch-final-text",
  223. "description": "M06f: the request after the Read batch carries both guides and completes the turn.",
  224. "metadata": {
  225. "kind": "main",
  226. "timingPolicy": "fast-text",
  227. "source": "synthetic",
  228. "syntheticReason": "只在同一请求同时带两条 guide 与 Read 结果时返回最终回答;逐条 drain 不会命中。"
  229. },
  230. "maxMatches": 1,
  231. "match": {
  232. "method": "POST",
  233. "pathIncludes": "/messages",
  234. "bodyIncludes": [
  235. "E2E_GUIDE_BATCH_GUIDE_ONE",
  236. "E2E_GUIDE_BATCH_GUIDE_TWO",
  237. "E2E_READONLY_TOOL_FILE_CONTENT"
  238. ],
  239. "bodyExcludes": [
  240. "Generate a concise title",
  241. "CRITICAL: Respond with TEXT ONLY",
  242. "Verify whether the active session goal"
  243. ]
  244. },
  245. "response": {
  246. "statusCode": 200,
  247. "text": {
  248. "id": "upstream-e2e-running-guide-batch-final",
  249. "inputTokens": 200,
  250. "outputTokens": 16,
  251. "text": "guide-batch-final-assistant-ok"
  252. }
  253. }
  254. },
  255. {
  256. "id": "upstream-running-guide-steer-base-slow-stream",
  257. "description": "M06: guide 模式普通 running steer 的基础慢流。",
  258. "metadata": {
  259. "kind": "main",
  260. "timingPolicy": "controlled-stream",
  261. "source": "synthetic",
  262. "syntheticReason": "guide steer 需要稳定 running 窗口;真实 provider 可能过快完成。"
  263. },
  264. "maxMatches": 1,
  265. "match": {
  266. "method": "POST",
  267. "pathIncludes": "/messages",
  268. "bodyIncludes": ["E2E_SLOW_STREAM", "E2E_RUNNING_GUIDE_STEER_BASE"],
  269. "bodyExcludes": [
  270. "Generate a concise title",
  271. "CRITICAL: Respond with TEXT ONLY",
  272. "Verify whether the active session goal"
  273. ],
  274. "lastUserMessageIncludes": ["E2E_RUNNING_GUIDE_STEER_BASE"]
  275. },
  276. "response": {
  277. "statusCode": 200,
  278. "statusMessage": "OK",
  279. "headers": {
  280. "cache-control": "no-cache",
  281. "content-type": "text/event-stream; charset=utf-8"
  282. },
  283. "events": [
  284. {
  285. "sequence": 0,
  286. "offsetMs": 0,
  287. "text": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"id\":\"upstream-e2e-running-guide-steer-base\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"usage\":{\"input_tokens\":120,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":0,\"service_tier\":\"standard\"}}}\n\n"
  288. },
  289. {
  290. "sequence": 1,
  291. "offsetMs": 250,
  292. "text": "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"}}\n\n"
  293. },
  294. {
  295. "sequence": 2,
  296. "offsetMs": 700,
  297. "text": "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"deep\"}}\n\n"
  298. },
  299. {
  300. "sequence": 3,
  301. "offsetMs": 5000,
  302. "text": "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"seek-e2e-ok\"}}\n\n"
  303. },
  304. {
  305. "sequence": 4,
  306. "offsetMs": 5100,
  307. "text": "event: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0}\n\n"
  308. },
  309. {
  310. "sequence": 5,
  311. "offsetMs": 5200,
  312. "text": "event: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null},\"usage\":{\"input_tokens\":120,\"output_tokens\":12,\"service_tier\":\"standard\"}}\n\n"
  313. },
  314. {
  315. "sequence": 6,
  316. "offsetMs": 5300,
  317. "text": "event: message_stop\ndata: {\"type\":\"message_stop\"}\n\n"
  318. }
  319. ]
  320. }
  321. },
  322. {
  323. "id": "upstream-running-guide-goal-seed-active",
  324. "description": "M06d: 在 active goal guide case 前建立稳定 session。",
  325. "metadata": {
  326. "kind": "main",
  327. "timingPolicy": "fast-text",
  328. "source": "synthetic",
  329. "syntheticReason": "goal guide case 只验证已建立 session 上的目标链路,避免 draft prewarm admission 混入状态窗口。"
  330. },
  331. "maxMatches": 1,
  332. "match": {
  333. "method": "POST",
  334. "pathIncludes": "/messages",
  335. "bodyIncludes": ["E2E_RUNNING_GUIDE_GOAL_SEED_ACTIVE"],
  336. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"],
  337. "lastUserMessageIncludes": ["E2E_RUNNING_GUIDE_GOAL_SEED_ACTIVE"]
  338. },
  339. "response": {
  340. "statusCode": 200,
  341. "text": {
  342. "id": "upstream-e2e-running-guide-goal-seed-active",
  343. "inputTokens": 80,
  344. "outputTokens": 8,
  345. "text": "running-guide-goal-seed-ok"
  346. }
  347. }
  348. },
  349. {
  350. "id": "upstream-running-guide-goal-seed-verify",
  351. "description": "H11: 在 goal verifier guide case 前建立稳定 session。",
  352. "metadata": {
  353. "kind": "main",
  354. "timingPolicy": "fast-text",
  355. "source": "synthetic",
  356. "syntheticReason": "goal verifier guide case 只验证已建立 session 上的目标链路,避免 draft prewarm admission 混入状态窗口。"
  357. },
  358. "maxMatches": 1,
  359. "match": {
  360. "method": "POST",
  361. "pathIncludes": "/messages",
  362. "bodyIncludes": ["E2E_RUNNING_GUIDE_GOAL_SEED_VERIFY"],
  363. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"],
  364. "lastUserMessageIncludes": ["E2E_RUNNING_GUIDE_GOAL_SEED_VERIFY"]
  365. },
  366. "response": {
  367. "statusCode": 200,
  368. "text": {
  369. "id": "upstream-e2e-running-guide-goal-seed-verify",
  370. "inputTokens": 80,
  371. "outputTokens": 8,
  372. "text": "running-guide-goal-seed-ok"
  373. }
  374. }
  375. },
  376. {
  377. "id": "upstream-running-guide-goal-active-continuation-slow",
  378. "description": "M06d: guide 模式 active goal running 的 continuation 慢流。",
  379. "metadata": {
  380. "kind": "main",
  381. "timingPolicy": "controlled-stream",
  382. "source": "synthetic",
  383. "syntheticReason": "active goal guide steer 需要稳定 active target running 窗口。"
  384. },
  385. "maxMatches": 1,
  386. "match": {
  387. "method": "POST",
  388. "pathIncludes": "/messages",
  389. "bodyIncludes": [
  390. "E2E_RUNNING_GUIDE_GOAL_ACTIVE",
  391. "Continue working toward the active session goal"
  392. ],
  393. "bodyExcludes": [
  394. "Generate a concise title",
  395. "CRITICAL: Respond with TEXT ONLY",
  396. "Verify whether the active session goal"
  397. ]
  398. },
  399. "response": {
  400. "statusCode": 200,
  401. "delayMs": 5000,
  402. "text": {
  403. "id": "upstream-e2e-running-guide-goal-active",
  404. "inputTokens": 140,
  405. "outputTokens": 12,
  406. "text": "upstream-e2e-ok"
  407. }
  408. }
  409. },
  410. {
  411. "id": "upstream-running-guide-goal-verify-continuation",
  412. "description": "H11: goal verifier queue case 前的 goal continuation。",
  413. "metadata": {
  414. "kind": "main",
  415. "timingPolicy": "fast-text",
  416. "source": "synthetic",
  417. "syntheticReason": "稳定让 guide 文本在 goal verifier running 窗口进入 future queue。"
  418. },
  419. "maxMatches": 1,
  420. "match": {
  421. "method": "POST",
  422. "pathIncludes": "/messages",
  423. "bodyIncludes": [
  424. "E2E_RUNNING_GUIDE_GOAL_VERIFY",
  425. "Continue working toward the active session goal"
  426. ],
  427. "bodyExcludes": [
  428. "Generate a concise title",
  429. "CRITICAL: Respond with TEXT ONLY",
  430. "Verify whether the active session goal"
  431. ]
  432. },
  433. "response": {
  434. "statusCode": 200,
  435. "text": {
  436. "id": "upstream-e2e-running-guide-goal-verify-continuation",
  437. "inputTokens": 140,
  438. "outputTokens": 12,
  439. "text": "upstream-e2e-ok"
  440. }
  441. }
  442. },
  443. {
  444. "id": "upstream-running-guide-goal-verify-delayed",
  445. "description": "H11: delayed goal verifier lets the user queue guide text.",
  446. "metadata": {
  447. "kind": "goal-verifier",
  448. "timingPolicy": "controlled-stream",
  449. "source": "synthetic",
  450. "syntheticReason": "goal verifier queue 需要稳定 verifier running 窗口;真实 verifier 可能过快完成。"
  451. },
  452. "maxMatches": 1,
  453. "match": {
  454. "method": "POST",
  455. "pathIncludes": "/messages",
  456. "bodyIncludes": ["E2E_RUNNING_GUIDE_GOAL_VERIFY", "Verify whether the active session goal"],
  457. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  458. },
  459. "response": {
  460. "statusCode": 200,
  461. "delayMs": 60000,
  462. "headers": {
  463. "content-type": "application/json; charset=utf-8"
  464. },
  465. "body": "{\"id\":\"upstream-e2e-running-guide-goal-verify-delayed\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"passed\\\":true,\\\"reason\\\":\\\"Delayed verifier should be stopped by cleanup.\\\",\\\"nextAction\\\":\\\"\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":220,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":24,\"service_tier\":\"standard\"}}"
  466. }
  467. },
  468. {
  469. "id": "upstream-running-guide-steer-followup-drain",
  470. "description": "M06: 基础 provider batch 完成后,guide follow-up 进入同一 active turn 的下一次请求。",
  471. "metadata": {
  472. "kind": "main",
  473. "timingPolicy": "controlled-stream",
  474. "source": "synthetic",
  475. "syntheticReason": "稳定观察 guide 从 steer queue drain 为真实 user row,并保留后续 running 窗口。"
  476. },
  477. "maxMatches": 1,
  478. "match": {
  479. "method": "POST",
  480. "pathIncludes": "/messages",
  481. "bodyIncludes": ["E2E_RUNNING_GUIDE_STEER_BASE", "E2E_RUNNING_GUIDE_STEER_FOLLOWUP"],
  482. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"],
  483. "lastUserMessageIncludes": ["E2E_RUNNING_GUIDE_STEER_FOLLOWUP"]
  484. },
  485. "response": {
  486. "statusCode": 200,
  487. "delayMs": 60000,
  488. "text": {
  489. "id": "upstream-e2e-running-guide-steer-followup-drain",
  490. "inputTokens": 150,
  491. "outputTokens": 12,
  492. "text": "upstream-e2e-ok"
  493. }
  494. }
  495. },
  496. {
  497. "id": "upstream-running-guide-goal-steer-drain",
  498. "description": "M06d: active goal continuation batch 完成后,guide steer 在目标链路内继续运行。",
  499. "metadata": {
  500. "kind": "main",
  501. "timingPolicy": "controlled-stream",
  502. "source": "synthetic",
  503. "syntheticReason": "稳定观察 active goal guide drain 为真实 user row,同时保持 active target 与 running 链路。"
  504. },
  505. "maxMatches": 1,
  506. "match": {
  507. "method": "POST",
  508. "pathIncludes": "/messages",
  509. "bodyIncludes": ["E2E_RUNNING_GUIDE_GOAL_ACTIVE", "E2E_RUNNING_GUIDE_GOAL_STEER"],
  510. "bodyExcludes": [
  511. "Generate a concise title",
  512. "CRITICAL: Respond with TEXT ONLY",
  513. "Verify whether the active session goal"
  514. ],
  515. "lastUserMessageIncludes": ["E2E_RUNNING_GUIDE_GOAL_STEER"]
  516. },
  517. "response": {
  518. "statusCode": 200,
  519. "delayMs": 60000,
  520. "text": {
  521. "id": "upstream-e2e-running-guide-goal-steer-drain",
  522. "inputTokens": 160,
  523. "outputTokens": 12,
  524. "text": "upstream-e2e-ok"
  525. }
  526. }
  527. },
  528. {
  529. "id": "upstream-running-guide-goal-verify-queue-no-standalone-request",
  530. "description": "H11: guide verifier queued text should not create a standalone normal provider request in this observed window.",
  531. "metadata": {
  532. "kind": "main",
  533. "timingPolicy": "fast-text",
  534. "source": "synthetic",
  535. "syntheticReason": "goal verifier 不是普通 active turn;guide 文本应作为 future queue 保留,不应走 immediate provider request。"
  536. },
  537. "maxMatches": 0,
  538. "match": {
  539. "method": "POST",
  540. "pathIncludes": "/messages",
  541. "bodyIncludes": ["E2E_RUNNING_GUIDE_GOAL_VERIFY_QUEUE"],
  542. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  543. },
  544. "response": {
  545. "statusCode": 200,
  546. "text": {
  547. "id": "upstream-e2e-running-guide-goal-verify-queue-should-not-send",
  548. "text": "upstream-e2e-ok"
  549. }
  550. }
  551. }
  552. ]
  553. }