packages/cli/src/lib/audit.ts turns any nonzero git ls-files result, including a timeout, into an empty file list. packages/cli/src/commands/audit.ts then accepts that list and can return exit code 0 with “no files in scope of any edit-phase rule.” A failed enumeration can therefore look like a clean audit. Please report the audit as failed or incomplete when Git cannot list files. The focused regression belongs in packages/cli/test/audit.test.ts.
packages/cli/src/lib/audit.tsturns any nonzerogit ls-filesresult, including a timeout, into an empty file list.packages/cli/src/commands/audit.tsthen accepts that list and can return exit code 0 with “no files in scope of any edit-phase rule.” A failed enumeration can therefore look like a clean audit. Please report the audit as failed or incomplete when Git cannot list files. The focused regression belongs inpackages/cli/test/audit.test.ts.