Files
2026-07-30 08:45:38 +08:00

356 lines
10 KiB
JSON
Executable File

{
"request_id": "req-20260723022337-bfb3e4",
"conversation_id": "conv-5f0c6b93-915f-4b0c-9999-eb0bb1dc17d4",
"conversation_turn": 0,
"status": "needs_confirmation",
"provider_requested": "openai",
"execution_mode": "dry_run",
"hardware_execution_allowed": false,
"decision_summary": [
"目标范围为副驾座椅。",
"“休息模式”未对应注册表中的固定预设,且座椅姿态调整需要明确配置。"
],
"deferred_requests": [],
"model_requests": [],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260723022337-bfb3e4",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260723022337-bfb3e4",
"generated_at": "2026-07-23T02:23:53.434732Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "副驾调整为休息模式",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [],
"ambiguities": [
{
"field": "passenger_rest_configuration",
"question": "副驾没有预设的“休息模式”。是否按舒适休息姿势调整:靠背后倾,并升起、伸出腿托?请确认或指定幅度。"
}
],
"confidence": 0.91,
"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": "passenger_rest_configuration",
"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": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
},
"position": {
"longitudinal": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"height": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"cushion_tilt": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"backrest_recline": {
"position_pct": 20,
"motion_state": "stopped",
"fault": false
},
"legrest_height": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
},
"legrest_extension": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
}
}
},
"passenger": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
},
"position": {
"longitudinal": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"height": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"cushion_tilt": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"backrest_recline": {
"position_pct": 20,
"motion_state": "stopped",
"fault": false
},
"legrest_height": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
},
"legrest_extension": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
}
}
}
},
"trace_events": [
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-01-req-20260723022337-bfb3e4",
"request_id": "req-20260723022337-bfb3e4",
"timestamp": "2026-07-23T02:23:53.434657Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-sol",
"confidence": 0.91,
"conversation_turn": 0
},
"duration_ms": 15550
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260723022337-bfb3e4",
"request_id": "req-20260723022337-bfb3e4",
"timestamp": "2026-07-23T02:23:53.434707Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已将会话 conv-5f0c6b93-915f-4b0c-9999-eb0bb1dc17d4 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
"details": {
"conversation_id": "conv-5f0c6b93-915f-4b0c-9999-eb0bb1dc17d4",
"turn_count": 0,
"last_target": null,
"state_before": {
"driver": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
},
"position": {
"longitudinal": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"height": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"cushion_tilt": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"backrest_recline": {
"position_pct": 20,
"motion_state": "stopped",
"fault": false
},
"legrest_height": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
},
"legrest_extension": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
}
}
},
"passenger": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
},
"position": {
"longitudinal": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"height": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"cushion_tilt": {
"position_pct": 50,
"motion_state": "stopped",
"fault": false
},
"backrest_recline": {
"position_pct": 20,
"motion_state": "stopped",
"fault": false
},
"legrest_height": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
},
"legrest_extension": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
}
}
}
},
"capability_domains": [
"ambient_light",
"climate",
"roof",
"seat"
]
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-03-req-20260723022337-bfb3e4",
"request_id": "req-20260723022337-bfb3e4",
"timestamp": "2026-07-23T02:23:53.434720Z",
"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-20260723022337-bfb3e4",
"request_id": "req-20260723022337-bfb3e4",
"timestamp": "2026-07-23T02:23:53.434747Z",
"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-20260723022337-bfb3e4",
"request_id": "req-20260723022337-bfb3e4",
"timestamp": "2026-07-23T02:23:53.435713Z",
"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-20260723022337-bfb3e4",
"request_id": "req-20260723022337-bfb3e4",
"timestamp": "2026-07-23T02:23:53.435736Z",
"stage": "domain_validate",
"status": "failed",
"domain": "seat",
"summary": "座椅语义校验阻止了不受支持的请求。",
"details": {
"error_count": 2,
"warning_count": 1
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts/runs/req-20260723022337-bfb3e4"
}