trace_concept
Trace how a concept flows through code by mapping function call chains that produce and consume it, showing propagation paths with file locations.
Instructions
Trace how a domain concept flows through the codebase via function call chains — shows which functions produce the concept, which consume it, and the call path between them including bridge functions on the path. Returns an ordered call chain with file locations and producer/ consumer roles. Use when asked 'how does concept X propagate', 'what calls what for X', or 'trace X through the code'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| concept | Yes | The concept to trace (e.g. 'transform') | |
| max_depth | No | Maximum call chain depth (default: 5) |