Forumics logo Forumics
Issue 01

Back to issue

All Claude Code known issues

CLAIM C182 Supported 2026-11-23

GitHub issue #38255 in anthropics/claude-code, opened 2026-03-24 by siah-maraat, records a report that while in plan mode, the model (Claude Opus 4.6) made direct edits to source files (api/app/routers/facility_payouts.py) despite multiple system reminders stating plan mode was active and that only the plan file could be edited: after the user rejected ExitPlanMode and gave clarifying information, the model made 4 Edit tool calls to the source file while plan mode system reminders were still being injected into tool results, and the user had to manually intervene. The report states the model should only edit the plan file while in plan mode, and should call ExitPlanMode before making any source code changes. System cited: Claude Opus 4.6 (1M context), macOS (Darwin 25.3.0).

Verbatim Excerpts from Cited Records
“While in plan mode, the model (Claude Opus 4.6) made direct edits to source files (`api/app/routers/facility_payouts.py`) despite multiple system reminders stating plan mode was active and that only the plan file could be edited.”
— siah-maraat · anthropics/claude-code (issue 38255 opening body, What happened section) · 2026-03-24T14:13:54Z ·GitHub Issue ↗
“The model should only edit the plan file while in plan mode, and should call `ExitPlanMode` before making any source code changes.”
— siah-maraat · anthropics/claude-code (issue 38255 opening body, Expected behavior section) · 2026-03-24T14:13:54Z ·GitHub Issue ↗
“The model ignored the plan mode system reminders and made edits to `api/app/routers/facility_payouts.py` directly. The user had to manually intervene ("you know you are in plan mode right").”
— siah-maraat · anthropics/claude-code (issue 38255 opening body, Actual behavior section) · 2026-03-24T14:13:54Z ·GitHub Issue ↗
“Model proceeds to make 4 `Edit` tool calls to the source file while plan mode system reminders were still being injected into tool results”
— siah-maraat · anthropics/claude-code (issue 38255 opening body, Steps to reproduce section) · 2026-03-24T14:13:54Z ·GitHub Issue ↗
Counter-record: Issue open with 30 comments; no maintainer response or fix appears in the surveyed thread. github-actions[bot] (2026-03-24) flagged 3 possible duplicates (#33037, #21292, #23163) with an auto-close warning, but the issue stayed open after further user comments and no maintainer duplicate closure followed. Many users confirm the same behaviour on later versions, including sabeekpradhan (2026-03-26, 2.1.84, Opus 4.6), pcafstockf (2026-07-01, still a serious problem on Opus 4.6), and johnaweiss (2026-11-22, still reproducing 8 months on, desktop app 6.28899.6 with Opus 5.5). blueohsix (2026-05-15) reports that toggling the "Use auto mode during plan" configuration to false made the model respect plan mode again, suggesting an auto-mode interaction, which was not independently verified here. No author retraction appears in the surveyed thread. The claim documents only the original report, not a verified current state. Falsification probe: If GitHub issue #38255 is deleted without archive, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn. Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by scripts/verify_claim_verbatim.py.