[Bug] Anthropic API Error: Context accumulation triggers false positive safety filters across multi-file sessions

Open 💬 1 comment Opened Jul 4, 2026 by ariannamethod

Bug Description - AGAIN!
Additional data point (2026-07-05): the accumulation is cumulative and probabilistic, not a fixed "second file" rule. In one session, files 1 and 2 (a 142-line forward-pass and a 623-line orchestrator) passed cleanly; file 3 (a 1608-line self-contained module) flagged on its FIRST read — no offending message in that turn, the session merely already held two prior sets of routine findings (bounds/alloc/NaN wording). The same file in a fresh session is expected to pass. So the trigger scales with accumulated review context acrossfiles, and larger files raise the baseline — it is a rising probability, not a hard threshold. Net effect for a real audit: even benign organism code can be reviewed only a couple of files per session before a forced Opus switch.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.201
  • Feedback ID: 001c2a9d-e426-43f6-8dfe-431bc0ce01cd

Errors

[]

View original on GitHub ↗

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