CI Policy Gate

Run offline heuristics in CI and block merges when waste or efficiency scores exceed policy.

Agent hint

Use for npx aurex ci, --mode warn|block, --github-comment, and Python audit --mode block.

In scope

  • CI flags and exit codes
  • GitHub comment output

Out of scope

  • Heuristic categories — see Heuristics CLI
FlagDefaultBehavior
--mode warnDefaultPrint report; exit 0.
--mode blockExit 1 when policies violated.
--github-commentMarkdown suitable for PR comments (Node).
--fail-underPythonMinimum efficiency score.
--max-waste-usdPythonMaximum detected waste USD.

See also