Threshold flags
--fail-above-waste-rate <n>fails with exit code3whenstructuralWasteRateis above the threshold--fail-above-waste-usd <n>fails with exit code3when confirmedwasteSpendUsdis above the threshold
Recommended pattern
If you also want the audit recorded remotely, use one command:xerg audit pushes before threshold checks run, so the audit still gets sent even if the command ultimately exits with code 3.