audit defaults --fail-on to high, analyze defaults it to empty:
// cmd/optiqor/main.go:217 (analyze)
cmd.Flags().StringVar(&failOn, "fail-on", "", "...")
// cmd/optiqor/main.go:572 (audit)
cmd.Flags().StringVar(&failOn, "fail-on", "high", "...")
same chart, identical findings, different exit codes. analyze returns 0 on a HIGH security finding, audit returns 1. confusing for CI authors who switch between the two.
pick one. either lift "" to audit for parity (recommended, opt-in is honest), or push "high" down into analyze. update the README severity table to match.
auditdefaults--fail-ontohigh,analyzedefaults it to empty:same chart, identical findings, different exit codes.
analyzereturns 0 on a HIGH security finding,auditreturns 1. confusing for CI authors who switch between the two.pick one. either lift
""toauditfor parity (recommended, opt-in is honest), or push"high"down intoanalyze. update the README severity table to match.