conversation-session-running-actions.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-running-actions",
  4. "spec": "./test/e2e/conversation-session/conversation-session-running-actions.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-running-actions.json"
  8. ],
  9. "fileFixtures": [
  10. {
  11. "path": ".zcode-e2e/shared/readonly-tool.txt",
  12. "source": "created-by-helper",
  13. "description": "prepareConversationE2E 写入的只读工具输入文件,用于构造 completed assistant + tool_result 历史。"
  14. }
  15. ],
  16. "requests": [
  17. {
  18. "id": "upstream-conversation-readonly-tool-call",
  19. "kind": "common",
  20. "source": "synthetic",
  21. "timingPolicy": "fast-text",
  22. "syntheticReason": "通用只读 Read tool_use 让高/中优先级 conversation case 覆盖真实 tool_result 历史。"
  23. },
  24. {
  25. "id": "upstream-conversation-readonly-running-actions-final",
  26. "kind": "main",
  27. "source": "synthetic",
  28. "timingPolicy": "fast-text",
  29. "syntheticReason": "该响应只需要稳定产出 completed assistant 历史,供 running guard 断言定位历史 assistant message。"
  30. },
  31. {
  32. "id": "upstream-conversation-running-actions-active-slow-stream",
  33. "kind": "main",
  34. "source": "synthetic",
  35. "timingPolicy": "controlled-stream",
  36. "syntheticReason": "running guard 必须在 assistant 正在流式回答时检查 fork/edit 入口;真实 provider 可能过快完成。"
  37. }
  38. ]
  39. }