Files
SuperBizAgent-java/devflow/projects/2026-07-22-single-react-cleanup-e2e/evidence.md
T

2.1 KiB
Raw Blame History

Evidence: single-react-cleanup-e2e

Repository Evidence

  • 生产引用扫描确认旧 ChatService 仅剩自身测试,/api/ai_ops 与旧 Session endpoints 属于第二条公开/状态链。
  • Harness adapters 复用 LookupKnowledgeTool/QueryLogsTools backend;旧 @Tool、ThreadLocal、recorder 和 topic discovery contract 已移除。
  • HarnessAgentAuditHook 只写 message count/roles、Tool names、text presence 和 duration;thought 保持空。
  • ToolBoundary durable audit 只写 exact identity、状态、稳定错误码、耗时和字节数;Redis canonical invocation 仍是短期完整 Tool 真理源。

Live Findings

  • 远端库已登记旧 V012 checksum,但缺少 diagnosis_run.intent/release_outcome/published_result。Flyway repair 后,幂等 V013 补齐三列与索引,fresh database 上为 no-op。
  • Hibernate 6 将无 columnDefinition 的字符串枚举校验为原生 ENUM;DiagnosisRun 已显式映射到 V012/V013 的 VARCHAR(32/16)。
  • 生产 WebConfig 的裸 ObjectMapper 无法序列化 canonical record 的 Instant,导致所有 Tool 在 begin 阶段返回 STORE_ERROR;改为自动注册模块,并让 store 测试使用生产 mapper。
  • Mock query_logs 把 0 命中错误表达为 success=false,与 NO_EVIDENCE contract 冲突;现以成功查询 + 空数组表达无证据。
  • live 日志发现 RAG backend 打印原始 query/rewrittenQuery/keywords;已改为字符数、命中数、类别数和耗时 metadata。

Final Exact-run Evidence

  • sessionId: mvp-demo-payment-timeout-stage7-20260722-1741
  • runId: 363f481c-33b8-42e7-8699-428a6ec61806
  • SSE: metadata -> status -> status -> status -> content -> done
  • outcome: FALLBACK; diagnosis_run: DIAGNOSIS / SUCCESS / FALLBACK
  • AgentStep: 2 rows,均为 diagnosis_agent,thought IS NULL,model input/output 仅 metadata。
  • ToolInvocation: 2 rows,lookup_knowledge 与 query_logs 均为 READY/EVIDENCE_FOUND,同一 exact identity,无错误。
  • query_logs 明确为 Mock;Agent-facing query_mysql 未配置生产业务 datasource,也未声称 live。