ποΈ Reversible Output Compression
OrchestKit
mcp-output-transform.ts
β lossy vs reversible truncation
#2264
Sample tool output
Mode
β Lossy (today)
β Reversible (#2264)
Reversible stashes the full original to disk and emits a
Read
pointer instead of discarding the middle.
Tuning
Truncation threshold
ch
Head chars kept
Tail chars kept
Chars per token
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
Copy