init
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
apiVersion: cognitive-agent/v1alpha1
|
||||
kind: CommandPlan
|
||||
metadata:
|
||||
id: plan-t2g-req-20260724083529-e97b68
|
||||
name: T2G seat hardware CAN command plan
|
||||
version: 1.0.0
|
||||
request_id: req-20260724083529-e97b68
|
||||
labels:
|
||||
execution_scope: hardware_candidate
|
||||
protocol: t2g_seat_v1
|
||||
spec:
|
||||
domain: seat
|
||||
platform: t2g_seat_bench
|
||||
source:
|
||||
config_id: seat-req-20260724083529-e97b68
|
||||
config_version: 1.0.0
|
||||
config_sha256: 937626082bf6db7237390ca01ab55624625ee6b5f085503a419abbc349d67042
|
||||
compiler_version: 1.1.0
|
||||
mapping_version: 1.1.0
|
||||
commands:
|
||||
- id: t2g_seat_thermal_control
|
||||
operation_ref: driver_ventilation_on
|
||||
bus: seat_can
|
||||
message: T2G_Seat_Thermal_Control_29E
|
||||
signals:
|
||||
Driver_Seat_Heating_Gear: 0
|
||||
Driver_Seat_Heating_On: 2
|
||||
Driver_Seat_Ventilation_Gear: 1
|
||||
Driver_Seat_Ventilation_Mode: 1
|
||||
Driver_Seat_Ventilation_On: 1
|
||||
send_offset_ms: 0
|
||||
@@ -0,0 +1,54 @@
|
||||
apiVersion: cognitive-agent/v1alpha1
|
||||
kind: ExecutionReport
|
||||
metadata:
|
||||
id: report-req-20260724083529-e97b68
|
||||
name: T2G seat hardware execution report
|
||||
version: 1.0.0
|
||||
request_id: req-20260724083529-e97b68
|
||||
labels:
|
||||
simulation: 'false'
|
||||
feedback: physical_can
|
||||
spec:
|
||||
mode: hil
|
||||
status: succeeded
|
||||
started_at: '2026-07-24T08:35:35.595825Z'
|
||||
finished_at: '2026-07-24T08:35:49.205410Z'
|
||||
results:
|
||||
- ref: seat-controller-firmware
|
||||
domain: seat
|
||||
status: succeeded
|
||||
message: repository Seat_Controller_demo was programmed and verified
|
||||
telemetry:
|
||||
backend: iar_cspy_cmsisdap
|
||||
programmed: true
|
||||
target_started: true
|
||||
image: Seat_Controller_demo.hex
|
||||
image_sha256: 7cc5b956ad932c556304e496216e800f18c99ca91c14b28e34db8a66398d15b5
|
||||
firmware_verified: true
|
||||
programmed_this_request: true
|
||||
identity_frame_id: '0x305'
|
||||
identity_data_hex: 53 45 41 54 01 01 00 3F
|
||||
simulated: false
|
||||
- ref: driver_ventilation_on
|
||||
domain: seat
|
||||
status: succeeded
|
||||
message: physical 0x4FA confirmed shared front-seat ventilation state=on, level=1
|
||||
telemetry:
|
||||
requested_target: driver
|
||||
physical_target: t2g_primary_seat
|
||||
requested_state: 'on'
|
||||
requested_level: 1
|
||||
feedback_signal: Driver_Seat_Ventilation_Status
|
||||
feedback_value: 2
|
||||
command_frame:
|
||||
frame_id: '0x29E'
|
||||
payload_size: 8
|
||||
data_hex: 25 00 01 00 00 00 00 00
|
||||
timestamp: null
|
||||
feedback_frame:
|
||||
frame_id: '0x4FA'
|
||||
payload_size: 8
|
||||
data_hex: 0A 00 00 00 00 00 00 00
|
||||
timestamp: 70444.90261
|
||||
hardware_feedback: true
|
||||
simulated: false
|
||||
@@ -0,0 +1,30 @@
|
||||
apiVersion: cognitive-agent/v1alpha1
|
||||
kind: FunctionConfig
|
||||
metadata:
|
||||
id: seat-req-20260724083529-e97b68
|
||||
name: Seat function
|
||||
version: 1.0.0
|
||||
request_id: req-20260724083529-e97b68
|
||||
generated_at: '2026-07-24T08:35:35.592465Z'
|
||||
labels:
|
||||
provider: openai:gpt-5.6-sol
|
||||
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'
|
||||
level: 1
|
||||
timeout_ms: 3000
|
||||
failure_policy: abort
|
||||
assumptions:
|
||||
- The supplied matrix is partial; this configuration is eligible for virtual execution
|
||||
only.
|
||||
- Operation driver_ventilation_on targets level 1; the level is simulated because
|
||||
the supplied matrix has no level command signal.
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
apiVersion: cognitive-agent/v1alpha1
|
||||
kind: IntentIR
|
||||
metadata:
|
||||
id: intent-req-20260724083529-e97b68
|
||||
name: Seat function intent
|
||||
version: 1.0.0
|
||||
request_id: req-20260724083529-e97b68
|
||||
generated_at: '2026-07-24T08:35:35.592436Z'
|
||||
labels:
|
||||
provider: openai:gpt-5.6-sol
|
||||
spec:
|
||||
utterance: 座椅通风调到1档
|
||||
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'
|
||||
requested_level: 1
|
||||
source_span: 座椅通风调到1档
|
||||
ambiguities: []
|
||||
confidence: 0.99
|
||||
requires_confirmation: false
|
||||
+819
@@ -0,0 +1,819 @@
|
||||
{
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"conversation_id": "conv-57537550-91cf-4b19-91ea-9e45d7dbfd15",
|
||||
"conversation_turn": 1,
|
||||
"status": "succeeded",
|
||||
"provider_requested": "openai",
|
||||
"execution_mode": "hardware",
|
||||
"hardware_execution_allowed": true,
|
||||
"decision_summary": [
|
||||
"根据驾驶席控制台默认作用于驾驶座。",
|
||||
"座椅通风当前关闭,将开启并设为1档。"
|
||||
],
|
||||
"deferred_requests": [],
|
||||
"model_requests": [
|
||||
{
|
||||
"domain": "seat",
|
||||
"capability": "seat.set_ventilation",
|
||||
"target_scope": "driver",
|
||||
"operation": "set",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "state",
|
||||
"value": "on"
|
||||
},
|
||||
{
|
||||
"name": "level",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"reason": "将驾驶座椅通风设为1档。"
|
||||
}
|
||||
],
|
||||
"intent_ir": {
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "IntentIR",
|
||||
"metadata": {
|
||||
"id": "intent-req-20260724083529-e97b68",
|
||||
"name": "Seat function intent",
|
||||
"version": "1.0.0",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"generated_at": "2026-07-24T08:35:35.592436Z",
|
||||
"labels": {
|
||||
"provider": "openai:gpt-5.6-sol"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"utterance": "座椅通风调到1档",
|
||||
"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",
|
||||
"requested_level": 1
|
||||
},
|
||||
"source_span": "座椅通风调到1档"
|
||||
}
|
||||
],
|
||||
"ambiguities": [],
|
||||
"confidence": 0.99,
|
||||
"requires_confirmation": false
|
||||
}
|
||||
},
|
||||
"function_config": {
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "FunctionConfig",
|
||||
"metadata": {
|
||||
"id": "seat-req-20260724083529-e97b68",
|
||||
"name": "Seat function",
|
||||
"version": "1.0.0",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"generated_at": "2026-07-24T08:35:35.592465Z",
|
||||
"labels": {
|
||||
"provider": "openai:gpt-5.6-sol",
|
||||
"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",
|
||||
"level": 1
|
||||
},
|
||||
"timeout_ms": 3000,
|
||||
"failure_policy": "abort"
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
|
||||
"Operation driver_ventilation_on targets level 1; the level is simulated because the supplied matrix has no level command signal."
|
||||
]
|
||||
}
|
||||
},
|
||||
"function_configs": {
|
||||
"seat": {
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "FunctionConfig",
|
||||
"metadata": {
|
||||
"id": "seat-req-20260724083529-e97b68",
|
||||
"name": "Seat function",
|
||||
"version": "1.0.0",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"generated_at": "2026-07-24T08:35:35.592465Z",
|
||||
"labels": {
|
||||
"provider": "openai:gpt-5.6-sol",
|
||||
"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",
|
||||
"level": 1
|
||||
},
|
||||
"timeout_ms": 3000,
|
||||
"failure_policy": "abort"
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
|
||||
"Operation driver_ventilation_on targets level 1; the level is simulated because the supplied matrix has no level command signal."
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"scene_config": null,
|
||||
"preset_config": null,
|
||||
"validation": [
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "LEVEL_COMMAND_T2G_MAPPED",
|
||||
"path": "actions[0].requested_level",
|
||||
"message": "目标档位已映射到统一 T2G 固件的 0x29E 档位信号;执行结果以 0x4FA 物理 CAN 回读为准。"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "REFERENCE_MATRIX_OVERRIDDEN_BY_T2G_BENCH",
|
||||
"path": "platform.reference_vehicle",
|
||||
"message": "参考车型矩阵元数据仍不完整;本次 HIL 仅使用仓库内已验证的 T2G 统一固件协议、身份门禁和物理反馈闭环。"
|
||||
}
|
||||
],
|
||||
"command_plan": {
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "CommandPlan",
|
||||
"metadata": {
|
||||
"id": "plan-t2g-req-20260724083529-e97b68",
|
||||
"name": "T2G seat hardware CAN command plan",
|
||||
"version": "1.0.0",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"labels": {
|
||||
"execution_scope": "hardware_candidate",
|
||||
"protocol": "t2g_seat_v1"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"domain": "seat",
|
||||
"platform": "t2g_seat_bench",
|
||||
"source": {
|
||||
"config_id": "seat-req-20260724083529-e97b68",
|
||||
"config_version": "1.0.0",
|
||||
"config_sha256": "937626082bf6db7237390ca01ab55624625ee6b5f085503a419abbc349d67042",
|
||||
"compiler_version": "1.1.0",
|
||||
"mapping_version": "1.1.0"
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"id": "t2g_seat_thermal_control",
|
||||
"operation_ref": "driver_ventilation_on",
|
||||
"bus": "seat_can",
|
||||
"message": "T2G_Seat_Thermal_Control_29E",
|
||||
"signals": {
|
||||
"Driver_Seat_Heating_Gear": 0,
|
||||
"Driver_Seat_Heating_On": 2,
|
||||
"Driver_Seat_Ventilation_Gear": 1,
|
||||
"Driver_Seat_Ventilation_Mode": 1,
|
||||
"Driver_Seat_Ventilation_On": 1
|
||||
},
|
||||
"send_offset_ms": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"command_plans": {
|
||||
"seat": {
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "CommandPlan",
|
||||
"metadata": {
|
||||
"id": "plan-t2g-req-20260724083529-e97b68",
|
||||
"name": "T2G seat hardware CAN command plan",
|
||||
"version": "1.0.0",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"labels": {
|
||||
"execution_scope": "hardware_candidate",
|
||||
"protocol": "t2g_seat_v1"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"domain": "seat",
|
||||
"platform": "t2g_seat_bench",
|
||||
"source": {
|
||||
"config_id": "seat-req-20260724083529-e97b68",
|
||||
"config_version": "1.0.0",
|
||||
"config_sha256": "937626082bf6db7237390ca01ab55624625ee6b5f085503a419abbc349d67042",
|
||||
"compiler_version": "1.1.0",
|
||||
"mapping_version": "1.1.0"
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"id": "t2g_seat_thermal_control",
|
||||
"operation_ref": "driver_ventilation_on",
|
||||
"bus": "seat_can",
|
||||
"message": "T2G_Seat_Thermal_Control_29E",
|
||||
"signals": {
|
||||
"Driver_Seat_Heating_Gear": 0,
|
||||
"Driver_Seat_Heating_On": 2,
|
||||
"Driver_Seat_Ventilation_Gear": 1,
|
||||
"Driver_Seat_Ventilation_Mode": 1,
|
||||
"Driver_Seat_Ventilation_On": 1
|
||||
},
|
||||
"send_offset_ms": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"execution_report": {
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "ExecutionReport",
|
||||
"metadata": {
|
||||
"id": "report-req-20260724083529-e97b68",
|
||||
"name": "T2G seat hardware execution report",
|
||||
"version": "1.0.0",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"labels": {
|
||||
"simulation": "false",
|
||||
"feedback": "physical_can"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"mode": "hil",
|
||||
"status": "succeeded",
|
||||
"started_at": "2026-07-24T08:35:35.595825Z",
|
||||
"finished_at": "2026-07-24T08:35:49.205410Z",
|
||||
"results": [
|
||||
{
|
||||
"ref": "seat-controller-firmware",
|
||||
"domain": "seat",
|
||||
"status": "succeeded",
|
||||
"message": "repository Seat_Controller_demo was programmed and verified",
|
||||
"telemetry": {
|
||||
"backend": "iar_cspy_cmsisdap",
|
||||
"programmed": true,
|
||||
"target_started": true,
|
||||
"image": "Seat_Controller_demo.hex",
|
||||
"image_sha256": "7cc5b956ad932c556304e496216e800f18c99ca91c14b28e34db8a66398d15b5",
|
||||
"firmware_verified": true,
|
||||
"programmed_this_request": true,
|
||||
"identity_frame_id": "0x305",
|
||||
"identity_data_hex": "53 45 41 54 01 01 00 3F",
|
||||
"simulated": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"ref": "driver_ventilation_on",
|
||||
"domain": "seat",
|
||||
"status": "succeeded",
|
||||
"message": "physical 0x4FA confirmed shared front-seat ventilation state=on, level=1",
|
||||
"telemetry": {
|
||||
"requested_target": "driver",
|
||||
"physical_target": "t2g_primary_seat",
|
||||
"requested_state": "on",
|
||||
"requested_level": 1,
|
||||
"feedback_signal": "Driver_Seat_Ventilation_Status",
|
||||
"feedback_value": 2,
|
||||
"command_frame": {
|
||||
"frame_id": "0x29E",
|
||||
"payload_size": 8,
|
||||
"data_hex": "25 00 01 00 00 00 00 00",
|
||||
"timestamp": null
|
||||
},
|
||||
"feedback_frame": {
|
||||
"frame_id": "0x4FA",
|
||||
"payload_size": 8,
|
||||
"data_hex": "0A 00 00 00 00 00 00 00",
|
||||
"timestamp": 70444.90261
|
||||
},
|
||||
"hardware_feedback": true,
|
||||
"simulated": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"actuator_state": {
|
||||
"driver": {
|
||||
"ventilation": {
|
||||
"state": "on",
|
||||
"level": 1
|
||||
},
|
||||
"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": "on",
|
||||
"level": 1
|
||||
},
|
||||
"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-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:35.592346Z",
|
||||
"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": 0
|
||||
},
|
||||
"duration_ms": 5888
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-02-req-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:35.592393Z",
|
||||
"stage": "context_resolve",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "已将会话 conv-57537550-91cf-4b19-91ea-9e45d7dbfd15 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
|
||||
"details": {
|
||||
"conversation_id": "conv-57537550-91cf-4b19-91ea-9e45d7dbfd15",
|
||||
"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-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:35.592406Z",
|
||||
"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-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:35.592477Z",
|
||||
"stage": "function_generate",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "已生成座椅 FunctionConfig。",
|
||||
"details": {
|
||||
"operation_count": 1,
|
||||
"preset_operation_count": 0
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-05-req-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:35.595325Z",
|
||||
"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-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:35.595357Z",
|
||||
"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-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:35.595794Z",
|
||||
"stage": "compile",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "配置已确定性编译为座椅 CAN 语义信号计划。",
|
||||
"details": {
|
||||
"messages": [
|
||||
"T2G_Seat_Thermal_Control_29E"
|
||||
],
|
||||
"command_count": 1,
|
||||
"signal_count": 5
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-08-req-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:35.595801Z",
|
||||
"stage": "safety_check",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "硬件启用、授权令牌、固件 profile、目标座椅和标定门禁均已通过。",
|
||||
"details": {
|
||||
"hardware_execution_allowed": true,
|
||||
"mapping_status": "protocol_hil_verified_combined_firmware_hil_pending",
|
||||
"firmware_profiles": [
|
||||
"combined"
|
||||
]
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-09-req-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:49.205792Z",
|
||||
"stage": "execute",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "真实 CAN 命令已发送,并收到 IAR 固件的实际状态回读。",
|
||||
"details": {
|
||||
"mode": "hil",
|
||||
"result_count": 2,
|
||||
"firmware_gate_failed": false,
|
||||
"stop_all_attempted": false
|
||||
},
|
||||
"duration_ms": 13609
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-10-req-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:49.205891Z",
|
||||
"stage": "state_update",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "会话状态已更新为第 1 轮,可用于下一条指令。",
|
||||
"details": {
|
||||
"state_after": {
|
||||
"driver": {
|
||||
"ventilation": {
|
||||
"state": "on",
|
||||
"level": 1
|
||||
},
|
||||
"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": "on",
|
||||
"level": 1
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-11-req-20260724083529-e97b68",
|
||||
"request_id": "req-20260724083529-e97b68",
|
||||
"timestamp": "2026-07-24T08:35:49.205897Z",
|
||||
"stage": "telemetry",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "IAR 固件反馈帧中的实际状态与请求目标一致。",
|
||||
"details": {
|
||||
"command_frame": "25 00 01 00 00 00 00 00",
|
||||
"feedback_frame": "0A 00 00 00 00 00 00 00",
|
||||
"simulated": false
|
||||
},
|
||||
"duration_ms": 0
|
||||
}
|
||||
],
|
||||
"provider_used": "openai:gpt-5.6-sol",
|
||||
"artifact_path": "artifacts\\runs\\req-20260724083529-e97b68"
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-01-req-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:35.592346Z", "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": 0}, "duration_ms": 5888}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-02-req-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:35.592393Z", "stage": "context_resolve", "status": "succeeded", "domain": "seat", "summary": "已将会话 conv-57537550-91cf-4b19-91ea-9e45d7dbfd15 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。", "details": {"conversation_id": "conv-57537550-91cf-4b19-91ea-9e45d7dbfd15", "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-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:35.592406Z", "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-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:35.592477Z", "stage": "function_generate", "status": "succeeded", "domain": "seat", "summary": "已生成座椅 FunctionConfig。", "details": {"operation_count": 1, "preset_operation_count": 0}, "duration_ms": 0}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-05-req-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:35.595325Z", "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-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:35.595357Z", "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-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:35.595794Z", "stage": "compile", "status": "succeeded", "domain": "seat", "summary": "配置已确定性编译为座椅 CAN 语义信号计划。", "details": {"messages": ["T2G_Seat_Thermal_Control_29E"], "command_count": 1, "signal_count": 5}, "duration_ms": 0}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-08-req-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:35.595801Z", "stage": "safety_check", "status": "succeeded", "domain": "seat", "summary": "硬件启用、授权令牌、固件 profile、目标座椅和标定门禁均已通过。", "details": {"hardware_execution_allowed": true, "mapping_status": "protocol_hil_verified_combined_firmware_hil_pending", "firmware_profiles": ["combined"]}, "duration_ms": 0}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-09-req-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:49.205792Z", "stage": "execute", "status": "succeeded", "domain": "seat", "summary": "真实 CAN 命令已发送,并收到 IAR 固件的实际状态回读。", "details": {"mode": "hil", "result_count": 2, "firmware_gate_failed": false, "stop_all_attempted": false}, "duration_ms": 13609}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-10-req-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:49.205891Z", "stage": "state_update", "status": "succeeded", "domain": "seat", "summary": "会话状态已更新为第 1 轮,可用于下一条指令。", "details": {"state_after": {"driver": {"ventilation": {"state": "on", "level": 1}, "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": "on", "level": 1}, "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}}}}}, "duration_ms": 0}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-11-req-20260724083529-e97b68", "request_id": "req-20260724083529-e97b68", "timestamp": "2026-07-24T08:35:49.205897Z", "stage": "telemetry", "status": "succeeded", "domain": "seat", "summary": "IAR 固件反馈帧中的实际状态与请求目标一致。", "details": {"command_frame": "25 00 01 00 00 00 00 00", "feedback_frame": "0A 00 00 00 00 00 00 00", "simulated": false}, "duration_ms": 0}
|
||||
Reference in New Issue
Block a user