When long threads quietly change the project
dev.to·1d·
Discuss: DEV
🧪Compiler Testing
Preview
Report Post

How context windows actually decay

I kept a single chat thread open for three days while iterating on a refactor. At first the model followed the constraints I fed it: Node 14, CommonJS, knex queries. By day two it started suggesting async functions and syntax that only exists in Node 16 and later. Nothing in the last few messages said "switch runtimes," but recent turns dominated. The model still had the early constraints in the full context, but attention is not uniform. Recent tokens pull harder. You end up with answers that fit the last few edits while quietly violating earlier guardrails.

Hidden assumptions become project defaults

In one bug I chased for half a day, the model kept producing SQL that assumed a case-sensitive column name. Our database used lowercase i…

Similar Posts

Loading similar posts...