Skip to content

fix(code-intel): trace still merges same-named methods; follow type-qualified call edges #743

Closed

Description

@ajianaz

Cora version

0.20.0 (develop after #738)

Which command?

cora trace <symbol> --direction incoming|outgoing --depth N

What happened?

#738 resolved Type::method for callers and impact, but trace still walks the bare-name edges table. On a workspace with many from_env or new methods, cora trace from_lookup --direction incoming --depth 3 still returns every same-named method merged into one node (121 nodes on the workspace measured in #714). trace WebSearchTool::from_env is not understood as a qualified name.

What did you expect to happen?

  • trace Type::method follows only calls made through that type (plus ambiguous calls whose receiver type is unknown, hidden with --strict), in both directions.
  • Each hop carries the type of the node it reached (the qualifier of a call, the impl type of the calling method), as impact does.
  • Non-call edges (imports, implements) are unchanged.

Steps to reproduce

cora index
cora trace from_env --direction incoming --depth 3    # every from_env merged
cora trace WebSearchTool::from_env --direction incoming --depth 3

Before submitting

Activity

  1. added
    bug
    scope:code-intel
    epic:code-intelligence
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugepic:code-intelligencepriority:mediumscope:code-intel

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions