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

783 lines
23 KiB
JSON
Executable File

{
"request_id": "req-20260724081943-7c61c8",
"conversation_id": "conv-19f0456c-15a7-41dd-82fd-400743805581",
"conversation_turn": 1,
"status": "succeeded",
"provider_requested": "openai",
"execution_mode": "dry_run",
"hardware_execution_allowed": false,
"decision_summary": [
"目标为副驾驶座椅。",
"副驾座椅通风当前已关闭;请求保持关闭状态。"
],
"deferred_requests": [],
"model_requests": [
{
"domain": "seat",
"capability": "seat.set_ventilation",
"target_scope": "passenger",
"operation": "deactivate",
"parameters": [
{
"name": "state",
"value": "off"
}
],
"reason": "用户明确要求关闭副驾座椅通风。"
}
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260724081943-7c61c8",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260724081943-7c61c8",
"generated_at": "2026-07-24T08:19:53.210507Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "副驾座椅通风关闭",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [
{
"domain": "seat",
"goal": "Set passenger ventilation off",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"function": "ventilation",
"state": "off"
},
"source_span": "副驾座椅通风关闭"
}
],
"ambiguities": [],
"confidence": 1.0,
"requires_confirmation": false
}
},
"function_config": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260724081943-7c61c8",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260724081943-7c61c8",
"generated_at": "2026-07-24T08:19:53.210515Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "passenger_ventilation_off",
"capability": "seat.set_ventilation",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"state": "off"
},
"timeout_ms": 3000,
"failure_policy": "abort"
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only."
]
}
},
"function_configs": {
"seat": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260724081943-7c61c8",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260724081943-7c61c8",
"generated_at": "2026-07-24T08:19:53.210515Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "passenger_ventilation_off",
"capability": "seat.set_ventilation",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"state": "off"
},
"timeout_ms": 3000,
"failure_policy": "abort"
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only."
]
}
}
},
"scene_config": null,
"preset_config": null,
"validation": [
{
"severity": "warning",
"code": "VIRTUAL_EXECUTION_ONLY",
"path": "platform.reference_vehicle",
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
}
],
"command_plan": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "CommandPlan",
"metadata": {
"id": "plan-req-20260724081943-7c61c8",
"name": "Seat CAN command plan",
"version": "1.0.0",
"request_id": "req-20260724081943-7c61c8",
"labels": {
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"platform": "reference_vehicle",
"source": {
"config_id": "seat-req-20260724081943-7c61c8",
"config_version": "1.0.0",
"config_sha256": "e04acc1b4f68cc2d2192aaedbfdf58c614b3de5c17620ab86fb36952d8239a33",
"compiler_version": "1.1.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "seat_thermal_control",
"operation_ref": "passenger_ventilation_off",
"bus": "body_can",
"message": "Seat_Thermal_Control_42A",
"signals": {
"Front_Passenger_Seat_Ventilation_S": 2
},
"send_offset_ms": 0
}
]
}
},
"command_plans": {
"seat": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "CommandPlan",
"metadata": {
"id": "plan-req-20260724081943-7c61c8",
"name": "Seat CAN command plan",
"version": "1.0.0",
"request_id": "req-20260724081943-7c61c8",
"labels": {
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"platform": "reference_vehicle",
"source": {
"config_id": "seat-req-20260724081943-7c61c8",
"config_version": "1.0.0",
"config_sha256": "e04acc1b4f68cc2d2192aaedbfdf58c614b3de5c17620ab86fb36952d8239a33",
"compiler_version": "1.1.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "seat_thermal_control",
"operation_ref": "passenger_ventilation_off",
"bus": "body_can",
"message": "Seat_Thermal_Control_42A",
"signals": {
"Front_Passenger_Seat_Ventilation_S": 2
},
"send_offset_ms": 0
}
]
}
}
},
"execution_report": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "ExecutionReport",
"metadata": {
"id": "report-req-20260724081943-7c61c8",
"name": "Seat virtual execution report",
"version": "1.0.0",
"request_id": "req-20260724081943-7c61c8",
"labels": {
"simulation": "true"
}
},
"spec": {
"mode": "dry_run",
"status": "succeeded",
"started_at": "2026-07-24T08:19:53.212585Z",
"finished_at": "2026-07-24T08:19:53.212609Z",
"results": [
{
"ref": "passenger_ventilation_off",
"domain": "seat",
"status": "succeeded",
"message": "虚拟回读确认 passenger seat.set_ventilation=off, level=0",
"telemetry": {
"requested_state": "off",
"requested_level": null,
"effective_level": 0,
"level_command_simulated": false,
"command_signal": "Front_Passenger_Seat_Ventilation_S",
"command_value": 2,
"feedback_signal": "Copilot_Seat_Vtilat_Stat_4FA_S",
"feedback_value": 1,
"command_frame": {
"message": "Seat_Thermal_Control_42A",
"frame_id": "0x42A",
"payload_size": 2,
"data_hex": "00 20",
"signals": {
"Front_Passenger_Seat_Ventilation_S": 2
},
"encoding": "lsb0/intel inferred for virtual execution"
},
"feedback_frame": {
"message": "Seat_Thermal_Status_4FA",
"frame_id": "0x4FA",
"payload_size": 2,
"data_hex": "00 01",
"signals": {
"Copilot_Seat_Vtilat_Stat_4FA_S": 1
},
"encoding": "lsb0/intel inferred for virtual execution"
},
"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": 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-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.210475Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-sol",
"confidence": 1.0,
"conversation_turn": 0
},
"duration_ms": 9502
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.210494Z",
"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-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.210499Z",
"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-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.210519Z",
"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-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.212181Z",
"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-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.212196Z",
"stage": "domain_validate",
"status": "succeeded",
"domain": "seat",
"summary": "座椅能力和目标映射校验通过。",
"details": {
"error_count": 0,
"warning_count": 1
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-07-req-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.212577Z",
"stage": "compile",
"status": "succeeded",
"domain": "seat",
"summary": "配置已确定性编译为座椅 CAN 语义信号计划。",
"details": {
"messages": [
"Seat_Thermal_Control_42A"
],
"command_count": 1,
"signal_count": 1
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-08-req-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.212581Z",
"stage": "safety_check",
"status": "succeeded",
"domain": "seat",
"summary": "平台、矩阵和策略均限制为 dry-run;硬件发送路径未启用。",
"details": {
"hardware_execution_allowed": false,
"mapping_status": "draft",
"firmware_profiles": []
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-09-req-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.212817Z",
"stage": "execute",
"status": "succeeded",
"domain": "seat",
"summary": "虚拟 CAN 已编码命令帧并生成模拟回读。",
"details": {
"mode": "dry_run",
"result_count": 1,
"firmware_gate_failed": false,
"stop_all_attempted": false
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-10-req-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.212886Z",
"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": 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
}
}
}
}
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-11-req-20260724081943-7c61c8",
"request_id": "req-20260724081943-7c61c8",
"timestamp": "2026-07-24T08:19:53.212890Z",
"stage": "telemetry",
"status": "succeeded",
"domain": "seat",
"summary": "虚构反馈帧中的最终状态与请求目标一致。",
"details": {
"command_frame": "00 20",
"feedback_frame": "00 01",
"simulated": true
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts\\runs\\req-20260724081943-7c61c8"
}