mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-21 00:21:30 +00:00
Address 3 findings from Codex adversarial review: 1. Legacy OVERRIDES backward compat: map OVERRIDES → METHOD_OVERRIDES at the _impactImpl API boundary before VALID_RELATION_TYPES filtering. Prevents silent traversal widening when clients send legacy type name. 2. Thread METHOD_IMPLEMENTS through MCP tools: - Added to VALID_RELATION_TYPES (impact traversal) - Added to IMPACT_RELATION_CONFIDENCE (0.85 floor) - Added to context() incoming/outgoing Cypher queries - Updated security + confidence tests 3. Transitive interface ancestor support: emitMethodImplementsEdges() now uses gatherAncestors() + buildTransitiveEdgeTypes() to walk the full inheritance chain. C implements B extends A (interface) now links C.foo to both B.foo and A.foo. Diamond paths deduplicated. 4 new unit tests covering transitive chains, inherited contracts, diamond dedup, and class-only exclusion. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||
| global-setup.ts | ||
| vitest.d.ts | ||