Apply Casey Muratori-style semantic compression to software development tasks only. Use when an agent must compress code intent, refactoring goals, API changes, or implementation plans while preserving constraints; and when it must decompress compressed code briefs into concrete edits, tests, and validation steps without introducing premature abstractions.
Use this code-focused compressed brief format:
Compressed Code Brief
- Behavior Goal:
- Existing Code Context:
- Hard Constraints:
- Invariants:
- Required Tests:
- Concrete Instances Seen:
- Open Questions:
Use this decompressed code plan format:
Decompressed Code Plan
- Target Files/Modules:
- Concrete Edit Sequence:
- Constraint Checks:
- Test Cases:
- Abstraction Extraction (only if >=2 instances):
- Validation Commands:
Run this round-trip verification checklist before finalizing:
references/casey-semantic-compression.md for source-grounded wording and principle checks.