Codex Desktop auto-compaction sends unsupported `context_compaction` item type

Description

When working in Codex Desktop, automatic context compaction can break the current thread with an API validation error.

The error says that an input item has type context_compaction, but the API schema only accepts compaction and compaction_trigger among the compaction-related item types.

This appears similar to or the same class of issue as:

Error

[ItemParam] [input[733]] [invalid_enum_value] Invalid value: 'context_compaction'. Supported values are: 'additional_tools', 'apply_patch_call', 'apply_patch_call_output', 'code_interpreter_call', 'compaction', 'compaction_trigger', 'computer_call', 'computer_call_output', 'custom_tool_call', 'custom_tool_call_output', 'file_search_call', 'function_call', 'function_call_output', 'image_generation_call', 'item_reference', 'local_shell_call', 'local_shell_call_output', 'mcp_approval_request', 'mcp_approval_response', 'mcp_call', 'mcp_list_tools', 'message', 'reasoning', 'shell_call', 'shell_call_output', 'tool_search_call', 'tool_search_output', and 'web_search_call'.

Hey, as a workaround, try starting a new thread with a brief summary of your task and progress. This may let you continue working, though it won't fix the underlying issue.

If the issue still persists, could you share your Codex Desktop version, operating system, and whether the same behavior occurs in new threads?

Avinash