You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix mem_search response parser for real core format — the _parse_results() regex expected a --- [score] source --- format that no real memtomem-server ever produced; core's actual compact output ([rank] score | source > hierarchy) was collapsed into a single garbage result with wrong score. Rewritten to match core's _format_compact_result output.
Forward context_window to MCP call — context_window configured in SurfacingConfig was silently swallowed by **kwargs and never sent to the core server.
Fixes
Normalize list[str] namespace to comma-separated string before MCP call
Widen source-file regex from .md-only to any file extension
Widen namespace badge regex to support hyphens, dots, and other non-word characters
Fix mypy errors in observability/tracing.py
Testing
975 automated tests (up from 963)
New test_core_format_contract.py — 12 contract tests with snapshots of core's real formatter output