This commit is contained in:
orin
2026-07-30 08:45:38 +08:00
commit 25b24ac4cd
1333 changed files with 170092 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
apiVersion: cognitive-agent/v1alpha1
kind: IntentIR
metadata:
id: intent-req-20260724083909-80bd8a
name: Seat function intent
version: 1.0.0
request_id: req-20260724083909-80bd8a
generated_at: '2026-07-24T08:39:19.707594Z'
labels:
provider: openai:gpt-5.6-sol
spec:
utterance: 电机2正转5s
language: zh-CN
mode: single_domain
detected_domains:
- seat
requests: []
ambiguities:
- field: capability
question: 请说明希望实现的具体座椅动作和座位,例如“乘客座靠背后仰”或“驾驶座向前移动”;当前能力无法按“电机2正转5秒”直接映射。
confidence: 0.96
requires_confirmation: true
+396
View File
@@ -0,0 +1,396 @@
{
"request_id": "req-20260724083909-80bd8a",
"conversation_id": "conv-57537550-91cf-4b19-91ea-9e45d7dbfd15",
"conversation_turn": 3,
"status": "needs_confirmation",
"provider_requested": "openai",
"execution_mode": "hardware",
"hardware_execution_allowed": true,
"decision_summary": [
"“电机2”无法确定对应的已注册座椅调节轴。",
"已注册能力仅接受目标姿态,不支持按方向和时长直接驱动电机。"
],
"deferred_requests": [],
"model_requests": [],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260724083909-80bd8a",
"name": "Seat function intent",
"version": "1.0.0",
"request_id": "req-20260724083909-80bd8a",
"generated_at": "2026-07-24T08:39:19.707594Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "电机2正转5s",
"language": "zh-CN",
"mode": "single_domain",
"detected_domains": [
"seat"
],
"requests": [],
"ambiguities": [
{
"field": "capability",
"question": "请说明希望实现的具体座椅动作和座位,例如“乘客座靠背后仰”或“驾驶座向前移动”;当前能力无法按“电机2正转5秒”直接映射。"
}
],
"confidence": 0.96,
"requires_confirmation": true
}
},
"function_config": null,
"function_configs": {},
"scene_config": null,
"preset_config": null,
"validation": [
{
"severity": "error",
"code": "AMBIGUOUS_INTENT",
"path": "capability",
"message": "请说明希望实现的具体座椅动作和座位,例如“乘客座靠背后仰”或“驾驶座向前移动”;当前能力无法按“电机2正转5秒”直接映射。"
},
{
"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-20260724083909-80bd8a",
"request_id": "req-20260724083909-80bd8a",
"timestamp": "2026-07-24T08:39:19.707490Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-sol",
"confidence": 0.96,
"conversation_turn": 3
},
"duration_ms": 10468
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260724083909-80bd8a",
"request_id": "req-20260724083909-80bd8a",
"timestamp": "2026-07-24T08:39:19.707548Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已将会话 conv-57537550-91cf-4b19-91ea-9e45d7dbfd15 的第 3 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
"details": {
"conversation_id": "conv-57537550-91cf-4b19-91ea-9e45d7dbfd15",
"turn_count": 3,
"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,
"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-20260724083909-80bd8a",
"request_id": "req-20260724083909-80bd8a",
"timestamp": "2026-07-24T08:39:19.707571Z",
"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-20260724083909-80bd8a",
"request_id": "req-20260724083909-80bd8a",
"timestamp": "2026-07-24T08:39:19.707618Z",
"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-20260724083909-80bd8a",
"request_id": "req-20260724083909-80bd8a",
"timestamp": "2026-07-24T08:39:19.709125Z",
"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-20260724083909-80bd8a",
"request_id": "req-20260724083909-80bd8a",
"timestamp": "2026-07-24T08:39:19.709169Z",
"stage": "domain_validate",
"status": "failed",
"domain": "seat",
"summary": "座椅语义校验阻止了不受支持的请求。",
"details": {
"error_count": 1,
"warning_count": 1
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts\\runs\\req-20260724083909-80bd8a"
}
+6
View File
@@ -0,0 +1,6 @@
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-01-req-20260724083909-80bd8a", "request_id": "req-20260724083909-80bd8a", "timestamp": "2026-07-24T08:39:19.707490Z", "stage": "intent_parse", "status": "succeeded", "domain": "seat", "summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。", "details": {"provider": "openai:gpt-5.6-sol", "confidence": 0.96, "conversation_turn": 3}, "duration_ms": 10468}
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-02-req-20260724083909-80bd8a", "request_id": "req-20260724083909-80bd8a", "timestamp": "2026-07-24T08:39:19.707548Z", "stage": "context_resolve", "status": "succeeded", "domain": "seat", "summary": "已将会话 conv-57537550-91cf-4b19-91ea-9e45d7dbfd15 的第 3 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。", "details": {"conversation_id": "conv-57537550-91cf-4b19-91ea-9e45d7dbfd15", "turn_count": 3, "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, "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-20260724083909-80bd8a", "request_id": "req-20260724083909-80bd8a", "timestamp": "2026-07-24T08:39:19.707571Z", "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-20260724083909-80bd8a", "request_id": "req-20260724083909-80bd8a", "timestamp": "2026-07-24T08:39:19.707618Z", "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-20260724083909-80bd8a", "request_id": "req-20260724083909-80bd8a", "timestamp": "2026-07-24T08:39:19.709125Z", "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-20260724083909-80bd8a", "request_id": "req-20260724083909-80bd8a", "timestamp": "2026-07-24T08:39:19.709169Z", "stage": "domain_validate", "status": "failed", "domain": "seat", "summary": "座椅语义校验阻止了不受支持的请求。", "details": {"error_count": 1, "warning_count": 1}, "duration_ms": 0}