| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {
- "version": 1,
- "caseName": "conversation-session-virtual-project-mentions",
- "spec": "./test/e2e/conversation-session/projects/conversation-session-virtual-project-mentions.test.ts",
- "fixtures": [
- {
- "id": "virtual-project-mentions-title-sidecar",
- "description": "本例标题旁路响应,防止 strict replay 依赖 legacy fixture。",
- "metadata": {
- "kind": "common",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "运行时证据显示 session_title 旁路缺少 fixture;固定标题响应隔离标题生成,主用例不验证标题内容。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["Generate a concise title", "E2E_"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "application/json; charset=utf-8"
- },
- "body": "{\"id\":\"msg_virtual-project-mentions-title-sidecar\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"E2E regression task\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":64,\"output_tokens\":8}}"
- }
- },
- {
- "id": "vp14-existing-task",
- "description": "Persisted task used by project mention discovery",
- "metadata": {
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "A fixed reply creates one real persisted task for composer project mentions; model generation quality is outside this case."
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "lastUserMessageIncludes": ["E2E_VP14_HISTORY"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "vp14-history",
- "inputTokens": 80,
- "outputTokens": 12,
- "text": "E2E_VP14_READY"
- }
- }
- }
- ]
- }
|