Proposed upstream fix: PR #26142.
The PR contains only the provider-scoped resume-compaction repair and its regression tests. It includes before/after screenshots and the reverse Codex-to-cold-Claude control. All 63 focused tests and exact-commit fork CI passed on 1fe0a60a58fcbb11e3f52663abf06ef91a9bdf98. No maintainer approval or post-install live-provider verification is claimed.