CLI
Artifact-only comparison
rawctx diff accepts package refs, local directories, and .rawctx.tar.gzarchives. For release gates, prefer comparing the same package lineage. Cross-package diff still helps with rename, migration, fork, and format-conversion reviews.
rawctx diff ./pkg-v1 ./pkg-v2
rawctx diff semantic ./pkg-v1 ./pkg-v2 --format json --severity breaking
rawctx diff @scope/jaffle-metrics@1.0.0 @scope/jaffle-metrics@1.1.0 --format github
rawctx diff ./native-pkg ./osi-export --format markdown