Functioncompact_resume_and_fork_preserve_model_history_viewScenario: compact an initial conversation, resume it, fork one turn back, and ensure the model-visible history matches expectations at each request.
codex-rs/core/tests/suite/compact_resume_fork.rs:48