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

417 lines
12 KiB
JSON
Executable File

{
"request_id": "req-20260727010813-dc3893",
"conversation_id": "conv-13a6bad8-38da-4757-b86b-e19270d06214",
"conversation_turn": 0,
"status": "needs_confirmation",
"provider_requested": "openai",
"execution_mode": "hardware",
"hardware_execution_allowed": true,
"decision_summary": [
"未指定座位,按驾驶员控制台默认作用于驾驶座。",
"向前移动解释为减小靠背后仰角。",
"保留5秒时长语义,不猜测电机位移。"
],
"deferred_requests": [],
"model_requests": [
{
"domain": "seat",
"capability": "seat.set_backrest_recline",
"target_scope": "driver",
"operation": "decrease",
"parameters": [],
"reason": "将驾驶座靠背向前调直;当前为104°(20%),但系统只接受绝对目标,无法将5秒持续时间可靠换算为位置。"
}
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260727010813-dc3893",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260727010813-dc3893",
"generated_at": "2026-07-27T01:08:27.953991Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "靠背向前移动5s",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [],
"ambiguities": [
{
"field": "parameters.angle_deg",
"question": "靠背当前为104°;“向前移动5秒”无法换算成绝对位置,请指定目标角度或最终位置。"
},
{
"field": "requests[0].parameters.position_pct",
"question": "座椅位置动作需要模型给出 0-100 的绝对整数目标。"
}
],
"confidence": 0.93,
"requires_confirmation": true
}
},
"function_config": null,
"function_configs": {},
"scene_config": null,
"preset_config": null,
"validation": [
{
"severity": "error",
"code": "AMBIGUOUS_INTENT",
"path": "parameters.angle_deg",
"message": "靠背当前为104°;“向前移动5秒”无法换算成绝对位置,请指定目标角度或最终位置。"
},
{
"severity": "error",
"code": "AMBIGUOUS_INTENT",
"path": "requests[0].parameters.position_pct",
"message": "座椅位置动作需要模型给出 0-100 的绝对整数目标。"
},
{
"severity": "warning",
"code": "REFERENCE_MATRIX_OVERRIDDEN_BY_T2G_BENCH",
"path": "platform.reference_vehicle",
"message": "参考车型矩阵元数据仍不完整;本次 HIL 仅使用仓库内已验证的 T2G 统一固件协议、身份门禁和物理反馈闭环。"
}
],
"command_plan": null,
"command_plans": {},
"execution_report": null,
"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-20260727010813-dc3893",
"request_id": "req-20260727010813-dc3893",
"timestamp": "2026-07-27T01:08:27.953916Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-sol",
"confidence": 0.93,
"conversation_turn": 0
},
"duration_ms": 14039
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260727010813-dc3893",
"request_id": "req-20260727010813-dc3893",
"timestamp": "2026-07-27T01:08:27.953965Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已将会话 conv-13a6bad8-38da-4757-b86b-e19270d06214 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
"details": {
"conversation_id": "conv-13a6bad8-38da-4757-b86b-e19270d06214",
"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-20260727010813-dc3893",
"request_id": "req-20260727010813-dc3893",
"timestamp": "2026-07-27T01:08:27.953977Z",
"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-20260727010813-dc3893",
"request_id": "req-20260727010813-dc3893",
"timestamp": "2026-07-27T01:08:27.954005Z",
"stage": "function_generate",
"status": "waiting_confirmation",
"domain": "seat",
"summary": "没有足够信息生成可执行配置。",
"details": {
"operation_count": 0,
"preset_operation_count": 0
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-05-req-20260727010813-dc3893",
"request_id": "req-20260727010813-dc3893",
"timestamp": "2026-07-27T01:08:27.955078Z",
"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-20260727010813-dc3893",
"request_id": "req-20260727010813-dc3893",
"timestamp": "2026-07-27T01:08:27.955117Z",
"stage": "domain_validate",
"status": "failed",
"domain": "seat",
"summary": "座椅语义校验阻止了不受支持的请求。",
"details": {
"error_count": 2,
"warning_count": 1
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts\\runs\\req-20260727010813-dc3893"
}