Skip to content

Stop pointing the model at Grep and Glob tools native builds lack - #2836

Open
gwarf wants to merge 1 commit into
danielmiessler:mainfrom
gwarf:fix/native-build-search-tools
Open

gwarf wants to merge 1 commit into
danielmiessler:mainfrom
gwarf:fix/native-build-search-tools

Conversation

@gwarf

@gwarf gwarf commented Nov 16, 2026 •

Copy link
Copy Markdown

Hey Daniel,
Thanks a lot for all your work on PAI/LifeOS! I cannot say it saved me a lot of time or money, but I'm doing a lot of things and having a lot of fun :) I really appreciate all you share with everyone via this work.

Native Claude Code builds on macOS and Linux no longer have the Glob and Grep tools. Since 2.1.117 they are replaced by embedded search reached through the Bash tool, per the Claude Code changelog: "Native builds on macOS and Linux: the Glob and Grep tools are replaced by embedded bfs and ugrep available through the Bash tool".

Four places in the install payload still tell the model to use them, so on a native build it is steered toward tools it does not have:

  • the Tools preference in install/USER/PRINCIPAL/PRINCIPAL_IDENTITY.md
  • two context strings in install/settings.enhancements.json, and the same two in its copy under install/skills/LifeOS/install/ so both files stay identical
  • the shell-tools decision in LIFEOS/DOCUMENTATION/LifeosSystemArchitecture.md

The new wording names Read and Bash search (rg, fd). I chose that over listing both tool sets because it holds on every build: npm and Windows builds still have Grep and Glob, and the existing preference for rg and fd in Bash already applies there.

I understand PRs are ported into the source tree with credit and not merged directly, so the wording is yours to adjust.

Native Claude Code builds on macOS and Linux replaced the Glob and Grep
tools with embedded search reached through the Bash tool (2.1.117). The
Tools preference in the principal identity template, two context strings
in settings.enhancements.json and one architecture decision still told
the model to use them, so on a native build the model is steered toward
tools it does not have.

The wording now names Read and Bash search (rg, fd), which holds on
every build. Both copies of settings.enhancements.json are changed so
they stay identical.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant