DEFINITION
Context Rot
Context Rot / Context Decay
Definition
Degradation of code quality and maintainability over time due to accumulated duplication, outdated assumptions, and loss of original context. Occurs when AI agents generate code without human oversight of architectural decisions and long-term maintainability implications.
Examples in the Wild
- Example 1:Duplicated code patterns across AI-generated features
- Example 2:Outdated dependencies in AI-generated code
- Example 3:Loss of architectural consistency
- Example 4:Unmaintainable code that breaks in production