Offline Heuristics CLI

Scan local ledger.jsonl without a database to detect loops, context spikes, and waste drivers.

Agent hint

Use for aurex audit CLI flags: --ledger, --fail-under, --max-waste-usd, --mode.

In scope

  • Python aurex audit
  • Detected heuristic categories

Out of scope

  • CI pipeline integration — see CI Policy Gate
System prompt duplication
Agent runaway loops
Expensive model misuse
Context expansion ratios
Semantic loop detection
Retry cascade analytics
Python audit
aurex audit --ledger .aurex/ledger.jsonl
aurex audit --fail-under 85 --max-waste-usd 5.00 --mode block
Node ci (see CI page)
npx aurex ci
npx aurex ci --mode=block --github-comment

See also