todo2code

Ticket 004: Language-independent topic matching

Goal and scope

Replace further growth of the hand-written Polish-to-English topic dictionary with a reviewable language-independent matching path. Start from a multilingual gold benchmark, compare feasible strategies, and integrate only a strategy that improves cross-language recall without weakening exact-target evidence or the precision-oriented capability-topic boundary.

The primary measured repositories are todo2code and subactor/platform. The unchanged seven-repository corpus from tickets 002 and 003 remains the regression corpus if a candidate implementation is retained.

Acceptance criteria

Non-goals

Participants

Evidence

Approval

Conclusion

Raw multilingual embeddings are not safe enough to become graph evidence. MiniLM ranked 5/6 synthetic pairs correctly. E5 ranked 6/6, but its positive and negative score ranges overlap; on the tracked platform graph it proposed two new links and manual review rejected both. Reciprocal top-1 removed the false positives but added no coverage.

No production matcher was retained. The accepted library change is an explicit cross-language gold cohort with six known positive gaps and six gated nearby wrong modules. Full verification passed with 244 tests (243 pass, one local JDK skip), both gold versions, five SDKs, dependency audit, CLI/MCP/A2A and Docker smoke.