engine: make list command generic: run/pass/fail