Status: skeleton — full body in Phase 2.
Diff two audit reports.
osaat diff <old.json> <new.json> [--format <text|json|markdown>]Each report is matched record-by-record on BundleID (macOS) or PkgID
(Linux/Unix), falling back to Name + Version when neither is set.
| Marker | Meaning |
|---|---|
+ |
Present in the new report, missing from the old. |
- |
Present in the old report, missing from the new. |
~ |
Present in both, with at least one differing field (version, source, signing, etc.). |
Daily drift:
osaat diff ~/backup/osaat-2026-05-09/report.json ~/backup/osaat-2026-05-16/report.jsonPre/post migration check:
osaat diff ~/backup/old-mac/report.json ~/backup/new-mac/report.jsonMachine-readable:
osaat diff --format json a.json b.json | jq '.changes[] | select(.kind == "removed")'| Code | Meaning |
|---|---|
| 0 | No differences. |
| 1 | Differences found. |
| 2 | Flag misuse or invalid input. |