conversation-session-activity-subagent-retention.json 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-activity-subagent-retention",
  4. "spec": "./test/e2e/conversation-session/subagents/conversation-session-activity-subagent-retention.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-activity-subagent-retention.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "activity-rewind-edit-controlled",
  13. "description": "编辑后新响应受控结算",
  14. "kind": "main",
  15. "timingPolicy": "controlled-stream",
  16. "source": "synthetic",
  17. "syntheticReason": "隔离本次编辑响应,证明旧回复不能满足完成屏障;放行后再核对在线及重启计数。"
  18. },
  19. {
  20. "id": "activity-subagent-clear",
  21. "description": "成功接纳后清除摘要",
  22. "kind": "main",
  23. "timingPolicy": "fast-text",
  24. "source": "synthetic",
  25. "syntheticReason": "固定清除后的普通响应,不替代发送接纳。"
  26. },
  27. {
  28. "id": "activity-resume-tool",
  29. "description": "恢复原 Subagent",
  30. "kind": "main",
  31. "timingPolicy": "fast-text",
  32. "source": "synthetic",
  33. "syntheticReason": "从真实 tool_result 读取 agentId 后恢复同一 Subagent,验证清除边界不误隐藏新结果。"
  34. },
  35. {
  36. "id": "activity-resume-child",
  37. "description": "同一 child 的新结果",
  38. "kind": "main",
  39. "timingPolicy": "controlled-stream",
  40. "source": "synthetic",
  41. "syntheticReason": "从真实 tool_result 读取 agentId 后恢复同一 Subagent,验证清除边界不误隐藏新结果。"
  42. },
  43. {
  44. "id": "activity-resume-final",
  45. "description": "恢复后父回复",
  46. "kind": "main",
  47. "timingPolicy": "fast-text",
  48. "source": "synthetic",
  49. "syntheticReason": "从真实 tool_result 读取 agentId 后恢复同一 Subagent,验证清除边界不误隐藏新结果。"
  50. },
  51. {
  52. "id": "capsule-foreground-title",
  53. "description": "隔离标题请求。",
  54. "kind": "common",
  55. "timingPolicy": "fast-text",
  56. "source": "synthetic",
  57. "syntheticReason": "标题不是 SAT12 的停止语义,固定响应确保 replay 可复现。"
  58. },
  59. {
  60. "id": "capsule-foreground-parent-launch",
  61. "description": "同一父回复并行发起两个前台 Agent。",
  62. "kind": "main",
  63. "timingPolicy": "fast-tool-use",
  64. "source": "synthetic",
  65. "syntheticReason": "固定两个并行 foreground child,验证只停止用户选择的执行。"
  66. },
  67. {
  68. "id": "capsule-foreground-stop-controlled",
  69. "description": "停止目标 child 保持真实请求流不完成;由 Stop 中断。",
  70. "kind": "subagent",
  71. "timingPolicy": "controlled-stream",
  72. "source": "synthetic",
  73. "syntheticReason": "显式受控模型响应保持前台 running 窗口,Stop 必须中断原 Agent 调用。"
  74. },
  75. {
  76. "id": "capsule-foreground-keep-controlled",
  77. "description": "另一个 child 在目标 Stop 后由测试放行完成。",
  78. "kind": "subagent",
  79. "timingPolicy": "controlled-stream",
  80. "source": "synthetic",
  81. "syntheticReason": "保持 sibling 独立运行,证明单项停止不误停另一 child。"
  82. },
  83. {
  84. "id": "capsule-foreground-parent-final",
  85. "description": "收到前台 Stop 原工具结果及 sibling 完成后的父回复。",
  86. "kind": "main",
  87. "timingPolicy": "fast-text",
  88. "source": "synthetic",
  89. "syntheticReason": "固定父模型继续回复,以断言单子项 Stop 不打断原父 turn。"
  90. }
  91. ]
  92. }