Files
Agent-Workbench/docs/live-validation-aa-evidence/gpt/preflight-on/session.json
T
2026-11-05 03:21:49 +08:00

614 lines
22 KiB
JSON

{
"id": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"title": "AA · apikey · on单次预检",
"status": "completed",
"createdAt": "2026-11-04T19:17:42.556Z",
"updatedAt": "2026-11-04T19:17:45.003Z",
"messages": [
{
"id": "30ea9053-3bd1-4152-93ca-b7c7d9662213",
"role": "user",
"content": "这是独立模型连接身份预检,不是工程任务。只回复 OK b27f45b1-1fbb-484e-beba-cab3ad7b5765,不要调用工具、读写文件或执行命令。",
"createdAt": "2026-11-04T19:17:42.673Z"
},
{
"id": "84669518-f133-4439-aa24-f4d38897b365",
"role": "assistant",
"content": "OK b27f45b1-1fbb-484e-beba-cab3ad7b5765",
"createdAt": "2026-11-04T19:17:44.999Z"
}
],
"events": [
{
"id": "f6a5865c-62e5-429d-9c6f-21bfe8617046",
"createdAt": "2026-11-04T19:17:42.704Z",
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"runId": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"kind": "model",
"source": "model_connection",
"label": "AA · apikey · on单次预检",
"phase": "completed",
"contextPlanId": "413c3ce7-d240-4760-84a3-adbdc9f6024b",
"startedAt": "2026-11-04T19:17:42.704Z",
"modelAttemptId": "7a4a4406-0b91-4b21-bae1-9bfc4c914c84",
"connectionId": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"actualModel": "gpt-6.1-sol",
"requestUrl": "https://api.apikey.fan/v1/chat/completions",
"modelIdentity": {
"schemaVersion": 1,
"requestedModel": "gpt-6.1-sol",
"reportedModels": [
"gpt-6.1-sol"
],
"status": "matched",
"complete": true,
"invalidIdentifiers": false,
"policy": "require-match",
"scope": "Identifiers in the outgoing request and upstream response; neither equal identifiers nor a declared mapping authenticate model weights.",
"responseSource": {
"artifactId": "49194a39-e99e-4c15-a550-a4abc15b44d1",
"sha256": "7f7022ef9da9332c4e23de838a9334a887b8613909361918607e816825864ece",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"scope": "sse-stream"
}
},
"stream": {
"bytes": 5557,
"frames": 24,
"sha256": "7f7022ef9da9332c4e23de838a9334a887b8613909361918607e816825864ece",
"terminal": true,
"protocol": "chat-completions"
},
"finishedAt": "2026-11-04T19:17:45.001Z"
}
],
"changes": [],
"approvals": [],
"failure": null,
"lastFailure": null,
"compactions": 0,
"estimatedTokens": 187,
"usage": {
"prompt_tokens": 88,
"completion_tokens": 28,
"total_tokens": 116
},
"archived": false,
"revision": 22,
"eventSeq": 14439,
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"runId": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"inputAttachments": [],
"execution": {
"schemaVersion": 1,
"task": {
"schemaVersion": 1,
"id": "45757292-e121-4ba3-af5a-4b665a8e818c",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"goal": "这是独立模型连接身份预检,不是工程任务。只回复 OK b27f45b1-1fbb-484e-beba-cab3ad7b5765,不要调用工具、读写文件或执行命令。",
"instructions": [],
"constraints": [],
"acceptance": [],
"status": "completed",
"previousTaskId": null,
"createdAt": "2026-11-04T19:17:42.670Z",
"updatedAt": "2026-11-04T19:17:45.003Z",
"activeRunId": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"usage": {
"requests": 1,
"inputTokens": 88,
"outputTokens": 28,
"totalTokens": 116,
"unknownRequests": 0,
"estimatedUnknownTokens": 0
},
"budget": {
"maxTokens": 16000
},
"verification": {
"status": "not_configured",
"checkJobId": null
},
"origin": "workbench",
"contract": {
"schemaVersion": 1,
"goal": "这是独立模型连接身份预检,不是工程任务。只回复 OK b27f45b1-1fbb-484e-beba-cab3ad7b5765,不要调用工具、读写文件或执行命令。",
"kind": "general",
"checks": "unspecified"
},
"workspaceIdentity": {
"kind": "local-project",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-validation-aa\\gpt\\preflight-on\\identity-only"
},
"stagnation": null
},
"run": {
"schemaVersion": 1,
"id": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"engine": "workbench",
"status": "completed",
"startedAt": "2026-11-04T19:17:42.670Z",
"finishedAt": "2026-11-04T19:17:45.003Z",
"resumeOf": null,
"model": {
"mode": "compatible",
"baseUrl": "https://api.apikey.fan/v1",
"model": "gpt-6.1-sol",
"contextLimit": 16000,
"maxOutputTokens": 2048,
"configRevision": 93,
"modelResponseTimeoutMs": 300000,
"modelStreamIdleTimeoutMs": 120000,
"protocol": "chat-completions",
"streaming": true,
"nativeParameters": {
"reasoning_effort": "low"
},
"modelConnectionId": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"modelCredentialRevision": 1,
"routing": {
"type": "connection",
"id": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"revision": 7,
"strategy": "round-robin",
"sticky": true,
"maxAttempts": 1,
"queueTimeoutMs": 15000,
"members": [
{
"id": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"name": "apikey",
"brand": "OpenAI",
"protocol": "chat-completions",
"model": "gpt-6.1-sol",
"capabilitySchema": 1,
"capabilityDeclarations": {
"text": "supported",
"tools": "supported",
"streaming": "supported",
"vision": "unknown",
"audio": "unknown"
},
"streaming": true,
"modelIdentityPolicy": "require-match",
"modelIdentityAliases": [],
"modelIdentityAliasSource": "",
"baseUrl": "https://api.apikey.fan/v1",
"enabled": true,
"requiresKey": true,
"contextLimit": 16000,
"maxOutputTokens": 2048,
"concurrency": 1,
"revision": 7,
"source": "manual",
"createdAt": "2026-11-03T12:27:23.484Z",
"updatedAt": "2026-11-04T15:12:28.077Z",
"weight": 1,
"credentialRevision": 1,
"nativeParameters": {
"reasoning_effort": "low"
}
}
]
}
},
"budget": {
"maxSteps": 1,
"maxDurationMs": 320000,
"maxTokens": 16000,
"maxTaskTokens": 16000
},
"usage": {
"requests": 1,
"inputTokens": 88,
"outputTokens": 28,
"totalTokens": 116,
"unknownRequests": 0,
"estimatedUnknownTokens": 0
},
"steps": 1,
"toolCalls": 0,
"stopReason": "identity_probe_complete",
"checkpoint": {
"stepId": "08c7becb-0cd7-4b09-88f7-5455d1b68eeb",
"completedToolIds": [],
"pendingToolIds": [],
"requiresVerification": []
},
"origin": "workbench",
"purpose": "execution",
"workspaceIdentity": {
"kind": "local-project",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-validation-aa\\gpt\\preflight-on\\identity-only"
},
"currentContextPlanId": "413c3ce7-d240-4760-84a3-adbdc9f6024b",
"consumption": [
{
"attemptId": "7a4a4406-0b91-4b21-bae1-9bfc4c914c84",
"requestId": "413c3ce7-d240-4760-84a3-adbdc9f6024b",
"connectionId": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"connectionName": "apikey",
"model": "gpt-6.1-sol",
"endpoint": "https://api.apikey.fan/v1",
"protocol": "chat-completions",
"requestUrl": "https://api.apikey.fan/v1/chat/completions",
"responseUrl": "https://api.apikey.fan/v1/chat/completions",
"redirected": false,
"redirectMode": "manual",
"startedAt": "2026-11-04T19:17:42.704Z",
"finishedAt": "2026-11-04T19:17:44.986Z",
"outcome": "completed",
"usageStatus": "reported",
"usage": {
"prompt_tokens": 88,
"completion_tokens": 28,
"total_tokens": 116
},
"localEstimate": {
"schemaVersion": 1,
"inputTokens": 187,
"outputTokens": 2048,
"requestSha256": "c2ea335d89b8ebe8773b4442a266436a2451dcfc11a5fc00e3e9a34c70959542",
"requestBytes": 512,
"estimateMethod": "utf8-third-plus-framing-v1"
},
"modelIdentity": {
"schemaVersion": 1,
"requestedModel": "gpt-6.1-sol",
"reportedModels": [
"gpt-6.1-sol"
],
"status": "matched",
"complete": true,
"invalidIdentifiers": false,
"policy": "require-match",
"scope": "Identifiers in the outgoing request and upstream response; neither equal identifiers nor a declared mapping authenticate model weights.",
"responseSource": {
"artifactId": "49194a39-e99e-4c15-a550-a4abc15b44d1",
"sha256": "7f7022ef9da9332c4e23de838a9334a887b8613909361918607e816825864ece",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"scope": "sse-stream"
}
},
"estimatedUnknownTokens": 0
}
]
},
"workspaceIdentity": {
"kind": "local-project",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-validation-aa\\gpt\\preflight-on\\identity-only"
},
"workspaces": [],
"runs": [
{
"id": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"status": "completed",
"startedAt": "2026-11-04T19:17:42.670Z",
"finishedAt": "2026-11-04T19:17:45.003Z",
"steps": 1,
"toolCalls": 0,
"usage": {
"requests": 1,
"inputTokens": 88,
"outputTokens": 28,
"totalTokens": 116,
"unknownRequests": 0,
"estimatedUnknownTokens": 0
},
"stopReason": "identity_probe_complete",
"model": {
"mode": "compatible",
"baseUrl": "https://api.apikey.fan/v1",
"model": "gpt-6.1-sol",
"contextLimit": 16000,
"maxOutputTokens": 2048,
"configRevision": 93,
"modelResponseTimeoutMs": 300000,
"modelStreamIdleTimeoutMs": 120000,
"protocol": "chat-completions",
"streaming": true,
"nativeParameters": {
"reasoning_effort": "low"
},
"modelConnectionId": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"modelCredentialRevision": 1,
"routing": {
"type": "connection",
"id": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"revision": 7,
"strategy": "round-robin",
"sticky": true,
"maxAttempts": 1,
"queueTimeoutMs": 15000,
"members": [
{
"id": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"name": "apikey",
"brand": "OpenAI",
"protocol": "chat-completions",
"model": "gpt-6.1-sol",
"capabilitySchema": 1,
"capabilityDeclarations": {
"text": "supported",
"tools": "supported",
"streaming": "supported",
"vision": "unknown",
"audio": "unknown"
},
"streaming": true,
"modelIdentityPolicy": "require-match",
"modelIdentityAliases": [],
"modelIdentityAliasSource": "",
"baseUrl": "https://api.apikey.fan/v1",
"enabled": true,
"requiresKey": true,
"contextLimit": 16000,
"maxOutputTokens": 2048,
"concurrency": 1,
"revision": 7,
"source": "manual",
"createdAt": "2026-11-03T12:27:23.484Z",
"updatedAt": "2026-11-04T15:12:28.077Z",
"weight": 1,
"credentialRevision": 1,
"nativeParameters": {
"reasoning_effort": "low"
}
}
]
}
},
"budget": {
"maxSteps": 1,
"maxDurationMs": 320000,
"maxTokens": 16000,
"maxTaskTokens": 16000
},
"resumeOf": null,
"purpose": "execution",
"consumption": [
{
"attemptId": "7a4a4406-0b91-4b21-bae1-9bfc4c914c84",
"requestId": "413c3ce7-d240-4760-84a3-adbdc9f6024b",
"connectionId": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"connectionName": "apikey",
"model": "gpt-6.1-sol",
"endpoint": "https://api.apikey.fan/v1",
"protocol": "chat-completions",
"requestUrl": "https://api.apikey.fan/v1/chat/completions",
"responseUrl": "https://api.apikey.fan/v1/chat/completions",
"redirected": false,
"redirectMode": "manual",
"startedAt": "2026-11-04T19:17:42.704Z",
"finishedAt": "2026-11-04T19:17:44.986Z",
"outcome": "completed",
"usageStatus": "reported",
"usage": {
"prompt_tokens": 88,
"completion_tokens": 28,
"total_tokens": 116
},
"localEstimate": {
"schemaVersion": 1,
"inputTokens": 187,
"outputTokens": 2048,
"requestSha256": "c2ea335d89b8ebe8773b4442a266436a2451dcfc11a5fc00e3e9a34c70959542",
"requestBytes": 512,
"estimateMethod": "utf8-third-plus-framing-v1"
},
"modelIdentity": {
"schemaVersion": 1,
"requestedModel": "gpt-6.1-sol",
"reportedModels": [
"gpt-6.1-sol"
],
"status": "matched",
"complete": true,
"invalidIdentifiers": false,
"policy": "require-match",
"scope": "Identifiers in the outgoing request and upstream response; neither equal identifiers nor a declared mapping authenticate model weights.",
"responseSource": {
"artifactId": "49194a39-e99e-4c15-a550-a4abc15b44d1",
"sha256": "7f7022ef9da9332c4e23de838a9334a887b8613909361918607e816825864ece",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"scope": "sse-stream"
}
},
"estimatedUnknownTokens": 0
}
],
"workspaceIdentity": {
"kind": "local-project",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-validation-aa\\gpt\\preflight-on\\identity-only"
}
}
],
"progress": {
"totalTools": 0,
"completedTools": 0,
"requiresVerification": []
},
"artifacts": [
{
"id": "6efc55b6-3bf2-4540-bcf3-7e931f06a506",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"runId": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"kind": "model-request",
"mediaType": "application/json",
"sha256": "0a36b978316fe9167732e91d9f2832724a4e1727352de9a2ddef6846fa57fa66",
"bytes": 1017,
"relative": "0a/0a36b978316fe9167732e91d9f2832724a4e1727352de9a2ddef6846fa57fa66.blob",
"createdAt": "2026-11-04T19:17:42.679Z",
"status": "stored"
},
{
"id": "551fda20-b45f-47b6-94b2-40d093185165",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"runId": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"kind": "context-plan",
"mediaType": "application/json",
"sha256": "dcc17e1227f6d4e04f94d4f5c314fa508f1da14b7fd872ca84e13f620782e9f0",
"bytes": 2184,
"relative": "dc/dcc17e1227f6d4e04f94d4f5c314fa508f1da14b7fd872ca84e13f620782e9f0.blob",
"createdAt": "2026-11-04T19:17:42.682Z",
"status": "stored"
},
{
"id": "15445504-f933-4ddd-a261-8a93794596e2",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"runId": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"kind": "model-attempt-request",
"mediaType": "application/json",
"sha256": "c2ea335d89b8ebe8773b4442a266436a2451dcfc11a5fc00e3e9a34c70959542",
"bytes": 512,
"relative": "c2/c2ea335d89b8ebe8773b4442a266436a2451dcfc11a5fc00e3e9a34c70959542.blob",
"createdAt": "2026-11-04T19:17:42.687Z",
"status": "stored"
},
{
"id": "49194a39-e99e-4c15-a550-a4abc15b44d1",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"runId": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"kind": "model-stream-response",
"mediaType": "text/event-stream",
"sha256": "7f7022ef9da9332c4e23de838a9334a887b8613909361918607e816825864ece",
"bytes": 5557,
"relative": "7f/7f7022ef9da9332c4e23de838a9334a887b8613909361918607e816825864ece.blob",
"createdAt": "2026-11-04T19:17:44.982Z",
"status": "stored"
}
],
"checks": [],
"browsingTabs": [],
"browsingActions": [],
"previewPlans": [],
"previewJobs": [],
"mcpJobs": [],
"taskPlans": [],
"taskProofs": [],
"researchTargets": [],
"researchJobs": [],
"engineJobs": [],
"browserPlans": [],
"browserJobs": [],
"contextPlans": [
{
"schemaVersion": 1,
"id": "413c3ce7-d240-4760-84a3-adbdc9f6024b",
"sessionId": "0fe3dccc-d7eb-4174-b252-08572fd1f4c1",
"projectId": "092f1b26-6421-4198-96d4-80ff791a7d44",
"taskId": "45757292-e121-4ba3-af5a-4b665a8e818c",
"runId": "0b1fdc14-981f-4edd-8c3b-61428c8cf239",
"stepId": "08c7becb-0cd7-4b09-88f7-5455d1b68eeb",
"requestIndex": 1,
"status": "completed",
"createdAt": "2026-11-04T19:17:42.680Z",
"finishedAt": "2026-11-04T19:17:44.997Z",
"requestSha256": "0a36b978316fe9167732e91d9f2832724a4e1727352de9a2ddef6846fa57fa66",
"requestBytes": 1017,
"estimatedInputTokens": 187,
"requestArtifactId": "6efc55b6-3bf2-4540-bcf3-7e931f06a506",
"tokenReservation": {
"schemaVersion": 1,
"method": "observed-route-max-v3",
"overheadTokens": 0,
"reservedTokens": 2235,
"routes": [
{
"connectionId": "93d0cf6d-4f32-4918-9da8-6f125aa8a6e5",
"model": "gpt-6.1-sol",
"protocol": "chat-completions",
"endpoint": "https://api.apikey.fan/v1",
"localInputTokens": 187,
"outputReservation": 2048,
"inputRatio": 1,
"observedOutputTokens": 2048,
"observedTotalFloor": 0,
"reservedTokens": 2235,
"sources": [],
"excludedSources": []
}
],
"receiptHistory": []
},
"maxBudgetAttempts": 7,
"estimateMethod": "maximum-wire-variant-utf8-v1",
"beforeInputTokens": 187,
"beforeBytes": 1017,
"budget": {
"contextLimit": 16000,
"outputReservation": 2048,
"safetyTokens": 1600,
"inputBudget": 12352,
"targetInputTokens": 12352,
"runRemainingTokens": 16000,
"taskRemainingTokens": 16000,
"limitingReason": "context_limit"
},
"mandatoryInputTokens": 187,
"nextReadFixedInputTokens": 187,
"workingRetentionTokens": 0,
"workingRetentionPolicyVersion": 1,
"readBudgetPolicyVersion": 3,
"originalMessages": 1,
"retainedMessages": 1,
"archivedGroups": 0,
"retainedGroups": [
0
],
"historyIndexArtifactId": null,
"historyIndexSha256": null,
"actualUsage": {
"prompt_tokens": 88,
"completion_tokens": 28,
"total_tokens": 116
},
"workingSetArtifactId": null,
"workingSetSha256": null,
"workingSetEntries": 0,
"workingSetViewVersion": 4,
"latestToolsViewVersion": 3,
"latestToolsArtifactId": null,
"latestToolsSha256": null,
"latestToolsEntries": 0,
"projectMemoryArtifactId": null,
"projectMemorySha256": null,
"projectMemoryEntries": 0,
"skillCatalogArtifactId": null,
"skillCatalogSha256": null,
"skillCatalogEntries": 0,
"mcpCatalogArtifactId": null,
"mcpCatalogSha256": null,
"mcpCatalogEntries": 0,
"requestAttempts": 1,
"responseSha256": "28b863157544bf1b57c9f15e97fce3c6e9c685228c6c929c0c4d340234bcb409",
"source": "workbench",
"artifactId": "551fda20-b45f-47b6-94b2-40d093185165"
}
],
"changeSets": [],
"plans": [],
"deliveries": [],
"deliveryPlans": [],
"accountedTaskTokens": 116
}
}