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

667 lines
20 KiB
JSON
Executable File

{
"request_id": "req-20260723031153-b4d4c2",
"conversation_id": "conv-59ffa610-12b9-44a4-b387-56258f75fadc",
"conversation_turn": 3,
"status": "succeeded",
"provider_requested": "openai",
"execution_mode": "dry_run",
"hardware_execution_allowed": false,
"decision_summary": [
"沿用上一轮的副驾驶目标。",
"当前靠背倾斜为60%;“再向后多一点”按增加5个百分点处理,绝对目标为65%。"
],
"deferred_requests": [],
"model_requests": [
{
"domain": "seat",
"capability": "seat.set_backrest_recline",
"target_scope": "passenger",
"operation": "increase",
"parameters": [
{
"name": "position_pct",
"value": 65
}
],
"reason": "沿用上一轮副驾驶目标,将靠背再小幅向后倾斜。"
}
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260723031153-b4d4c2",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260723031153-b4d4c2",
"generated_at": "2026-07-23T03:12:01.173513Z",
"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 65 percent",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"axis": "backrest_recline",
"position_pct": 65
},
"source_span": "靠背再向后多一点"
}
],
"ambiguities": [],
"confidence": 0.99,
"requires_confirmation": false
}
},
"function_config": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260723031153-b4d4c2",
"name": "Seat function",
"version": "1.0.0",
"request_id": "req-20260723031153-b4d4c2",
"generated_at": "2026-07-23T03:12:01.173530Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"operations": [
{
"id": "passenger_backrest_recline_65pct",
"capability": "seat.set_backrest_recline",
"target": {
"device": "seat",
"zone": "front_right",
"instance": "passenger"
},
"parameters": {
"position_pct": 65
},
"timeout_ms": 8000,
"failure_policy": "abort"
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation passenger_backrest_recline_65pct uses an explicitly synthetic position CAN mapping; it is never eligible for hardware transmission."
]
}
},
"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-20260723031153-b4d4c2",
"name": "Seat CAN command plan",
"version": "1.0.0",
"request_id": "req-20260723031153-b4d4c2",
"labels": {
"execution_scope": "virtual_only"
}
},
"spec": {
"domain": "seat",
"platform": "reference_vehicle",
"source": {
"config_id": "seat-req-20260723031153-b4d4c2",
"config_version": "1.0.0",
"config_sha256": "e1f34624e4027127ea15c92b4af723a21b6ea9fe815a767c3802c45c0c4e73e1",
"compiler_version": "1.1.0",
"mapping_version": "1.1.0"
},
"commands": [
{
"id": "move_passenger_backrest_recline_65pct",
"operation_ref": "passenger_backrest_recline_65pct",
"bus": "body_can",
"message": "Passenger_Seat_Motion_Command_551",
"signals": {
"Backrest_Recline_Target_Pct": 65,
"Command_Checksum": 70,
"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": 65,
"tolerance": 1,
"timeout_ms": 8000
}
}
]
}
},
"execution_report": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "ExecutionReport",
"metadata": {
"id": "report-req-20260723031153-b4d4c2",
"name": "Seat virtual execution report",
"version": "1.0.0",
"request_id": "req-20260723031153-b4d4c2",
"labels": {
"simulation": "true"
}
},
"spec": {
"mode": "dry_run",
"status": "succeeded",
"started_at": "2026-07-23T03:12:01.177451Z",
"finished_at": "2026-07-23T03:12:01.177512Z",
"results": [
{
"ref": "passenger_backrest_recline_65pct",
"domain": "seat",
"status": "succeeded",
"message": "虚构电机反馈确认 passenger backrest_recline 从 60% 到达 65%",
"telemetry": {
"motion_axis": "backrest_recline",
"start_position_pct": 60,
"requested_position_pct": 65,
"effective_position_pct": 65,
"position_tolerance_pct": 1,
"motion_samples_pct": [
60,
62,
65
],
"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 40 10 00 20 10 46 00",
"signals": {
"Backrest_Recline_Target_Pct": 65,
"Command_Checksum": 70,
"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 40 10 00 00 80 00 00",
"signals": {
"Backrest_Recline_Actual_Pct": 65,
"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
},
"legrest_height": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
},
"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": 65,
"motion_state": "stopped",
"fault": false
},
"legrest_height": {
"position_pct": 70,
"motion_state": "stopped",
"fault": false
},
"legrest_extension": {
"position_pct": 65,
"motion_state": "stopped",
"fault": false
}
}
}
},
"trace_events": [
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-01-req-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.173463Z",
"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": 2
},
"duration_ms": 7249
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.173499Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已将会话 conv-59ffa610-12b9-44a4-b387-56258f75fadc 的第 2 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
"details": {
"conversation_id": "conv-59ffa610-12b9-44a4-b387-56258f75fadc",
"turn_count": 2,
"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
},
"legrest_height": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
},
"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": 60,
"motion_state": "stopped",
"fault": false
},
"legrest_height": {
"position_pct": 70,
"motion_state": "stopped",
"fault": false
},
"legrest_extension": {
"position_pct": 65,
"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-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.173505Z",
"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-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.173535Z",
"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-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.176938Z",
"stage": "schema_validate",
"status": "succeeded",
"domain": "seat",
"summary": "公共与领域 Schema 校验通过。",
"details": {
"error_count": 0
},
"duration_ms": 3
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-06-req-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.176975Z",
"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-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.177438Z",
"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-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.177446Z",
"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-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.177735Z",
"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-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.177843Z",
"stage": "state_update",
"status": "succeeded",
"domain": "seat",
"summary": "会话状态已更新为第 3 轮,可用于下一条指令。",
"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
},
"legrest_height": {
"position_pct": 0,
"motion_state": "stopped",
"fault": false
},
"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": 65,
"motion_state": "stopped",
"fault": false
},
"legrest_height": {
"position_pct": 70,
"motion_state": "stopped",
"fault": false
},
"legrest_extension": {
"position_pct": 65,
"motion_state": "stopped",
"fault": false
}
}
}
}
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-11-req-20260723031153-b4d4c2",
"request_id": "req-20260723031153-b4d4c2",
"timestamp": "2026-07-23T03:12:01.177847Z",
"stage": "telemetry",
"status": "succeeded",
"domain": "seat",
"summary": "虚构反馈帧中的最终状态与请求目标一致。",
"details": {
"command_frame": "00 40 10 00 20 10 46 00",
"feedback_frame": "00 40 10 00 00 80 00 00",
"simulated": true
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts/runs/req-20260723031153-b4d4c2"
}