trace_concept
Trace how a domain concept propagates through the codebase by mapping function call chains — identifies which functions produce and consume the concept, along with the full call path and 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) |