## Compact Memory

When compressing context, preserve information in this order:

1. Architecture decisions and irreversible constraints
2. Files already modified or generated
3. Verification status, failing checks, and open contract gaps
4. Remaining TODOs and follow-up risks
5. Tool output only as conclusions, not raw logs

Never rename identifiers, paths, plan slugs, contract filenames, or other established references during compression.
