Context Priority Management

Problem: Often conversations can suddenly become chaotic and destructive: duplicating code, forgetting rules, deleting code, suddenly introducing completely new concepts, forgetting important concepts and ideas.

Solution: While this might be a naive idea, maybe it could work: Distinguish context by important content and normal content, so that when the context starts hitting the limit, the normal content is removed first. Important would be: rules, latest codebase, discussed and agreed upon on concepts.