πŸ—œοΈ Reversible Output Compression

OrchestKit mcp-output-transform.ts β€” lossy vs reversible truncation #2264

Sample tool output

Mode

Reversible stashes the full original to disk and emits a Read pointer instead of discarding the middle.

Tuning

Default ork values: threshold 2000, head 1200, tail 600. CC persists >50K natively β€” above that, both modes skip (the guard).
Original
–
Sent to Claude
–
Token savings
–
Original output–

      
Compressed result–

        
⚠️ This output is above the 50K CC-persist threshold β€” both modes skip. CC keeps it in context natively (file-ref). ork must not re-truncate.

πŸ“‹ Prompt