trace-error classifies reported frames as in-project, inside an installed dependency, or outside the analyzed corpus, then resolves the in-project ones against the definitions fallow already extracted.
-, or from stdin when no argument is given. A relative path is resolved against the project root, matching --diff-file. V8 and Node traces are supported, as are SpiderMonkey and JavaScriptCore traces.
trace-error is a standalone, best-effort surface. It is not folded into the ranked review brief and is never an input to the focus map or its ranking.What it refuses to do
The command reports what it could not answer instead of guessing.- A frame matching several definitions reports
ambiguous. It lists bounded candidates and records additional matches incandidates_omitted. - A frame matching nothing reports
not_foundrather than disappearing from the output. - A frame the graph was never asked about reports
not_attempted, with the reason. - Reported frames stay in
frames[]in input order.countspublishes their per-outcome totals, whileframes_omittedrecords frames beyond the report limit.
Options
trace-error takes the project, output, and performance global flags: --root, --config, --format with human or json, --pretty, --quiet, --no-cache, and --threads.
Input is limited to 1 MiB. The report includes up to 256 frames and up to 10 candidate definitions per frame; omitted counts remain explicit. Oversized input exits with code 2.
Human output
$ fallow trace-error crash.txt
[origin/resolution] pair, with the reason on the indented line below.
JSON output
$ fallow trace-error crash.txt --format json
Key fields
counts.frames is the number of reported frames. Both resolved + ambiguous + not_found + not_attempted and in_project + node_modules + out_of_corpus equal that number. Add counts.frames_omitted to recover the total number of recognized input frames. A trace that is entirely unrecognised reports zero frames and a non-zero unparsed_lines, rather than looking like an empty trace.
For agents
Thetrace_error MCP tool wraps this command. Feed it the stack trace from a failing test or a production error, then read frames[].candidates[] for the files worth opening. A not_found result on an in-project frame means the graph could not match its name. The function may be module-local, or the runtime name may differ from the extracted definition.
See also
fallow trace
Walk a symbol’s call chain, or find the shortest import path between two modules.
Inspect a target
Compose one evidence bundle for a file or exported symbol.
MCP integration
Use fallow tools from AI coding agents.