| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- {
- "version": 1,
- "caseName": "conversation-session-task-groups",
- "spec": "./test/e2e/conversation-session/task-management/conversation-session-task-groups.test.ts",
- "fixtures": [
- {
- "id": "conversation-session-task-groups-title-sidecar",
- "description": "本例标题旁路响应。",
- "metadata": {
- "kind": "common",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "运行时证据显示标题旁路缺少响应;在本例显式登记固定标题,避免依赖 legacy fixture 或触发后台网络重试。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "statusMessage": "OK",
- "headers": {
- "content-type": "application/json; charset=utf-8"
- },
- "body": "{\"id\":\"upstream-e2e-title-fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"Upstream E2E Fixture\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":125,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":24,\"service_tier\":\"standard\"}}"
- }
- },
- {
- "id": "grp06-first-send",
- "description": "First send in a task group",
- "metadata": {
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "Fixed response exercises the real Host/CLI creation and group placement, without testing model content."
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "lastUserMessageIncludes": ["E2E_GROUP_TASK"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "grp06",
- "inputTokens": 80,
- "outputTokens": 12,
- "text": "E2E_GROUP_READY"
- }
- }
- },
- {
- "id": "grp06-pending-placement",
- "description": "Accepted task remains navigable while group admission is held",
- "metadata": {
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "Fixed response isolates group admission failure from the real Host/CLI accepted task and directory lifecycle."
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "lastUserMessageIncludes": ["E2E_GROUP_PENDING"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "grp06-pending",
- "inputTokens": 80,
- "outputTokens": 12,
- "text": "E2E_GROUP_PENDING_READY"
- }
- }
- }
- ]
- }
|