[BUG] Ignoring instructons
Resolved 💬 3 comments Opened Apr 16, 2025 by zhil Closed Apr 17, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 0.2.70
- Operating System: Ubuntu 24.04
- Terminal: bash
Bug Description
we have pretty complex application - mono repository with large legacy code base. Different subfolders - are actually different applications, which interact with each other (like symfony backend, react frontend etc). I am trying to build separate documentation for each application. But claude tend to ignore instructions from it.
Steps to Reproduce
- git clone git@github.com:zhil/claude-bug.git
- run claude
- ask to create unit tests for ApiController
Expected Behavior
in Claude.md we have
VERY IMPORTANT - ALWAYS READ DOCUMENTATION BEFORE GENERATING CODE
## Documentation Structure
This documentation is organized into the following files:
- **Main Documentation** (this file):
- Overview of the entire environment
- Setup instructions
- Quick reference guides
- **Backend Documentation**:
- `/backend/Claude.md`: Backend architecture and development guidelines
- `/backend/tests/Claude.md`: Backend test suite documentation
in /backend/tests/Claude.md we have
VERY IMPORTANT - ALWAYS IGNORE FOLDER ./backend/_tests_bc - it hold bc tests which I want to refactor manually
but claude still read that code and sometime try to reuse it
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗