conversation-session-subagent-catalog-refresh.json 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199
  1. {
  2. "version": 1,
  3. "spec": "./test/e2e/conversation-session/subagents/conversation-session-subagent-catalog-refresh.test.ts",
  4. "fixtures": [
  5. {
  6. "id": "scr-user-title",
  7. "description": "scr-user-title",
  8. "metadata": {
  9. "kind": "common",
  10. "source": "synthetic",
  11. "timingPolicy": "fast-text",
  12. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  13. },
  14. "maxMatches": 1,
  15. "match": {
  16. "method": "POST",
  17. "pathIncludes": "/messages",
  18. "bodyIncludes": ["Generate a concise title", "E2E_SCR_USER_SEED"]
  19. },
  20. "response": {
  21. "statusCode": 200,
  22. "headers": {
  23. "content-type": "application/json; charset=utf-8"
  24. },
  25. "body": "{\"id\":\"msg_upstream_e2e_text\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"Subagent catalog refresh\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":32,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":12,\"service_tier\":\"standard\"}}"
  26. }
  27. },
  28. {
  29. "id": "scr-user-seed",
  30. "description": "scr-user-seed",
  31. "metadata": {
  32. "kind": "main",
  33. "source": "synthetic",
  34. "timingPolicy": "fast-text",
  35. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  36. },
  37. "maxMatches": 1,
  38. "match": {
  39. "method": "POST",
  40. "pathIncludes": "/messages",
  41. "lastUserMessageIncludes": ["E2E_SCR_USER_SEED"],
  42. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  43. },
  44. "response": {
  45. "statusCode": 200,
  46. "text": {
  47. "text": "E2E_SCR_USER_SEED_DONE",
  48. "inputTokens": 32
  49. }
  50. }
  51. },
  52. {
  53. "id": "scr-user-add-tool",
  54. "description": "scr-user-add-tool",
  55. "metadata": {
  56. "kind": "main",
  57. "source": "synthetic",
  58. "timingPolicy": "fast-text",
  59. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  60. },
  61. "maxMatches": 1,
  62. "match": {
  63. "method": "POST",
  64. "pathIncludes": "/messages",
  65. "lastUserMessageIncludes": ["E2E_SCR_USER_ADD:"],
  66. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  67. },
  68. "response": {
  69. "statusCode": 200,
  70. "toolUses": [
  71. {
  72. "id": "toolu_scr_user_add_spawn",
  73. "name": "Agent",
  74. "inputTokens": 32,
  75. "input": {
  76. "description": "Catalog refresh add",
  77. "prompt": "E2E_SCR_USER_ADD_CHILD",
  78. "subagent_type": "e2e-refresh-a-user",
  79. "run_in_background": false
  80. }
  81. }
  82. ]
  83. }
  84. },
  85. {
  86. "id": "scr-user-add-child",
  87. "description": "scr-user-add-child",
  88. "metadata": {
  89. "kind": "subagent",
  90. "source": "synthetic",
  91. "timingPolicy": "fast-text",
  92. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  93. },
  94. "maxMatches": 1,
  95. "match": {
  96. "method": "POST",
  97. "pathIncludes": "/messages",
  98. "lastUserMessageIncludes": ["E2E_SCR_USER_ADD_CHILD"],
  99. "bodyExcludes": [
  100. "Generate a concise title",
  101. "CRITICAL: Respond with TEXT ONLY",
  102. "E2E_SCR_USER_SEED"
  103. ]
  104. },
  105. "response": {
  106. "statusCode": 200,
  107. "text": {
  108. "text": "E2E_SCR_USER_ADD_CHILD_DONE",
  109. "inputTokens": 32
  110. }
  111. }
  112. },
  113. {
  114. "id": "scr-user-add-final",
  115. "description": "scr-user-add-final",
  116. "metadata": {
  117. "kind": "main",
  118. "source": "synthetic",
  119. "timingPolicy": "fast-text",
  120. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  121. },
  122. "maxMatches": 1,
  123. "match": {
  124. "method": "POST",
  125. "pathIncludes": "/messages",
  126. "bodyIncludes": ["toolu_scr_user_add_spawn", "tool_result", "E2E_SCR_USER_ADD"],
  127. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  128. },
  129. "response": {
  130. "statusCode": 200,
  131. "text": {
  132. "text": "E2E_SCR_USER_ADD_DONE",
  133. "inputTokens": 32
  134. }
  135. }
  136. },
  137. {
  138. "id": "scr-user-renamed-old-tool",
  139. "description": "scr-user-renamed-old-tool",
  140. "metadata": {
  141. "kind": "main",
  142. "source": "synthetic",
  143. "timingPolicy": "fast-text",
  144. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  145. },
  146. "maxMatches": 1,
  147. "match": {
  148. "method": "POST",
  149. "pathIncludes": "/messages",
  150. "lastUserMessageIncludes": ["E2E_SCR_USER_RENAMED_OLD:"],
  151. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  152. },
  153. "response": {
  154. "statusCode": 200,
  155. "toolUses": [
  156. {
  157. "id": "toolu_scr_user_renamed-old_spawn",
  158. "name": "Agent",
  159. "inputTokens": 32,
  160. "input": {
  161. "description": "Catalog refresh renamed-old",
  162. "prompt": "E2E_SCR_USER_RENAMED_OLD_CHILD",
  163. "subagent_type": "e2e-refresh-a-user",
  164. "run_in_background": false
  165. }
  166. },
  167. {
  168. "id": "toolu_scr_user_renamed-old_resume",
  169. "name": "SendMessage",
  170. "inputTokens": 32,
  171. "input": {
  172. "to": "{{latestAgentId}}",
  173. "message": "E2E_SCR_USER_RENAMED_OLD_RESUME",
  174. "summary": "Resume missing profile"
  175. }
  176. }
  177. ]
  178. }
  179. },
  180. {
  181. "id": "scr-user-renamed-old-final",
  182. "description": "scr-user-renamed-old-final",
  183. "metadata": {
  184. "kind": "main",
  185. "source": "synthetic",
  186. "timingPolicy": "fast-text",
  187. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  188. },
  189. "maxMatches": 1,
  190. "match": {
  191. "method": "POST",
  192. "pathIncludes": "/messages",
  193. "bodyIncludes": [
  194. "toolu_scr_user_renamed-old_spawn",
  195. "tool_result",
  196. "E2E_SCR_USER_RENAMED_OLD"
  197. ],
  198. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  199. },
  200. "response": {
  201. "statusCode": 200,
  202. "text": {
  203. "text": "E2E_SCR_USER_RENAMED_OLD_DONE",
  204. "inputTokens": 32
  205. }
  206. }
  207. },
  208. {
  209. "id": "scr-user-renamed-new-tool",
  210. "description": "scr-user-renamed-new-tool",
  211. "metadata": {
  212. "kind": "main",
  213. "source": "synthetic",
  214. "timingPolicy": "fast-text",
  215. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  216. },
  217. "maxMatches": 1,
  218. "match": {
  219. "method": "POST",
  220. "pathIncludes": "/messages",
  221. "lastUserMessageIncludes": ["E2E_SCR_USER_RENAMED_NEW:"],
  222. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  223. },
  224. "response": {
  225. "statusCode": 200,
  226. "toolUses": [
  227. {
  228. "id": "toolu_scr_user_renamed-new_spawn",
  229. "name": "Agent",
  230. "inputTokens": 32,
  231. "input": {
  232. "description": "Catalog refresh renamed-new",
  233. "prompt": "E2E_SCR_USER_RENAMED_NEW_CHILD",
  234. "subagent_type": "e2e-refresh-b-user",
  235. "run_in_background": false
  236. }
  237. }
  238. ]
  239. }
  240. },
  241. {
  242. "id": "scr-user-renamed-new-child",
  243. "description": "scr-user-renamed-new-child",
  244. "metadata": {
  245. "kind": "subagent",
  246. "source": "synthetic",
  247. "timingPolicy": "fast-text",
  248. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  249. },
  250. "maxMatches": 1,
  251. "match": {
  252. "method": "POST",
  253. "pathIncludes": "/messages",
  254. "lastUserMessageIncludes": ["E2E_SCR_USER_RENAMED_NEW_CHILD"],
  255. "bodyExcludes": [
  256. "Generate a concise title",
  257. "CRITICAL: Respond with TEXT ONLY",
  258. "E2E_SCR_USER_SEED"
  259. ]
  260. },
  261. "response": {
  262. "statusCode": 200,
  263. "text": {
  264. "text": "E2E_SCR_USER_RENAMED_NEW_CHILD_DONE",
  265. "inputTokens": 32
  266. }
  267. }
  268. },
  269. {
  270. "id": "scr-user-renamed-new-final",
  271. "description": "scr-user-renamed-new-final",
  272. "metadata": {
  273. "kind": "main",
  274. "source": "synthetic",
  275. "timingPolicy": "fast-text",
  276. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  277. },
  278. "maxMatches": 1,
  279. "match": {
  280. "method": "POST",
  281. "pathIncludes": "/messages",
  282. "bodyIncludes": [
  283. "toolu_scr_user_renamed-new_spawn",
  284. "tool_result",
  285. "E2E_SCR_USER_RENAMED_NEW"
  286. ],
  287. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  288. },
  289. "response": {
  290. "statusCode": 200,
  291. "text": {
  292. "text": "E2E_SCR_USER_RENAMED_NEW_DONE",
  293. "inputTokens": 32
  294. }
  295. }
  296. },
  297. {
  298. "id": "scr-user-update-tool",
  299. "description": "scr-user-update-tool",
  300. "metadata": {
  301. "kind": "main",
  302. "source": "synthetic",
  303. "timingPolicy": "fast-text",
  304. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  305. },
  306. "maxMatches": 1,
  307. "match": {
  308. "method": "POST",
  309. "pathIncludes": "/messages",
  310. "lastUserMessageIncludes": ["E2E_SCR_USER_UPDATE:"],
  311. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  312. },
  313. "response": {
  314. "statusCode": 200,
  315. "toolUses": [
  316. {
  317. "id": "toolu_scr_user_update_spawn",
  318. "name": "Agent",
  319. "inputTokens": 32,
  320. "input": {
  321. "description": "Catalog refresh update",
  322. "prompt": "E2E_SCR_USER_UPDATE_CHILD",
  323. "subagent_type": "e2e-refresh-b-user",
  324. "run_in_background": false
  325. }
  326. }
  327. ]
  328. }
  329. },
  330. {
  331. "id": "scr-user-update-child",
  332. "description": "scr-user-update-child",
  333. "metadata": {
  334. "kind": "subagent",
  335. "source": "synthetic",
  336. "timingPolicy": "fast-text",
  337. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  338. },
  339. "maxMatches": 1,
  340. "match": {
  341. "method": "POST",
  342. "pathIncludes": "/messages",
  343. "lastUserMessageIncludes": ["E2E_SCR_USER_UPDATE_CHILD"],
  344. "bodyExcludes": [
  345. "Generate a concise title",
  346. "CRITICAL: Respond with TEXT ONLY",
  347. "E2E_SCR_USER_SEED"
  348. ]
  349. },
  350. "response": {
  351. "statusCode": 200,
  352. "text": {
  353. "text": "E2E_SCR_USER_UPDATE_CHILD_DONE",
  354. "inputTokens": 32
  355. }
  356. }
  357. },
  358. {
  359. "id": "scr-user-update-final",
  360. "description": "scr-user-update-final",
  361. "metadata": {
  362. "kind": "main",
  363. "source": "synthetic",
  364. "timingPolicy": "fast-text",
  365. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  366. },
  367. "maxMatches": 1,
  368. "match": {
  369. "method": "POST",
  370. "pathIncludes": "/messages",
  371. "bodyIncludes": ["toolu_scr_user_update_spawn", "tool_result", "E2E_SCR_USER_UPDATE"],
  372. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  373. },
  374. "response": {
  375. "statusCode": 200,
  376. "text": {
  377. "text": "E2E_SCR_USER_UPDATE_DONE",
  378. "inputTokens": 32
  379. }
  380. }
  381. },
  382. {
  383. "id": "scr-user-disabled-tool",
  384. "description": "scr-user-disabled-tool",
  385. "metadata": {
  386. "kind": "main",
  387. "source": "synthetic",
  388. "timingPolicy": "fast-text",
  389. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  390. },
  391. "maxMatches": 1,
  392. "match": {
  393. "method": "POST",
  394. "pathIncludes": "/messages",
  395. "lastUserMessageIncludes": ["E2E_SCR_USER_DISABLED:"],
  396. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  397. },
  398. "response": {
  399. "statusCode": 200,
  400. "toolUses": [
  401. {
  402. "id": "toolu_scr_user_disabled_spawn",
  403. "name": "Agent",
  404. "inputTokens": 32,
  405. "input": {
  406. "description": "Catalog refresh disabled",
  407. "prompt": "E2E_SCR_USER_DISABLED_CHILD",
  408. "subagent_type": "e2e-refresh-b-user",
  409. "run_in_background": false
  410. }
  411. },
  412. {
  413. "id": "toolu_scr_user_disabled_resume",
  414. "name": "SendMessage",
  415. "inputTokens": 32,
  416. "input": {
  417. "to": "{{latestAgentId}}",
  418. "message": "E2E_SCR_USER_DISABLED_RESUME",
  419. "summary": "Resume missing profile"
  420. }
  421. }
  422. ]
  423. }
  424. },
  425. {
  426. "id": "scr-user-disabled-final",
  427. "description": "scr-user-disabled-final",
  428. "metadata": {
  429. "kind": "main",
  430. "source": "synthetic",
  431. "timingPolicy": "fast-text",
  432. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  433. },
  434. "maxMatches": 1,
  435. "match": {
  436. "method": "POST",
  437. "pathIncludes": "/messages",
  438. "bodyIncludes": ["toolu_scr_user_disabled_spawn", "tool_result", "E2E_SCR_USER_DISABLED"],
  439. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  440. },
  441. "response": {
  442. "statusCode": 200,
  443. "text": {
  444. "text": "E2E_SCR_USER_DISABLED_DONE",
  445. "inputTokens": 32
  446. }
  447. }
  448. },
  449. {
  450. "id": "scr-user-reenabled-tool",
  451. "description": "scr-user-reenabled-tool",
  452. "metadata": {
  453. "kind": "main",
  454. "source": "synthetic",
  455. "timingPolicy": "fast-text",
  456. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  457. },
  458. "maxMatches": 1,
  459. "match": {
  460. "method": "POST",
  461. "pathIncludes": "/messages",
  462. "lastUserMessageIncludes": ["E2E_SCR_USER_REENABLED:"],
  463. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  464. },
  465. "response": {
  466. "statusCode": 200,
  467. "toolUses": [
  468. {
  469. "id": "toolu_scr_user_reenabled_spawn",
  470. "name": "Agent",
  471. "inputTokens": 32,
  472. "input": {
  473. "description": "Catalog refresh reenabled",
  474. "prompt": "E2E_SCR_USER_REENABLED_CHILD",
  475. "subagent_type": "e2e-refresh-b-user",
  476. "run_in_background": false
  477. }
  478. }
  479. ]
  480. }
  481. },
  482. {
  483. "id": "scr-user-reenabled-child",
  484. "description": "scr-user-reenabled-child",
  485. "metadata": {
  486. "kind": "subagent",
  487. "source": "synthetic",
  488. "timingPolicy": "fast-text",
  489. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  490. },
  491. "maxMatches": 1,
  492. "match": {
  493. "method": "POST",
  494. "pathIncludes": "/messages",
  495. "lastUserMessageIncludes": ["E2E_SCR_USER_REENABLED_CHILD"],
  496. "bodyExcludes": [
  497. "Generate a concise title",
  498. "CRITICAL: Respond with TEXT ONLY",
  499. "E2E_SCR_USER_SEED"
  500. ]
  501. },
  502. "response": {
  503. "statusCode": 200,
  504. "text": {
  505. "text": "E2E_SCR_USER_REENABLED_CHILD_DONE",
  506. "inputTokens": 32
  507. }
  508. }
  509. },
  510. {
  511. "id": "scr-user-reenabled-final",
  512. "description": "scr-user-reenabled-final",
  513. "metadata": {
  514. "kind": "main",
  515. "source": "synthetic",
  516. "timingPolicy": "fast-text",
  517. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  518. },
  519. "maxMatches": 1,
  520. "match": {
  521. "method": "POST",
  522. "pathIncludes": "/messages",
  523. "bodyIncludes": ["toolu_scr_user_reenabled_spawn", "tool_result", "E2E_SCR_USER_REENABLED"],
  524. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  525. },
  526. "response": {
  527. "statusCode": 200,
  528. "text": {
  529. "text": "E2E_SCR_USER_REENABLED_DONE",
  530. "inputTokens": 32
  531. }
  532. }
  533. },
  534. {
  535. "id": "scr-user-deleted-tool",
  536. "description": "scr-user-deleted-tool",
  537. "metadata": {
  538. "kind": "main",
  539. "source": "synthetic",
  540. "timingPolicy": "fast-text",
  541. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  542. },
  543. "maxMatches": 1,
  544. "match": {
  545. "method": "POST",
  546. "pathIncludes": "/messages",
  547. "lastUserMessageIncludes": ["E2E_SCR_USER_DELETED:"],
  548. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  549. },
  550. "response": {
  551. "statusCode": 200,
  552. "toolUses": [
  553. {
  554. "id": "toolu_scr_user_deleted_spawn",
  555. "name": "Agent",
  556. "inputTokens": 32,
  557. "input": {
  558. "description": "Catalog refresh deleted",
  559. "prompt": "E2E_SCR_USER_DELETED_CHILD",
  560. "subagent_type": "e2e-refresh-b-user",
  561. "run_in_background": false
  562. }
  563. },
  564. {
  565. "id": "toolu_scr_user_deleted_resume",
  566. "name": "SendMessage",
  567. "inputTokens": 32,
  568. "input": {
  569. "to": "{{latestAgentId}}",
  570. "message": "E2E_SCR_USER_DELETED_RESUME",
  571. "summary": "Resume missing profile"
  572. }
  573. }
  574. ]
  575. }
  576. },
  577. {
  578. "id": "scr-user-deleted-final",
  579. "description": "scr-user-deleted-final",
  580. "metadata": {
  581. "kind": "main",
  582. "source": "synthetic",
  583. "timingPolicy": "fast-text",
  584. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  585. },
  586. "maxMatches": 1,
  587. "match": {
  588. "method": "POST",
  589. "pathIncludes": "/messages",
  590. "bodyIncludes": ["toolu_scr_user_deleted_spawn", "tool_result", "E2E_SCR_USER_DELETED"],
  591. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  592. },
  593. "response": {
  594. "statusCode": 200,
  595. "text": {
  596. "text": "E2E_SCR_USER_DELETED_DONE",
  597. "inputTokens": 32
  598. }
  599. }
  600. },
  601. {
  602. "id": "scr-mcs-title",
  603. "description": "scr-mcs-title",
  604. "metadata": {
  605. "kind": "common",
  606. "source": "synthetic",
  607. "timingPolicy": "fast-text",
  608. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  609. },
  610. "maxMatches": 1,
  611. "match": {
  612. "method": "POST",
  613. "pathIncludes": "/messages",
  614. "bodyIncludes": ["Generate a concise title", "E2E_SCR_MCS_SEED"]
  615. },
  616. "response": {
  617. "statusCode": 200,
  618. "headers": {
  619. "content-type": "application/json; charset=utf-8"
  620. },
  621. "body": "{\"id\":\"msg_upstream_e2e_text\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"Subagent catalog refresh\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":32,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":12,\"service_tier\":\"standard\"}}"
  622. }
  623. },
  624. {
  625. "id": "scr-mcs-seed",
  626. "description": "scr-mcs-seed",
  627. "metadata": {
  628. "kind": "main",
  629. "source": "synthetic",
  630. "timingPolicy": "fast-text",
  631. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  632. },
  633. "maxMatches": 1,
  634. "match": {
  635. "method": "POST",
  636. "pathIncludes": "/messages",
  637. "lastUserMessageIncludes": ["E2E_SCR_MCS_SEED"],
  638. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  639. },
  640. "response": {
  641. "statusCode": 200,
  642. "text": {
  643. "text": "E2E_SCR_MCS_SEED_DONE",
  644. "inputTokens": 32
  645. }
  646. }
  647. },
  648. {
  649. "id": "scr-mcs-add-tool",
  650. "description": "scr-mcs-add-tool",
  651. "metadata": {
  652. "kind": "main",
  653. "source": "synthetic",
  654. "timingPolicy": "fast-text",
  655. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  656. },
  657. "maxMatches": 1,
  658. "match": {
  659. "method": "POST",
  660. "pathIncludes": "/messages",
  661. "lastUserMessageIncludes": ["E2E_SCR_MCS_ADD:"],
  662. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  663. },
  664. "response": {
  665. "statusCode": 200,
  666. "toolUses": [
  667. {
  668. "id": "toolu_scr_mcs_add_spawn",
  669. "name": "Agent",
  670. "inputTokens": 32,
  671. "input": {
  672. "description": "Catalog refresh add",
  673. "prompt": "E2E_SCR_MCS_ADD_CHILD",
  674. "subagent_type": "e2e-refresh-a-mcs",
  675. "run_in_background": false
  676. }
  677. }
  678. ]
  679. }
  680. },
  681. {
  682. "id": "scr-mcs-add-child",
  683. "description": "scr-mcs-add-child",
  684. "metadata": {
  685. "kind": "subagent",
  686. "source": "synthetic",
  687. "timingPolicy": "fast-text",
  688. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  689. },
  690. "maxMatches": 1,
  691. "match": {
  692. "method": "POST",
  693. "pathIncludes": "/messages",
  694. "lastUserMessageIncludes": ["E2E_SCR_MCS_ADD_CHILD"],
  695. "bodyExcludes": [
  696. "Generate a concise title",
  697. "CRITICAL: Respond with TEXT ONLY",
  698. "E2E_SCR_MCS_SEED"
  699. ]
  700. },
  701. "response": {
  702. "statusCode": 200,
  703. "text": {
  704. "text": "E2E_SCR_MCS_ADD_CHILD_DONE",
  705. "inputTokens": 32
  706. }
  707. }
  708. },
  709. {
  710. "id": "scr-mcs-add-final",
  711. "description": "scr-mcs-add-final",
  712. "metadata": {
  713. "kind": "main",
  714. "source": "synthetic",
  715. "timingPolicy": "fast-text",
  716. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  717. },
  718. "maxMatches": 1,
  719. "match": {
  720. "method": "POST",
  721. "pathIncludes": "/messages",
  722. "bodyIncludes": ["toolu_scr_mcs_add_spawn", "tool_result", "E2E_SCR_MCS_ADD"],
  723. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  724. },
  725. "response": {
  726. "statusCode": 200,
  727. "text": {
  728. "text": "E2E_SCR_MCS_ADD_DONE",
  729. "inputTokens": 32
  730. }
  731. }
  732. },
  733. {
  734. "id": "scr-mcs-renamed-old-tool",
  735. "description": "scr-mcs-renamed-old-tool",
  736. "metadata": {
  737. "kind": "main",
  738. "source": "synthetic",
  739. "timingPolicy": "fast-text",
  740. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  741. },
  742. "maxMatches": 1,
  743. "match": {
  744. "method": "POST",
  745. "pathIncludes": "/messages",
  746. "lastUserMessageIncludes": ["E2E_SCR_MCS_RENAMED_OLD:"],
  747. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  748. },
  749. "response": {
  750. "statusCode": 200,
  751. "toolUses": [
  752. {
  753. "id": "toolu_scr_mcs_renamed-old_spawn",
  754. "name": "Agent",
  755. "inputTokens": 32,
  756. "input": {
  757. "description": "Catalog refresh renamed-old",
  758. "prompt": "E2E_SCR_MCS_RENAMED_OLD_CHILD",
  759. "subagent_type": "e2e-refresh-a-mcs",
  760. "run_in_background": false
  761. }
  762. },
  763. {
  764. "id": "toolu_scr_mcs_renamed-old_resume",
  765. "name": "SendMessage",
  766. "inputTokens": 32,
  767. "input": {
  768. "to": "{{latestAgentId}}",
  769. "message": "E2E_SCR_MCS_RENAMED_OLD_RESUME",
  770. "summary": "Resume missing profile"
  771. }
  772. }
  773. ]
  774. }
  775. },
  776. {
  777. "id": "scr-mcs-renamed-old-final",
  778. "description": "scr-mcs-renamed-old-final",
  779. "metadata": {
  780. "kind": "main",
  781. "source": "synthetic",
  782. "timingPolicy": "fast-text",
  783. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  784. },
  785. "maxMatches": 1,
  786. "match": {
  787. "method": "POST",
  788. "pathIncludes": "/messages",
  789. "bodyIncludes": [
  790. "toolu_scr_mcs_renamed-old_spawn",
  791. "tool_result",
  792. "E2E_SCR_MCS_RENAMED_OLD"
  793. ],
  794. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  795. },
  796. "response": {
  797. "statusCode": 200,
  798. "text": {
  799. "text": "E2E_SCR_MCS_RENAMED_OLD_DONE",
  800. "inputTokens": 32
  801. }
  802. }
  803. },
  804. {
  805. "id": "scr-mcs-renamed-new-tool",
  806. "description": "scr-mcs-renamed-new-tool",
  807. "metadata": {
  808. "kind": "main",
  809. "source": "synthetic",
  810. "timingPolicy": "fast-text",
  811. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  812. },
  813. "maxMatches": 1,
  814. "match": {
  815. "method": "POST",
  816. "pathIncludes": "/messages",
  817. "lastUserMessageIncludes": ["E2E_SCR_MCS_RENAMED_NEW:"],
  818. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  819. },
  820. "response": {
  821. "statusCode": 200,
  822. "toolUses": [
  823. {
  824. "id": "toolu_scr_mcs_renamed-new_spawn",
  825. "name": "Agent",
  826. "inputTokens": 32,
  827. "input": {
  828. "description": "Catalog refresh renamed-new",
  829. "prompt": "E2E_SCR_MCS_RENAMED_NEW_CHILD",
  830. "subagent_type": "e2e-refresh-b-mcs",
  831. "run_in_background": false
  832. }
  833. }
  834. ]
  835. }
  836. },
  837. {
  838. "id": "scr-mcs-renamed-new-child",
  839. "description": "scr-mcs-renamed-new-child",
  840. "metadata": {
  841. "kind": "subagent",
  842. "source": "synthetic",
  843. "timingPolicy": "fast-text",
  844. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  845. },
  846. "maxMatches": 1,
  847. "match": {
  848. "method": "POST",
  849. "pathIncludes": "/messages",
  850. "lastUserMessageIncludes": ["E2E_SCR_MCS_RENAMED_NEW_CHILD"],
  851. "bodyExcludes": [
  852. "Generate a concise title",
  853. "CRITICAL: Respond with TEXT ONLY",
  854. "E2E_SCR_MCS_SEED"
  855. ]
  856. },
  857. "response": {
  858. "statusCode": 200,
  859. "text": {
  860. "text": "E2E_SCR_MCS_RENAMED_NEW_CHILD_DONE",
  861. "inputTokens": 32
  862. }
  863. }
  864. },
  865. {
  866. "id": "scr-mcs-renamed-new-final",
  867. "description": "scr-mcs-renamed-new-final",
  868. "metadata": {
  869. "kind": "main",
  870. "source": "synthetic",
  871. "timingPolicy": "fast-text",
  872. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  873. },
  874. "maxMatches": 1,
  875. "match": {
  876. "method": "POST",
  877. "pathIncludes": "/messages",
  878. "bodyIncludes": [
  879. "toolu_scr_mcs_renamed-new_spawn",
  880. "tool_result",
  881. "E2E_SCR_MCS_RENAMED_NEW"
  882. ],
  883. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  884. },
  885. "response": {
  886. "statusCode": 200,
  887. "text": {
  888. "text": "E2E_SCR_MCS_RENAMED_NEW_DONE",
  889. "inputTokens": 32
  890. }
  891. }
  892. },
  893. {
  894. "id": "scr-mcs-update-tool",
  895. "description": "scr-mcs-update-tool",
  896. "metadata": {
  897. "kind": "main",
  898. "source": "synthetic",
  899. "timingPolicy": "fast-text",
  900. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  901. },
  902. "maxMatches": 1,
  903. "match": {
  904. "method": "POST",
  905. "pathIncludes": "/messages",
  906. "lastUserMessageIncludes": ["E2E_SCR_MCS_UPDATE:"],
  907. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  908. },
  909. "response": {
  910. "statusCode": 200,
  911. "toolUses": [
  912. {
  913. "id": "toolu_scr_mcs_update_spawn",
  914. "name": "Agent",
  915. "inputTokens": 32,
  916. "input": {
  917. "description": "Catalog refresh update",
  918. "prompt": "E2E_SCR_MCS_UPDATE_CHILD",
  919. "subagent_type": "e2e-refresh-b-mcs",
  920. "run_in_background": false
  921. }
  922. }
  923. ]
  924. }
  925. },
  926. {
  927. "id": "scr-mcs-update-child",
  928. "description": "scr-mcs-update-child",
  929. "metadata": {
  930. "kind": "subagent",
  931. "source": "synthetic",
  932. "timingPolicy": "fast-text",
  933. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  934. },
  935. "maxMatches": 1,
  936. "match": {
  937. "method": "POST",
  938. "pathIncludes": "/messages",
  939. "lastUserMessageIncludes": ["E2E_SCR_MCS_UPDATE_CHILD"],
  940. "bodyExcludes": [
  941. "Generate a concise title",
  942. "CRITICAL: Respond with TEXT ONLY",
  943. "E2E_SCR_MCS_SEED"
  944. ]
  945. },
  946. "response": {
  947. "statusCode": 200,
  948. "text": {
  949. "text": "E2E_SCR_MCS_UPDATE_CHILD_DONE",
  950. "inputTokens": 32
  951. }
  952. }
  953. },
  954. {
  955. "id": "scr-mcs-update-final",
  956. "description": "scr-mcs-update-final",
  957. "metadata": {
  958. "kind": "main",
  959. "source": "synthetic",
  960. "timingPolicy": "fast-text",
  961. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  962. },
  963. "maxMatches": 1,
  964. "match": {
  965. "method": "POST",
  966. "pathIncludes": "/messages",
  967. "bodyIncludes": ["toolu_scr_mcs_update_spawn", "tool_result", "E2E_SCR_MCS_UPDATE"],
  968. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  969. },
  970. "response": {
  971. "statusCode": 200,
  972. "text": {
  973. "text": "E2E_SCR_MCS_UPDATE_DONE",
  974. "inputTokens": 32
  975. }
  976. }
  977. },
  978. {
  979. "id": "scr-mcs-disabled-tool",
  980. "description": "scr-mcs-disabled-tool",
  981. "metadata": {
  982. "kind": "main",
  983. "source": "synthetic",
  984. "timingPolicy": "fast-text",
  985. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  986. },
  987. "maxMatches": 1,
  988. "match": {
  989. "method": "POST",
  990. "pathIncludes": "/messages",
  991. "lastUserMessageIncludes": ["E2E_SCR_MCS_DISABLED:"],
  992. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  993. },
  994. "response": {
  995. "statusCode": 200,
  996. "toolUses": [
  997. {
  998. "id": "toolu_scr_mcs_disabled_spawn",
  999. "name": "Agent",
  1000. "inputTokens": 32,
  1001. "input": {
  1002. "description": "Catalog refresh disabled",
  1003. "prompt": "E2E_SCR_MCS_DISABLED_CHILD",
  1004. "subagent_type": "e2e-refresh-b-mcs",
  1005. "run_in_background": false
  1006. }
  1007. },
  1008. {
  1009. "id": "toolu_scr_mcs_disabled_resume",
  1010. "name": "SendMessage",
  1011. "inputTokens": 32,
  1012. "input": {
  1013. "to": "{{latestAgentId}}",
  1014. "message": "E2E_SCR_MCS_DISABLED_RESUME",
  1015. "summary": "Resume missing profile"
  1016. }
  1017. }
  1018. ]
  1019. }
  1020. },
  1021. {
  1022. "id": "scr-mcs-disabled-final",
  1023. "description": "scr-mcs-disabled-final",
  1024. "metadata": {
  1025. "kind": "main",
  1026. "source": "synthetic",
  1027. "timingPolicy": "fast-text",
  1028. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  1029. },
  1030. "maxMatches": 1,
  1031. "match": {
  1032. "method": "POST",
  1033. "pathIncludes": "/messages",
  1034. "bodyIncludes": ["toolu_scr_mcs_disabled_spawn", "tool_result", "E2E_SCR_MCS_DISABLED"],
  1035. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  1036. },
  1037. "response": {
  1038. "statusCode": 200,
  1039. "text": {
  1040. "text": "E2E_SCR_MCS_DISABLED_DONE",
  1041. "inputTokens": 32
  1042. }
  1043. }
  1044. },
  1045. {
  1046. "id": "scr-mcs-reenabled-tool",
  1047. "description": "scr-mcs-reenabled-tool",
  1048. "metadata": {
  1049. "kind": "main",
  1050. "source": "synthetic",
  1051. "timingPolicy": "fast-text",
  1052. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  1053. },
  1054. "maxMatches": 1,
  1055. "match": {
  1056. "method": "POST",
  1057. "pathIncludes": "/messages",
  1058. "lastUserMessageIncludes": ["E2E_SCR_MCS_REENABLED:"],
  1059. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  1060. },
  1061. "response": {
  1062. "statusCode": 200,
  1063. "toolUses": [
  1064. {
  1065. "id": "toolu_scr_mcs_reenabled_spawn",
  1066. "name": "Agent",
  1067. "inputTokens": 32,
  1068. "input": {
  1069. "description": "Catalog refresh reenabled",
  1070. "prompt": "E2E_SCR_MCS_REENABLED_CHILD",
  1071. "subagent_type": "e2e-refresh-b-mcs",
  1072. "run_in_background": false
  1073. }
  1074. }
  1075. ]
  1076. }
  1077. },
  1078. {
  1079. "id": "scr-mcs-reenabled-child",
  1080. "description": "scr-mcs-reenabled-child",
  1081. "metadata": {
  1082. "kind": "subagent",
  1083. "source": "synthetic",
  1084. "timingPolicy": "fast-text",
  1085. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  1086. },
  1087. "maxMatches": 1,
  1088. "match": {
  1089. "method": "POST",
  1090. "pathIncludes": "/messages",
  1091. "lastUserMessageIncludes": ["E2E_SCR_MCS_REENABLED_CHILD"],
  1092. "bodyExcludes": [
  1093. "Generate a concise title",
  1094. "CRITICAL: Respond with TEXT ONLY",
  1095. "E2E_SCR_MCS_SEED"
  1096. ]
  1097. },
  1098. "response": {
  1099. "statusCode": 200,
  1100. "text": {
  1101. "text": "E2E_SCR_MCS_REENABLED_CHILD_DONE",
  1102. "inputTokens": 32
  1103. }
  1104. }
  1105. },
  1106. {
  1107. "id": "scr-mcs-reenabled-final",
  1108. "description": "scr-mcs-reenabled-final",
  1109. "metadata": {
  1110. "kind": "main",
  1111. "source": "synthetic",
  1112. "timingPolicy": "fast-text",
  1113. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  1114. },
  1115. "maxMatches": 1,
  1116. "match": {
  1117. "method": "POST",
  1118. "pathIncludes": "/messages",
  1119. "bodyIncludes": ["toolu_scr_mcs_reenabled_spawn", "tool_result", "E2E_SCR_MCS_REENABLED"],
  1120. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  1121. },
  1122. "response": {
  1123. "statusCode": 200,
  1124. "text": {
  1125. "text": "E2E_SCR_MCS_REENABLED_DONE",
  1126. "inputTokens": 32
  1127. }
  1128. }
  1129. },
  1130. {
  1131. "id": "scr-mcs-deleted-tool",
  1132. "description": "scr-mcs-deleted-tool",
  1133. "metadata": {
  1134. "kind": "main",
  1135. "source": "synthetic",
  1136. "timingPolicy": "fast-text",
  1137. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  1138. },
  1139. "maxMatches": 1,
  1140. "match": {
  1141. "method": "POST",
  1142. "pathIncludes": "/messages",
  1143. "lastUserMessageIncludes": ["E2E_SCR_MCS_DELETED:"],
  1144. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  1145. },
  1146. "response": {
  1147. "statusCode": 200,
  1148. "toolUses": [
  1149. {
  1150. "id": "toolu_scr_mcs_deleted_spawn",
  1151. "name": "Agent",
  1152. "inputTokens": 32,
  1153. "input": {
  1154. "description": "Catalog refresh deleted",
  1155. "prompt": "E2E_SCR_MCS_DELETED_CHILD",
  1156. "subagent_type": "e2e-refresh-b-mcs",
  1157. "run_in_background": false
  1158. }
  1159. },
  1160. {
  1161. "id": "toolu_scr_mcs_deleted_resume",
  1162. "name": "SendMessage",
  1163. "inputTokens": 32,
  1164. "input": {
  1165. "to": "{{latestAgentId}}",
  1166. "message": "E2E_SCR_MCS_DELETED_RESUME",
  1167. "summary": "Resume missing profile"
  1168. }
  1169. }
  1170. ]
  1171. }
  1172. },
  1173. {
  1174. "id": "scr-mcs-deleted-final",
  1175. "description": "scr-mcs-deleted-final",
  1176. "metadata": {
  1177. "kind": "main",
  1178. "source": "synthetic",
  1179. "timingPolicy": "fast-text",
  1180. "syntheticReason": "固定模型工具选择,以真实 Settings 保存和实际 provider 请求验证动态目录、完整 profile、失败路径及连续前缀;usage 为模拟值,不作为真实缓存命中证据。"
  1181. },
  1182. "maxMatches": 1,
  1183. "match": {
  1184. "method": "POST",
  1185. "pathIncludes": "/messages",
  1186. "bodyIncludes": ["toolu_scr_mcs_deleted_spawn", "tool_result", "E2E_SCR_MCS_DELETED"],
  1187. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  1188. },
  1189. "response": {
  1190. "statusCode": 200,
  1191. "text": {
  1192. "text": "E2E_SCR_MCS_DELETED_DONE",
  1193. "inputTokens": 32
  1194. }
  1195. }
  1196. }
  1197. ],
  1198. "caseName": "conversation-session-subagent-catalog-refresh"
  1199. }