708 lines
20 KiB
JSON
Executable File
708 lines
20 KiB
JSON
Executable File
{
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"conversation_id": "conv-044a9e2d-58f8-4130-8606-55f117a4828d",
|
|
"conversation_turn": 3,
|
|
"status": "partially_succeeded",
|
|
"provider_requested": "openai",
|
|
"execution_mode": "dry_run",
|
|
"hardware_execution_allowed": false,
|
|
"decision_summary": [
|
|
"按明确指定的副驾范围处理。",
|
|
"“好冷”按明显冷感处理,座椅加热采用3档。",
|
|
"副驾温度保守设为24°C;空调能力当前作为延后执行请求。"
|
|
],
|
|
"deferred_requests": [
|
|
{
|
|
"domain": "climate",
|
|
"capability": "climate.set_temperature",
|
|
"target_scope": "passenger",
|
|
"desired_change": "set",
|
|
"requested_value": 24,
|
|
"parameters": {
|
|
"temperature_c": 24
|
|
},
|
|
"reason": "提高副驾空调分区温度以缓解明显冷感。"
|
|
}
|
|
],
|
|
"model_requests": [
|
|
{
|
|
"domain": "seat",
|
|
"capability": "seat.set_heating",
|
|
"target_scope": "passenger",
|
|
"operation": "activate",
|
|
"parameters": [
|
|
{
|
|
"name": "state",
|
|
"value": "on"
|
|
},
|
|
{
|
|
"name": "level",
|
|
"value": 3
|
|
}
|
|
],
|
|
"reason": "副驾明确表示很冷,启用较强座椅加热以提供局部保暖。"
|
|
},
|
|
{
|
|
"domain": "climate",
|
|
"capability": "climate.set_temperature",
|
|
"target_scope": "passenger",
|
|
"operation": "set",
|
|
"parameters": [
|
|
{
|
|
"name": "temperature_c",
|
|
"value": 24
|
|
}
|
|
],
|
|
"reason": "提高副驾空调分区温度以缓解明显冷感。"
|
|
}
|
|
],
|
|
"intent_ir": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "IntentIR",
|
|
"metadata": {
|
|
"id": "intent-req-20260723080938-cfc8a3",
|
|
"name": "Seat function intent",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"generated_at": "2026-07-23T08:09:53.061001Z",
|
|
"labels": {
|
|
"provider": "openai:gpt-5.6-sol"
|
|
}
|
|
},
|
|
"spec": {
|
|
"utterance": "副驾好冷",
|
|
"language": "zh-CN",
|
|
"mode": "cross_domain",
|
|
"detected_domains": [
|
|
"climate",
|
|
"seat"
|
|
],
|
|
"requests": [
|
|
{
|
|
"domain": "seat",
|
|
"goal": "Set passenger heating on",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_right",
|
|
"instance": "passenger"
|
|
},
|
|
"parameters": {
|
|
"function": "heating",
|
|
"state": "on",
|
|
"requested_level": 3
|
|
},
|
|
"source_span": "副驾好冷"
|
|
},
|
|
{
|
|
"domain": "climate",
|
|
"goal": "set climate.set_temperature",
|
|
"target": {
|
|
"device": "climate",
|
|
"zone": "passenger"
|
|
},
|
|
"parameters": {
|
|
"capability": "climate.set_temperature",
|
|
"desired_change": "set",
|
|
"requested_value": 24,
|
|
"requested_parameters": {
|
|
"temperature_c": 24
|
|
},
|
|
"availability": "catalog_only"
|
|
},
|
|
"source_span": "副驾好冷"
|
|
}
|
|
],
|
|
"ambiguities": [],
|
|
"confidence": 0.96,
|
|
"requires_confirmation": false
|
|
}
|
|
},
|
|
"function_config": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "FunctionConfig",
|
|
"metadata": {
|
|
"id": "seat-req-20260723080938-cfc8a3",
|
|
"name": "Seat function",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"generated_at": "2026-07-23T08:09:53.061015Z",
|
|
"labels": {
|
|
"provider": "openai:gpt-5.6-sol",
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"operations": [
|
|
{
|
|
"id": "passenger_heating_on",
|
|
"capability": "seat.set_heating",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_right",
|
|
"instance": "passenger"
|
|
},
|
|
"parameters": {
|
|
"state": "on",
|
|
"level": 3
|
|
},
|
|
"timeout_ms": 3000,
|
|
"failure_policy": "abort"
|
|
}
|
|
],
|
|
"assumptions": [
|
|
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
|
|
"Operation passenger_heating_on targets level 3; the level is simulated because the supplied matrix has no level command signal."
|
|
]
|
|
}
|
|
},
|
|
"preset_config": null,
|
|
"validation": [
|
|
{
|
|
"severity": "warning",
|
|
"code": "UNAVAILABLE_DOMAIN",
|
|
"path": "deferred_requests[0]",
|
|
"message": "已理解 climate.set_temperature 目标,但 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-20260723080938-cfc8a3",
|
|
"name": "Seat CAN command plan",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"labels": {
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"platform": "reference_vehicle",
|
|
"source": {
|
|
"config_id": "seat-req-20260723080938-cfc8a3",
|
|
"config_version": "1.0.0",
|
|
"config_sha256": "9ff9b3253e6432392e5331d4b4f4b69cc0c4f7558d13b68bba53960398a6f62c",
|
|
"compiler_version": "1.1.0",
|
|
"mapping_version": "1.1.0"
|
|
},
|
|
"commands": [
|
|
{
|
|
"id": "seat_thermal_control",
|
|
"operation_ref": "passenger_heating_on",
|
|
"bus": "body_can",
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"signals": {
|
|
"Front_Passenger_Seat_Heating_S": 1
|
|
},
|
|
"send_offset_ms": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"execution_report": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "ExecutionReport",
|
|
"metadata": {
|
|
"id": "report-req-20260723080938-cfc8a3",
|
|
"name": "Seat virtual execution report",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"labels": {
|
|
"simulation": "true"
|
|
}
|
|
},
|
|
"spec": {
|
|
"mode": "dry_run",
|
|
"status": "succeeded",
|
|
"started_at": "2026-07-23T08:09:53.065371Z",
|
|
"finished_at": "2026-07-23T08:09:53.065407Z",
|
|
"results": [
|
|
{
|
|
"ref": "passenger_heating_on",
|
|
"domain": "seat",
|
|
"status": "succeeded",
|
|
"message": "虚拟回读确认 passenger seat.set_heating=on, level=3",
|
|
"telemetry": {
|
|
"requested_state": "on",
|
|
"requested_level": 3,
|
|
"effective_level": 3,
|
|
"level_command_simulated": true,
|
|
"command_signal": "Front_Passenger_Seat_Heating_S",
|
|
"command_value": 1,
|
|
"feedback_signal": "Copilot_Seat_Heat_Stat_4FA_S",
|
|
"feedback_value": 4,
|
|
"command_frame": {
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"frame_id": "0x42A",
|
|
"payload_size": 2,
|
|
"data_hex": "00 40",
|
|
"signals": {
|
|
"Front_Passenger_Seat_Heating_S": 1
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"feedback_frame": {
|
|
"message": "Seat_Thermal_Status_4FA",
|
|
"frame_id": "0x4FA",
|
|
"payload_size": 2,
|
|
"data_hex": "00 20",
|
|
"signals": {
|
|
"Copilot_Seat_Heat_Stat_4FA_S": 4
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"simulated": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"actuator_state": {
|
|
"driver": {
|
|
"ventilation": {
|
|
"state": "on",
|
|
"level": 3
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"position": {
|
|
"longitudinal": {
|
|
"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,
|
|
"angle_deg": 104.0
|
|
},
|
|
"legrest_height": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false,
|
|
"angle_deg": 95.0
|
|
},
|
|
"legrest_extension": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false
|
|
}
|
|
}
|
|
},
|
|
"passenger": {
|
|
"ventilation": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"heating": {
|
|
"state": "on",
|
|
"level": 3
|
|
},
|
|
"position": {
|
|
"longitudinal": {
|
|
"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,
|
|
"angle_deg": 104.0
|
|
},
|
|
"legrest_height": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false,
|
|
"angle_deg": 95.0
|
|
},
|
|
"legrest_extension": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"saved_presets": [],
|
|
"trace_events": [
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-01-req-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.060945Z",
|
|
"stage": "intent_parse",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
|
|
"details": {
|
|
"provider": "openai:gpt-5.6-sol",
|
|
"confidence": 0.96,
|
|
"conversation_turn": 2
|
|
},
|
|
"duration_ms": 14709
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-02-req-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.060982Z",
|
|
"stage": "context_resolve",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "已将会话 conv-044a9e2d-58f8-4130-8606-55f117a4828d 的第 2 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
|
|
"details": {
|
|
"conversation_id": "conv-044a9e2d-58f8-4130-8606-55f117a4828d",
|
|
"turn_count": 2,
|
|
"last_target": "driver",
|
|
"state_before": {
|
|
"driver": {
|
|
"ventilation": {
|
|
"state": "on",
|
|
"level": 3
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"position": {
|
|
"longitudinal": {
|
|
"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,
|
|
"angle_deg": 104.0
|
|
},
|
|
"legrest_height": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false,
|
|
"angle_deg": 95.0
|
|
},
|
|
"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
|
|
},
|
|
"cushion_tilt": {
|
|
"position_pct": 50,
|
|
"motion_state": "stopped",
|
|
"fault": false
|
|
},
|
|
"backrest_recline": {
|
|
"position_pct": 20,
|
|
"motion_state": "stopped",
|
|
"fault": false,
|
|
"angle_deg": 104.0
|
|
},
|
|
"legrest_height": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false,
|
|
"angle_deg": 95.0
|
|
},
|
|
"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-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.060989Z",
|
|
"stage": "domain_route",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "识别到 climate,seat 领域,当前 seat 单域服务不会错误代执行。",
|
|
"details": {
|
|
"domains": [
|
|
"climate",
|
|
"seat"
|
|
],
|
|
"mode": "single_domain"
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-04-req-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.061019Z",
|
|
"stage": "function_generate",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "已生成座椅 FunctionConfig。",
|
|
"details": {
|
|
"operation_count": 1,
|
|
"preset_operation_count": 0
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-05-req-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.062321Z",
|
|
"stage": "schema_validate",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "公共与领域 Schema 校验通过。",
|
|
"details": {
|
|
"error_count": 0
|
|
},
|
|
"duration_ms": 1
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-06-req-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.062343Z",
|
|
"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-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.065356Z",
|
|
"stage": "compile",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "配置已确定性编译为座椅 CAN 语义信号计划。",
|
|
"details": {
|
|
"messages": [
|
|
"Seat_Thermal_Control_42A"
|
|
],
|
|
"command_count": 1,
|
|
"signal_count": 1
|
|
},
|
|
"duration_ms": 3
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-08-req-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.065366Z",
|
|
"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-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.065635Z",
|
|
"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-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.065731Z",
|
|
"stage": "state_update",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "会话状态已更新为第 3 轮,可用于下一条指令。",
|
|
"details": {
|
|
"state_after": {
|
|
"driver": {
|
|
"ventilation": {
|
|
"state": "on",
|
|
"level": 3
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"position": {
|
|
"longitudinal": {
|
|
"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,
|
|
"angle_deg": 104.0
|
|
},
|
|
"legrest_height": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false,
|
|
"angle_deg": 95.0
|
|
},
|
|
"legrest_extension": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false
|
|
}
|
|
}
|
|
},
|
|
"passenger": {
|
|
"ventilation": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"heating": {
|
|
"state": "on",
|
|
"level": 3
|
|
},
|
|
"position": {
|
|
"longitudinal": {
|
|
"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,
|
|
"angle_deg": 104.0
|
|
},
|
|
"legrest_height": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false,
|
|
"angle_deg": 95.0
|
|
},
|
|
"legrest_extension": {
|
|
"position_pct": 0,
|
|
"motion_state": "stopped",
|
|
"fault": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-11-req-20260723080938-cfc8a3",
|
|
"request_id": "req-20260723080938-cfc8a3",
|
|
"timestamp": "2026-07-23T08:09:53.065736Z",
|
|
"stage": "telemetry",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "虚构反馈帧中的最终状态与请求目标一致。",
|
|
"details": {
|
|
"command_frame": "00 40",
|
|
"feedback_frame": "00 20",
|
|
"simulated": true
|
|
},
|
|
"duration_ms": 0
|
|
}
|
|
],
|
|
"provider_used": "openai:gpt-5.6-sol",
|
|
"artifact_path": "artifacts/runs/req-20260723080938-cfc8a3"
|
|
}
|