519 lines
15 KiB
JSON
Executable File
519 lines
15 KiB
JSON
Executable File
{
|
|
"request_id": "req-20260723015137-414f00",
|
|
"conversation_id": "conv-50eb13ab-1866-4b3d-a8d3-3d8ac0441f4e",
|
|
"conversation_turn": 1,
|
|
"status": "partially_succeeded",
|
|
"provider_requested": "openai",
|
|
"execution_mode": "dry_run",
|
|
"hardware_execution_allowed": false,
|
|
"decision_summary": [
|
|
"“主驾”明确指定驾驶员范围。",
|
|
"热感采用可执行的低档座椅通风,默认等级1。",
|
|
"闷感由空调风量处理;当前风量未知,因此保留为相对增加请求。"
|
|
],
|
|
"deferred_requests": [
|
|
{
|
|
"domain": "climate",
|
|
"capability": "climate.set_fan_level",
|
|
"target_scope": "driver",
|
|
"desired_change": "increase",
|
|
"requested_value": null,
|
|
"parameters": {},
|
|
"reason": "主驾感觉有点闷,需要增加该区域的车内空气流动。"
|
|
}
|
|
],
|
|
"model_requests": [
|
|
{
|
|
"domain": "seat",
|
|
"capability": "seat.set_ventilation",
|
|
"target_scope": "driver",
|
|
"operation": "activate",
|
|
"parameters": [
|
|
{
|
|
"name": "state",
|
|
"value": "on"
|
|
},
|
|
{
|
|
"name": "level",
|
|
"value": 1
|
|
}
|
|
],
|
|
"reason": "主驾感觉有点热,低档座椅通风可缓解局部热感。"
|
|
},
|
|
{
|
|
"domain": "climate",
|
|
"capability": "climate.set_fan_level",
|
|
"target_scope": "driver",
|
|
"operation": "increase",
|
|
"parameters": [],
|
|
"reason": "主驾感觉有点闷,需要增加该区域的车内空气流动。"
|
|
}
|
|
],
|
|
"intent_ir": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "IntentIR",
|
|
"metadata": {
|
|
"id": "intent-req-20260723015137-414f00",
|
|
"name": "Seat thermal intent",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"generated_at": "2026-07-23T01:52:00.301495Z",
|
|
"labels": {
|
|
"provider": "openai:gpt-5.6-sol"
|
|
}
|
|
},
|
|
"spec": {
|
|
"utterance": "主驾有点热,有点闷",
|
|
"language": "zh-CN",
|
|
"mode": "cross_domain",
|
|
"detected_domains": [
|
|
"seat",
|
|
"climate"
|
|
],
|
|
"requests": [
|
|
{
|
|
"domain": "seat",
|
|
"goal": "Set driver ventilation on",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_left",
|
|
"instance": "driver"
|
|
},
|
|
"parameters": {
|
|
"function": "ventilation",
|
|
"state": "on",
|
|
"requested_level": 1
|
|
},
|
|
"source_span": "主驾有点热,有点闷"
|
|
},
|
|
{
|
|
"domain": "climate",
|
|
"goal": "increase climate.set_fan_level",
|
|
"target": {
|
|
"device": "climate",
|
|
"zone": "driver"
|
|
},
|
|
"parameters": {
|
|
"capability": "climate.set_fan_level",
|
|
"desired_change": "increase",
|
|
"requested_value": null,
|
|
"requested_parameters": {},
|
|
"availability": "catalog_only"
|
|
},
|
|
"source_span": "主驾有点热,有点闷"
|
|
}
|
|
],
|
|
"ambiguities": [],
|
|
"confidence": 0.94,
|
|
"requires_confirmation": false
|
|
}
|
|
},
|
|
"function_config": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "FunctionConfig",
|
|
"metadata": {
|
|
"id": "seat-req-20260723015137-414f00",
|
|
"name": "Seat thermal function",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"generated_at": "2026-07-23T01:52:00.301521Z",
|
|
"labels": {
|
|
"provider": "openai:gpt-5.6-sol",
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"operations": [
|
|
{
|
|
"id": "driver_ventilation_on",
|
|
"capability": "seat.set_ventilation",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_left",
|
|
"instance": "driver"
|
|
},
|
|
"parameters": {
|
|
"state": "on",
|
|
"level": 1
|
|
},
|
|
"timeout_ms": 3000,
|
|
"failure_policy": "abort"
|
|
}
|
|
],
|
|
"assumptions": [
|
|
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
|
|
"Operation driver_ventilation_on targets level 1; the level is simulated because the supplied matrix has no level command signal."
|
|
]
|
|
}
|
|
},
|
|
"validation": [
|
|
{
|
|
"severity": "warning",
|
|
"code": "UNAVAILABLE_DOMAIN",
|
|
"path": "deferred_requests[0]",
|
|
"message": "已理解 climate.set_fan_level 目标,但 climate 域当前仅有能力目录,未接入执行器。"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "LEVEL_COMMAND_SIMULATED",
|
|
"path": "actions[0].requested_level",
|
|
"message": "目标档位已写入 FunctionConfig 和会话状态;0x42A 仅编译开关信号,档位回读仅在 dry-run 中模拟。"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "VIRTUAL_EXECUTION_ONLY",
|
|
"path": "platform.reference_vehicle",
|
|
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
|
|
}
|
|
],
|
|
"command_plan": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "CommandPlan",
|
|
"metadata": {
|
|
"id": "plan-req-20260723015137-414f00",
|
|
"name": "Seat thermal CAN command plan",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"labels": {
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"platform": "reference_vehicle",
|
|
"source": {
|
|
"config_id": "seat-req-20260723015137-414f00",
|
|
"config_version": "1.0.0",
|
|
"config_sha256": "18d779094934cf4733771dd507f08c07f2d242455b41b51222207f16f3e4acab",
|
|
"compiler_version": "1.0.0",
|
|
"mapping_version": "1.0.0"
|
|
},
|
|
"commands": [
|
|
{
|
|
"id": "seat_thermal_control",
|
|
"operation_ref": "driver_ventilation_on",
|
|
"bus": "body_can",
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"signals": {
|
|
"Driver_Seat_Ventilation_S": 1
|
|
},
|
|
"send_offset_ms": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"execution_report": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "ExecutionReport",
|
|
"metadata": {
|
|
"id": "report-req-20260723015137-414f00",
|
|
"name": "Seat virtual execution report",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"labels": {
|
|
"simulation": "true"
|
|
}
|
|
},
|
|
"spec": {
|
|
"mode": "dry_run",
|
|
"status": "succeeded",
|
|
"started_at": "2026-07-23T01:52:00.305247Z",
|
|
"finished_at": "2026-07-23T01:52:00.305301Z",
|
|
"results": [
|
|
{
|
|
"ref": "driver_ventilation_on",
|
|
"domain": "seat",
|
|
"status": "succeeded",
|
|
"message": "虚拟回读确认 driver seat.set_ventilation=on, level=1",
|
|
"telemetry": {
|
|
"requested_state": "on",
|
|
"requested_level": 1,
|
|
"effective_level": 1,
|
|
"level_command_simulated": true,
|
|
"command_signal": "Driver_Seat_Ventilation_S",
|
|
"command_value": 1,
|
|
"feedback_signal": "Pilot_Seat_Vtilat_Stat_S",
|
|
"feedback_value": 2,
|
|
"command_frame": {
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"frame_id": "0x42A",
|
|
"payload_size": 2,
|
|
"data_hex": "01 00",
|
|
"signals": {
|
|
"Driver_Seat_Ventilation_S": 1
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"feedback_frame": {
|
|
"message": "Seat_Thermal_Status_4FA",
|
|
"frame_id": "0x4FA",
|
|
"payload_size": 2,
|
|
"data_hex": "02 00",
|
|
"signals": {
|
|
"Pilot_Seat_Vtilat_Stat_S": 2
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"simulated": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.301412Z",
|
|
"stage": "intent_parse",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
|
|
"details": {
|
|
"provider": "openai:gpt-5.6-sol",
|
|
"confidence": 0.94,
|
|
"conversation_turn": 0
|
|
},
|
|
"duration_ms": 22969
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-02-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.301463Z",
|
|
"stage": "context_resolve",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "已将会话 conv-50eb13ab-1866-4b3d-a8d3-3d8ac0441f4e 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
|
|
"details": {
|
|
"conversation_id": "conv-50eb13ab-1866-4b3d-a8d3-3d8ac0441f4e",
|
|
"turn_count": 0,
|
|
"last_target": null,
|
|
"state_before": {
|
|
"driver": {
|
|
"ventilation": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
}
|
|
},
|
|
"passenger": {
|
|
"ventilation": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
}
|
|
}
|
|
},
|
|
"capability_domains": [
|
|
"ambient_light",
|
|
"climate",
|
|
"roof",
|
|
"seat"
|
|
]
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-03-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.301477Z",
|
|
"stage": "domain_route",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "识别到 seat,climate 领域,当前 seat 单域服务不会错误代执行。",
|
|
"details": {
|
|
"domains": [
|
|
"seat",
|
|
"climate"
|
|
],
|
|
"mode": "single_domain"
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-04-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.301530Z",
|
|
"stage": "function_generate",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "已生成座椅 FunctionConfig。",
|
|
"details": {
|
|
"operation_count": 1
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-05-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.304388Z",
|
|
"stage": "schema_validate",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "公共与领域 Schema 校验通过。",
|
|
"details": {
|
|
"error_count": 0
|
|
},
|
|
"duration_ms": 2
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-06-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.304437Z",
|
|
"stage": "domain_validate",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "座椅能力和目标映射校验通过。",
|
|
"details": {
|
|
"error_count": 0,
|
|
"warning_count": 3
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-07-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.305227Z",
|
|
"stage": "compile",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "配置已确定性编译为 0x42A 语义信号计划。",
|
|
"details": {
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"signal_count": 1
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-08-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.305239Z",
|
|
"stage": "safety_check",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "平台、矩阵和策略均限制为 dry-run;硬件发送路径未启用。",
|
|
"details": {
|
|
"hardware_execution_allowed": false,
|
|
"mapping_status": "draft"
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-09-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.305816Z",
|
|
"stage": "execute",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "虚拟 CAN 已编码命令帧并生成模拟回读。",
|
|
"details": {
|
|
"mode": "dry_run",
|
|
"result_count": 1
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-10-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.305922Z",
|
|
"stage": "state_update",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "会话状态已更新为第 1 轮,可用于下一条指令。",
|
|
"details": {
|
|
"state_after": {
|
|
"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-11-req-20260723015137-414f00",
|
|
"request_id": "req-20260723015137-414f00",
|
|
"timestamp": "2026-07-23T01:52:00.305930Z",
|
|
"stage": "telemetry",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "0x4FA 虚拟工作状态与请求状态一致。",
|
|
"details": {
|
|
"command_frame": "01 00",
|
|
"feedback_frame": "02 00",
|
|
"simulated": true
|
|
},
|
|
"duration_ms": 0
|
|
}
|
|
],
|
|
"provider_used": "openai:gpt-5.6-sol",
|
|
"artifact_path": "artifacts/runs/req-20260723015137-414f00"
|
|
}
|