Go to file
Travis Herbranson 172f426ccd validate: fix path filter — explicit prune instead of "*/.*" trap
The `-not -path "*/.*"` filter on the `find` probes in lint.sh and sast.sh
was intended to exclude .venv / .git / __pycache__ but also excludes any
target path that lives UNDER a hidden ancestor directory.

Concrete trigger: running the gauntlet on a Claude Code worktree at
.../.claude/worktrees/<name>/. Every file in the tree matches `*/.*` via
the .claude/ component, so the probes return empty, the scripts skip
with "No Python or Go files found", and run-all.sh records the check as
passed by virtue of the 0 exit. The check never actually ran.

Switch to explicit prunes for the well-known noise dirs. As a free
bonus, replace `| head -1` with `-print -quit` so the probe also stops
being susceptible to SIGPIPE under `set -o pipefail` (relevant on dense
trees with many matches).

Verified: probe now returns first .py file in both .claude/-rooted and
normal project paths.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 07:50:32 -04:00
skills/zero-check v2 added the claude skill 2026-04-18 12:05:24 -04:00
templates added the phase 3 docker stuff 2026-04-18 12:51:12 -04:00
validate validate: fix path filter — explicit prune instead of "*/.*" trap 2026-05-12 07:50:32 -04:00
.gitignore v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
.python-version v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
check-deps.sh v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
main.py v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
pyproject.toml v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
README.md v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
uv.lock v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00