Not a bug. Every model has a limited context window, and in a long session the early decisions get squeezed out or summarised away.
What works for me:
- Write decisions down in the repo, not in the chat. A short
DECISIONS.mdor a section in AGENTS.md: table names, what is finished, what not to touch. - One task per session. When a task is done, start fresh with
/new. The new session reads AGENTS.md again, so it knows the decisions without the noise. - If you must keep going,
/compactsummarises the conversation so far. Better than nothing, but a file beats a summary.