# AIDEN

- **Event:** [Built with Opus 4.7: a Claude Code hackathon](https://cerebralvalley.ai/e/built-with-4-7-hackathon)
- **When:** Apr 21 at 12:00 PM – Apr 27 at 2:00 AM (EDT)
- **Where:** Online
- **Team:** [Aiden Hecker](https://cerebralvalley.ai/u/aidenhecker)
- **GitHub:** https://github.com/hmatrades/PACT
- **Demo video:** https://youtu.be/No8pofFf8-U
- **Gallery:** https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery/266

PACT is a semantic compression format that beats ZIP by 40% on codebases and replaces Claude Code's /compact with an  
  18.4x lossless compaction engine.      
                                                                                                                        
  Three things in one tool:                                                                                             
                                                                                                                        
  1. File compression — brotli solid archive that concatenates all files into one compression stream. Cross-file pattern
   deduplication that ZIP physically cannot do. 40% smaller on a 79-file real project. Semantic inspection shows every
  function, import, and class without decompressing.                                                                    
                                                            
  2. Claude Code compaction plugin — one command (pact install --global) hooks into every session. Heuristic structural 
  extraction at 50% context, zero API calls. 18.4x compression vs /compact's 4.0x, with 92% information retention vs
  68%. The AI keeps structured state instead of lossy prose summaries.                                                  
                                                            
  3. Native OS integration — right-click any file on macOS, Windows, or Linux to pack/unpack. Native Swift progress UI  
  on macOS. One command setup: npx pact-cc setup.
                                                                                                                        
  BARUTU SNAKE: PACT compressed the Claude Code session that built PACT. 179 turns, 1.6M tokens → 46K tokens, 34.3x     
  lossless. Reproducible: node benchmarks/run.mjs --tasks 012-barutu-snake.
                                                                                                                        
  150 tests passing. Built in 5 days. pact.zip

---

Markdown version of https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery/266. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
