1.3 KiB
1.3 KiB
1. Evidence Persistence Contract
- 1.1 Extend
ToolInvocationRecorderwith a richer evidence-recording path that can preserve retrieval-aware fields as well as common evidence fields. - 1.2 Refactor
LookupKnowledgeToolto persisttool_invocationrows throughToolInvocationRecorderinstead of its own ad hoc row-construction path. - 1.3 Align
QueryLogsToolsandQueryMetricsToolsno-hit / failure payloads with the hardened evidence contract.
2. Verifier-Facing Summary Semantics
- 2.1 Harden
ToolTraceSummaryServiceso failed, no-hit, and deduped evidence rows are summarized with stable no-evidence semantics. - 2.2 Preserve merged-call counts for repeated hits, failures, and no-new-evidence rows without overstating evidence strength.
3. Chat Degraded Paths
- 3.1 Add focused
ChatServicetests for missing verifier output fallback toLOW_CONFID. - 3.2 Add focused
ChatServicetests for invalid verifier JSON fallback toLOW_CONFID. - 3.3 Add focused
ChatServicetests thatREJECToutput uses the degraded template and does not leak raw executor answer content.
4. Verification
- 4.1 Add focused offline tests for the recorder contract and
ToolTraceSummaryService. - 4.2 Run targeted test commands for the new/updated offline tests.
- 4.3 Run compile verification.