claude-code - 💡(How to fix) Fix v2.1.158 (Opus 4.8): main session missing Grep/Glob, Bash storms, duplicate Bash commands, fabricated branches/commits/files, excessive shell text commands

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

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.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix v2.1.158 (Opus 4.8): main session missing Grep/Glob, Bash storms, duplicate Bash commands, fabricated branches/commits/files, excessive shell text commands