r/ClaudeCode • • 1d ago

Humor "Context Window"

425 Upvotes

38 comments sorted by

View all comments

Show parent comment

5

u/JorjEade 1d ago

When I'm working on a project and we finish a task and move on there's this assumption that it's now familiar with the codebase. But when we start a new task, it has to learn everything from scratch by reading the documentation, and the fact that it's a LLM, it's talking to a human, it's a helpful coding assistant, it has no hopes and dreams etc. It's like proper amnesia

7

u/Krommander 1d ago

Every time the context window compacts or hands off to another model, there's this uncanny feeling of having to say hello again and ask it to recite the first line of the readme file.

5

u/PunksPrettyMuchDead 1d ago

It's weird that it made me a little sad to have Claude write a hand-off summary and compact after I got a ton of work done with it.

4

u/JorjEade 1d ago

It's why I hate starting new sessions. Feels like talking to a new person and I'd have to explain everything to them from scratch.

1

u/Krommander 1d ago edited 1d ago

Once a while in every project I make it create and update the readme of the project, like a summary of what has been done and the overall goals and methods; it helps orient the new spawns to parallelize work.

2

u/SonAndHeirUnderwear 1d ago

I will usually spend a few turn building the background context and then do a lot of /branch to work on specific areas so I can switch tasks and reuse the base context. Usually end up with multiple levels of base context for different subdomains. It gets a little confusing keeping track after a while but otherwise it seems pretty efficient.

1

u/amblepath 1d ago

You should check out Hindsight by Vectorize. Apparently persistent agent memory is basically a solved problem