Claude Code's context window is a liability. The longer a session runs, the more you're paying to re-read your own conversation history — and the more likely the model drifts on earlier context. Here's the workflow I landed on to fix it: one task, one worktree, one session, one commit . The Problem When you use Claude Code on a long task, context accumulates fast: Earlier decisions get buried Token costs climb /clear wipes everything, including useful state Switching between tasks in the same se
Comment
Sign in to join the discussion.
Loading comments…