Whenever you're ready, walk me through how you'd approach this.
Explain how you manage context windows and persistent memory in long-running agent interactions without running into latency spikes or context dilution.
Discuss an end-to-end production design, including memory representation, retrieval and ranking, context compression, online versus batch processing, consistency, evaluation, monitoring, and failure handling. State assumptions where requirements are unspecified.