406 lines
12 KiB
JSON
Executable File
406 lines
12 KiB
JSON
Executable File
{
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"status": "succeeded",
|
|
"provider_requested": "local",
|
|
"execution_mode": "dry_run",
|
|
"hardware_execution_allowed": false,
|
|
"decision_summary": [
|
|
"识别为座椅热舒适单域请求。",
|
|
"目标:主驾座椅通风打开。",
|
|
"目标:副驾座椅加热关闭。"
|
|
],
|
|
"intent_ir": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "IntentIR",
|
|
"metadata": {
|
|
"id": "intent-req-20260722035752-c6a389",
|
|
"name": "Seat thermal intent",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"generated_at": "2026-07-22T03:57:52.294352Z",
|
|
"labels": {
|
|
"provider": "local_rules"
|
|
}
|
|
},
|
|
"spec": {
|
|
"utterance": "打开主驾座椅通风,同时关闭副驾座椅加热",
|
|
"language": "zh-CN",
|
|
"mode": "single_domain",
|
|
"detected_domains": [
|
|
"seat"
|
|
],
|
|
"requests": [
|
|
{
|
|
"domain": "seat",
|
|
"goal": "Set driver ventilation on",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_left",
|
|
"instance": "driver"
|
|
},
|
|
"parameters": {
|
|
"function": "ventilation",
|
|
"state": "on"
|
|
},
|
|
"source_span": "打开主驾座椅通风,同时关闭副驾座椅加热"
|
|
},
|
|
{
|
|
"domain": "seat",
|
|
"goal": "Set passenger heating off",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_right",
|
|
"instance": "passenger"
|
|
},
|
|
"parameters": {
|
|
"function": "heating",
|
|
"state": "off"
|
|
},
|
|
"source_span": "打开主驾座椅通风,同时关闭副驾座椅加热"
|
|
}
|
|
],
|
|
"ambiguities": [],
|
|
"confidence": 0.96,
|
|
"requires_confirmation": false
|
|
}
|
|
},
|
|
"function_config": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "FunctionConfig",
|
|
"metadata": {
|
|
"id": "seat-req-20260722035752-c6a389",
|
|
"name": "Seat thermal function",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"generated_at": "2026-07-22T03:57:52.294375Z",
|
|
"labels": {
|
|
"provider": "local_rules",
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"operations": [
|
|
{
|
|
"id": "driver_ventilation_on",
|
|
"capability": "seat.set_ventilation",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_left",
|
|
"instance": "driver"
|
|
},
|
|
"parameters": {
|
|
"state": "on"
|
|
},
|
|
"timeout_ms": 3000,
|
|
"failure_policy": "abort"
|
|
},
|
|
{
|
|
"id": "passenger_heating_off",
|
|
"capability": "seat.set_heating",
|
|
"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."
|
|
]
|
|
}
|
|
},
|
|
"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-20260722035752-c6a389",
|
|
"name": "Seat thermal CAN command plan",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"labels": {
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"platform": "reference_vehicle",
|
|
"source": {
|
|
"config_id": "seat-req-20260722035752-c6a389",
|
|
"config_version": "1.0.0",
|
|
"config_sha256": "9838df123e2b15a04faad7ceaabf59091fea9c8c5ab0ca94fe2bc892f56eff45",
|
|
"compiler_version": "1.0.0",
|
|
"mapping_version": "1.0.0"
|
|
},
|
|
"commands": [
|
|
{
|
|
"id": "seat_thermal_control",
|
|
"operation_ref": "driver_ventilation_on,passenger_heating_off",
|
|
"bus": "body_can",
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"signals": {
|
|
"Driver_Seat_Ventilation_S": 1,
|
|
"Front_Passenger_Seat_Heating_S": 2
|
|
},
|
|
"send_offset_ms": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"execution_report": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "ExecutionReport",
|
|
"metadata": {
|
|
"id": "report-req-20260722035752-c6a389",
|
|
"name": "Seat virtual execution report",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"labels": {
|
|
"simulation": "true"
|
|
}
|
|
},
|
|
"spec": {
|
|
"mode": "dry_run",
|
|
"status": "succeeded",
|
|
"started_at": "2026-07-22T03:57:52.296988Z",
|
|
"finished_at": "2026-07-22T03:57:52.297035Z",
|
|
"results": [
|
|
{
|
|
"ref": "driver_ventilation_on",
|
|
"domain": "seat",
|
|
"status": "succeeded",
|
|
"message": "虚拟回读确认 driver seat.set_ventilation=on",
|
|
"telemetry": {
|
|
"requested_state": "on",
|
|
"command_signal": "Driver_Seat_Ventilation_S",
|
|
"command_value": 1,
|
|
"feedback_signal": "Pilot_Seat_Vtilat_Stat_S",
|
|
"feedback_value": 2,
|
|
"command_frame": {
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"frame_id": "0x42A",
|
|
"payload_size": 2,
|
|
"data_hex": "01 80",
|
|
"signals": {
|
|
"Driver_Seat_Ventilation_S": 1,
|
|
"Front_Passenger_Seat_Heating_S": 2
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"feedback_frame": {
|
|
"message": "Seat_Thermal_Status_4FA",
|
|
"frame_id": "0x4FA",
|
|
"payload_size": 2,
|
|
"data_hex": "02 08",
|
|
"signals": {
|
|
"Pilot_Seat_Vtilat_Stat_S": 2,
|
|
"Copilot_Seat_Heat_Stat_4FA_S": 1
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"simulated": true
|
|
}
|
|
},
|
|
{
|
|
"ref": "passenger_heating_off",
|
|
"domain": "seat",
|
|
"status": "succeeded",
|
|
"message": "虚拟回读确认 passenger seat.set_heating=off",
|
|
"telemetry": {
|
|
"requested_state": "off",
|
|
"command_signal": "Front_Passenger_Seat_Heating_S",
|
|
"command_value": 2,
|
|
"feedback_signal": "Copilot_Seat_Heat_Stat_4FA_S",
|
|
"feedback_value": 1,
|
|
"command_frame": {
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"frame_id": "0x42A",
|
|
"payload_size": 2,
|
|
"data_hex": "01 80",
|
|
"signals": {
|
|
"Driver_Seat_Ventilation_S": 1,
|
|
"Front_Passenger_Seat_Heating_S": 2
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"feedback_frame": {
|
|
"message": "Seat_Thermal_Status_4FA",
|
|
"frame_id": "0x4FA",
|
|
"payload_size": 2,
|
|
"data_hex": "02 08",
|
|
"signals": {
|
|
"Pilot_Seat_Vtilat_Stat_S": 2,
|
|
"Copilot_Seat_Heat_Stat_4FA_S": 1
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"simulated": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"trace_events": [
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-01-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.294310Z",
|
|
"stage": "intent_parse",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "使用 local_rules 完成结构化意图抽取。",
|
|
"details": {
|
|
"provider": "local_rules",
|
|
"confidence": 0.96
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-02-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.294335Z",
|
|
"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-03-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.294384Z",
|
|
"stage": "function_generate",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "已生成座椅 FunctionConfig。",
|
|
"details": {
|
|
"operation_count": 2
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-04-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.296463Z",
|
|
"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-05-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.296488Z",
|
|
"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-06-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.296974Z",
|
|
"stage": "compile",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "配置已确定性编译为 0x42A 语义信号计划。",
|
|
"details": {
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"signal_count": 2
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-07-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.296982Z",
|
|
"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-08-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.297369Z",
|
|
"stage": "execute",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "虚拟 CAN 已编码命令帧并生成模拟回读。",
|
|
"details": {
|
|
"mode": "dry_run",
|
|
"result_count": 2
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-09-req-20260722035752-c6a389",
|
|
"request_id": "req-20260722035752-c6a389",
|
|
"timestamp": "2026-07-22T03:57:52.297375Z",
|
|
"stage": "telemetry",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "0x4FA 虚拟工作状态与请求状态一致。",
|
|
"details": {
|
|
"command_frame": "01 80",
|
|
"feedback_frame": "02 08",
|
|
"simulated": true
|
|
},
|
|
"duration_ms": 0
|
|
}
|
|
],
|
|
"provider_used": "local_rules",
|
|
"artifact_path": "artifacts/runs/req-20260722035752-c6a389"
|
|
}
|