Codex capability audit and independent additions

Add only independent missing capabilities. Existing or partially overlapping implementations stay unchanged. A different feature flag, tool name or implementation does not establish a missing function. This audit uses a pinned official source snapshot and does not claim parity with all current Codex products.

Coverage: 147 feature flags, 30 CLI subcommands and 38 tool-handler modules, all classified. Experimental, removed and internal entries are included; counts are not counts of independent product capabilities. Overlap classifications do not assert identical behavior.

Adoption contract

Retain a read-only permission-rule explanation/self-test CLI using the original matcher without changing enforcement. Retain optional macOS command-domain restrictions using an authenticated local proxy and Seatbelt; default networking stays unchanged, private destinations are rejected, and unsupported Linux/WSL domain mode refuses execution. Add optional idle-system-sleep prevention during agent execution, disabled by default and macOS only. An IOKit assertion belongs to each active execution and is released on completion, error or cancellation; display sleep and explicit user sleep are unaffected. Configuration is read at the next execution. Acquisition failure logs a warning without failing the task.

Earlier additions to context, patching, environment filtering, project instruction hierarchy and context-remaining tools are removed from this candidate, preserving existing implementations. Sleep prevention adds only a default-inactive resource lifecycle around dispatcher execution and does not replace execution algorithms.

Acceptance requirements

Final verification enters through public CLI rule explanations/assertions, sandbox command restrictions, configuration and the real dispatcher lifecycle. Cover disabled defaults, cleanup on failure, independent concurrent assertions and unsupported platforms, then affected tests, the full gate, documentation links and installed-App acceptance. No new passing results are claimed.

Subsystem comparison

IDDecision and rationaleExisting source
executionoverlap
Existing one-shot commands, owned cancellation, managed processes, stdin and terminal resources overlap. Do not replace them with unified_exec, zsh forks or shell snapshots.
openprogram/backend/local.py
openprogram/backend/process.py
openprogram/processes/store.py
openprogram/terminal_resources.py
contextoverlap
Context projection, summaries, budgets and occupancy already exist. Different algorithms or provider endpoints are overlapping implementations; leave them unchanged.
openprogram/context/request_compaction.py
openprogram/context/engine.py
openprogram/context/session_stats.py
openprogram/context/bounded_summary.py
patchoverlap
Patch editing, file-change receipts and worktrees already exist. Move syntax, fuzzy matching, line-ending preservation and streaming patch progress are extensions of existing behavior; excluded.
openprogram/programs/tools/files/apply_patch.py
openprogram/store/snapshot/checkpoint
openprogram/worktree
runtimeoverlap
Durable execution, programmatic calls and cancellation already exist. A JavaScript/V8 runtime or different execution transport would overlap, not fill a missing product function.
openprogram/agentic_programming/runtime
openprogram/programs/tools/code/execute_code.py
openprogram/execution
historyoverlap
Persistence, branches, resumable effects and transcript UI already exist. Codex rollout migration and compression concern a different storage format; no storage rewrite.
openprogram/store/session
openprogram/execution
apps/web/components/chat
memoryoverlap
Persistent memory, archived sources and consolidation exist. Foreign memory formats and passive screen memory expand that existing system and are excluded under the no-overlap rule.
openprogram/memory/core.py
openprogram/memory/management/source_archive.py
openprogram/memory/sleep
permissionsoverlap
Existing rule enforcement, approval and model review remain unchanged. Only a separate read-only rule explanation/self-test CLI is retained.
openprogram/agent/permissions/policy.py
openprogram/agent/permissions/approval.py
openprogram/agent/permissions/auto_review.py
openprogram/programs/workflow/security_review
sandboxoverlap
Existing Seatbelt and bubblewrap/WSL enforcement overlaps these mechanisms. Native Windows and Landlock are alternate implementations, not adopted.
openprogram/sandbox/__init__.py
openprogram/_platform/environment.py
networkmissing-retained
Baseline shell sandbox has a network boolean; safe_http protects managed HTTP clients, not arbitrary command sockets. Per-command OS-enforced destination domains are missing. Retain optional macOS managed proxy; default network modes remain unchanged.
openprogram/sandbox/__init__.py
openprogram/security/safe_http.py
openprogram/security/url_policy.py
providersoverlap
Model discovery, credential sources, proxy-aware HTTP, failover and transport already exist. OpenAI-specific payload compression and infinite retry policies are overlapping/provider-specific behavior; no replacement.
openprogram/providers
openprogram/auth
openprogram/security/safe_http.py
multiagentoverlap
Child agents, message delivery, durable jobs and goals already exist. Do not add a second collaboration or goal subsystem.
openprogram/programs/tools/agents
openprogram/agent/job
openprogram/programs/workflow/goal
mcpoverlap
MCP tools/resources/auth and resource interfaces exist. Protocol revisions, MCP Apps and endpoint overrides extend overlapping integrations; not automatically migrated.
openprogram/mcp/client.py
openprogram/mcp/oauth_flow.py
openprogram/resource_interface.py
openprogram/resources
discoveryoverlap
Tool discovery, marketplace installs, plugin hooks and skills already exist. Recommendations, sharing and dependency convenience features overlap these systems; leave them unchanged.
openprogram/programs/__init__.py
openprogram/plugins/marketplace.py
openprogram/plugins/installer.py
openprogram/plugins/hooks.py
openprogram/skills/discovery.py
openprogram/skills/loader.py
interactionoverlap
Questions, owner responses, queued follow-ups and messaging exist. Async variants and mention UI are overlapping interaction behavior.
openprogram/programs/tools/interaction/clarify.py
openprogram/programs/workflow/ask_user
openprogram/agent/agent_loop.py
openprogram/channels
weboverlap
Web search, image viewing, browser tools and GUI control exist. Provider-specific external/full-CDP variants are not new standalone gaps.
openprogram/programs/tools/web
openprogram/backend/gui.py
openprogram/browser_resources.py
apps/desktop
mediaoverlap
Images, attachments, speech output, dictation and canvas/artifacts exist. Full realtime duplex voice and image-budget algorithms overlap media subsystems; no rewrite or parity claim.
openprogram/programs/tools/web/image_generate
openprogram/programs/tools/web/image_analyze
openprogram/tts.py
openprogram/attachments.py
openprogram/programs/tools/interaction/canvas.py
apps/web
desktopoverlap
Worker supervision, chat, scheduled work and updates already exist. Transport/daemon variants remain unchanged.
openprogram/worker
openprogram/scheduler
openprogram/proactive
openprogram/self_update
apps/desktop
apps/cli
diagnosticsoverlap
Usage accounting, execution observation and health diagnostics exist. Plan-allowance history and internal Responses metadata are provider-specific or overlapping.
openprogram/usage
openprogram/events
openprogram/execution
apps/cli/python/openprogram_cli/_impl/commands/doctor.py
hooksoverlap
Existing hook/gate system remains unchanged; no new compaction gate in this scoped migration.
openprogram/events/bus.py
openprogram/events/shell_hooks.py
openprogram/plugins/hooks.py
guidanceoverlap
Agent workspace instructions, time/environment context, rendering guidance and bundled document dependencies exist. Project-rule hierarchy and a context-capacity tool overlap these existing abilities and are removed from the candidate.
openprogram/context/components.py
openprogram/agent/management/workspace.py
openprogram/office_assets.py
waitoverlap
Waiting/polling/scheduling already exists; no duplicate sleep tool.
openprogram/agentic_programming/runtime
openprogram/scheduler
openprogram/processes
powermissing
No baseline power assertion or sleep inhibitor found in runtime, desktop or scripts. Separate opt-in runtime power assertion is an independent missing capability; no display wake or permanent power-setting changes.
openprogram/_platform
openprogram/agent/dispatcher/loop_runner.py
Feature flags (147)
analytics_plan_historydiagnosticsExperimental
daemon_auto_startdesktopExperimental
transcript_v2historyUnderDevelopment
undopatchRemoved
shell_toolexecutionStable
view_imagewebStable
sleep_toolwaitStable
secret_auth_storageprovidersStable
unified_execexecutionStable
unified_exec_ttyexecutionStable
shell_zsh_forkexecutionUnderDevelopment
unified_exec_zsh_forkexecutionRemoved
shell_snapshotexecutionStable
powershell_shell_versionexecutionUnderDevelopment
shell_snapshot_v2executionUnderDevelopment
deferred_executorexecutionUnderDevelopment
cwd_relative_turn_diffspatchUnderDevelopment
js_replruntimeRemoved
content_item_kindsdiagnosticsStable
executed_tool_call_metadatadiagnosticsUnderDevelopment
code_moderuntimeUnderDevelopment
code_mode_buffered_execruntimeRemoved
code_mode_hostruntimeStable
code_mode_prewarmruntimeUnderDevelopment
code_mode_interruptruntimeUnderDevelopment
code_mode_onlyruntimeUnderDevelopment
js_repl_tools_onlyruntimeRemoved
terminal_resize_reflowguidanceRemoved
web_search_requestwebDeprecated
web_search_cachedwebDeprecated
standalone_web_searchwebUnderDevelopment
search_toolwebRemoved
codex_git_commitpatchRemoved
runtime_metricsdiagnosticsUnderDevelopment
sqlitehistoryRemoved
memoriesmemoryStable
external_agent_memory_importmemoryUnderDevelopment
local_thread_store_compressionhistoryUnderDevelopment
local_thread_store_shared_compressionhistoryRemoved
background_paginated_rollout_migrationhistoryUnderDevelopment
chroniclememoryUnderDevelopment
apply_patch_freeformpatchRemoved
apply_patch_streaming_eventspatchUnderDevelopment
apply_patch_preserve_line_endingspatchUnderDevelopment
exec_permission_approvalspermissionsUnderDevelopment
write_stdin_approvalpermissionsUnderDevelopment
hookshooksStable
request_permissions_toolpermissionsUnderDevelopment
use_linux_sandbox_bwrapsandboxRemoved
use_legacy_landlocksandboxDeprecated
request_rulepermissionsRemoved
experimental_windows_sandboxsandboxRemoved
elevated_windows_sandboxsandboxRemoved
windows_sandbox_servicesandboxUnderDevelopment
remote_modelsprovidersRemoved
api_key_model_discoveryprovidersUnderDevelopment
enable_request_compressionprovidersStable
unbounded_connection_retriesprovidersStable
network_proxynetworkExperimental
worktreespatchStable
respect_system_proxyprovidersUnderDevelopment
multi_agentmultiagentStable
multi_agent_v2multiagentStable
multi_agent_modemultiagentRemoved
enable_fanoutmultiagentRemoved
appsmcpStable
pspmcpUnderDevelopment
enable_mcp_appsmcpUnderDevelopment
mcp_2026_07_28mcpUnderDevelopment
codex_apps_mcp_2026_07_28mcpUnderDevelopment
mcp_oauth_refresh_coordinationmcpUnderDevelopment
use_xaaprovidersUnderDevelopment
apps_mcp_path_overridemcpRemoved
tool_searchdiscoveryRemoved
tool_search_always_defer_mcp_toolsdiscoveryRemoved
deferred_tool_world_statediscoveryUnderDevelopment
non_prefixed_mcp_tool_namesmcpUnderDevelopment
unavailable_dummy_toolsdiscoveryRemoved
tool_suggestdiscoveryStable
recommended_pluginsdiscoveryStable
pluginsdiscoveryStable
executor_capability_discoveryexecutionUnderDevelopment
skip_host_skill_discoverydiscoveryUnderDevelopment
plugin_hooksdiscoveryRemoved
in_app_browserwebStable
in_app_chatdesktopStable
in_app_dictationmediaStable
in_app_local_automationdesktopStable
in_app_updatesdesktopStable
browser_usewebStable
browser_use_full_cdp_accesswebStable
browser_use_externalwebStable
computer_usewebStable
remote_plugindiscoveryStable
plugin_sharingdiscoveryStable
external_migrationdiscoveryRemoved
image_generationmediaStable
omit_app_server_notification_mediamediaUnderDevelopment
image_resize_noticemediaUnderDevelopment
unified_image_budgetmediaUnderDevelopment
resize_all_imagesmediaRemoved
item_idshistoryRemoved
concurrent_reasoning_summariesdiagnosticsUnderDevelopment
skill_mcp_dependency_installdiscoveryStable
skill_searchdiscoveryStable
skill_env_var_dependency_promptdiscoveryRemoved
mentions_v2interactionStable
steerinteractionRemoved
default_mode_request_user_inputinteractionUnderDevelopment
send_async_messagemultiagentRemoved
send_message_to_user_asyncinteractionUnderDevelopment
terminal_visualization_instructionsguidanceUnderDevelopment
guardian_approvalpermissionsStable
guardianv2.thread_contextpermissionsUnderDevelopment
guardian_reuse_parent_compactionpermissionsUnderDevelopment
guardian_enhanced_node_repl_transcriptspermissionsUnderDevelopment
guardian_node_repl_transcript_imagespermissionsUnderDevelopment
guardianv2permissionsUnderDevelopment
guardian_extpermissionsRemoved
goalsmultiagentStable
token_budgetcontextUnderDevelopment
context_managementcontextUnderDevelopment
rollout_budgetcontextUnderDevelopment
reasoning_effort_overrideprovidersUnderDevelopment
current_time_reminderguidanceUnderDevelopment
nonfatal_clock_read_errorsguidanceUnderDevelopment
collaboration_modesmultiagentRemoved
tool_call_mcp_elicitationmcpStable
auth_elicitationmcpStable
bedrock_setup_wizardprovidersUnderDevelopment
personalityguidanceRemoved
artifactmediaUnderDevelopment
fast_modeprovidersStable
step_model_switchingprovidersUnderDevelopment
realtime_conversationmediaStable
remote_controldesktopRemoved
image_detail_originalmediaRemoved
tui_app_serverdesktopRemoved
prevent_idle_sleeppowerExperimental
workspace_owner_usage_nudgediagnosticsRemoved
responses_websocketsprovidersRemoved
responses_websockets_v2providersRemoved
remote_compaction_v2contextRemoved
compaction_image_budgetcontextStable
retain_client_developer_messagescontextUnderDevelopment
use_agent_identityprovidersUnderDevelopment
workspace_dependenciesguidanceStable
CLI (30)
Agentshistory
TcpTunnelinternal
Execexecution
Reviewexecution
Loginproviders
Logoutproviders
Mcpmcp
Plugindiscovery
AppServerdesktop
RemoteControldesktop
Appdesktop
Completiondesktop
Updatedesktop
Doctordiagnostics
Sandboxsandbox
Debugdiagnostics
Execpolicypermissions
Applypatch
Resumehistory
Queuehistory
Archivehistory
Deletehistory
MigrateRolloutshistory
Unarchivehistory
Forkhistory
Cloudexternal
ResponsesApiProxyinternal
StdioToUdsinternal
ExecServerexecution
Featuresdiagnostics
Tool handlers (38)
apply_patchpatch
apply_patch_specpatch
current_timeguidance
dynamicdiscovery
extension_toolsdiscovery
get_context_remainingguidance
get_context_remaining_specguidance
list_available_plugins_to_installdiscovery
list_available_plugins_to_install_specdiscovery
mcpmcp
mcp_resourcemcp
mcp_resource_specmcp
multi_agentsmultiagent
multi_agents_commonmultiagent
multi_agents_specmultiagent
multi_agents_v2multiagent
new_context_windowcontext
new_context_window_speccontext
planmultiagent
plan_specmultiagent
request_permissionspermissions
request_plugin_installdiscovery
request_plugin_install_specdiscovery
request_user_inputinteraction
request_user_input_asyncinteraction
request_user_input_specinteraction
send_message_to_user_asyncinteraction
shell_specexecution
sleepwait
test_syncinternal
test_sync_specinternal
tool_searchdiscovery
tool_search_specdiscovery
unified_execexecution
view_imageweb
view_image_specweb
wait_for_environmentwait
permission_preapproval_testsinternal

external denotes dependence on an OpenAI-hosted service; internal denotes transport or test infrastructure, not an independently portable product gap.

Sources and limits

Official Codex source: codex-rs/features/src/lib.rs, codex-rs/cli/src/main.rs, codex-rs/core/src/tools/handlers/mod.rs, codex-rs/utils/sleep-inhibitor. Exact reference revision and local change evidence are recorded in the local ledger. This covers public capability entry points, not a line-by-line review of every Rust crate or closed service.

Implementation status

Verification status: full-gate-failed. The full Python run reports 9,722 passed, 5 failed, 133 skipped, 1 expected failure and 26 setup errors. The one new failure (navigation title length) is repaired; all 28 affected documentation and power checks pass. The other four failures and the same 26 Goal setup errors reproduce before this migration. Goal tests pass in isolation (27 on the candidate), but shared test-state contamination still blocks the full gate. New-capability tests pass (28), Web tests pass (843), Web production build and 734-page documentation build pass, and Ruff, landing, language and link checks pass. Native macOS power assertion acquisition/release and isolated CLI configuration set/get are verified. No installed App refresh or remote push is claimed.