• Untracked WIP directories (e.g. unfinished frontend/) were triggering
    HAS_FRONTEND=1 via bare `[ -d frontend ]`, causing the pre-push gate
    to lint/build code that isn't part of the push. Require non-empty
    `git ls-files -- <dir>` so detection follows tracked content, matching
    the CLAUDE.md rule that the gate covers current module + completed
    modules only.
    zichun authored
     
    Browse Code »