Files
codebase-memory-mcp/tests
Martin Vogel ff1fa7d554 fix(registry): gate only the languages measured above the bar
The receiver gate now runs from an explicit per-language allowlist set by
measurement instead of applying to every language not exempted:

- full gate: Go, C++, C#, Lua, Tcl, Groovy, Elixir;
- suffix_match-only: Scala, Rust, PHP;
- off: everything else (Java, Kotlin, Swift, Ruby, Objective-C, Dart, C,
  Python, the JS/TS family, Perl, and every unmeasured language).

Each language was measured on a pinned corpus with fresh seeds and hand-read
samples of the refused CALLS; a language is gated only where the share of
refused edges that were wrong is at least ~85% (Rust 88% for suffix_match,
80% for unique_name, so suffix-only; PHP 30/30 suffix, 60% unique; Elixir
30/30 and 24/25). Rust removes 4,503 false CALLS on meilisearch, PHP 938 on
koel, Elixir 1,885 on plausible; off languages are byte-identical.

Also new C/C++ evidence: a candidate whose owner type the caller's own module
declares binds (`Widget w(n); w.get_id()`), which fixes the cpp/S3
lsp_resolution_probe case the full C++ gate refused in the previous commit.

registry_receiver_gate_runs_by_measured_language replaces the JVM-only test
and pins full, suffix-only and off languages, including an unmeasured one.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-11-14 00:14:04 +01:00
..