conversation-session-v4-background-work.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-v4-background-work",
  4. "spec": "./test/e2e/conversation-session/background/conversation-session-v4-background-work.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-v4-background-work.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "v4-background-work-title",
  13. "description": "E2E_V4_BGWORK 首发的 case-local 标题生成响应。",
  14. "kind": "common",
  15. "source": "synthetic",
  16. "timingPolicy": "fast-text",
  17. "syntheticReason": "E2E_V4_BGWORK 首发会触发默认 title sidecar;固定 case-local 标题响应,避免 default replay 回退 legacy provider-basic,并用该首发 marker 隔离跨 case 匹配。"
  18. },
  19. {
  20. "id": "v4-bgwork-toolcall",
  21. "description": "M4 cancelBackgroundWork 门禁:首轮返回 run_in_background 的 Bash tool_use(长 sleep),形成可取消的后台工作。",
  22. "kind": "main",
  23. "source": "synthetic",
  24. "timingPolicy": "fast-text",
  25. "syntheticReason": "需要稳定产出一个 run_in_background 的后台 bash 任务以断言后台工作面板 + 取消。"
  26. },
  27. {
  28. "id": "v4-bgwork-final",
  29. "description": "M4 后台任务 backgrounded 后的 tool_result 跟进回复(固定文本)。",
  30. "kind": "main",
  31. "source": "synthetic",
  32. "timingPolicy": "fast-text",
  33. "syntheticReason": "后台任务已分离,主轮只需固定收尾文本;核心断言在后台工作面板 + 取消。"
  34. },
  35. {
  36. "id": "v4-bgwork-cancel-notification",
  37. "description": "取消后台 Bash 后 CLI 自动投递的 background-task 完成通知请求。",
  38. "kind": "main",
  39. "source": "synthetic",
  40. "timingPolicy": "fast-text",
  41. "syntheticReason": "取消是 case 的最后一个动作;通知请求不属于产品断言,只需稳定收口,不能回真实 provider。"
  42. }
  43. ]
  44. }