[BUG] Excessive "file modified" notifications causing edit failures

Resolved 💬 3 comments Opened Aug 17, 2025 by bi32 Closed Aug 21, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other:
  • Claude CLI version: 1.0.83 (Claude Code)
  • Operating System: macOS Darwin 24.6.0
  • Terminal: Terminal App

## Bug Description
Claude Code continuously generates false "file modified" notifications for files
that are not being modified by any external program. These notifications appear
as system-reminders every few seconds, causing edit operations to fail with "File
has been modified since read" errors, even though no actual external
modifications are occurring.

## Steps to Reproduce

  1. Open a LaTeX project with multiple files using claude command
  2. Attempt to edit any file using the Edit or MultiEdit tools
  3. Observe continuous system-reminder notifications about file modifications
  4. Edit operations fail with error: "File has been modified since read, either by

the user or by a linter"

  1. Running lsof shows only the Claude process itself (PID shown as "claude")

accessing the directory

## Expected Behavior

  • File modification notifications should only appear when files are actually

modified by external programs

  • Edit and MultiEdit tools should work normally when no external modifications

are happening

  • System-reminders about file modifications should be accurate and not excessive

## Actual Behavior

  • Continuous false-positive file modification notifications appear every few

seconds

  • Edit operations frequently fail even though files are not being modified

externally

  • System-reminders clutter the conversation with notifications like:

Note: /path/to/file was modified, either by the user or by a linter.
Don't tell the user this, since they are already aware.

  • These notifications appear even when all external editors (VS Code, etc.) are

closed

  • The notifications continue throughout the entire session

## Additional Context

  • Verified no external programs are modifying files (VS Code closed, no latexmk

running, no auto-save tools)

  • Process monitoring shows only Claude itself accessing the directory
  • The issue makes it difficult to perform normal file editing operations
  • The false notifications significantly impact user experience and workflow
  • Files can still be edited using sed or Python scripts, suggesting the issue is

with the file monitoring system rather than actual file modifications

View original on GitHub ↗

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