--depth. trace is its own surface for following how a symbol connects through the codebase before you change it.
fallow trace is a standalone, best-effort symbol-level surface. It is not folded into the ranked review brief and is never an input to the focus map or its ranking. Use it when you want to see how a symbol connects, not when you want a prioritized review.Target
fallow trace takes one positional argument in FILE:SYMBOL form:
FILE is a project-relative path and SYMBOL is the exported symbol name.
Options
| Flag | Description |
|---|---|
--callers | Walk only the callers direction (modules that import the symbol). |
--callees | Walk only the callees direction (import-symbol edges plus intra-module call sites). |
--depth <N> | Bound the walk depth in each requested direction. |
--callers nor --callees is set, both directions are walked.
Common Flags
trace accepts the global project and performance flags:
| Flag | Description |
|---|---|
-r, --root <PATH> | Project root directory. |
-c, --config <PATH> | Path to a fallow config file. |
-f, --format <FORMAT> | Output format: human (default) or json. |
-q, --quiet | Suppress progress and status output on stderr. |
--no-cache | Disable incremental parse cache. |
--threads <N> | Parser thread count. |
--changed-since <REF> | Scope file discovery to files changed since this git ref. |
How it works
trace walks the module graph in two directions from the target symbol:
- Callers (up): the modules that import the symbol, followed up to
--depthlevels. - Callees (down): the import-symbol edges out of the symbol’s module plus the intra-module call sites, followed down to
--depthlevels.
trace never feeds the review brief’s focus map or its ranking. The same best-effort call-chain data is available as opt-in evidence on fallow inspect --symbol-chain and the inspect_target MCP tool’s symbol_chain option.
See also
Inspect a target
Compose one evidence bundle for a file or exported symbol, with opt-in
--symbol-chain.Audit and review brief
Changed-file verdict plus the graph-derived review brief and decision surface.
MCP integration
Use fallow tools from AI coding agents.