Files
Cognitive_Agent/artifacts/runs/req-20260724091717-8ca50f/result.json
T
2026-07-30 08:45:38 +08:00

899 lines
28 KiB
JSON
Executable File

{
"request_id": "req-20260724091717-8ca50f",
"conversation_id": "conv-19f0456c-15a7-41dd-82fd-400743805581",
"conversation_turn": 1,
"status": "succeeded",
"provider_requested": "openai",
"execution_mode": "hardware",
"hardware_execution_allowed": true,
"decision_summary": [
"按驾驶控制台默认范围选择驾驶座。",
"当前靠背角度为104度,向后5度后的绝对目标为109度。"
],
"deferred_requests": [],
"model_requests": [
{
"domain": "seat",
"capability": "seat.set_backrest_recline",
"target_scope": "driver",
"operation": "increase",
"parameters": [
{
"name": "angle_deg",
"value": 109
}
],
"reason": "将驾驶座靠背从当前104度向后增加5度。"
}
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260724091717-8ca50f",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260724091717-8ca50f",
"generated_at": "2026-07-24T09:17:25.134860Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "靠背向后移动5度",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [
{
"domain": "seat",
"goal": "Set driver backrest_recline position to 31 percent",
"target": {
"device": "seat",
"zone": "front_left",
"instance": "driver"
},
"parameters": {
"axis": "backrest_recline",
"position_pct": 31,
"angle_deg": 109
},
"source_span": "靠背向后移动5度"
}
],
"ambiguities": [],
"confidence": 0.99,
"requires_confirmation": false
}
},
"function_config": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260724091717-8ca50f",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260724091717-8ca50f",
"generated_at": "2026-07-24T09:17:25.134868Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "driver_backrest_recline_31pct",
"capability": "seat.set_backrest_recline",
"target": {
"device": "seat",
"zone": "front_left",
"instance": "driver"
},
"parameters": {
"position_pct": 31,
"angle_deg": 109
},
"timeout_ms": 8000,
"failure_policy": "abort",
"motion": {
"mode": "relative",
"direction": "increase",
"start_position_pct": 20,
"delta_position_pct": 11,
"start_angle_deg": 104.0,
"delta_angle_deg": 5.0
}
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation driver_backrest_recline_31pct uses an explicitly synthetic position CAN mapping; it is never eligible for hardware transmission."
]
}
},
"function_configs": {
"seat": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260724091717-8ca50f",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260724091717-8ca50f",
"generated_at": "2026-07-24T09:17:25.134868Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "driver_backrest_recline_31pct",
"capability": "seat.set_backrest_recline",
"target": {
"device": "seat",
"zone": "front_left",
"instance": "driver"
},
"parameters": {
"position_pct": 31,
"angle_deg": 109
},
"timeout_ms": 8000,
"failure_policy": "abort",
"motion": {
"mode": "relative",
"direction": "increase",
"start_position_pct": 20,
"delta_position_pct": 11,
"start_angle_deg": 104.0,
"delta_angle_deg": 5.0
}
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation driver_backrest_recline_31pct uses an explicitly synthetic position CAN mapping; it is never eligible for hardware transmission."
]
}
}
},
"scene_config": null,
"preset_config": null,
"validation": [
{
"severity": "warning",
"code": "T2G_MOTION_PROTOCOL_MAPPED",
"path": "platform.reference_vehicle.seat_motion",
"message": "参考车型的虚拟运动矩阵未用于本次 HIL;座椅移动通过统一 T2G 固件的 0x300 命令和 0x301/0x302 物理反馈闭环执行。"
},
{
"severity": "warning",
"code": "BENCH_ONLY_NO_VEHICLE_INTERLOCKS",
"path": "platform.reference_vehicle.vehicle_state",
"message": "当前真实移动路径仅限独立 T2G 台架;尚未接入车速、挡位、乘员和防夹信号,不得直接用于车载座椅系统。"
},
{
"severity": "warning",
"code": "REFERENCE_MATRIX_OVERRIDDEN_BY_T2G_BENCH",
"path": "platform.reference_vehicle",
"message": "参考车型矩阵元数据仍不完整;本次 HIL 仅使用仓库内已验证的 T2G 统一固件协议、身份门禁和物理反馈闭环。"
}
],
"command_plan": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "CommandPlan",
"metadata": {
"id": "plan-t2g-req-20260724091717-8ca50f",
"name": "T2G seat hardware CAN command plan",
"version": "1.0.0",
"request_id": "req-20260724091717-8ca50f",
"labels": {
"execution_scope": "hardware_candidate",
"protocol": "t2g_seat_v1"
}
},
"spec": {
"domain": "seat",
"platform": "t2g_seat_bench",
"source": {
"config_id": "seat-req-20260724091717-8ca50f",
"config_version": "1.0.0",
"config_sha256": "84878d7f752c468038400db7b483119bf0478019f156729b4cb0c3eaeaca9b30",
"compiler_version": "1.2.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "t2g_move_driver_backrest_recline_31pct",
"operation_ref": "driver_backrest_recline_31pct",
"bus": "seat_can",
"message": "T2G_Seat_Move_Command_300",
"signals": {
"Direction": 1,
"Motor_Selector": 2,
"Opcode": 3,
"Param_A": 5500,
"Param_B": 50,
"Protocol_Version": 1,
"Sequence": 0
},
"send_offset_ms": 0,
"completion": {
"message": "T2G_Seat_Move_Motor_Status_302",
"signal": "Task_State",
"operator": "eq",
"value": 8,
"timeout_ms": 8500
}
}
]
}
},
"command_plans": {
"seat": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "CommandPlan",
"metadata": {
"id": "plan-t2g-req-20260724091717-8ca50f",
"name": "T2G seat hardware CAN command plan",
"version": "1.0.0",
"request_id": "req-20260724091717-8ca50f",
"labels": {
"execution_scope": "hardware_candidate",
"protocol": "t2g_seat_v1"
}
},
"spec": {
"domain": "seat",
"platform": "t2g_seat_bench",
"source": {
"config_id": "seat-req-20260724091717-8ca50f",
"config_version": "1.0.0",
"config_sha256": "84878d7f752c468038400db7b483119bf0478019f156729b4cb0c3eaeaca9b30",
"compiler_version": "1.2.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "t2g_move_driver_backrest_recline_31pct",
"operation_ref": "driver_backrest_recline_31pct",
"bus": "seat_can",
"message": "T2G_Seat_Move_Command_300",
"signals": {
"Direction": 1,
"Motor_Selector": 2,
"Opcode": 3,
"Param_A": 5500,
"Param_B": 50,
"Protocol_Version": 1,
"Sequence": 0
},
"send_offset_ms": 0,
"completion": {
"message": "T2G_Seat_Move_Motor_Status_302",
"signal": "Task_State",
"operator": "eq",
"value": 8,
"timeout_ms": 8500
}
}
]
}
}
},
"execution_report": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "ExecutionReport",
"metadata": {
"id": "report-req-20260724091717-8ca50f",
"name": "T2G seat hardware execution report",
"version": "1.0.0",
"request_id": "req-20260724091717-8ca50f",
"labels": {
"simulation": "false",
"feedback": "physical_can"
}
},
"spec": {
"mode": "hil",
"status": "succeeded",
"started_at": "2026-07-24T09:17:25.136977Z",
"finished_at": "2026-07-24T09:17:30.917408Z",
"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": "driver_backrest_recline_31pct",
"domain": "seat",
"status": "succeeded",
"message": "physical motor 2 COMPLETE/OK confirmed relative backrest_recline movement with Hall 0->161; absolute position remains unavailable until endpoint calibration",
"telemetry": {
"motion_axis": "backrest_recline",
"motion_mode": "relative_timed_duty",
"motor_selector": 2,
"physical_target": "t2g_primary_seat",
"sequence": 2,
"requested_position_pct": 31,
"requested_delta_position_pct": 11,
"requested_delta_angle_deg": 5.0,
"duration_ms": 5500,
"duty_percent": 50,
"direction": 1,
"task_state": 8,
"motor_result": 2,
"position_valid": false,
"absolute_position_available": false,
"hall_before": 0,
"hall_after": 161,
"hall_delta": 161,
"max_hall_count": 1590,
"observed_delta_position_pct": 10,
"hall_direction_verified": true,
"system_ack": 1,
"command_frame": {
"frame_id": "0x300",
"payload_size": 8,
"data_hex": "03 16 02 00 7C 15 32 00",
"timestamp": null
},
"ack_frame": {
"frame_id": "0x301",
"payload_size": 8,
"data_hex": "01 43 02 00 00 00 00 00",
"timestamp": 72941.16162
},
"feedback_frame": {
"frame_id": "0x302",
"payload_size": 8,
"data_hex": "02 28 00 02 00 8F 03 32",
"timestamp": 72946.663723
},
"diagnostic_before_frame": {
"frame_id": "0x303",
"payload_size": 8,
"data_hex": "02 00 00 00 36 06 28 23",
"timestamp": 72941.160204
},
"diagnostic_frame": {
"frame_id": "0x303",
"payload_size": 8,
"data_hex": "02 00 A1 00 36 06 28 23",
"timestamp": 72946.664837
},
"hardware_feedback": true,
"simulated": false,
"requested_target": "driver"
}
}
]
}
},
"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": 31,
"motion_state": "stopped",
"fault": false,
"angle_deg": 109,
"position_valid": false,
"position_estimated": true,
"feedback_basis": "relative_hall_confirmed_open_loop"
},
"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": 31,
"motion_state": "stopped",
"fault": false,
"angle_deg": 109,
"position_valid": false,
"position_estimated": true,
"feedback_basis": "relative_hall_confirmed_open_loop"
},
"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-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:25.134831Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-sol",
"confidence": 0.99,
"conversation_turn": 0
},
"duration_ms": 7657
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:25.134848Z",
"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-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:25.134852Z",
"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-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:25.134871Z",
"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-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:25.136522Z",
"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-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:25.136543Z",
"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-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:25.136953Z",
"stage": "compile",
"status": "succeeded",
"domain": "seat",
"summary": "配置已确定性编译为座椅 CAN 语义信号计划。",
"details": {
"messages": [
"T2G_Seat_Move_Command_300"
],
"command_count": 1,
"signal_count": 7
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-08-req-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:25.136959Z",
"stage": "safety_check",
"status": "succeeded",
"domain": "seat",
"summary": "硬件启用、授权令牌、固件 profile 与目标座椅配置门禁已通过;板端 Position_Valid 将在发送绝对移动命令前实时检查。",
"details": {
"hardware_execution_allowed": true,
"position_calibration_gate": "runtime_can_preflight",
"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-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:30.917996Z",
"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": 5781
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-10-req-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:30.918125Z",
"stage": "state_update",
"status": "succeeded",
"domain": "seat",
"summary": "会话状态已更新为第 1 轮,可用于下一条指令。",
"details": {
"state_after": {
"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": 31,
"motion_state": "stopped",
"fault": false,
"angle_deg": 109,
"position_valid": false,
"position_estimated": true,
"feedback_basis": "relative_hall_confirmed_open_loop"
},
"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": 31,
"motion_state": "stopped",
"fault": false,
"angle_deg": 109,
"position_valid": false,
"position_estimated": true,
"feedback_basis": "relative_hall_confirmed_open_loop"
},
"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-20260724091717-8ca50f",
"request_id": "req-20260724091717-8ca50f",
"timestamp": "2026-07-24T09:17:30.918131Z",
"stage": "telemetry",
"status": "succeeded",
"domain": "seat",
"summary": "IAR 固件反馈帧中的实际状态与请求目标一致。",
"details": {
"command_frame": "03 16 02 00 7C 15 32 00",
"feedback_frame": "02 28 00 02 00 8F 03 32",
"simulated": false
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts\\runs\\req-20260724091717-8ca50f"
}