2.9 KiB
2.9 KiB
Evidence
Baseline Live Finding
Session e2e-mysql-skill-rag-20260706-2230 proved the Chat diagnosis path could run end to end but exposed runtime gaps:
- Planner selected the MySQL connection pool skill metadata path but Executor read the same selected skill twice.
- Verifier-facing summaries lost concrete log/metric evidence behind truncated raw previews.
- New
lookup_knowledgerows did not consistently expose modular RAG trace keys intool_invocation.retrieval_details. - LOW_CONFID output still included raw Executor conclusions, so unsupported claims could reach the user.
Final Live Verification
Session: e2e-mysql-skill-rag-20260706-2355
Trace/API and MySQL evidence:
diagnosis_session:id=73,status=SUCCESS,agent_flow=CHAT,step_count=9,tool_call_count=9.- Verifier:
LOW_CONFID,groundedness_score=0.5. agent_stepdistribution:- planner: 1 step, 0 tool steps,
selected_skillpresent, noread_skill. - executor: 7 steps, only first executor step contains
read_skill. - verifier: 1 step, no
read_skill.
- planner: 1 step, 0 tool steps,
tool_invocationdistribution:lookup_knowledge: 1get_available_log_topics: 1query_metrics: 1query_logs: 6
lookup_knowledgerow:retrieval_layer=L0+L1l0_match_count=5l1_match_count=3relevance_level=REFERENCEmodularRagDetails=true
- Verifier
tool_trace_summarymarks the generic mock system event row assuccess=false,evidence_level=none,no_hit_invocation_count=1. - User-facing LOW_CONFID answer includes only direct evidence in
已确认信息, moves unsupported facts to当前缺口, and does not include the raw Executor report.
Log evidence:
logs/codex-spring-run-live.out.logshows classpath skill loading, Planner output containing"selected_skill": "diagnose-mysql-connection-pool", and exactly oneread_skillcall for that skill in the final run.- No
保存 tool_invocation 失败or MySQLData too longerrors appeared for the final run.
Commands
openspec validate live-diagnosis-skill-observability --strict
Result: passed.
mvn -q "-Dtest=ToolTraceSummaryServiceTest,ChatServiceSequentialAgentTest,ToolInvocationRecorderTest" test
Result: passed.
java -cp "target;$(Get-Content target\e2e-classpath.txt)" E2eDbInspect e2e-mysql-skill-rag-20260706-2355
Result: confirmed the final live MySQL row counts, skill read boundary, and modular RAG details described above.
Remaining Known Limits
- The Alibaba classpath registry still logs
Loaded 6 skills from classpath: skills; the project-levelSingleSkillRegistryexposes only the active skill to Planner/Executor after registry construction. - LLM planning remains model-driven; the prompt and metadata hook now require
selected_skill, and the final live run followed that contract. read_skillremains workflow guidance and is not persisted as atool_invocationevidence row.