Basic usage
What makes a snapshot compatible?
For local audits, Xerg matches on:- the same source roots for gateway logs and session files
- the same normalized
--sincewindow
- rerunning the same local audit
- rerunning the same SSH target with the same remote paths
- rerunning the same Railway service with the same remote paths
- changing from default paths to different explicit paths
- changing the
--sincewindow from24hto7d - switching to a different SSH host or Railway service
First run behavior
If you use--compare before a compatible baseline exists, Xerg still completes the audit. It adds this note to the summary:
Database requirements
--compare needs local snapshot history.
This works:
Recommended workflow
- Run an initial audit.
- Make one workflow or model change.
- Re-run the same audit with the same effective inputs and
--compare. - Use the delta section to confirm whether total spend, structural waste, and high-confidence waste improved.