| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- {
- "version": 1,
- "caseName": "conversation-session-fork-cold-start-membership",
- "spec": "./test/e2e/conversation-session/branching/conversation-session-fork-cold-start-membership.test.ts",
- "fixtures": [
- {
- "id": "fork-cold-start-project-row-title",
- "description": "TSL19 parent 首发的 case-local 标题生成响应。",
- "metadata": {
- "kind": "common",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "标题不是本 case 产品语义;固定响应只为冷启动列表提供稳定可读标题。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["Generate a concise title", "E2E_FORK_COLD_START_PROJECT_ROW"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "application/json; charset=utf-8"
- },
- "body": "{\"id\":\"fork-cold-start-project-row-title\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"Fork Cold Start E2E\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":64,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":8,\"service_tier\":\"standard\"}}"
- }
- },
- {
- "id": "fork-cold-start-project-row-parent",
- "description": "TSL19 parent completed assistant,提供稳定 fork target。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "核心断言是 parented fork 的冷启动 membership;provider 只需稳定形成 completed assistant。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_FORK_COLD_START_PROJECT_ROW"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "fork-cold-start-project-row-parent",
- "inputTokens": 96,
- "outputTokens": 12,
- "text": "FORK_COLD_START_PROJECT_ROW_OK"
- }
- }
- }
- ]
- }
|