Tools
strata19.get_file_diff
Expert tool
What it does
The unified diff for ONE file against a base ref, as real git diff text. Tries <base>...HEAD, then <base>..HEAD, then the uncommitted working tree. Truncation, binary files and no-change are reported as a typed status, never as an empty string the caller has to interpret.
When to use it
Use when: "show me the diff for src/foo.ts" · rendering a file's hunks · inspecting one file out of a reviewed range
Also use when: after strata19.review_pull_request names a file you want to read in full
When not to use it
you want the whole review rollup (use strata19.review_pull_request) or only the list of changed file names (use strata19.graph_from_git_range)
Availability
| Tier | Expert |
| Lifecycle | Live |
| Taught by | strata19-integrate-work, strata19-review-readiness |