Files
Cognitive_Agent/artifacts/runs/req-20260722094410-0e039d/result.json
T
2026-07-30 08:45:38 +08:00

219 lines
6.1 KiB
JSON
Executable File

{
"request_id": "req-20260722094410-0e039d",
"conversation_id": "conv-0cdb156b-e132-4503-8ce9-020b48c765a7",
"conversation_turn": 1,
"status": "needs_confirmation",
"provider_requested": "openai",
"execution_mode": "dry_run",
"hardware_execution_allowed": false,
"decision_summary": [
"舒适反馈存在冲突,未生成执行动作。"
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260722094410-0e039d",
"name": "Seat thermal intent",
"version": "1.0.0",
"request_id": "req-20260722094410-0e039d",
"generated_at": "2026-07-22T09:44:25.274639Z",
"labels": {
"provider": "openai:gpt-5.6-luna"
}
},
"spec": {
"utterance": "主驾有点冷,有点闷",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [],
"ambiguities": [
{
"field": "comfort_feedback",
"question": "同时检测到热感和冷感,请确认希望优先调整哪一项。"
}
],
"confidence": 0.98,
"requires_confirmation": true
}
},
"function_config": null,
"validation": [
{
"severity": "error",
"code": "PUBLIC_SCHEMA",
"path": "spec.requests",
"message": "[] is too short"
},
{
"severity": "error",
"code": "AMBIGUOUS_INTENT",
"path": "comfort_feedback",
"message": "同时检测到热感和冷感,请确认希望优先调整哪一项。"
},
{
"severity": "error",
"code": "NO_EXECUTABLE_OPERATION",
"path": "spec.operations",
"message": "没有生成可执行的座椅操作。"
},
{
"severity": "warning",
"code": "VIRTUAL_EXECUTION_ONLY",
"path": "platform.reference_vehicle",
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
}
],
"command_plan": null,
"execution_report": null,
"actuator_state": {
"driver": {
"ventilation": {
"state": "on",
"level": 1
},
"heating": {
"state": "off",
"level": 0
}
},
"passenger": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
}
}
},
"trace_events": [
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-01-req-20260722094410-0e039d",
"request_id": "req-20260722094410-0e039d",
"timestamp": "2026-07-22T09:44:25.274551Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-luna 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-luna",
"confidence": 0.98,
"conversation_turn": 1
},
"duration_ms": 14292
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260722094410-0e039d",
"request_id": "req-20260722094410-0e039d",
"timestamp": "2026-07-22T09:44:25.274619Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已读取会话 conv-0cdb156b-e132-4503-8ce9-020b48c765a7 的第 1 轮执行状态,并完成省略目标、舒适反馈和档位增量解析。",
"details": {
"conversation_id": "conv-0cdb156b-e132-4503-8ce9-020b48c765a7",
"turn_count": 1,
"last_target": "driver",
"state_before": {
"driver": {
"ventilation": {
"state": "on",
"level": 1
},
"heating": {
"state": "off",
"level": 0
}
},
"passenger": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
}
}
}
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-03-req-20260722094410-0e039d",
"request_id": "req-20260722094410-0e039d",
"timestamp": "2026-07-22T09:44:25.274630Z",
"stage": "domain_route",
"status": "succeeded",
"domain": "seat",
"summary": "仅识别到 seat 领域,绕过跨域 SceneConfig 编排。",
"details": {
"domains": [
"seat"
],
"mode": "single_domain"
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-04-req-20260722094410-0e039d",
"request_id": "req-20260722094410-0e039d",
"timestamp": "2026-07-22T09:44:25.274652Z",
"stage": "function_generate",
"status": "waiting_confirmation",
"domain": "seat",
"summary": "没有足够信息生成可执行配置。",
"details": {
"operation_count": 0
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-05-req-20260722094410-0e039d",
"request_id": "req-20260722094410-0e039d",
"timestamp": "2026-07-22T09:44:25.275579Z",
"stage": "schema_validate",
"status": "failed",
"domain": "seat",
"summary": "公共与领域 Schema 校验发现错误。",
"details": {
"error_count": 1
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-06-req-20260722094410-0e039d",
"request_id": "req-20260722094410-0e039d",
"timestamp": "2026-07-22T09:44:25.275602Z",
"stage": "domain_validate",
"status": "failed",
"domain": "seat",
"summary": "座椅语义校验阻止了不受支持的请求。",
"details": {
"error_count": 2,
"warning_count": 1
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-luna",
"artifact_path": "artifacts/runs/req-20260722094410-0e039d"
}