Files
Cognitive_Agent/artifacts/runs/req-20260729152209-34b0ce/trace.jsonl
T
2026-07-30 08:45:38 +08:00

12 lines
7.2 KiB
JSON
Executable File

{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-01-req-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.777325Z", "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": 12945}
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-02-req-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.777325Z", "stage": "context_resolve", "status": "succeeded", "domain": "seat", "summary": "已将会话 conv-8c4eaac3-9d24-425c-92c2-1f189633a5e7 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。", "details": {"conversation_id": "conv-8c4eaac3-9d24-425c-92c2-1f189633a5e7", "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-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.777325Z", "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-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.777325Z", "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-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.779665Z", "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-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.779665Z", "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-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.779665Z", "stage": "compile", "status": "succeeded", "domain": "seat", "summary": "配置已确定性编译为座椅 CAN 语义信号计划。", "details": {"messages": ["Passenger_Seat_Motion_Command_551"], "command_count": 1, "signal_count": 5}, "duration_ms": 0}
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-08-req-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.779665Z", "stage": "safety_check", "status": "succeeded", "domain": "seat", "summary": "平台、矩阵和策略均限制为 dry-run;硬件发送路径未启用。", "details": {"hardware_execution_allowed": false, "position_calibration_gate": "not_applicable", "mapping_status": "draft", "firmware_profiles": []}, "duration_ms": 0}
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-09-req-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.780771Z", "stage": "execute", "status": "succeeded", "domain": "seat", "summary": "虚拟 CAN 已编码命令帧并生成模拟回读。", "details": {"mode": "dry_run", "result_count": 1, "firmware_gate_failed": false, "stop_all_attempted": false, "motor_result": null, "failure_category": null, "hall_before": null, "hall_after": null}, "duration_ms": 0}
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-10-req-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.780771Z", "stage": "state_update", "status": "succeeded", "domain": "seat", "summary": "会话状态已更新为第 1 轮,可用于下一条指令。", "details": {"state_after": {"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": 55, "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-20260729152209-34b0ce", "request_id": "req-20260729152209-34b0ce", "timestamp": "2026-07-29T15:22:22.780771Z", "stage": "telemetry", "status": "succeeded", "domain": "seat", "summary": "虚构反馈帧中的最终状态与请求目标一致。", "details": {"command_frame": "80 1B 00 00 10 10 3A 00", "feedback_frame": "80 1B 00 00 00 40 00 00", "simulated": true}, "duration_ms": 0}