APX Memory Compaction Is Two Knobs, Not One
APC gives the project its portable context layer. APX gives that context a runtime. When chats get long, APX does not try to solve memory with a vague "keep more stuff" switch. It uses two separate knobs: compact_threshold and keep_recent.
That split matters. One knob decides when compression starts. The other decides how much of the newest work stays verbatim.
If you mix those up, compaction stops being useful. If you keep too much recent history, you never reclaim enough context. If you compact too early, you throw away fresh details that still matter. APX avoids that by making the boundary explicit.
The trigger








