674 lines
20 KiB
JSON
Executable File
674 lines
20 KiB
JSON
Executable File
{
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"conversation_id": "conv-19f0456c-15a7-41dd-82fd-400743805581",
|
|
"conversation_turn": 0,
|
|
"status": "execution_failed",
|
|
"provider_requested": "local",
|
|
"execution_mode": "hardware",
|
|
"hardware_execution_allowed": true,
|
|
"decision_summary": [
|
|
"识别为座椅热舒适单域请求。",
|
|
"目标:副驾座椅通风打开。",
|
|
"目标档位已写入功能配置;现有 CAN 矩阵仅支持档位虚拟回读。"
|
|
],
|
|
"deferred_requests": [],
|
|
"model_requests": [],
|
|
"intent_ir": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "IntentIR",
|
|
"metadata": {
|
|
"id": "intent-req-20260724071530-659c1b",
|
|
"name": "Seat function intent",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"generated_at": "2026-07-24T07:15:30.997451Z",
|
|
"labels": {
|
|
"provider": "local_rules"
|
|
}
|
|
},
|
|
"spec": {
|
|
"utterance": "副驾座椅通风开到1档",
|
|
"language": "zh-CN",
|
|
"mode": "single_domain",
|
|
"detected_domains": [
|
|
"seat"
|
|
],
|
|
"requests": [
|
|
{
|
|
"domain": "seat",
|
|
"goal": "Set passenger ventilation on",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_right",
|
|
"instance": "passenger"
|
|
},
|
|
"parameters": {
|
|
"function": "ventilation",
|
|
"state": "on",
|
|
"requested_level": 1
|
|
},
|
|
"source_span": "副驾座椅通风开到1档"
|
|
}
|
|
],
|
|
"ambiguities": [],
|
|
"confidence": 0.96,
|
|
"requires_confirmation": false
|
|
}
|
|
},
|
|
"function_config": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "FunctionConfig",
|
|
"metadata": {
|
|
"id": "seat-req-20260724071530-659c1b",
|
|
"name": "Seat function",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"generated_at": "2026-07-24T07:15:30.997460Z",
|
|
"labels": {
|
|
"provider": "local_rules",
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"operations": [
|
|
{
|
|
"id": "passenger_ventilation_on",
|
|
"capability": "seat.set_ventilation",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_right",
|
|
"instance": "passenger"
|
|
},
|
|
"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 passenger_ventilation_on targets level 1; the level is simulated because the supplied matrix has no level command signal."
|
|
]
|
|
}
|
|
},
|
|
"function_configs": {
|
|
"seat": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "FunctionConfig",
|
|
"metadata": {
|
|
"id": "seat-req-20260724071530-659c1b",
|
|
"name": "Seat function",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"generated_at": "2026-07-24T07:15:30.997460Z",
|
|
"labels": {
|
|
"provider": "local_rules",
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"operations": [
|
|
{
|
|
"id": "passenger_ventilation_on",
|
|
"capability": "seat.set_ventilation",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_right",
|
|
"instance": "passenger"
|
|
},
|
|
"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 passenger_ventilation_on targets level 1; the level is simulated because the supplied matrix has no level command signal."
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"scene_config": null,
|
|
"preset_config": null,
|
|
"validation": [
|
|
{
|
|
"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-t2g-req-20260724071530-659c1b",
|
|
"name": "T2G seat hardware CAN command plan",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"labels": {
|
|
"execution_scope": "hardware_candidate",
|
|
"protocol": "t2g_seat_v1"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"platform": "t2g_seat_bench",
|
|
"source": {
|
|
"config_id": "seat-req-20260724071530-659c1b",
|
|
"config_version": "1.0.0",
|
|
"config_sha256": "a3ffcbaa8544b1ce709dcfeda109439a04aa7a7caef206402c77a54c9f69e22a",
|
|
"compiler_version": "1.1.0",
|
|
"mapping_version": "1.1.0"
|
|
},
|
|
"commands": [
|
|
{
|
|
"id": "t2g_seat_thermal_control",
|
|
"operation_ref": "passenger_ventilation_on",
|
|
"bus": "seat_can",
|
|
"message": "T2G_Seat_Thermal_Control_29E",
|
|
"signals": {
|
|
"Driver_Seat_Heating_Gear": 0,
|
|
"Driver_Seat_Heating_On": 2,
|
|
"Driver_Seat_Ventilation_Gear": 1,
|
|
"Driver_Seat_Ventilation_Mode": 1,
|
|
"Driver_Seat_Ventilation_On": 1
|
|
},
|
|
"send_offset_ms": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"command_plans": {
|
|
"seat": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "CommandPlan",
|
|
"metadata": {
|
|
"id": "plan-t2g-req-20260724071530-659c1b",
|
|
"name": "T2G seat hardware CAN command plan",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"labels": {
|
|
"execution_scope": "hardware_candidate",
|
|
"protocol": "t2g_seat_v1"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"platform": "t2g_seat_bench",
|
|
"source": {
|
|
"config_id": "seat-req-20260724071530-659c1b",
|
|
"config_version": "1.0.0",
|
|
"config_sha256": "a3ffcbaa8544b1ce709dcfeda109439a04aa7a7caef206402c77a54c9f69e22a",
|
|
"compiler_version": "1.1.0",
|
|
"mapping_version": "1.1.0"
|
|
},
|
|
"commands": [
|
|
{
|
|
"id": "t2g_seat_thermal_control",
|
|
"operation_ref": "passenger_ventilation_on",
|
|
"bus": "seat_can",
|
|
"message": "T2G_Seat_Thermal_Control_29E",
|
|
"signals": {
|
|
"Driver_Seat_Heating_Gear": 0,
|
|
"Driver_Seat_Heating_On": 2,
|
|
"Driver_Seat_Ventilation_Gear": 1,
|
|
"Driver_Seat_Ventilation_Mode": 1,
|
|
"Driver_Seat_Ventilation_On": 1
|
|
},
|
|
"send_offset_ms": 0
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"execution_report": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "ExecutionReport",
|
|
"metadata": {
|
|
"id": "report-req-20260724071530-659c1b",
|
|
"name": "T2G seat hardware execution report",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"labels": {
|
|
"simulation": "false",
|
|
"feedback": "physical_can"
|
|
}
|
|
},
|
|
"spec": {
|
|
"mode": "hil",
|
|
"status": "failed",
|
|
"started_at": "2026-07-24T07:15:30.998964Z",
|
|
"finished_at": "2026-07-24T07:15:32.776217Z",
|
|
"results": [
|
|
{
|
|
"ref": "passenger_ventilation_on",
|
|
"domain": "seat",
|
|
"status": "failed",
|
|
"message": "ZCAN_Transmit did not accept the frame",
|
|
"telemetry": {
|
|
"error_type": "CanGatewayError",
|
|
"stop_all_attempted": false,
|
|
"simulated": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"actuator_state": {
|
|
"driver": {
|
|
"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
|
|
}
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"domain_state": {
|
|
"climate": {
|
|
"power": "off",
|
|
"ac": "off",
|
|
"fan_level": 0,
|
|
"cycle_mode": "external",
|
|
"front_defrost": "off",
|
|
"zones": {
|
|
"vehicle": {
|
|
"power": "off",
|
|
"temperature_c": 24,
|
|
"outlet_mode": "face"
|
|
},
|
|
"front_row": {
|
|
"power": "off",
|
|
"temperature_c": 24,
|
|
"outlet_mode": "face"
|
|
},
|
|
"rear_row": {
|
|
"power": "off",
|
|
"temperature_c": 24,
|
|
"outlet_mode": "face"
|
|
},
|
|
"driver": {
|
|
"power": "off",
|
|
"temperature_c": 24,
|
|
"outlet_mode": "face"
|
|
},
|
|
"passenger": {
|
|
"power": "off",
|
|
"temperature_c": 24,
|
|
"outlet_mode": "face"
|
|
},
|
|
"rear_left": {
|
|
"power": "off",
|
|
"temperature_c": 24,
|
|
"outlet_mode": "face"
|
|
},
|
|
"rear_right": {
|
|
"power": "off",
|
|
"temperature_c": 24,
|
|
"outlet_mode": "face"
|
|
}
|
|
}
|
|
},
|
|
"roof": {
|
|
"shade_position_pct": 0,
|
|
"transmittance_pct": 100,
|
|
"automatic_dimming": "off",
|
|
"motion_state": "stopped",
|
|
"fault": false
|
|
},
|
|
"ambient_light": {
|
|
"power": "off",
|
|
"color_hex": "#74D9FF",
|
|
"brightness_pct": 0,
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"saved_presets": [],
|
|
"trace_events": [
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-01-req-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:30.997429Z",
|
|
"stage": "intent_parse",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "使用 local_rules 完成结构化意图抽取。",
|
|
"details": {
|
|
"provider": "local_rules",
|
|
"confidence": 0.96,
|
|
"conversation_turn": 0
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-02-req-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:30.997442Z",
|
|
"stage": "context_resolve",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "已将会话 conv-19f0456c-15a7-41dd-82fd-400743805581 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
|
|
"details": {
|
|
"conversation_id": "conv-19f0456c-15a7-41dd-82fd-400743805581",
|
|
"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
|
|
},
|
|
"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-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:30.997445Z",
|
|
"stage": "domain_route",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "仅识别到 seat 领域,使用已验证的座椅单域闭环。",
|
|
"details": {
|
|
"domains": [
|
|
"seat"
|
|
],
|
|
"mode": "single_domain"
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-04-req-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:30.997463Z",
|
|
"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-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:30.998602Z",
|
|
"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-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:30.998617Z",
|
|
"stage": "domain_validate",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "座椅能力和目标映射校验通过。",
|
|
"details": {
|
|
"error_count": 0,
|
|
"warning_count": 2
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-07-req-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:30.998946Z",
|
|
"stage": "compile",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "配置已确定性编译为座椅 CAN 语义信号计划。",
|
|
"details": {
|
|
"messages": [
|
|
"T2G_Seat_Thermal_Control_29E"
|
|
],
|
|
"command_count": 1,
|
|
"signal_count": 5
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-08-req-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:30.998951Z",
|
|
"stage": "safety_check",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "硬件启用、授权令牌、固件 profile、目标座椅和标定门禁均已通过。",
|
|
"details": {
|
|
"hardware_execution_allowed": true,
|
|
"mapping_status": "protocol_hil_verified_combined_firmware_hil_pending",
|
|
"firmware_profiles": [
|
|
"combined"
|
|
]
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-09-req-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:32.776570Z",
|
|
"stage": "execute",
|
|
"status": "failed",
|
|
"domain": "seat",
|
|
"summary": "真实 CAN 执行失败,未获得满足目标的物理反馈。",
|
|
"details": {
|
|
"mode": "hil",
|
|
"result_count": 1,
|
|
"firmware_gate_failed": false,
|
|
"stop_all_attempted": false
|
|
},
|
|
"duration_ms": 1777
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-10-req-20260724071530-659c1b",
|
|
"request_id": "req-20260724071530-659c1b",
|
|
"timestamp": "2026-07-24T07:15:32.776579Z",
|
|
"stage": "telemetry",
|
|
"status": "failed",
|
|
"domain": "seat",
|
|
"summary": "未获得满足目标的真实硬件反馈。",
|
|
"details": {
|
|
"command_frame": null,
|
|
"feedback_frame": null,
|
|
"simulated": false
|
|
},
|
|
"duration_ms": 0
|
|
}
|
|
],
|
|
"provider_used": "local_rules",
|
|
"artifact_path": "artifacts\\runs\\req-20260724071530-659c1b"
|
|
}
|