Files
2026-07-30 08:45:38 +08:00

335 lines
9.3 KiB
JSON
Executable File

{
"request_id": "req-20260723014159-b48eb7",
"conversation_id": "conv-verify-generic-compound",
"conversation_turn": 0,
"status": "validation_failed",
"provider_requested": "openai",
"execution_mode": "dry_run",
"hardware_execution_allowed": false,
"decision_summary": [
"当前话语明确指向主驾。",
"“有点冷”采用最低档座椅加热。",
"“有点闷”采用25%低风量;该请求为目录能力,交由运行时延后处理。"
],
"deferred_requests": [
{
"domain": "climate",
"capability": "climate.set_fan_level",
"target_scope": "driver",
"desired_change": "set",
"requested_value": 25,
"parameters": {
"fan_level_pct": 25
},
"reason": "主驾感觉有点闷,设置较低 airflow 以改善通风。"
}
],
"model_requests": [
{
"domain": "seat",
"capability": "seat.set_heating",
"target_scope": "driver",
"operation": "activate",
"parameters": [
{
"name": "state",
"value": "on"
},
{
"name": "level",
"value": 1
}
],
"reason": "主驾感觉有点冷,开启最低档座椅加热。"
},
{
"domain": "climate",
"capability": "climate.set_fan_level",
"target_scope": "driver",
"operation": "set",
"parameters": [
{
"name": "fan_level_pct",
"value": 25
}
],
"reason": "主驾感觉有点闷,设置较低 airflow 以改善通风。"
}
],
"intent_ir": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "IntentIR",
"metadata": {
"id": "intent-req-20260723014159-b48eb7",
"name": "Seat thermal intent",
"version": "1.0.0",
"request_id": "req-20260723014159-b48eb7",
"generated_at": "2026-07-23T01:42:12.596136Z",
"labels": {
"provider": "openai:gpt-5.6-sol"
}
},
"spec": {
"utterance": "主驾有点冷、有点闷",
"language": "zh-CN",
"mode": "cross_domain",
"detected_domains": [
"climate",
"seat"
],
"requests": [
{
"domain": "seat",
"goal": "Set driver heating on",
"target": {
"device": "seat",
"zone": "front_left",
"instance": "driver"
},
"parameters": {
"function": "heating",
"state": "on",
"requested_level": 1
},
"source_span": "主驾有点冷、有点闷"
},
{
"domain": "climate",
"goal": "set climate.set_fan_level",
"target": {
"device": "climate",
"zone": "driver"
},
"parameters": {
"capability": "climate.set_fan_level",
"desired_change": "set",
"requested_value": 25,
"requested_parameters": {
"fan_level_pct": 25
},
"availability": "catalog_only"
},
"source_span": "主驾有点冷、有点闷"
}
],
"ambiguities": [],
"confidence": 0.88,
"requires_confirmation": false
}
},
"function_config": {
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "FunctionConfig",
"metadata": {
"id": "seat-req-20260723014159-b48eb7",
"name": "Seat thermal function",
"version": "1.0.0",
"request_id": "req-20260723014159-b48eb7",
"generated_at": "2026-07-23T01:42:12.596164Z",
"labels": {
"provider": "openai:gpt-5.6-sol",
"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",
"level": 1
},
"timeout_ms": 3000,
"failure_policy": "abort"
}
],
"assumptions": [
"The supplied matrix is partial; this configuration is eligible for virtual execution only.",
"Operation driver_heating_on targets level 1; the level is simulated because the supplied matrix has no level command signal."
]
}
},
"validation": [
{
"severity": "error",
"code": "UNAVAILABLE_DOMAIN",
"path": "deferred_requests[0]",
"message": "已理解 climate.set_fan_level 目标,但 climate 域当前仅有能力目录,未接入执行器。"
},
{
"severity": "warning",
"code": "LEVEL_COMMAND_SIMULATED",
"path": "actions[0].requested_level",
"message": "目标档位已写入 FunctionConfig 和会话状态;0x42A 仅编译开关信号,档位回读仅在 dry-run 中模拟。"
},
{
"severity": "warning",
"code": "VIRTUAL_EXECUTION_ONLY",
"path": "platform.reference_vehicle",
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
}
],
"command_plan": null,
"execution_report": null,
"actuator_state": {
"driver": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
}
},
"passenger": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
}
}
},
"trace_events": [
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-01-req-20260723014159-b48eb7",
"request_id": "req-20260723014159-b48eb7",
"timestamp": "2026-07-23T01:42:12.596053Z",
"stage": "intent_parse",
"status": "succeeded",
"domain": "seat",
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
"details": {
"provider": "openai:gpt-5.6-sol",
"confidence": 0.88,
"conversation_turn": 0
},
"duration_ms": 12868
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-02-req-20260723014159-b48eb7",
"request_id": "req-20260723014159-b48eb7",
"timestamp": "2026-07-23T01:42:12.596102Z",
"stage": "context_resolve",
"status": "succeeded",
"domain": "seat",
"summary": "已将会话 conv-verify-generic-compound 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
"details": {
"conversation_id": "conv-verify-generic-compound",
"turn_count": 0,
"last_target": null,
"state_before": {
"driver": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
}
},
"passenger": {
"ventilation": {
"state": "off",
"level": 0
},
"heating": {
"state": "off",
"level": 0
}
}
},
"capability_domains": [
"ambient_light",
"climate",
"roof",
"seat"
]
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-03-req-20260723014159-b48eb7",
"request_id": "req-20260723014159-b48eb7",
"timestamp": "2026-07-23T01:42:12.596117Z",
"stage": "domain_route",
"status": "succeeded",
"domain": "seat",
"summary": "识别到 climate,seat 领域,当前 seat 单域服务不会错误代执行。",
"details": {
"domains": [
"climate",
"seat"
],
"mode": "single_domain"
},
"duration_ms": 0
},
{
"apiVersion": "cognitive-agent/v1alpha1",
"kind": "TraceEvent",
"event_id": "evt-04-req-20260723014159-b48eb7",
"request_id": "req-20260723014159-b48eb7",
"timestamp": "2026-07-23T01:42:12.596173Z",
"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-20260723014159-b48eb7",
"request_id": "req-20260723014159-b48eb7",
"timestamp": "2026-07-23T01:42:12.599577Z",
"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-20260723014159-b48eb7",
"request_id": "req-20260723014159-b48eb7",
"timestamp": "2026-07-23T01:42:12.599633Z",
"stage": "domain_validate",
"status": "failed",
"domain": "seat",
"summary": "座椅语义校验阻止了不受支持的请求。",
"details": {
"error_count": 1,
"warning_count": 2
},
"duration_ms": 0
}
],
"provider_used": "openai:gpt-5.6-sol",
"artifact_path": "artifacts/runs/req-20260723014159-b48eb7"
}