453 lines
13 KiB
JSON
Executable File
453 lines
13 KiB
JSON
Executable File
{
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"conversation_id": "conv-f1bca3e0-3abf-407b-a6a5-0b27fd6248dc",
|
|
"conversation_turn": 2,
|
|
"status": "succeeded",
|
|
"provider_requested": "openai",
|
|
"execution_mode": "dry_run",
|
|
"hardware_execution_allowed": false,
|
|
"decision_summary": [
|
|
"目标为副驾座椅",
|
|
"“有点冷”映射为加热1档",
|
|
"当前副驾加热关闭,执行开启",
|
|
"检测到副驾“冷”舒适反馈,映射为加热调节。",
|
|
"轻微不适采用保守默认:加热开启并设为1档。"
|
|
],
|
|
"intent_ir": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "IntentIR",
|
|
"metadata": {
|
|
"id": "intent-req-20260722092428-73d40c",
|
|
"name": "Seat thermal intent",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"generated_at": "2026-07-22T09:24:36.531881Z",
|
|
"labels": {
|
|
"provider": "openai:gpt-5.6-luna"
|
|
}
|
|
},
|
|
"spec": {
|
|
"utterance": "副驾现在有点冷了",
|
|
"language": "zh-CN",
|
|
"mode": "single_domain",
|
|
"detected_domains": [
|
|
"seat"
|
|
],
|
|
"requests": [
|
|
{
|
|
"domain": "seat",
|
|
"goal": "Set passenger heating on",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_right",
|
|
"instance": "passenger"
|
|
},
|
|
"parameters": {
|
|
"function": "heating",
|
|
"state": "on",
|
|
"requested_level": 1
|
|
},
|
|
"source_span": "副驾现在有点冷了"
|
|
}
|
|
],
|
|
"ambiguities": [],
|
|
"confidence": 0.99,
|
|
"requires_confirmation": false
|
|
}
|
|
},
|
|
"function_config": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "FunctionConfig",
|
|
"metadata": {
|
|
"id": "seat-req-20260722092428-73d40c",
|
|
"name": "Seat thermal function",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"generated_at": "2026-07-22T09:24:36.531903Z",
|
|
"labels": {
|
|
"provider": "openai:gpt-5.6-luna",
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"operations": [
|
|
{
|
|
"id": "passenger_heating_on",
|
|
"capability": "seat.set_heating",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_right",
|
|
"instance": "passenger"
|
|
},
|
|
"parameters": {
|
|
"state": "on",
|
|
"level": 1
|
|
},
|
|
"timeout_ms": 3000,
|
|
"failure_policy": "abort"
|
|
}
|
|
],
|
|
"assumptions": [
|
|
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
|
|
"Operation passenger_heating_on targets level 1; the level is simulated because the supplied matrix has no level command signal."
|
|
]
|
|
}
|
|
},
|
|
"validation": [
|
|
{
|
|
"severity": "warning",
|
|
"code": "LEVEL_COMMAND_SIMULATED",
|
|
"path": "actions[0].requested_level",
|
|
"message": "目标档位已写入 FunctionConfig 和会话状态;0x42A 仅编译开关信号,档位回读仅在 dry-run 中模拟。"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "VIRTUAL_EXECUTION_ONLY",
|
|
"path": "platform.reference_vehicle",
|
|
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
|
|
}
|
|
],
|
|
"command_plan": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "CommandPlan",
|
|
"metadata": {
|
|
"id": "plan-req-20260722092428-73d40c",
|
|
"name": "Seat thermal CAN command plan",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"labels": {
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"platform": "reference_vehicle",
|
|
"source": {
|
|
"config_id": "seat-req-20260722092428-73d40c",
|
|
"config_version": "1.0.0",
|
|
"config_sha256": "8cd05d5bb585d740656cd049c97db499eaefdb15f7594f817daa3c850b99d844",
|
|
"compiler_version": "1.0.0",
|
|
"mapping_version": "1.0.0"
|
|
},
|
|
"commands": [
|
|
{
|
|
"id": "seat_thermal_control",
|
|
"operation_ref": "passenger_heating_on",
|
|
"bus": "body_can",
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"signals": {
|
|
"Front_Passenger_Seat_Heating_S": 1
|
|
},
|
|
"send_offset_ms": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"execution_report": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "ExecutionReport",
|
|
"metadata": {
|
|
"id": "report-req-20260722092428-73d40c",
|
|
"name": "Seat virtual execution report",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"labels": {
|
|
"simulation": "true"
|
|
}
|
|
},
|
|
"spec": {
|
|
"mode": "dry_run",
|
|
"status": "succeeded",
|
|
"started_at": "2026-07-22T09:24:36.535325Z",
|
|
"finished_at": "2026-07-22T09:24:36.535383Z",
|
|
"results": [
|
|
{
|
|
"ref": "passenger_heating_on",
|
|
"domain": "seat",
|
|
"status": "succeeded",
|
|
"message": "虚拟回读确认 passenger seat.set_heating=on, level=1",
|
|
"telemetry": {
|
|
"requested_state": "on",
|
|
"requested_level": 1,
|
|
"effective_level": 1,
|
|
"level_command_simulated": true,
|
|
"command_signal": "Front_Passenger_Seat_Heating_S",
|
|
"command_value": 1,
|
|
"feedback_signal": "Copilot_Seat_Heat_Stat_4FA_S",
|
|
"feedback_value": 2,
|
|
"command_frame": {
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"frame_id": "0x42A",
|
|
"payload_size": 2,
|
|
"data_hex": "00 40",
|
|
"signals": {
|
|
"Front_Passenger_Seat_Heating_S": 1
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"feedback_frame": {
|
|
"message": "Seat_Thermal_Status_4FA",
|
|
"frame_id": "0x4FA",
|
|
"payload_size": 2,
|
|
"data_hex": "00 10",
|
|
"signals": {
|
|
"Copilot_Seat_Heat_Stat_4FA_S": 2
|
|
},
|
|
"encoding": "lsb0/intel inferred for virtual execution"
|
|
},
|
|
"simulated": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"actuator_state": {
|
|
"driver": {
|
|
"ventilation": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
}
|
|
},
|
|
"passenger": {
|
|
"ventilation": {
|
|
"state": "on",
|
|
"level": 1
|
|
},
|
|
"heating": {
|
|
"state": "on",
|
|
"level": 1
|
|
}
|
|
}
|
|
},
|
|
"trace_events": [
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-01-req-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.531816Z",
|
|
"stage": "intent_parse",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "使用 openai:gpt-5.6-luna 完成结构化意图抽取。",
|
|
"details": {
|
|
"provider": "openai:gpt-5.6-luna",
|
|
"confidence": 0.99,
|
|
"conversation_turn": 1
|
|
},
|
|
"duration_ms": 8388
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-02-req-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.531856Z",
|
|
"stage": "context_resolve",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "已读取会话 conv-f1bca3e0-3abf-407b-a6a5-0b27fd6248dc 的第 1 轮执行状态,并完成省略目标、舒适反馈和档位增量解析。",
|
|
"details": {
|
|
"conversation_id": "conv-f1bca3e0-3abf-407b-a6a5-0b27fd6248dc",
|
|
"turn_count": 1,
|
|
"last_target": "passenger",
|
|
"state_before": {
|
|
"driver": {
|
|
"ventilation": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
}
|
|
},
|
|
"passenger": {
|
|
"ventilation": {
|
|
"state": "on",
|
|
"level": 1
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-03-req-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.531866Z",
|
|
"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-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.531911Z",
|
|
"stage": "function_generate",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "已生成座椅 FunctionConfig。",
|
|
"details": {
|
|
"operation_count": 1
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-05-req-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.534496Z",
|
|
"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-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.534536Z",
|
|
"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-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.535305Z",
|
|
"stage": "compile",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "配置已确定性编译为 0x42A 语义信号计划。",
|
|
"details": {
|
|
"message": "Seat_Thermal_Control_42A",
|
|
"signal_count": 1
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-08-req-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.535317Z",
|
|
"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-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.535879Z",
|
|
"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-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.536004Z",
|
|
"stage": "state_update",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "会话状态已更新为第 2 轮,可用于下一条指令。",
|
|
"details": {
|
|
"state_after": {
|
|
"driver": {
|
|
"ventilation": {
|
|
"state": "off",
|
|
"level": 0
|
|
},
|
|
"heating": {
|
|
"state": "off",
|
|
"level": 0
|
|
}
|
|
},
|
|
"passenger": {
|
|
"ventilation": {
|
|
"state": "on",
|
|
"level": 1
|
|
},
|
|
"heating": {
|
|
"state": "on",
|
|
"level": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-11-req-20260722092428-73d40c",
|
|
"request_id": "req-20260722092428-73d40c",
|
|
"timestamp": "2026-07-22T09:24:36.536013Z",
|
|
"stage": "telemetry",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "0x4FA 虚拟工作状态与请求状态一致。",
|
|
"details": {
|
|
"command_frame": "00 40",
|
|
"feedback_frame": "00 10",
|
|
"simulated": true
|
|
},
|
|
"duration_ms": 0
|
|
}
|
|
],
|
|
"provider_used": "openai:gpt-5.6-luna",
|
|
"artifact_path": "artifacts/runs/req-20260722092428-73d40c"
|
|
}
|