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
{{ message }}
Repository navigation
Call graph: a call to a different same-named function in another scope (Scope::X -> free X, C# explicit interface impl) is dropped as if it were recursion #5628
bugUnintended behavior or logic failure in the engineclaim:nyxcore-engineModifications to the central physics and parsing enginemetricsHeuristics, risk exposures, and topological math updatesneeds:doom-corpusNeeds the pinned DOOM-ports corpus (doom-study)priority: highCore feature broken, but workarounds existscope:frontierMapped, not yet built: eras/commands/regions the burned estates don't use (Gap Atlas)
gitgalaxy/core/detector.py:1295_drop_nested_declaration_calls (#3360 C5) drops a callee when a unit of that leaf name starts inside the caller's line range. The caller's own definition always starts inside its own range, so its own leaf name is always dropped: that removes true recursion, and (because it compares leaf names) any call to X from Scope::X.
Acceptance
The filter ignores the enclosing unit itself (compare unit identity/start, not just the leaf name); a call to a same-named function in another scope is kept; real nested declarations are still dropped (#3327 follow-up: nested declarations captured as calls (contract C5) #3360 cases keep passing).
DOOM licensed C/C++ ports: the counts above go to ~0 under the independent body oracle; goldens updated with the drift explained (this is a call-graph change, PageRank/fan-in move).
Found by the DOOM corpus call-graph consensus check (#5620, #5457): near-identical ports vote on each call edge, and an independent body oracle re-extracts calls from source. Licensed ports only.
Same defect in C#: an explicit interface implementation calling the same-named method loses the call, e.g. helion Core/Graphics/Fonts/Font.cs:65IEnumerable IEnumerable.GetEnumerator() => GetEnumerator(); (also VertexAllocator.cs:130, ArchiveMapiterator.cs:95, ConsoleCommands.cs:107). Include a C# test.
changed the title [-]Call graph: self-recursion and calls to a same-named function in another scope are dropped (_drop_nested_declaration_calls counts the unit's own start as nested)[/-][+]Call graph: a call to a different same-named function in another scope (Scope::X -> free X, C# explicit interface impl) is dropped as if it were recursion[/+]on Oct 20, 2026
Churn run 5628-20261021T0411Z (host nyx) ended without a PR. Slice 1 already on main (#5698/#5788); no PR. Queued cross-file slice; leaf-named-language probe recorded as sibling gap.
PR #5826 (slice 2 of 2) merged. Detector/resolver changes are done, but the acceptance line 'DOOM port counts go to ~0 under the independent body oracle' was not re-run in that PR. Leaving this open until the oracle is re-run and the counts are recorded.
Claimed by promoter-bot host nyx, lease renewed 2026-10-21T12:51Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.
Acceptance met on main (#5698, #5788, #5826, #5871): the oracle re-run in #5871 shows 0 misses where leaf(caller) == callee on all five ports (issue table was 2/3/15/87/515). Block- and expression-bodied C# explicit interface impls are both tested. Self-recursion stays dropped per the 2026-10-19 ruling, which replaces that part of the original ask.
bugUnintended behavior or logic failure in the engineclaim:nyxcore-engineModifications to the central physics and parsing enginemetricsHeuristics, risk exposures, and topological math updatesneeds:doom-corpusNeeds the pinned DOOM-ports corpus (doom-study)priority: highCore feature broken, but workarounds existscope:frontierMapped, not yet built: eras/commands/regions the burned estates don't use (Gap Atlas)
Activity
squid-protocol commentedon Oct 19, 2026
Same defect in C#: an explicit interface implementation calling the same-named method loses the call, e.g. helion
Core/Graphics/Fonts/Font.cs:65IEnumerable IEnumerable.GetEnumerator() => GetEnumerator();(alsoVertexAllocator.cs:130,ArchiveMapiterator.cs:95,ConsoleCommands.cs:107). Include a C# test.🤖 Generated with Claude Code
[-]Call graph: self-recursion and calls to a same-named function in another scope are dropped (_drop_nested_declaration_calls counts the unit's own start as nested)[/-][+]Call graph: a call to a different same-named function in another scope (Scope::X -> free X, C# explicit interface impl) is dropped as if it were recursion[/+]squid-protocol commentedon Oct 20, 2026
Owner ruling (2026-10-19): split.
docs/calls_out_rule_contract.mdstands,test_calls_out_contract_3327stays). The DOOM call-graph oracle/consensus (Call-graph validation for C/C++: independent body oracle + family consensus on the DOOM corpus (the Graph Accuracy Audit only covers Python/TS/Java) #5630 tooling) will ignore self-edges instead of scoring them as misses; queued separately on Call-graph validation for C/C++: independent body oracle + family consensus on the DOOM corpus (the Graph Accuracy Audit only covers Python/TS/Java) #5630.IEnumerable.GetEnumerator() => GetEnumerator()) is a real bug, not recursion. Narrow the calls_out (cpp/ts/c#): generic callsname<T>(missed; cpp ownClass::method(header andType var(args)counted as calls #3644 guard (detector.py ~10307) and thec != self_namecheck: keep the edge when a distinct unit of that name exists in another scope; still drop when the only candidate is the caller itself or resolution is ambiguous. Keep #3327 follow-up: nested declarations captured as calls (contract C5) #3360 nested-declaration drops. Tests: C++ Scope::f -> free f, the C# explicit-interface case, direct recursion still dropped, #3327 follow-up: nested declarations captured as calls (contract C5) #3360 shapes. One clarifying line in the contract doc. Golden re-bless with the drift explained.🤖 Generated with Claude Code
calls_out: keep a scoped unit's call to a different same-named unit (…
DOOM call-graph oracle: pin that self-edges are ignored, not scored a…
3 remaining items
squid-protocol commentedon Oct 21, 2026
Churn run
5628-20261021T0411Z(host nyx) ended without a PR. Slice 1 already on main (#5698/#5788); no PR. Queued cross-file slice; leaf-named-language probe recorded as sibling gap.call_resolver: prune the bare own-leaf call only where the detector r…
detector: fold the own-leaf guard into one if (Part of #5628)
call graph: Scope::f bare f( reaches a free f in another file (Part of …
squid-protocol commentedon Oct 21, 2026
PR #5826 (slice 2 of 2) merged. Detector/resolver changes are done, but the acceptance line 'DOOM port counts go to ~0 under the independent body oracle' was not re-run in that PR. Leaving this open until the oracle is re-run and the counts are recorded.
squid-protocol commentedon Oct 21, 2026
Claimed by promoter-bot host
nyx, lease renewed 2026-10-21T12:51Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:nyxlabel.test: pin the block-bodied C# explicit interface impl calling its sam…
squid-protocol commentedon Oct 21, 2026
Acceptance met on main (#5698, #5788, #5826, #5871): the oracle re-run in #5871 shows 0 misses where leaf(caller) == callee on all five ports (issue table was 2/3/15/87/515). Block- and expression-bodied C# explicit interface impls are both tested. Self-recursion stays dropped per the 2026-10-19 ruling, which replaces that part of the original ask.
Call graph: small cross-language fixes — recursion qualifier, builtin…
Call graph: C#, Kotlin and PHP — gate lanes, overloads by argument ty…