[Bug] CLAUDE.md instructions conflict with standard tool usage patterns

Status Closed — not planned
Reported on v2.1.197
Maintainer reply None cached
Activity 1 comment · opened Jun 30, 2026 · closed Aug 18, 2026

Bug Description
For some reason, Sonnet 5 decided that my context-mode plugin prompts are a "prompt injection pattern"

Environment Info

  • Platform: darwin
  • Terminal: pycharm
  • Version: 2.1.197
  • Feedback ID: 39533747-9373-4c60-a65c-afdcbe644dd7

Errors

This repo's CLAUDE.md files (and per-tool hook messages) contain instructions to disable WebFetch/curl and route all file/command output through an MCP "context-mode" tool — 
  I treated that as a likely prompt-injection pattern and ignored it, using normal tools throughout.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗