v2.1.158 (Opus 4.8): main session missing Grep/Glob, Bash storms, duplicate Bash commands, fabricated branches/commits/files, excessive shell text commands

Open 💬 7 comments Opened May 31, 2026 by ghbvf

Environment

  • Claude Code v2.1.158
  • Model: Opus 4.8 (1M context), Claude Max
  • Platform: macOS (Darwin 25.4.0)

Issues

1. Main session has no Grep / Glob tools

  • The main conversation's tool list does not include Grep or Glob. Only Bash, Read, Edit, Write, Agent, etc. are available.
  • CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 claude — Grep/Glob still absent.
  • claude --tools default — Grep/Glob still absent.
  • Subagents (e.g. the Explore agent) do have Grep/Glob internally; only the main loop lacks them.
  • ~/.claude*/.claude.json cachedGrowthBookFeatures contains tengu_pewter_kestrel with a BashSearchTool entry.

2. Bash storms

  • The agent issues large bursts of parallel Bash commands.

3. Repeated / duplicate Bash commands within one session

  • The agent runs the same Bash command multiple times in a single session.

4. Fabricated facts (no search first)

  • The agent invents non-existent git branches and commits.
  • The agent references non-existent files.
  • These are asserted without searching / verifying the repository first.

5. Frequent use of echo

  • The agent frequently runs echo via the Bash tool (e.g. to print/inspect/build strings) instead of using dedicated tools.

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗