Run in CI
Report a PR’s blast radius
Section titled “Report a PR’s blast radius”Diff against the merge base with HEAD, which is what a PR job runs:
trail blast --base origin/mainTo post it as a PR comment, with the areas a change can reach and per-symbol detail collapsed under it:
trail blast --format markdownOther options:
| Command | Effect |
|---|---|
trail blast --base origin/main --name |
Name those areas with one cached LLM call, instead of a full --deep build |
trail blast --export-viz site/ |
Also write the interactive page for this radius (what a PR comment links to) |
trail blast --no-owners |
Skip “who to tag” (by default, git history names the people behind each area) |
trail blast --depth all --format json |
The full transitive closure, machine-readable |
Fail when the graph has drifted
Section titled “Fail when the graph has drifted”Build nothing, and exit 1 if graft/ has drifted from the code:
trail build --checkPublish the viewer
Section titled “Publish the viewer”Write one self-contained index.html for CI, GitHub Pages, or a build artifact:
trail viz --export site/ --title "PR #12"