Files
ChenglinWei97 fbfa2be39a fix(server): audit context tool as mode 'context', not 'search' (Greptile #3070)
The context tool shared backend.search, so its audit rows were logged as
mode:'search'. RecallBackend now has a distinct context() method (queries
identically) and the route audits it as mode:'context' — the audit trail
distinguishes the two tools.

Unit test asserts context routes through backend.context; integration test
asserts both 'recent' and 'context' audit modes land. Verified live 5/5; tsc clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 16:33:53 -07:00
..