[](https://jxnl.co/writing/2025/08/30/context-engineering-compaction/#__codelineno-1-1)context_{new} = compact(context_full) + β(learning_trajectory)