193 lines
5.6 KiB
JSON
Executable File
193 lines
5.6 KiB
JSON
Executable File
{
|
|
"request_id": "req-20260722035909-b894a7",
|
|
"status": "validation_failed",
|
|
"provider_requested": "local",
|
|
"execution_mode": "dry_run",
|
|
"hardware_execution_allowed": false,
|
|
"decision_summary": [
|
|
"识别为座椅热舒适单域请求。",
|
|
"目标:主驾座椅加热打开。",
|
|
"检测到档位要求;当前矩阵只有档位状态,没有明确档位控制信号。"
|
|
],
|
|
"intent_ir": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "IntentIR",
|
|
"metadata": {
|
|
"id": "intent-req-20260722035909-b894a7",
|
|
"name": "Seat thermal intent",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722035909-b894a7",
|
|
"generated_at": "2026-07-22T03:59:09.232464Z",
|
|
"labels": {
|
|
"provider": "local_rules"
|
|
}
|
|
},
|
|
"spec": {
|
|
"utterance": "主驾座椅加热开到三档",
|
|
"language": "zh-CN",
|
|
"mode": "single_domain",
|
|
"detected_domains": [
|
|
"seat"
|
|
],
|
|
"requests": [
|
|
{
|
|
"domain": "seat",
|
|
"goal": "Set driver heating on",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_left",
|
|
"instance": "driver"
|
|
},
|
|
"parameters": {
|
|
"function": "heating",
|
|
"state": "on",
|
|
"requested_level": 3
|
|
},
|
|
"source_span": "主驾座椅加热开到三档"
|
|
}
|
|
],
|
|
"ambiguities": [],
|
|
"confidence": 0.96,
|
|
"requires_confirmation": false
|
|
}
|
|
},
|
|
"function_config": {
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "FunctionConfig",
|
|
"metadata": {
|
|
"id": "seat-req-20260722035909-b894a7",
|
|
"name": "Seat thermal function",
|
|
"version": "1.0.0",
|
|
"request_id": "req-20260722035909-b894a7",
|
|
"generated_at": "2026-07-22T03:59:09.232486Z",
|
|
"labels": {
|
|
"provider": "local_rules",
|
|
"execution_scope": "virtual_only"
|
|
}
|
|
},
|
|
"spec": {
|
|
"domain": "seat",
|
|
"operations": [
|
|
{
|
|
"id": "driver_heating_on",
|
|
"capability": "seat.set_heating",
|
|
"target": {
|
|
"device": "seat",
|
|
"zone": "front_left",
|
|
"instance": "driver"
|
|
},
|
|
"parameters": {
|
|
"state": "on"
|
|
},
|
|
"timeout_ms": 3000,
|
|
"failure_policy": "abort"
|
|
}
|
|
],
|
|
"assumptions": [
|
|
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
|
|
"Operation driver_heating_on requested level 3; the level is not executable with the supplied matrix."
|
|
]
|
|
}
|
|
},
|
|
"validation": [
|
|
{
|
|
"severity": "error",
|
|
"code": "UNSUPPORTED_GEAR_CONTROL",
|
|
"path": "actions[0].requested_level",
|
|
"message": "矩阵中存在档位状态信号,但没有明确档位控制信号,已阻止执行。"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "VIRTUAL_EXECUTION_ONLY",
|
|
"path": "platform.reference_vehicle",
|
|
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
|
|
}
|
|
],
|
|
"command_plan": null,
|
|
"execution_report": null,
|
|
"trace_events": [
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-01-req-20260722035909-b894a7",
|
|
"request_id": "req-20260722035909-b894a7",
|
|
"timestamp": "2026-07-22T03:59:09.232422Z",
|
|
"stage": "intent_parse",
|
|
"status": "succeeded",
|
|
"domain": "seat",
|
|
"summary": "使用 local_rules 完成结构化意图抽取。",
|
|
"details": {
|
|
"provider": "local_rules",
|
|
"confidence": 0.96
|
|
},
|
|
"duration_ms": 0
|
|
},
|
|
{
|
|
"apiVersion": "cognitive-agent/v1alpha1",
|
|
"kind": "TraceEvent",
|
|
"event_id": "evt-02-req-20260722035909-b894a7",
|
|
"request_id": "req-20260722035909-b894a7",
|
|
"timestamp": "2026-07-22T03:59:09.232449Z",
|
|
"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-03-req-20260722035909-b894a7",
|
|
"request_id": "req-20260722035909-b894a7",
|
|
"timestamp": "2026-07-22T03:59:09.232496Z",
|
|
"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-04-req-20260722035909-b894a7",
|
|
"request_id": "req-20260722035909-b894a7",
|
|
"timestamp": "2026-07-22T03:59:09.234952Z",
|
|
"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-05-req-20260722035909-b894a7",
|
|
"request_id": "req-20260722035909-b894a7",
|
|
"timestamp": "2026-07-22T03:59:09.234974Z",
|
|
"stage": "domain_validate",
|
|
"status": "failed",
|
|
"domain": "seat",
|
|
"summary": "座椅语义校验阻止了不受支持的请求。",
|
|
"details": {
|
|
"error_count": 1,
|
|
"warning_count": 1
|
|
},
|
|
"duration_ms": 0
|
|
}
|
|
],
|
|
"provider_used": "local_rules",
|
|
"artifact_path": "artifacts/runs/req-20260722035909-b894a7"
|
|
}
|