conversation-session-local-config-runtime-usage.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-local-config-runtime-usage",
  4. "spec": "./test/e2e/conversation-session/runtime/conversation-session-local-config-runtime-usage.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-local-config-runtime-usage.json"
  8. ],
  9. "fileFixtures": [
  10. {
  11. "path": ".e2e-dsync-18-hook.cjs",
  12. "source": "created-by-helper",
  13. "description": "跨平台 UserPromptSubmit 脚本,通过异步文件 IO 追加钩子标记。"
  14. }
  15. ],
  16. "requests": [
  17. {
  18. "id": "dsync-18-title",
  19. "description": "各 task 首发的标题生成。",
  20. "kind": "common",
  21. "source": "synthetic",
  22. "timingPolicy": "fast-text",
  23. "syntheticReason": "标题不属于可用性断言,只需保持 task 行稳定。"
  24. },
  25. {
  26. "id": "dsync-18-subagent-reply",
  27. "description": "子智能体按新建的定义运行:系统提示含子智能体正文时回复完成标记。",
  28. "kind": "main",
  29. "source": "synthetic",
  30. "timingPolicy": "fast-text",
  31. "syntheticReason": "固定子智能体回复,证明本机用的是刚新建的子智能体定义。"
  32. },
  33. {
  34. "id": "dsync-18-subagent-wrong-profile",
  35. "description": "子智能体请求没有带新建的定义正文。",
  36. "kind": "main",
  37. "source": "synthetic",
  38. "timingPolicy": "fast-text",
  39. "syntheticReason": "定义缺失时得到可断言的错误回复,而不是回放未命中。"
  40. },
  41. {
  42. "id": "dsync-18-run-skill_existing-final",
  43. "description": "Skill 工具结果返回后的最终回复。",
  44. "kind": "main",
  45. "source": "synthetic",
  46. "timingPolicy": "fast-text",
  47. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  48. },
  49. {
  50. "id": "dsync-18-run-agent_existing-final",
  51. "description": "Agent 工具结果返回后的最终回复。",
  52. "kind": "main",
  53. "source": "synthetic",
  54. "timingPolicy": "fast-text",
  55. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  56. },
  57. {
  58. "id": "dsync-18-run-mcp-final",
  59. "description": "mcp__e2e-dsync-18-mcp__marker 工具结果返回后的最终回复。",
  60. "kind": "main",
  61. "source": "synthetic",
  62. "timingPolicy": "fast-text",
  63. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  64. },
  65. {
  66. "id": "dsync-18-run-inline-final",
  67. "description": "mcp__plugin_e2e-dsync-18-inline_rt__marker 工具结果返回后的最终回复。",
  68. "kind": "main",
  69. "source": "synthetic",
  70. "timingPolicy": "fast-text",
  71. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  72. },
  73. {
  74. "id": "dsync-18-run-market-final",
  75. "description": "mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker 工具结果返回后的最终回复。",
  76. "kind": "main",
  77. "source": "synthetic",
  78. "timingPolicy": "fast-text",
  79. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  80. },
  81. {
  82. "id": "dsync-18-run-skill_new-final",
  83. "description": "Skill 工具结果返回后的最终回复。",
  84. "kind": "main",
  85. "source": "synthetic",
  86. "timingPolicy": "fast-text",
  87. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  88. },
  89. {
  90. "id": "dsync-18-run-agent-final",
  91. "description": "Agent 工具结果返回后的最终回复。",
  92. "kind": "main",
  93. "source": "synthetic",
  94. "timingPolicy": "fast-text",
  95. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  96. },
  97. {
  98. "id": "dsync-18-run-skill_existing-call",
  99. "description": "模型请求暴露新建内容时调用 Skill。",
  100. "kind": "main",
  101. "source": "synthetic",
  102. "timingPolicy": "tool-use",
  103. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  104. },
  105. {
  106. "id": "dsync-18-run-skill_existing-not-exposed",
  107. "description": "模型请求没有暴露 Skill 所需的新建内容。",
  108. "kind": "main",
  109. "source": "synthetic",
  110. "timingPolicy": "fast-text",
  111. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  112. },
  113. {
  114. "id": "dsync-18-run-agent_existing-call",
  115. "description": "模型请求暴露新建内容时调用 Agent。",
  116. "kind": "main",
  117. "source": "synthetic",
  118. "timingPolicy": "tool-use",
  119. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  120. },
  121. {
  122. "id": "dsync-18-run-agent_existing-not-exposed",
  123. "description": "模型请求没有暴露 Agent 所需的新建内容。",
  124. "kind": "main",
  125. "source": "synthetic",
  126. "timingPolicy": "fast-text",
  127. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  128. },
  129. {
  130. "id": "dsync-18-run-mcp-call",
  131. "description": "模型请求暴露新建内容时调用 mcp__e2e-dsync-18-mcp__marker。",
  132. "kind": "main",
  133. "source": "synthetic",
  134. "timingPolicy": "tool-use",
  135. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  136. },
  137. {
  138. "id": "dsync-18-run-mcp-not-exposed",
  139. "description": "模型请求没有暴露 mcp__e2e-dsync-18-mcp__marker 所需的新建内容。",
  140. "kind": "main",
  141. "source": "synthetic",
  142. "timingPolicy": "fast-text",
  143. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  144. },
  145. {
  146. "id": "dsync-18-run-inline-call",
  147. "description": "模型请求暴露新建内容时调用 mcp__plugin_e2e-dsync-18-inline_rt__marker。",
  148. "kind": "main",
  149. "source": "synthetic",
  150. "timingPolicy": "tool-use",
  151. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  152. },
  153. {
  154. "id": "dsync-18-run-inline-not-exposed",
  155. "description": "模型请求没有暴露 mcp__plugin_e2e-dsync-18-inline_rt__marker 所需的新建内容。",
  156. "kind": "main",
  157. "source": "synthetic",
  158. "timingPolicy": "fast-text",
  159. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  160. },
  161. {
  162. "id": "dsync-18-run-market-call",
  163. "description": "模型请求暴露新建内容时调用 mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker。",
  164. "kind": "main",
  165. "source": "synthetic",
  166. "timingPolicy": "tool-use",
  167. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  168. },
  169. {
  170. "id": "dsync-18-run-market-not-exposed",
  171. "description": "模型请求没有暴露 mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker 所需的新建内容。",
  172. "kind": "main",
  173. "source": "synthetic",
  174. "timingPolicy": "fast-text",
  175. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  176. },
  177. {
  178. "id": "dsync-18-run-skill_new-call",
  179. "description": "模型请求暴露新建内容时调用 Skill。",
  180. "kind": "main",
  181. "source": "synthetic",
  182. "timingPolicy": "tool-use",
  183. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  184. },
  185. {
  186. "id": "dsync-18-run-skill_new-not-exposed",
  187. "description": "模型请求没有暴露 Skill 所需的新建内容。",
  188. "kind": "main",
  189. "source": "synthetic",
  190. "timingPolicy": "fast-text",
  191. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  192. },
  193. {
  194. "id": "dsync-18-run-agent-call",
  195. "description": "模型请求暴露新建内容时调用 Agent。",
  196. "kind": "main",
  197. "source": "synthetic",
  198. "timingPolicy": "tool-use",
  199. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  200. },
  201. {
  202. "id": "dsync-18-run-agent-not-exposed",
  203. "description": "模型请求没有暴露 Agent 所需的新建内容。",
  204. "kind": "main",
  205. "source": "synthetic",
  206. "timingPolicy": "fast-text",
  207. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  208. },
  209. {
  210. "id": "dsync-18-first-turn",
  211. "description": "新建配置前 task A 的首发(对照组)。",
  212. "kind": "main",
  213. "source": "synthetic",
  214. "timingPolicy": "fast-text",
  215. "syntheticReason": "建立配置变更前已存在的本机会话。"
  216. },
  217. {
  218. "id": "dsync-18-probe-draft-subagent",
  219. "description": "探针轮次 DRAFT_SUBAGENT:只回复固定文本,用模型请求判断可见内容。",
  220. "kind": "main",
  221. "source": "synthetic",
  222. "timingPolicy": "fast-text",
  223. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  224. },
  225. {
  226. "id": "dsync-18-probe-draft-subagent-2",
  227. "description": "探针轮次 DRAFT_SUBAGENT_2:只回复固定文本,用模型请求判断可见内容。",
  228. "kind": "main",
  229. "source": "synthetic",
  230. "timingPolicy": "fast-text",
  231. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  232. },
  233. {
  234. "id": "dsync-18-probe-existing-subagent",
  235. "description": "探针轮次 EXISTING_SUBAGENT:只回复固定文本,用模型请求判断可见内容。",
  236. "kind": "main",
  237. "source": "synthetic",
  238. "timingPolicy": "fast-text",
  239. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  240. },
  241. {
  242. "id": "dsync-18-probe-draft-mcp",
  243. "description": "探针轮次 DRAFT_MCP:只回复固定文本,用模型请求判断可见内容。",
  244. "kind": "main",
  245. "source": "synthetic",
  246. "timingPolicy": "fast-text",
  247. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  248. },
  249. {
  250. "id": "dsync-18-probe-existing-mcp",
  251. "description": "探针轮次 EXISTING_MCP:只回复固定文本,用模型请求判断可见内容。",
  252. "kind": "main",
  253. "source": "synthetic",
  254. "timingPolicy": "fast-text",
  255. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  256. },
  257. {
  258. "id": "dsync-18-probe-draft-hook",
  259. "description": "探针轮次 DRAFT_HOOK:只回复固定文本,用模型请求判断可见内容。",
  260. "kind": "main",
  261. "source": "synthetic",
  262. "timingPolicy": "fast-text",
  263. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  264. },
  265. {
  266. "id": "dsync-18-probe-existing-hook",
  267. "description": "探针轮次 EXISTING_HOOK:只回复固定文本,用模型请求判断可见内容。",
  268. "kind": "main",
  269. "source": "synthetic",
  270. "timingPolicy": "fast-text",
  271. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  272. },
  273. {
  274. "id": "dsync-18-probe-draft-skill",
  275. "description": "探针轮次 DRAFT_SKILL:只回复固定文本,用模型请求判断可见内容。",
  276. "kind": "main",
  277. "source": "synthetic",
  278. "timingPolicy": "fast-text",
  279. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  280. },
  281. {
  282. "id": "dsync-18-probe-existing-skill",
  283. "description": "探针轮次 EXISTING_SKILL:只回复固定文本,用模型请求判断可见内容。",
  284. "kind": "main",
  285. "source": "synthetic",
  286. "timingPolicy": "fast-text",
  287. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  288. },
  289. {
  290. "id": "dsync-18-probe-draft-inline",
  291. "description": "探针轮次 DRAFT_INLINE:只回复固定文本,用模型请求判断可见内容。",
  292. "kind": "main",
  293. "source": "synthetic",
  294. "timingPolicy": "fast-text",
  295. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  296. },
  297. {
  298. "id": "dsync-18-probe-existing-inline",
  299. "description": "探针轮次 EXISTING_INLINE:只回复固定文本,用模型请求判断可见内容。",
  300. "kind": "main",
  301. "source": "synthetic",
  302. "timingPolicy": "fast-text",
  303. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  304. },
  305. {
  306. "id": "dsync-18-probe-existing-market",
  307. "description": "探针轮次 EXISTING_MARKET:只回复固定文本,用模型请求判断可见内容。",
  308. "kind": "main",
  309. "source": "synthetic",
  310. "timingPolicy": "fast-text",
  311. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  312. },
  313. {
  314. "id": "dsync-18-probe-new",
  315. "description": "探针轮次 NEW:只回复固定文本,用模型请求判断可见内容。",
  316. "kind": "main",
  317. "source": "synthetic",
  318. "timingPolicy": "fast-text",
  319. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  320. },
  321. {
  322. "id": "dsync-18-command-draft",
  323. "description": "命令轮次 DRAFT:检查 /命令 是否展开为命令正文。",
  324. "kind": "main",
  325. "source": "synthetic",
  326. "timingPolicy": "fast-text",
  327. "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
  328. },
  329. {
  330. "id": "dsync-18-command-existing",
  331. "description": "命令轮次 EXISTING:检查 /命令 是否展开为命令正文。",
  332. "kind": "main",
  333. "source": "synthetic",
  334. "timingPolicy": "fast-text",
  335. "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
  336. },
  337. {
  338. "id": "dsync-18-command-new",
  339. "description": "命令轮次 NEW:检查 /命令 是否展开为命令正文。",
  340. "kind": "main",
  341. "source": "synthetic",
  342. "timingPolicy": "fast-text",
  343. "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
  344. }
  345. ]
  346. }