1.8 KiB
1.8 KiB
Evidence
Existing Context
- Existing
chat-verifier-agentspec still usedsource_invocation_idsandtool_trace_summaryas the main verifier evidence context. - Existing
evidence-trace-hardeningspec already establishedtool_invocation.retrieval_detailsas the right place for structured tool-specific facts. - Prior devflow projects established that runbook/skill content is guidance, not incident evidence.
Code Findings
VerifierInputHookpreviously backfilled pluralsource_invocation_idsfromtool_trace_summaryby tool name.ExecutorGatekeeperServicepreviously validated invocation existence and tool name, but notraw_pathor excerpt authenticity.ToolInvocationRecorderpersisted retrieval details but did not generate claim-addressableevidence_refs.QueryLogsToolscould fall back togeneric-serviceplaceholder logs on no-hit.
Implementation Evidence
ToolInvocationRecordernow extracts:$.alerts[i]forquery_metrics$.logs[i]forquery_logs$.evidence_blocks[i]forlookup_knowledge
ExecutorGatekeeperServicenow validates:- invocation existence
- tool name
- raw path presence
retrieval_details.evidence_refs- excerpt similarity/support
VerifierInputHookonly auto-fills a singularsource_invocation_idwhen exactly one candidate exists and never inventsraw_path.QueryLogsToolsreturns HikariCP mock logs fororder-serviceand returns empty no-hit results for unrelated services.
Residual Finding
The HikariCP negative E2E no longer has generic-service pollution, but the model still issued an extra broad HikariCP query without the service filter and used order-service as context. This is a remaining narrow-scope behavior issue, not a mock evidence pollution issue.