In long-running AI sessions, the model eventually hits its "Context Limit" or begins to "drift" from its original persona. In this lesson, we master the Summarize & Carry technique to maintain 100% architectural fidelity over indefinitely long threads.
Instead of letting the model remember 50 previous messages, we force it to "Compress" its state into a single, high-density Technical Brief that serves as the new "Ground Truth" for the next phase of work.
Copy and paste this every 15-20 messages:
### SYSTEM COMMAND: ARCHITECTURAL COMPRESSION
1. Summarize all technical decisions made in this thread so far.
2. List the current 'Active Persona' and its core constraints.
3. Identify the next 3 pending milestones.
4. Confirm that we are ready to clear the chat buffer and continue from this state.
By summarizing, you "prune" irrelevant tokens (the "chitchat") and only carry forward the "Decision DNA." This keeps the model's reasoning sharp and reduces the risk of the AI hallucinating old, discarded ideas.
Use the compression technique to generate a "Project State" Markdown file for an automated bot project. The file must be high-density enough that a new AI thread could read it and continue the project without losing a single detail.