Codex remote compaction v2 retains raw media, causing repeated auto-compaction
LeonSGP43 · ghdev · 2026-08-16
A user reports that in long Codex Desktop sessions, remote compaction v2 retains raw image and audio payloads, causing high context usage and repeated auto-compaction. The root cause is that compactremotev2.rs assigns zero text-token cost to InputImage and InputAudio while preserving raw items. The proposed fix is to replace media items with text markers before truncation and add regression tests.
More from coding & agent
- 14 open-source LLM observability tools to know in 2026, from Langfuse to Laminar — TheTuringPost · 2026-10-16
- Reddit debate: What are autonomous AI agents actually doing in production today? — hangman_111111 · 2026-10-16
- Kernel-Level Agent Sandboxing With macOS Seatbelt, No Docker Needed — mostly_deterministic · 2026-10-16
- Moving agent work from GPUs to CPUs for durable, predictable actions — cramforce · 2026-10-16
- Jev tutorial: 106x cheaper, 180ms yes/no gates replace PASS/FAIL string matching — max_paperclips · 2026-10-16
- Stop giving agents raw API keys: prepaid balances and per-credential caps — Cold_Hall_5384 · 2026-10-16