KiS 24/7 Veteran Owned
KiS Blog

Why Does Claude Code Drift on Long Tasks? How to Steer It

November 29, 2026 ยท Watch the 3-minute video or read the short version below

The short version
  • It's mostly steering, not sabotage. Long Claude Code runs drift when the context gets squeezed carelessly or "done" is vague. Anthropic says Claude doesn't silently sabotage work.
  • Three habits fix most of it: start in plan mode, set a /goal Claude can check, and nudge it mid-run instead of starting over.
  • The one limit: /goal only reads the chat transcript, so "done" has to be something Claude can run and show, like a test.

Why long Claude Code tasks drift

Asking Claude Code for a quick fix is easy: you ask, it works, you check. A build that takes hours is different. The longer it runs, the more the conversation fills up and gets summarized, and the more chances Claude has to wander off on a side task. Anthropic's own lesson on this, "Steering long sessions", boils it down to two habits: scope the work before Claude starts, and steer it while it runs.

My test: a client portal, planned first

I used Claude Code on the web and switched to plan mode before asking for anything. The request: an onboarding portal for an AI agency's new client, a dental office (Brightline Dental is a made-up sample, and the deposit step is only a placeholder), with a three-step intake form, a deposit step and a results dashboard, plus a test script that checks every form field.

Two more steering tools for long sessions

Let Claude check its own work

The Claude Code team calls verification its number one tip: give Claude a way to test what it built. For web pages that means the Claude Code Chrome extension (it works in Chrome or Edge) or the Desktop app's built-in browser, so Claude can open the page and fix what looks wrong. Going further, claude --worktree gives each session its own copy of the files (the team runs three to five at once), and /schedule runs cloud jobs that keep going with your laptop closed. Scheduled cloud jobs, sandboxing, remote control and voice are off by default and can be turned off by your organization.

The one real limit: /goal's checker only reads the transcript. "Make it good" can't be checked. "node test.js reports 0 failures" can, because the test result shows up in the chat.

Why this matters if you run a business

Long builds are where an agency or a solo builder loses billable hours: a run that drifts means doing it again. Plan first, set one goal Claude can test, and a client project can finish in one run instead of three. Not sure which build is worth handing to Claude in the first place? Our guide to whether to build an AI tool or buy one walks through how to decide.

Learning AI from scratch?

Join the free KiS Skool community. Ask questions, get unstuck, and learn AI alongside other beginners.

Join the free Skool

Prefer to watch? Watch on YouTube