conversation-session-deleted-task-restart.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-deleted-task-restart",
  4. "spec": "./test/e2e/conversation-session/conversation-session-deleted-task-restart.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "deleted-task-restart-title",
  8. "description": "TSL20 待删除任务的 case-local 标题生成响应。",
  9. "metadata": {
  10. "kind": "common",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "固定标题用于在 Archived 真实 UI 中定位目标行;标题本身不是产品断言。"
  14. },
  15. "match": {
  16. "method": "POST",
  17. "pathIncludes": "/messages",
  18. "bodyIncludes": ["Generate a concise title", "E2E_DELETED_TASK_RESTART"]
  19. },
  20. "response": {
  21. "statusCode": 200,
  22. "text": {
  23. "id": "deleted-task-restart-title",
  24. "inputTokens": 64,
  25. "outputTokens": 8,
  26. "text": "{\"title\":\"Deleted Task Restart E2E\"}"
  27. }
  28. }
  29. },
  30. {
  31. "id": "deleted-task-restart-turn",
  32. "description": "TSL20 建立可归档并永久删除的 interactive task。",
  33. "metadata": {
  34. "kind": "main",
  35. "timingPolicy": "fast-text",
  36. "source": "synthetic",
  37. "syntheticReason": "核心断言是 tombstone 与冷启动 join;provider 只需稳定提交一个普通任务。"
  38. },
  39. "maxMatches": 1,
  40. "match": {
  41. "method": "POST",
  42. "pathIncludes": "/messages",
  43. "lastUserMessageIncludes": ["E2E_DELETED_TASK_RESTART"],
  44. "bodyExcludes": [
  45. "Generate a concise title",
  46. "CRITICAL: Respond with TEXT ONLY"
  47. ]
  48. },
  49. "response": {
  50. "statusCode": 200,
  51. "text": {
  52. "id": "deleted-task-restart-turn",
  53. "inputTokens": 96,
  54. "outputTokens": 12,
  55. "text": "DELETED_TASK_RESTART_OK"
  56. }
  57. }
  58. }
  59. ]
  60. }