memory_audit_turn
Audits a conversation turn to detect silent memory retrieval misses, running a search probe and comparing against actual memory lookups within a time window. Returns a MissReport when high-relevance hits are overlooked.
Instructions
Not for in-conversation use. This tool is dispatched by the client's end-of-turn Stop hook; the model should never call this directly.
Silent-miss telemetry (full reference in docs/api.md). Runs the search probe memory_search would have run for user_message (assistant_response optional), then checks whether a memory_search, memory_show, or memory_list event fired in the same session within lookback_seconds (default 60). A high-relevance probe hit with no retrieval in that window is a miss. Auto-scopes to the caller's repo so the probe matches the model's view; honours session-disabled scopes. Returns a MissReport with verdict in {'miss', 'ok', 'no_signal'} plus the top probe hits. Side-effects: emits turn_audited always, plus search_miss when the verdict is miss.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_message | Yes | ||
| lookback_seconds | No | ||
| assistant_response | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||