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

720 lines
22 KiB
JSON
Executable File

{
"request_id": "req-20260724083955-641207",
"conversation_id": "conv-57537550-91cf-4b19-91ea-9e45d7dbfd15",
"conversation_turn": 3,
"status": "execution_failed",
"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": "passenger",
"operation": "increase",
"parameters": [
{
"name": "angle_deg",
"value": 109
}
],
"reason": "将乘客座靠背从当前104度向后增加5度。"
}
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260724083955-641207",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260724083955-641207",
"generated_at": "2026-07-24T08:40:03.473034Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "靠背向后移动5度",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [
{
"domain": "seat",
"goal": "Set passenger backrest_recline position to 31 percent",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"axis": "backrest_recline",
"position_pct": 31,
"angle_deg": 109
},
"source_span": "靠背向后移动5度"
}
],
"ambiguities": [],
"confidence": 0.88,
"requires_confirmation": false
}
},
"function_config": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260724083955-641207",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260724083955-641207",
"generated_at": "2026-07-24T08:40:03.473080Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "passenger_backrest_recline_31pct",
"capability": "seat.set_backrest_recline",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"position_pct": 31,
"angle_deg": 109
},
"timeout_ms": 8000,
"failure_policy": "abort"
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation passenger_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-20260724083955-641207",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260724083955-641207",
"generated_at": "2026-07-24T08:40:03.473080Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "passenger_backrest_recline_31pct",
"capability": "seat.set_backrest_recline",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"position_pct": 31,
"angle_deg": 109
},
"timeout_ms": 8000,
"failure_policy": "abort"
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation passenger_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": "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-20260724083955-641207",
"name": "T2G seat hardware CAN command plan",
"version": "1.0.0",
"request_id": "req-20260724083955-641207",
"labels": {
"execution_scope": "hardware_candidate",
"protocol": "t2g_seat_v1"
}
},
"spec": {
"domain": "seat",
"platform": "t2g_seat_bench",
"source": {
"config_id": "seat-req-20260724083955-641207",
"config_version": "1.0.0",
"config_sha256": "fa0de60c42c4d7d1a81f1724585869c06ac2ab7e2d9ff36afda5d943faa64dcb",
"compiler_version": "1.1.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "t2g_move_passenger_backrest_recline_31pct",
"operation_ref": "passenger_backrest_recline_31pct",
"bus": "seat_can",
"message": "T2G_Seat_Move_Command_300",
"signals": {
"Direction": 0,
"Motor_Selector": 2,
"Opcode": 1,
"Param_A": 2790,
"Param_B": 50,
"Protocol_Version": 1,
"Sequence": 0
},
"send_offset_ms": 0,
"completion": {
"message": "T2G_Seat_Move_Motor_Status_302",
"signal": "Value_X100",
"operator": "within",
"value": 2790,
"tolerance": 90,
"timeout_ms": 8000
}
}
]
}
},
"command_plans": {
"seat": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "CommandPlan",
"metadata": {
"id": "plan-t2g-req-20260724083955-641207",
"name": "T2G seat hardware CAN command plan",
"version": "1.0.0",
"request_id": "req-20260724083955-641207",
"labels": {
"execution_scope": "hardware_candidate",
"protocol": "t2g_seat_v1"
}
},
"spec": {
"domain": "seat",
"platform": "t2g_seat_bench",
"source": {
"config_id": "seat-req-20260724083955-641207",
"config_version": "1.0.0",
"config_sha256": "fa0de60c42c4d7d1a81f1724585869c06ac2ab7e2d9ff36afda5d943faa64dcb",
"compiler_version": "1.1.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "t2g_move_passenger_backrest_recline_31pct",
"operation_ref": "passenger_backrest_recline_31pct",
"bus": "seat_can",
"message": "T2G_Seat_Move_Command_300",
"signals": {
"Direction": 0,
"Motor_Selector": 2,
"Opcode": 1,
"Param_A": 2790,
"Param_B": 50,
"Protocol_Version": 1,
"Sequence": 0
},
"send_offset_ms": 0,
"completion": {
"message": "T2G_Seat_Move_Motor_Status_302",
"signal": "Value_X100",
"operator": "within",
"value": 2790,
"tolerance": 90,
"timeout_ms": 8000
}
}
]
}
}
},
"execution_report": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "ExecutionReport",
"metadata": {
"id": "report-req-20260724083955-641207",
"name": "T2G seat hardware execution report",
"version": "1.0.0",
"request_id": "req-20260724083955-641207",
"labels": {
"simulation": "false",
"feedback": "physical_can"
}
},
"spec": {
"mode": "hil",
"status": "failed",
"started_at": "2026-07-24T08:40:03.482141Z",
"finished_at": "2026-07-24T08:40:03.751813Z",
"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_backrest_recline_31pct",
"domain": "seat",
"status": "failed",
"message": "T2G movement command rejected: ack=2, reason=6, safety_fault=0",
"telemetry": {
"error_type": "HardwareExecutionError",
"stop_all_attempted": true,
"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-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.472214Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-sol",
"confidence": 0.88,
"conversation_turn": 3
},
"duration_ms": 7643
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.472251Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已将会话 conv-57537550-91cf-4b19-91ea-9e45d7dbfd15 的第 3 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
"details": {
"conversation_id": "conv-57537550-91cf-4b19-91ea-9e45d7dbfd15",
"turn_count": 3,
"last_target": "passenger",
"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-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.472949Z",
"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-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.473112Z",
"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-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.480631Z",
"stage": "schema_validate",
"status": "succeeded",
"domain": "seat",
"summary": "公共与领域 Schema 校验通过。",
"details": {
"error_count": 0
},
"duration_ms": 7
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-06-req-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.480944Z",
"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-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.482110Z",
"stage": "compile",
"status": "succeeded",
"domain": "seat",
"summary": "配置已确定性编译为座椅 CAN 语义信号计划。",
"details": {
"messages": [
"T2G_Seat_Move_Command_300"
],
"command_count": 1,
"signal_count": 7
},
"duration_ms": 1
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-08-req-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.482119Z",
"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-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.752346Z",
"stage": "execute",
"status": "failed",
"domain": "seat",
"summary": "真实 CAN 执行失败;移动路径已尝试发送 STOP_ALL。",
"details": {
"mode": "hil",
"result_count": 2,
"firmware_gate_failed": false,
"stop_all_attempted": true
},
"duration_ms": 270
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-10-req-20260724083955-641207",
"request_id": "req-20260724083955-641207",
"timestamp": "2026-07-24T08:40:03.752356Z",
"stage": "telemetry",
"status": "failed",
"domain": "seat",
"summary": "未获得满足目标的真实硬件反馈。",
"details": {
"command_frame": null,
"feedback_frame": null,
"simulated": false
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts\\runs\\req-20260724083955-641207"
}