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

798 lines
24 KiB
JSON
Executable File

{
"request_id": "req-20260724074750-cd592a",
"conversation_id": "conv-19f0456c-15a7-41dd-82fd-400743805581",
"conversation_turn": 1,
"status": "succeeded",
"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-20260724074750-cd592a",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260724074750-cd592a",
"generated_at": "2026-07-24T07:47:50.362573Z",
"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-20260724074750-cd592a",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260724074750-cd592a",
"generated_at": "2026-07-24T07:47:50.362584Z",
"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-20260724074750-cd592a",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260724074750-cd592a",
"generated_at": "2026-07-24T07:47:50.362584Z",
"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-20260724074750-cd592a",
"name": "T2G seat hardware CAN command plan",
"version": "1.0.0",
"request_id": "req-20260724074750-cd592a",
"labels": {
"execution_scope": "hardware_candidate",
"protocol": "t2g_seat_v1"
}
},
"spec": {
"domain": "seat",
"platform": "t2g_seat_bench",
"source": {
"config_id": "seat-req-20260724074750-cd592a",
"config_version": "1.0.0",
"config_sha256": "7638cc912502d2bd43d5813452641648ef99abf6abd1a3d17d779bb3a2c427af",
"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-20260724074750-cd592a",
"name": "T2G seat hardware CAN command plan",
"version": "1.0.0",
"request_id": "req-20260724074750-cd592a",
"labels": {
"execution_scope": "hardware_candidate",
"protocol": "t2g_seat_v1"
}
},
"spec": {
"domain": "seat",
"platform": "t2g_seat_bench",
"source": {
"config_id": "seat-req-20260724074750-cd592a",
"config_version": "1.0.0",
"config_sha256": "7638cc912502d2bd43d5813452641648ef99abf6abd1a3d17d779bb3a2c427af",
"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-20260724074750-cd592a",
"name": "T2G seat hardware execution report",
"version": "1.0.0",
"request_id": "req-20260724074750-cd592a",
"labels": {
"simulation": "false",
"feedback": "physical_can"
}
},
"spec": {
"mode": "hil",
"status": "succeeded",
"started_at": "2026-07-24T07:47:50.365015Z",
"finished_at": "2026-07-24T07:47:50.644126Z",
"results": [
{
"ref": "seat-controller-firmware",
"domain": "seat",
"status": "succeeded",
"message": "repository Seat_Controller_demo identity was verified",
"telemetry": {
"firmware_verified": true,
"programmed_this_request": false,
"identity_frame_id": "0x305",
"identity_data_hex": "53 45 41 54 01 01 00 3F",
"simulated": false
}
},
{
"ref": "passenger_ventilation_on",
"domain": "seat",
"status": "succeeded",
"message": "physical 0x4FA confirmed shared front-seat ventilation state=on, level=1",
"telemetry": {
"requested_target": "passenger",
"physical_target": "t2g_primary_seat",
"requested_state": "on",
"requested_level": 1,
"feedback_signal": "Driver_Seat_Ventilation_Status",
"feedback_value": 2,
"command_frame": {
"frame_id": "0x29E",
"payload_size": 8,
"data_hex": "25 00 01 00 00 00 00 00",
"timestamp": null
},
"feedback_frame": {
"frame_id": "0x4FA",
"payload_size": 8,
"data_hex": "0A 00 00 00 00 00 00 00",
"timestamp": 67566.309173
},
"hardware_feedback": true,
"simulated": false
}
}
]
}
},
"actuator_state": {
"driver": {
"ventilation": {
"state": "on",
"level": 1
},
"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": "on",
"level": 1
},
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.362544Z",
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.362557Z",
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.362564Z",
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.362588Z",
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.364521Z",
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.364539Z",
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.364990Z",
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.364996Z",
"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-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.644678Z",
"stage": "execute",
"status": "succeeded",
"domain": "seat",
"summary": "真实 CAN 命令已发送,并收到 IAR 固件的实际状态回读。",
"details": {
"mode": "hil",
"result_count": 2,
"firmware_gate_failed": false,
"stop_all_attempted": false
},
"duration_ms": 279
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-10-req-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.644776Z",
"stage": "state_update",
"status": "succeeded",
"domain": "seat",
"summary": "会话状态已更新为第 1 轮,可用于下一条指令。",
"details": {
"state_after": {
"driver": {
"ventilation": {
"state": "on",
"level": 1
},
"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": "on",
"level": 1
},
"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
}
}
}
}
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-11-req-20260724074750-cd592a",
"request_id": "req-20260724074750-cd592a",
"timestamp": "2026-07-24T07:47:50.644781Z",
"stage": "telemetry",
"status": "succeeded",
"domain": "seat",
"summary": "IAR 固件反馈帧中的实际状态与请求目标一致。",
"details": {
"command_frame": "25 00 01 00 00 00 00 00",
"feedback_frame": "0A 00 00 00 00 00 00 00",
"simulated": false
},
"duration_ms": 0
}
],
"provider_used": "local_rules",
"artifact_path": "artifacts\\runs\\req-20260724074750-cd592a"
}