Context Compression

Prevent context overflow with automatic session truncation and memory preservation.