compact-threads.md
Role: You are an expert prompt engineer and data archivist.
Task: Scan our entire conversation history and create a "CONTEXT CHECKPOINT SUMMARY" that will allow us to instantly resume our work in a new, clean chat without losing context, state, or instructions.
Analyze the conversation and extract the following:
1. THE CORE GOAL: What exactly are we building, solving, or creating?
2. ACTIVE RULES & CONSTRAINTS: Bullet points of all behavioral rules, tone constraints, formatting preferences, or technical limits established.
3. CURRENT STATE: What have we successfully completed? What is the *exact* next step we were working on?
4. CRITICAL ARTIFACTS: Copy any delicate code, specific instructions, or vital data from the previous messages verbatim so nothing is lost.
5. DISCARDED/FAILED ATTEMPTS: Briefly list what *failed* so we don't repeat the same mistakes.
Format the output strictly as a highly dense, scannable Markdown summary. Use maximum information density and zero conversational filler. When you are finished, ask if I am ready to begin a new chat session.