Skip to content
Unofficial community docs. Content pulled on 2026-10-24 from Trail-Code@d205ac3. For the latest, see the official repo.

Run in CI

Diff against the merge base with HEAD, which is what a PR job runs:

Terminal window
trail blast --base origin/main

To post it as a PR comment, with the areas a change can reach and per-symbol detail collapsed under it:

Terminal window
trail blast --format markdown

Other 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

Build nothing, and exit 1 if graft/ has drifted from the code:

Terminal window
trail build --check

Write one self-contained index.html for CI, GitHub Pages, or a build artifact:

Terminal window
trail viz --export site/ --title "PR #12"