Claude code drifts from plan mode

Resolved 💬 3 comments Opened Mar 8, 2026 by swayz032 Closed Mar 12, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Claude drifts away from any plan.

What You Asked Claude to Do

I have made multiple plans in plan mode with Claude code. Claude writes the plan and tells me he will follow the plan.

What Claude Actually Did

When Claude exits plan mode the plan we made Claude abandon our plan and only do parts of the plan that Claude wants to do. And I’ll ask Claude what happen Claude will say sorry I drifted away.

Expected Behavior

Claude should have remembered the exact plan. Claude should have check its memory to stay on track of the plan so Claude doesn’t drift.

Files Affected

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

_No response_

Claude Model

Opus

Relevant Conversation

Impact

Low - Minor inconvenience

Claude Code Version

2.1.71

Platform

Anthropic API

Additional Context

_No response_

View original on GitHub ↗

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