105 lines
12 KiB
JSON
105 lines
12 KiB
JSON
{
|
|
"metadata": {
|
|
"captureId": "d601-v03-workbench-redacted-001",
|
|
"capturedFrom": {
|
|
"node": "D601",
|
|
"lane": "HWLAB v0.3",
|
|
"origin": "https://hwlab.pikapython.com",
|
|
"workspace": "/home/ubuntu/workspace/hwlab-v03",
|
|
"source": "controlled Workbench regression sample, redacted and minimized from live API shape"
|
|
},
|
|
"capturedAt": "2026-06-17T09:40:00.000Z",
|
|
"sourceProbe": {
|
|
"probedAt": "2026-06-17T10:24:00.000Z",
|
|
"credentialSourceRef": "/root/.config/hwlab-v03/master-server-admin-api-key.env",
|
|
"valuesPrinted": false,
|
|
"endpoints": [
|
|
{ "path": "/auth/session", "status": 200, "topLevelKeys": ["actor", "authMethod", "authenticated", "contractVersion", "session", "sessionExpiresAt", "sessionTtlSeconds", "setupRequired"] },
|
|
{ "path": "/v1/workbench/workspace?projectId=prj_hwpod_workbench", "status": 200, "topLevelKeys": ["actor", "contractVersion", "ok", "status", "workspace"] },
|
|
{ "path": "/v1/agent/conversations?projectId=prj_hwpod_workbench", "status": 200, "topLevelKeys": ["actor", "contractVersion", "conversations", "count", "defaultConversation", "ok", "projectId", "status"] }
|
|
]
|
|
},
|
|
"schemaVersion": "workbench-e2e-capture.v1",
|
|
"redactionVersion": "redact-stable-pseudo-ids.v1",
|
|
"valuesPrinted": false,
|
|
"notes": [
|
|
"Identifiers are stable pseudo IDs preserving conversation/session/thread/trace/message relationships.",
|
|
"Secret, cookie, Authorization, DSN, provider token, real user identity and non-public prompt values are omitted."
|
|
]
|
|
},
|
|
"scenario": {
|
|
"projectId": "prj_hwpod_workbench",
|
|
"workspaceId": "wsp_d601_v03_e2e",
|
|
"selectedConversationId": "cnv_running",
|
|
"providerProfile": "codex-api",
|
|
"conversations": [
|
|
{
|
|
"conversationId": "cnv_running",
|
|
"projectId": "prj_hwpod_workbench",
|
|
"sessionId": "ses_running",
|
|
"threadId": "thr_running",
|
|
"status": "running",
|
|
"updatedAt": "2026-06-17T09:39:50.000Z",
|
|
"lastTraceId": "trc_running",
|
|
"messageCount": 2,
|
|
"firstUserMessagePreview": "运行中的板级验证",
|
|
"messages": [
|
|
{ "id": "msg_running_user", "messageId": "msg_running_user", "role": "user", "title": "用户", "text": "运行中的板级验证", "status": "sent", "createdAt": "2026-06-17T09:39:40.000Z", "conversationId": "cnv_running", "sessionId": "ses_running", "threadId": "thr_running", "turnId": "turn_running" },
|
|
{ "id": "msg_running_agent", "messageId": "msg_running_agent", "role": "agent", "title": "Code Agent", "text": "", "status": "running", "createdAt": "2026-06-17T09:39:41.000Z", "conversationId": "cnv_running", "sessionId": "ses_running", "threadId": "thr_running", "traceId": "trc_running", "turnId": "turn_running", "runnerTrace": { "traceId": "trc_running", "status": "running", "sessionId": "ses_running", "threadId": "thr_running", "events": [{ "seq": 1, "createdAt": "2026-06-17T09:39:42.000Z", "label": "agentrun:assistant:message", "type": "assistant_message", "status": "running", "message": "正在检查测试工程。" }], "eventCount": 1, "fullTraceLoaded": false, "hasMore": false } }
|
|
]
|
|
},
|
|
{
|
|
"conversationId": "cnv_completed",
|
|
"projectId": "prj_hwpod_workbench",
|
|
"sessionId": "ses_completed",
|
|
"threadId": "thr_completed",
|
|
"status": "completed",
|
|
"updatedAt": "2026-06-17T09:38:00.000Z",
|
|
"lastTraceId": "trc_completed",
|
|
"messageCount": 2,
|
|
"firstUserMessagePreview": "完成态 Trace 渲染验证",
|
|
"messages": [
|
|
{ "id": "msg_completed_user", "messageId": "msg_completed_user", "role": "user", "title": "用户", "text": "完成态 Trace 渲染验证", "status": "sent", "createdAt": "2026-06-17T09:37:00.000Z", "conversationId": "cnv_completed", "sessionId": "ses_completed", "threadId": "thr_completed", "turnId": "turn_completed" },
|
|
{ "id": "msg_completed_agent", "messageId": "msg_completed_agent", "role": "agent", "title": "Code Agent", "text": "构建和 Trace 渲染检查完成。", "status": "completed", "createdAt": "2026-06-17T09:37:02.000Z", "conversationId": "cnv_completed", "sessionId": "ses_completed", "threadId": "thr_completed", "traceId": "trc_completed", "turnId": "turn_completed", "runnerTrace": { "traceId": "trc_completed", "status": "completed", "sessionId": "ses_completed", "threadId": "thr_completed", "events": [], "eventCount": 5, "fullTraceLoaded": true, "hasMore": false, "finalResponse": { "text": "构建和 Trace 渲染检查完成。" } } }
|
|
]
|
|
},
|
|
{
|
|
"conversationId": "cnv_failed",
|
|
"projectId": "prj_hwpod_workbench",
|
|
"sessionId": "ses_failed",
|
|
"threadId": "thr_failed",
|
|
"status": "failed",
|
|
"updatedAt": "2026-06-17T09:36:00.000Z",
|
|
"lastTraceId": "trc_failed",
|
|
"messageCount": 2,
|
|
"firstUserMessagePreview": "失败态 Trace 诊断",
|
|
"messages": [
|
|
{ "id": "msg_failed_user", "messageId": "msg_failed_user", "role": "user", "title": "用户", "text": "失败态 Trace 诊断", "status": "sent", "createdAt": "2026-06-17T09:35:00.000Z", "conversationId": "cnv_failed", "sessionId": "ses_failed", "threadId": "thr_failed", "turnId": "turn_failed" },
|
|
{ "id": "msg_failed_agent", "messageId": "msg_failed_agent", "role": "agent", "title": "Code Agent", "text": "测试工程编译失败:缺少受控依赖。", "status": "failed", "createdAt": "2026-06-17T09:35:03.000Z", "conversationId": "cnv_failed", "sessionId": "ses_failed", "threadId": "thr_failed", "traceId": "trc_failed", "turnId": "turn_failed", "error": { "code": "controlled_dependency_missing", "message": "测试工程编译失败:缺少受控依赖。" }, "runnerTrace": { "traceId": "trc_failed", "status": "failed", "sessionId": "ses_failed", "threadId": "thr_failed", "events": [], "eventCount": 4, "fullTraceLoaded": true, "hasMore": false, "error": { "code": "controlled_dependency_missing", "message": "测试工程编译失败:缺少受控依赖。" } } }
|
|
]
|
|
},
|
|
{
|
|
"conversationId": "cnv_canceled",
|
|
"projectId": "prj_hwpod_workbench",
|
|
"sessionId": "ses_canceled",
|
|
"threadId": "thr_canceled",
|
|
"status": "canceled",
|
|
"updatedAt": "2026-06-17T09:34:00.000Z",
|
|
"lastTraceId": "trc_canceled",
|
|
"messageCount": 2,
|
|
"firstUserMessagePreview": "取消态验证",
|
|
"messages": [
|
|
{ "id": "msg_canceled_user", "messageId": "msg_canceled_user", "role": "user", "title": "用户", "text": "取消态验证", "status": "sent", "createdAt": "2026-06-17T09:33:00.000Z", "conversationId": "cnv_canceled", "sessionId": "ses_canceled", "threadId": "thr_canceled", "turnId": "turn_canceled" },
|
|
{ "id": "msg_canceled_agent", "messageId": "msg_canceled_agent", "role": "agent", "title": "Code Agent", "text": "运行已取消。", "status": "canceled", "createdAt": "2026-06-17T09:33:02.000Z", "conversationId": "cnv_canceled", "sessionId": "ses_canceled", "threadId": "thr_canceled", "traceId": "trc_canceled", "turnId": "turn_canceled", "runnerTrace": { "traceId": "trc_canceled", "status": "canceled", "sessionId": "ses_canceled", "threadId": "thr_canceled", "events": [{ "seq": 1, "createdAt": "2026-06-17T09:33:02.000Z", "label": "agentrun:terminal:canceled", "status": "canceled", "message": "用户取消运行。", "terminal": true }], "eventCount": 1, "fullTraceLoaded": true, "hasMore": false } }
|
|
]
|
|
}
|
|
],
|
|
"traces": {
|
|
"trc_running": { "traceId": "trc_running", "status": "running", "sessionId": "ses_running", "threadId": "thr_running", "conversationId": "cnv_running", "turnId": "turn_running", "events": [{ "seq": 1, "createdAt": "2026-06-17T09:39:42.000Z", "label": "agentrun:assistant:message", "type": "assistant_message", "status": "running", "message": "正在检查测试工程。" }, { "seq": 2, "createdAt": "2026-06-17T09:39:45.000Z", "label": "agentrun:tool:commandExecution:started", "type": "tool_call", "status": "running", "itemId": "tool_running_check", "toolName": "commandExecution", "command": "bun run check:tsc" }], "eventCount": 2, "fullTraceLoaded": false, "hasMore": false, "agentRun": { "adapter": "agentrun-v02", "runId": "run_running", "commandId": "cmd_running", "runnerId": "runner_d601", "namespace": "hwlab-v03", "backendProfile": "codex-api", "status": "running", "valuesPrinted": false } },
|
|
"trc_completed": { "traceId": "trc_completed", "status": "completed", "sessionId": "ses_completed", "threadId": "thr_completed", "conversationId": "cnv_completed", "turnId": "turn_completed", "events": [{ "seq": 1, "createdAt": "2026-06-17T09:37:03.000Z", "label": "agentrun:backend:token_count", "type": "event", "status": "completed" }, { "seq": 2, "createdAt": "2026-06-17T09:37:04.000Z", "label": "agentrun:tool:commandExecution:completed", "type": "tool_call", "status": "completed", "itemId": "tool_completed_build", "toolName": "commandExecution", "command": "bun run build", "stdoutSummary": "build completed", "exitCode": 0 }, { "seq": 3, "createdAt": "2026-06-17T09:37:07.000Z", "label": "agentrun:assistant:message", "type": "assistant_message", "status": "completed", "replyAuthority": true, "final": true, "message": "构建和 Trace 渲染检查完成。" }, { "seq": 4, "createdAt": "2026-06-17T09:37:08.000Z", "label": "agentrun:terminal:completed", "status": "completed", "terminal": true }], "eventCount": 4, "fullTraceLoaded": true, "hasMore": false, "finalResponse": { "text": "构建和 Trace 渲染检查完成。" }, "assistantText": "构建和 Trace 渲染检查完成。", "agentRun": { "adapter": "agentrun-v02", "runId": "run_completed", "commandId": "cmd_completed", "runnerId": "runner_d601", "namespace": "hwlab-v03", "backendProfile": "codex-api", "status": "completed", "valuesPrinted": false } },
|
|
"trc_failed": { "traceId": "trc_failed", "status": "failed", "sessionId": "ses_failed", "threadId": "thr_failed", "conversationId": "cnv_failed", "turnId": "turn_failed", "events": [{ "seq": 1, "createdAt": "2026-06-17T09:35:04.000Z", "label": "agentrun:tool:commandExecution:completed", "type": "tool_call", "status": "blocked", "itemId": "tool_failed_build", "toolName": "commandExecution", "command": "bun run build", "stderrSummary": "missing controlled dependency", "exitCode": 1 }, { "seq": 2, "createdAt": "2026-06-17T09:35:05.000Z", "label": "agentrun:terminal:failed", "status": "failed", "message": "测试工程编译失败:缺少受控依赖。", "terminal": true, "errorCode": "controlled_dependency_missing" }], "eventCount": 2, "fullTraceLoaded": true, "hasMore": false, "assistantText": "测试工程编译失败:缺少受控依赖。", "error": { "code": "controlled_dependency_missing", "message": "测试工程编译失败:缺少受控依赖。" }, "agentRun": { "adapter": "agentrun-v02", "runId": "run_failed", "commandId": "cmd_failed", "runnerId": "runner_d601", "namespace": "hwlab-v03", "backendProfile": "codex-api", "status": "failed", "valuesPrinted": false } },
|
|
"trc_canceled": { "traceId": "trc_canceled", "status": "canceled", "sessionId": "ses_canceled", "threadId": "thr_canceled", "conversationId": "cnv_canceled", "turnId": "turn_canceled", "events": [{ "seq": 1, "createdAt": "2026-06-17T09:33:02.000Z", "label": "agentrun:terminal:canceled", "status": "canceled", "message": "用户取消运行。", "terminal": true }], "eventCount": 1, "fullTraceLoaded": true, "hasMore": false, "assistantText": "运行已取消。", "agentRun": { "adapter": "agentrun-v02", "runId": "run_canceled", "commandId": "cmd_canceled", "runnerId": "runner_d601", "namespace": "hwlab-v03", "backendProfile": "codex-api", "status": "canceled", "valuesPrinted": false } }
|
|
}
|
|
}
|
|
}
|