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

684 lines
20 KiB
JSON
Executable File

{
"request_id": "req-20260723034050-0997e5",
"conversation_id": "conv-real-angle-preset-0723",
"conversation_turn": 2,
"status": "succeeded",
"provider_requested": "openai",
"execution_mode": "dry_run",
"hardware_execution_allowed": false,
"decision_summary": [
"沿用上一轮明确的副驾目标。",
"“向后一点”按小幅增加5个百分点处理,绝对目标为78%。"
],
"deferred_requests": [],
"model_requests": [
{
"domain": "seat",
"capability": "seat.set_backrest_recline",
"target_scope": "passenger",
"operation": "increase",
"parameters": [
{
"name": "position_pct",
"value": 78
}
],
"reason": "将副驾靠背从当前73%再向后小幅调节。"
}
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260723034050-0997e5",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260723034050-0997e5",
"generated_at": "2026-07-23T03:40:59.581864Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "靠背再向后一点",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [
{
"domain": "seat",
"goal": "Set passenger backrest_recline position to 78 percent",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"axis": "backrest_recline",
"position_pct": 78
},
"source_span": "靠背再向后一点"
}
],
"ambiguities": [],
"confidence": 0.98,
"requires_confirmation": false
}
},
"function_config": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260723034050-0997e5",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260723034050-0997e5",
"generated_at": "2026-07-23T03:40:59.581891Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "passenger_backrest_recline_78pct",
"capability": "seat.set_backrest_recline",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"position_pct": 78
},
"timeout_ms": 8000,
"failure_policy": "abort"
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation passenger_backrest_recline_78pct uses an explicitly synthetic position CAN mapping; it is never eligible for hardware transmission."
]
}
},
"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-20260723034050-0997e5",
"name": "Seat CAN command plan",
"version": "1.0.0",
"request_id": "req-20260723034050-0997e5",
"labels": {
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"platform": "reference_vehicle",
"source": {
"config_id": "seat-req-20260723034050-0997e5",
"config_version": "1.0.0",
"config_sha256": "c2cc8e8709b1cccf22a83bd3683851b250cc4598cd656692d7ce385dfc61dbb6",
"compiler_version": "1.1.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "move_passenger_backrest_recline_78pct",
"operation_ref": "passenger_backrest_recline_78pct",
"bus": "body_can",
"message": "Passenger_Seat_Motion_Command_551",
"signals": {
"Backrest_Recline_Target_Pct": 78,
"Command_Checksum": 83,
"Command_Counter": 0,
"Command_Mode": 1,
"Motion_Enable_Mask": 4
},
"send_offset_ms": 0,
"repeat": {
"count": 3,
"period_ms": 20
},
"completion": {
"message": "Passenger_Seat_Motion_Status_559",
"signal": "Backrest_Recline_Actual_Pct",
"operator": "within",
"value": 78,
"tolerance": 1,
"timeout_ms": 8000
}
}
]
}
},
"execution_report": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "ExecutionReport",
"metadata": {
"id": "report-req-20260723034050-0997e5",
"name": "Seat virtual execution report",
"version": "1.0.0",
"request_id": "req-20260723034050-0997e5",
"labels": {
"simulation": "true"
}
},
"spec": {
"mode": "dry_run",
"status": "succeeded",
"started_at": "2026-07-23T03:40:59.585911Z",
"finished_at": "2026-07-23T03:40:59.586010Z",
"results": [
{
"ref": "passenger_backrest_recline_78pct",
"domain": "seat",
"status": "succeeded",
"message": "虚构电机反馈确认 passenger backrest_recline 从 73% 到达 78%",
"telemetry": {
"motion_axis": "backrest_recline",
"start_position_pct": 73,
"requested_position_pct": 78,
"effective_position_pct": 78,
"requested_angle_deg": null,
"effective_angle_deg": null,
"position_tolerance_pct": 1,
"motion_samples_pct": [
73,
76,
78
],
"motion_state": "stopped",
"moving_mask": 0,
"fault_mask": 0,
"position_valid_mask": 4,
"command_signal": "Backrest_Recline_Target_Pct",
"feedback_signal": "Backrest_Recline_Actual_Pct",
"command_frame": {
"message": "Passenger_Seat_Motion_Command_551",
"frame_id": "0x551",
"payload_size": 8,
"data_hex": "00 80 13 00 20 10 53 00",
"signals": {
"Backrest_Recline_Target_Pct": 78,
"Command_Checksum": 83,
"Command_Counter": 0,
"Command_Mode": 1,
"Motion_Enable_Mask": 4
},
"encoding": "lsb0/intel inferred for virtual execution"
},
"feedback_frame": {
"message": "Passenger_Seat_Motion_Status_559",
"frame_id": "0x559",
"payload_size": 8,
"data_hex": "00 80 13 00 00 80 00 00",
"signals": {
"Backrest_Recline_Actual_Pct": 78,
"Moving_Mask": 0,
"Fault_Mask": 0,
"Position_Valid_Mask": 4
},
"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": 35,
"motion_state": "stopped",
"fault": false
},
"cushion_tilt": {
"position_pct": 60,
"motion_state": "stopped",
"fault": false
},
"backrest_recline": {
"position_pct": 78,
"motion_state": "stopped",
"fault": false,
"angle_deg": 130.1
},
"legrest_height": {
"position_pct": 58,
"motion_state": "stopped",
"fault": false,
"angle_deg": 133
},
"legrest_extension": {
"position_pct": 70,
"motion_state": "stopped",
"fault": false
}
}
}
},
"saved_presets": [],
"trace_events": [
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-01-req-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.581778Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-sol",
"confidence": 0.98,
"conversation_turn": 1
},
"duration_ms": 9252
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.581832Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已将会话 conv-real-angle-preset-0723 的第 1 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
"details": {
"conversation_id": "conv-real-angle-preset-0723",
"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": 35,
"motion_state": "stopped",
"fault": false
},
"cushion_tilt": {
"position_pct": 60,
"motion_state": "stopped",
"fault": false
},
"backrest_recline": {
"position_pct": 73,
"motion_state": "stopped",
"fault": false,
"angle_deg": 128
},
"legrest_height": {
"position_pct": 58,
"motion_state": "stopped",
"fault": false,
"angle_deg": 133
},
"legrest_extension": {
"position_pct": 70,
"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-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.581845Z",
"stage": "domain_route",
"status": "succeeded",
"domain": "seat",
"summary": "仅识别到 seat 领域,绕过跨域 SceneConfig 编排。",
"details": {
"domains": [
"seat"
],
"mode": "single_domain"
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-04-req-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.581933Z",
"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-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.584886Z",
"stage": "schema_validate",
"status": "succeeded",
"domain": "seat",
"summary": "公共与领域 Schema 校验通过。",
"details": {
"error_count": 0
},
"duration_ms": 2
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-06-req-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.584933Z",
"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-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.585889Z",
"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-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.585901Z",
"stage": "safety_check",
"status": "succeeded",
"domain": "seat",
"summary": "平台、矩阵和策略均限制为 dry-run;硬件发送路径未启用。",
"details": {
"hardware_execution_allowed": false,
"mapping_status": "draft"
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-09-req-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.586527Z",
"stage": "execute",
"status": "succeeded",
"domain": "seat",
"summary": "虚拟 CAN 已编码命令帧并生成模拟回读。",
"details": {
"mode": "dry_run",
"result_count": 1
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-10-req-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.586779Z",
"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": 35,
"motion_state": "stopped",
"fault": false
},
"cushion_tilt": {
"position_pct": 60,
"motion_state": "stopped",
"fault": false
},
"backrest_recline": {
"position_pct": 78,
"motion_state": "stopped",
"fault": false,
"angle_deg": 130.1
},
"legrest_height": {
"position_pct": 58,
"motion_state": "stopped",
"fault": false,
"angle_deg": 133
},
"legrest_extension": {
"position_pct": 70,
"motion_state": "stopped",
"fault": false
}
}
}
}
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-11-req-20260723034050-0997e5",
"request_id": "req-20260723034050-0997e5",
"timestamp": "2026-07-23T03:40:59.586789Z",
"stage": "telemetry",
"status": "succeeded",
"domain": "seat",
"summary": "虚构反馈帧中的最终状态与请求目标一致。",
"details": {
"command_frame": "00 80 13 00 20 10 53 00",
"feedback_frame": "00 80 13 00 00 80 00 00",
"simulated": true
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts/runs/req-20260723034050-0997e5"
}