conversation-session-send-message-resume-stop.json 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-send-message-resume-stop",
  4. "spec": "./test/e2e/conversation-session/execution/conversation-session-send-message-resume-stop.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-send-message-resume-stop.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "send-message-resume-stop-title",
  13. "kind": "common",
  14. "timingPolicy": "fast-text",
  15. "source": "synthetic",
  16. "syntheticReason": "标题生成不属于 SAT12 语义;固定响应避免隐藏请求重试阻塞主 turn。"
  17. },
  18. {
  19. "id": "send-message-resume-stop-parent-agent",
  20. "kind": "main",
  21. "timingPolicy": "fast-tool-use",
  22. "source": "synthetic",
  23. "syntheticReason": "固定 foreground Agent 启动,避免 live 模型改变 SAT12 前置状态。"
  24. },
  25. {
  26. "id": "send-message-resume-stop-foreground-child",
  27. "kind": "subagent",
  28. "timingPolicy": "fast-text",
  29. "source": "synthetic",
  30. "syntheticReason": "稳定形成可由 SendMessage resume 的 terminal local agent。"
  31. },
  32. {
  33. "id": "send-message-resume-stop-parent-foreground-idle",
  34. "kind": "main",
  35. "timingPolicy": "fast-text",
  36. "source": "synthetic",
  37. "syntheticReason": "在 SendMessage 前形成稳定 idle 边界,供 E2E 固化原 foreground identity。"
  38. },
  39. {
  40. "id": "send-message-resume-stop-parent-send-message",
  41. "kind": "main",
  42. "timingPolicy": "fast-tool-use",
  43. "source": "synthetic",
  44. "syntheticReason": "使用 replay 注入的真实 agentId,固定触发 terminal resume。"
  45. },
  46. {
  47. "id": "send-message-resume-stop-parent-idle",
  48. "kind": "main",
  49. "timingPolicy": "fast-text",
  50. "source": "synthetic",
  51. "syntheticReason": "固定 SendMessage 成功后的 parent idle 边界,避免 live 模型额外调用 TaskOutput。"
  52. },
  53. {
  54. "id": "send-message-resume-stop-stop-notification",
  55. "kind": "main",
  56. "timingPolicy": "fast-text",
  57. "source": "synthetic",
  58. "syntheticReason": "为 Stop 后的后台 completion notification turn 提供唯一完成屏障。"
  59. },
  60. {
  61. "id": "send-message-resume-stop-foreground-compact",
  62. "kind": "main",
  63. "timingPolicy": "fast-text",
  64. "source": "synthetic",
  65. "syntheticReason": "E2E 默认模型窗口会在 foreground tool result 后 compact;固定 summary 保留第二个 turn 所需 identity。"
  66. },
  67. {
  68. "id": "send-message-resume-stop-resume-pending-compact",
  69. "kind": "main",
  70. "timingPolicy": "fast-text",
  71. "source": "synthetic",
  72. "syntheticReason": "SendMessage tool call/result 位于 compact 保留段;summary 只保留当前用户请求和原 agent identity。"
  73. },
  74. {
  75. "id": "send-message-resume-stop-resumed-compact",
  76. "kind": "main",
  77. "timingPolicy": "fast-text",
  78. "source": "synthetic",
  79. "syntheticReason": "父 turn 结束后的 compact 必须保留真实 SendMessage 成功结果,供 Stop notification turn 继续。"
  80. },
  81. {
  82. "id": "send-message-resume-stop-child-bash",
  83. "kind": "subagent",
  84. "timingPolicy": "controlled-stream",
  85. "source": "synthetic",
  86. "syntheticReason": "固定 resumed child running 窗口,以验证 Stop 可见和 accepted cancel。"
  87. }
  88. ]
  89. }