Issue details
grep_files and glob_files skip every directory named .git, .zig-cache, zig-out, node_modules, .next, dist, build or coverage (ignored_list_entries in src/main.zig). The result doesn't say anything was skipped, so it looks complete. Neither tool description mentions it.
That's fine for build output, but a source directory called build/ (e.g. a Python subpackage app/build/) just disappears from searches.
Environment: fx v0.0.14 (list unchanged on current main), Linux, fx ask and fx acp.
Steps to reproduce
mkdir -p src build dist
printf 'from build.config import MAX_RETRIES\n' > src/app.py
printf 'MAX_RETRIES = 7\n' > build/config.py
printf 'MAX_RETRIES = 3\n' > dist/old.py
fx ask "Use the grep_files tool (not shell) to find every file that contains MAX_RETRIES. Paste the raw tool output."Output:
[grep] 1 files with matches for MAX_RETRIES
- src/app.pybuild/config.py and dist/old.py are missing with no note. glob_files skips them the same way (in another project app/**/*.py didn't list anything under app/build/). Searching with an explicit path: build does find them.
Expected: either search them, or at least say which directories were excluded.
Trace
Not attached.
Sensitive information
- I reviewed the information above and removed secrets and other sensitive data.
Activity
0No activity yet.