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

857 lines
26 KiB
JSON
Executable File

{
"request_id": "req-20260729152229-bbe58a",
"conversation_id": "conv-8c4eaac3-9d24-425c-92c2-1f189633a5e7",
"conversation_turn": 2,
"status": "succeeded",
"provider_requested": "openai",
"execution_mode": "dry_run",
"hardware_execution_allowed": false,
"decision_summary": [
"副驾驶坐垫倾角当前为55%,按“小幅”上调5个百分点至60%。"
],
"deferred_requests": [],
"model_requests": [
{
"domain": "seat",
"capability": "seat.set_cushion_tilt",
"target_scope": "passenger",
"operation": "increase",
"parameters": [
{
"name": "position_pct",
"value": 60
}
],
"reason": "将副驾驶座椅坐垫前端从当前55%小幅升高。"
}
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260729152229-bbe58a",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260729152229-bbe58a",
"generated_at": "2026-07-29T15:22:45.967045Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "副驾驶座椅坐垫前端升高一点",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [
{
"domain": "seat",
"goal": "Set passenger cushion_tilt position to 60 percent",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"axis": "cushion_tilt",
"position_pct": 60
},
"source_span": "副驾驶座椅坐垫前端升高一点"
}
],
"ambiguities": [],
"confidence": 0.99,
"requires_confirmation": false
}
},
"function_config": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260729152229-bbe58a",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260729152229-bbe58a",
"generated_at": "2026-07-29T15:22:45.967045Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "passenger_cushion_tilt_60pct",
"capability": "seat.set_cushion_tilt",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"position_pct": 60
},
"timeout_ms": 8000,
"failure_policy": "abort",
"motion": {
"mode": "relative",
"direction": "increase",
"start_position_pct": 55,
"delta_position_pct": 5
}
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation passenger_cushion_tilt_60pct 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-20260729152229-bbe58a",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260729152229-bbe58a",
"generated_at": "2026-07-29T15:22:45.967045Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "passenger_cushion_tilt_60pct",
"capability": "seat.set_cushion_tilt",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"position_pct": 60
},
"timeout_ms": 8000,
"failure_policy": "abort",
"motion": {
"mode": "relative",
"direction": "increase",
"start_position_pct": 55,
"delta_position_pct": 5
}
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation passenger_cushion_tilt_60pct uses an explicitly synthetic position CAN mapping; it is never eligible for hardware transmission."
]
}
}
},
"scene_config": null,
"preset_config": null,
"validation": [
{
"severity": "warning",
"code": "SYNTHETIC_MOTION_CAN",
"path": "platform.reference_vehicle.seat_motion",
"message": "座椅位置控制和反馈 CAN 矩阵完全为演示虚构,仅用于验证模型与配置链路。"
},
{
"severity": "warning",
"code": "VIRTUAL_EXECUTION_ONLY",
"path": "platform.reference_vehicle",
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
}
],
"command_plan": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "CommandPlan",
"metadata": {
"id": "plan-req-20260729152229-bbe58a",
"name": "Seat CAN command plan",
"version": "1.0.0",
"request_id": "req-20260729152229-bbe58a",
"labels": {
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"platform": "reference_vehicle",
"source": {
"config_id": "seat-req-20260729152229-bbe58a",
"config_version": "1.0.0",
"config_sha256": "d46c58eb37658d6a98145633b01fd6bb840a6c8a7ba47552b60e8740fd15a66b",
"compiler_version": "1.1.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "move_passenger_cushion_tilt_60pct",
"operation_ref": "passenger_cushion_tilt_60pct",
"bus": "body_can",
"message": "Passenger_Seat_Motion_Command_551",
"signals": {
"Command_Checksum": 63,
"Command_Counter": 0,
"Command_Mode": 1,
"Cushion_Tilt_Target_Pct": 60,
"Motion_Enable_Mask": 2
},
"send_offset_ms": 0,
"repeat": {
"count": 3,
"period_ms": 20
},
"completion": {
"message": "Passenger_Seat_Motion_Status_559",
"signal": "Cushion_Tilt_Actual_Pct",
"operator": "within",
"value": 60,
"tolerance": 1,
"timeout_ms": 8000
}
}
]
}
},
"command_plans": {
"seat": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "CommandPlan",
"metadata": {
"id": "plan-req-20260729152229-bbe58a",
"name": "Seat CAN command plan",
"version": "1.0.0",
"request_id": "req-20260729152229-bbe58a",
"labels": {
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"platform": "reference_vehicle",
"source": {
"config_id": "seat-req-20260729152229-bbe58a",
"config_version": "1.0.0",
"config_sha256": "d46c58eb37658d6a98145633b01fd6bb840a6c8a7ba47552b60e8740fd15a66b",
"compiler_version": "1.1.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "move_passenger_cushion_tilt_60pct",
"operation_ref": "passenger_cushion_tilt_60pct",
"bus": "body_can",
"message": "Passenger_Seat_Motion_Command_551",
"signals": {
"Command_Checksum": 63,
"Command_Counter": 0,
"Command_Mode": 1,
"Cushion_Tilt_Target_Pct": 60,
"Motion_Enable_Mask": 2
},
"send_offset_ms": 0,
"repeat": {
"count": 3,
"period_ms": 20
},
"completion": {
"message": "Passenger_Seat_Motion_Status_559",
"signal": "Cushion_Tilt_Actual_Pct",
"operator": "within",
"value": 60,
"tolerance": 1,
"timeout_ms": 8000
}
}
]
}
}
},
"execution_report": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "ExecutionReport",
"metadata": {
"id": "report-req-20260729152229-bbe58a",
"name": "Seat virtual execution report",
"version": "1.0.0",
"request_id": "req-20260729152229-bbe58a",
"labels": {
"simulation": "true"
}
},
"spec": {
"mode": "dry_run",
"status": "succeeded",
"started_at": "2026-07-29T15:22:45.969124Z",
"finished_at": "2026-07-29T15:22:45.969124Z",
"results": [
{
"ref": "passenger_cushion_tilt_60pct",
"domain": "seat",
"status": "succeeded",
"message": "虚构电机反馈确认 passenger cushion_tilt 从 55% 到达 60%",
"telemetry": {
"motion_axis": "cushion_tilt",
"start_position_pct": 55,
"requested_position_pct": 60,
"effective_position_pct": 60,
"requested_angle_deg": null,
"effective_angle_deg": null,
"position_tolerance_pct": 1,
"motion_samples_pct": [
55,
58,
60
],
"motion_state": "stopped",
"moving_mask": 0,
"fault_mask": 0,
"position_valid_mask": 2,
"command_signal": "Cushion_Tilt_Target_Pct",
"feedback_signal": "Cushion_Tilt_Actual_Pct",
"command_frame": {
"message": "Passenger_Seat_Motion_Command_551",
"frame_id": "0x551",
"payload_size": 8,
"data_hex": "00 1E 00 00 10 10 3F 00",
"signals": {
"Command_Checksum": 63,
"Command_Counter": 0,
"Command_Mode": 1,
"Cushion_Tilt_Target_Pct": 60,
"Motion_Enable_Mask": 2
},
"encoding": "lsb0/intel inferred for virtual execution"
},
"feedback_frame": {
"message": "Passenger_Seat_Motion_Status_559",
"frame_id": "0x559",
"payload_size": 8,
"data_hex": "00 1E 00 00 00 40 00 00",
"signals": {
"Cushion_Tilt_Actual_Pct": 60,
"Moving_Mask": 0,
"Fault_Mask": 0,
"Position_Valid_Mask": 2
},
"encoding": "lsb0/intel inferred for virtual execution"
},
"matrix_source": "synthetic_demo",
"simulated": true
}
}
]
}
},
"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": 60,
"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-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.967045Z",
"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": 1
},
"duration_ms": 16787
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.967045Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已将会话 conv-8c4eaac3-9d24-425c-92c2-1f189633a5e7 的第 1 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
"details": {
"conversation_id": "conv-8c4eaac3-9d24-425c-92c2-1f189633a5e7",
"turn_count": 1,
"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": 55,
"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-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.967045Z",
"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-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.967045Z",
"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-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.968070Z",
"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-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.968070Z",
"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-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.969124Z",
"stage": "compile",
"status": "succeeded",
"domain": "seat",
"summary": "配置已确定性编译为座椅 CAN 语义信号计划。",
"details": {
"messages": [
"Passenger_Seat_Motion_Command_551"
],
"command_count": 1,
"signal_count": 5
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-08-req-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.969124Z",
"stage": "safety_check",
"status": "succeeded",
"domain": "seat",
"summary": "平台、矩阵和策略均限制为 dry-run;硬件发送路径未启用。",
"details": {
"hardware_execution_allowed": false,
"position_calibration_gate": "not_applicable",
"mapping_status": "draft",
"firmware_profiles": []
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-09-req-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.969124Z",
"stage": "execute",
"status": "succeeded",
"domain": "seat",
"summary": "虚拟 CAN 已编码命令帧并生成模拟回读。",
"details": {
"mode": "dry_run",
"result_count": 1,
"firmware_gate_failed": false,
"stop_all_attempted": false,
"motor_result": null,
"failure_category": null,
"hall_before": null,
"hall_after": null
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-10-req-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.969124Z",
"stage": "state_update",
"status": "succeeded",
"domain": "seat",
"summary": "会话状态已更新为第 2 轮,可用于下一条指令。",
"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": 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": 60,
"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-20260729152229-bbe58a",
"request_id": "req-20260729152229-bbe58a",
"timestamp": "2026-07-29T15:22:45.969124Z",
"stage": "telemetry",
"status": "succeeded",
"domain": "seat",
"summary": "虚构反馈帧中的最终状态与请求目标一致。",
"details": {
"command_frame": "00 1E 00 00 10 10 3F 00",
"feedback_frame": "00 1E 00 00 00 40 00 00",
"simulated": true
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts\\runs\\req-20260729152229-bbe58a"
}