Files
codex-security/plugins
c078ae5c5b fix(deep-scan): reject directory trees emptied before dispatch (#2181)
* fix(deep-scan): stop fresh scans with empty targets

Check the selected source before scheduling workers, preserve accepted resume
results, and propagate preflight cancellation through helper process cleanup.
Honor authoritative scopes and inherited ignore rules without replacing the
shared review inventory. Preserve existing partial Git listing behavior while
distinguishing empty listings with diagnostics from a valid empty scope.

Adapted from the existing public proposal for issue #2014, with portable
Windows fixture corrections and coverage for excluded junction cycles.

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): preserve scoped enumeration evidence

* fix(deep-scan): honor inherited and linked ignore rules

* fix(deep-scan): filter Git candidates without traversing excluded trees

* fix(deep-scan): preserve native ignore and fallback semantics

* fix(deep-scan): retain nested sources and registered file selections

* fix(deep-scan): preserve capped results and scoped discovery

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): probe one directory entry asynchronously

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): preserve raw names in directory probes

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): yield while admitting registered targets

* fix(deep-scan): reject empty directory trees before dispatch

* test(deep-scan): cover live trees emptied after registration

---------

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-05 01:29:21 -08:00
..