Codex capability audit
Rule: add only an independent missing capability. A different flag, tool name or implementation does not make one; overlaps stay unchanged.
- 147
- feature flags
- 30
- CLI subcommands
- 38
- tool-handler modules
All classified, including experimental, removed and internal entries, so these are not counts of independent capabilities. An overlap classification does not assert identical behaviour.
Adopted
| Subsystem | Decision and reason |
|---|---|
openprogram permissions check, test | Read-only explanation and self-test of permission rules with the original matcher. Enforcement unchanged. |
| Command network domains | Optional, macOS: authenticated local proxy plus Seatbelt. Default networking unchanged. Private destinations rejected. Linux and WSL refuse execution in domain mode. |
execution.prevent_idle_sleep | Off by default. One handle per active execution, released on completion, error or cancellation: an IOKit assertion on macOS, a system-required power request on Windows, a systemd-inhibit lock on idle and sleep on Linux. Display sleep is unaffected; on Linux a suspend the user asks for waits too. Read at the next execution. Failure to acquire logs a warning; the task continues. A resource lifecycle around dispatcher execution only. |
bash sessions | See execution below. |
execution | bash follows unified_exec's exec_command: it yields after yield_time_ms and a running command continues as a session that write_stdin polls, interrupts or types into (tty), with Codex's 64-session cap and LRU pruning. Sessions run on the existing managed-process supervisor, so they survive worker restarts. zsh forks and shell snapshots are not adopted. See command sessions. |
network | 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. |
power | 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. |
Not added: context, patching, environment filtering, project instruction hierarchy, context-remaining tools. Existing implementations stay.
Overlaps, left unchanged
| Subsystem | Decision and reason |
|---|---|
context | Context projection, summaries, budgets and occupancy already exist. Different algorithms or provider endpoints are overlapping implementations; leave them unchanged. |
patch | 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. |
runtime | Durable execution, programmatic calls and cancellation already exist. A JavaScript/V8 runtime or different execution transport would overlap, not fill a missing product function. |
history | Persistence, branches, resumable effects and transcript UI already exist. Codex rollout migration and compression concern a different storage format; no storage rewrite. |
memory | 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. |
permissions | Existing rule enforcement, approval and model review remain unchanged. Only a separate read-only rule explanation/self-test CLI is retained. |
sandbox | Existing Seatbelt and bubblewrap/WSL enforcement overlaps these mechanisms. Native Windows and Landlock are alternate implementations, not adopted. |
providers | 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. |
multiagent | Child agents, message delivery, durable jobs and goals already exist. Do not add a second collaboration or goal subsystem. |
mcp | MCP tools/resources/auth and resource interfaces exist. Protocol revisions, MCP Apps and endpoint overrides extend overlapping integrations; not automatically migrated. |
discovery | Tool discovery, marketplace installs, plugin hooks and skills already exist. Recommendations, sharing and dependency convenience features overlap these systems; leave them unchanged. |
interaction | Questions, owner responses, queued follow-ups and messaging exist. Async variants and mention UI are overlapping interaction behavior. |
web | Web search, image viewing, browser tools and GUI control exist. Provider-specific external/full-CDP variants are not new standalone gaps. |
media | 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. |
desktop | Worker supervision, chat, scheduled work and updates already exist. Transport/daemon variants remain unchanged. |
diagnostics | Usage accounting, execution observation and health diagnostics exist. Plan-allowance history and internal Responses metadata are provider-specific or overlapping. |
hooks | Existing hook/gate system remains unchanged; no new compaction gate in this scoped migration. |
guidance | 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. |
wait | Waiting/polling/scheduling already exists; no duplicate sleep tool. |
Source paths
| Subsystem | Paths |
|---|---|
execution | openprogram/programs/tools/files/bash/session.pyopenprogram/programs/tools/files/write_stdin.pyopenprogram/host/processes/openprogram/host/resources/terminal.py |
context | openprogram/runtime/context/compaction/request.pyopenprogram/runtime/context/engine.pyopenprogram/runtime/context/token_accounting/session_stats.pyopenprogram/runtime/context/compaction/bounded_summary.py |
patch | openprogram/programs/tools/files/apply_patch.pyopenprogram/state/store/snapshot/checkpointopenprogram/state/worktree |
runtime | openprogram/runtime/agent/runtimeopenprogram/programs/tools/code/execute_code.pyopenprogram/runtime/execution |
history | openprogram/state/store/sessionopenprogram/runtime/executionapps/web/components/chat |
memory | openprogram/state/memory/store.pyopenprogram/state/memory/scheduler.py |
permissions | openprogram/runtime/permissions/policy.pyopenprogram/runtime/permissions/approvals/approval.pyopenprogram/runtime/permissions/auto_mode/auto_review.py |
sandbox | openprogram/host/sandbox/__init__.pyopenprogram/host/_platform/environment.py |
network | openprogram/host/sandbox/__init__.pyopenprogram/host/security/safe_http.pyopenprogram/host/security/url_policy.py |
providers | openprogram/models/providersopenprogram/models/authopenprogram/host/security/safe_http.py |
multiagent | openprogram/programs/tools/agentsopenprogram/runtime/jobsopenprogram/programs/tools/planning/goal |
mcp | openprogram/extensions/mcp/client.pyopenprogram/extensions/mcp/oauth_flow.pyopenprogram/host/resources |
discovery | openprogram/programs/__init__.pyopenprogram/extensions/plugins/marketplace.pyopenprogram/extensions/plugins/installer.pyopenprogram/extensions/plugins/hooks.pyopenprogram/extensions/skills/discovery.pyopenprogram/extensions/skills/loader.py |
interaction | openprogram/programs/tools/interaction/clarify.pyopenprogram/programs/tools/interaction/ask_user.pyopenprogram/runtime/agent/loop/openprogram/interfaces/channels |
web | openprogram/programs/tools/webopenprogram/programs/tools/computer_use/computer_use/code_mode/sandbox/isolation.pyopenprogram/programs/applications/browserapps/desktop |
media | openprogram/programs/tools/web/image_generateopenprogram/programs/tools/web/image_analyzeopenprogram/interfaces/speech/tts.pyopenprogram/state/attachments.pyopenprogram/programs/tools/interaction/canvas.pyapps/web |
desktop | openprogram/operations/workeropenprogram/runtime/scheduleropenprogram/runtime/proactiveopenprogram/operations/self_updateapps/desktopapps/cli |
diagnostics | openprogram/models/usageopenprogram/runtime/eventsopenprogram/runtime/executionopenprogram/interfaces/cli/commands/maintenance/doctor.py |
hooks | openprogram/runtime/events/bus.pyopenprogram/runtime/events/shell_hooks.pyopenprogram/extensions/plugins/hooks.py |
guidance | openprogram/runtime/context/prompt_assembly/components.pyopenprogram/runtime/agent_registry/workspace.pyopenprogram/programs/applications/office_editor/assets.py |
wait | openprogram/runtime/agent/runtimeopenprogram/runtime/scheduleropenprogram/host/processes |
power | openprogram/host/_platformopenprogram/runtime/conversation/turn_runtime/loop_runner.py |
Feature flags (147)
| Subsystem | Status: flags |
|---|---|
diagnostics | Experimental: analytics_plan_historyStable: content_item_kindsUnder development: executed_tool_call_metadata, runtime_metrics, concurrent_reasoning_summariesRemoved: workspace_owner_usage_nudge |
desktop | Experimental: daemon_auto_startStable: in_app_chat, in_app_local_automation, in_app_updatesRemoved: remote_control, tui_app_server |
history | Under development: transcript_v2, local_thread_store_compression, background_paginated_rollout_migrationRemoved: sqlite, local_thread_store_shared_compression, item_ids |
patch | Removed: undo, codex_git_commit, apply_patch_freeformUnder development: cwd_relative_turn_diffs, apply_patch_streaming_events, apply_patch_preserve_line_endingsStable: worktrees |
execution | Stable: shell_tool, unified_exec, unified_exec_tty, shell_snapshotUnder development: shell_zsh_fork, powershell_shell_version, shell_snapshot_v2, deferred_executor, executor_capability_discoveryRemoved: unified_exec_zsh_fork |
web | Stable: view_image, in_app_browser, browser_use, browser_use_full_cdp_access, browser_use_external, computer_useDeprecated: web_search_request, web_search_cachedUnder development: standalone_web_searchRemoved: search_tool |
wait | Stable: sleep_tool |
providers | Stable: secret_auth_storage, enable_request_compression, unbounded_connection_retries, fast_modeRemoved: remote_models, responses_websockets, responses_websockets_v2Under development: api_key_model_discovery, respect_system_proxy, use_xaa, reasoning_effort_override, bedrock_setup_wizard, step_model_switching, use_agent_identity |
runtime | Removed: js_repl, code_mode_buffered_exec, js_repl_tools_onlyUnder development: code_mode, code_mode_prewarm, code_mode_interrupt, code_mode_onlyStable: code_mode_host |
guidance | Removed: terminal_resize_reflow, personalityUnder development: terminal_visualization_instructions, current_time_reminder, nonfatal_clock_read_errorsStable: workspace_dependencies |
memory | Stable: memoriesUnder development: external_agent_memory_import, chronicle |
permissions | Under development: exec_permission_approvals, write_stdin_approval, request_permissions_tool, guardianv2.thread_context, guardian_reuse_parent_compaction, guardian_enhanced_node_repl_transcripts, guardian_node_repl_transcript_images, guardianv2Removed: request_rule, guardian_extStable: guardian_approval |
hooks | Stable: hooks |
sandbox | Removed: use_linux_sandbox_bwrap, experimental_windows_sandbox, elevated_windows_sandboxDeprecated: use_legacy_landlockUnder development: windows_sandbox_service |
network | Experimental: network_proxy |
multiagent | Stable: multi_agent, multi_agent_v2, goalsRemoved: multi_agent_mode, enable_fanout, send_async_message, collaboration_modes |
mcp | Stable: apps, tool_call_mcp_elicitation, auth_elicitationUnder development: psp, enable_mcp_apps, mcp_2026_07_28, codex_apps_mcp_2026_07_28, mcp_oauth_refresh_coordination, non_prefixed_mcp_tool_namesRemoved: apps_mcp_path_override |
discovery | Removed: tool_search, tool_search_always_defer_mcp_tools, unavailable_dummy_tools, plugin_hooks, external_migration, skill_env_var_dependency_promptUnder development: deferred_tool_world_state, skip_host_skill_discoveryStable: tool_suggest, recommended_plugins, plugins, remote_plugin, plugin_sharing, skill_mcp_dependency_install, skill_search |
media | Stable: in_app_dictation, image_generation, realtime_conversationUnder development: omit_app_server_notification_media, image_resize_notice, unified_image_budget, artifactRemoved: resize_all_images, image_detail_original |
interaction | Stable: mentions_v2Removed: steerUnder development: default_mode_request_user_input, send_message_to_user_async |
context | Under development: token_budget, context_management, rollout_budget, retain_client_developer_messagesRemoved: remote_compaction_v2Stable: compaction_image_budget |
power | Experimental: prevent_idle_sleep |
CLI subcommands (30)
| Class | Entries |
|---|---|
history | Agents, Resume, Queue, Archive, Delete, MigrateRollouts, Unarchive, Fork |
internal | TcpTunnel, ResponsesApiProxy, StdioToUds |
execution | Exec, Review, ExecServer |
providers | Login, Logout |
mcp | Mcp |
discovery | Plugin |
desktop | AppServer, RemoteControl, App, Completion, Update |
diagnostics | Doctor, Debug, Features |
sandbox | Sandbox |
permissions | Execpolicy |
patch | Apply |
external | Cloud |
Tool handlers (38)
| Class | Entries |
|---|---|
patch | apply_patch, apply_patch_spec |
guidance | current_time, get_context_remaining, get_context_remaining_spec |
discovery | dynamic, extension_tools, list_available_plugins_to_install, list_available_plugins_to_install_spec, request_plugin_install, request_plugin_install_spec, tool_search, tool_search_spec |
mcp | mcp, mcp_resource, mcp_resource_spec |
multiagent | multi_agents, multi_agents_common, multi_agents_spec, multi_agents_v2, plan, plan_spec |
context | new_context_window, new_context_window_spec |
permissions | request_permissions |
interaction | request_user_input, request_user_input_async, request_user_input_spec, send_message_to_user_async |
execution | shell_spec, unified_exec |
wait | sleep, wait_for_environment |
internal | test_sync, test_sync_spec, permission_preapproval_tests |
web | view_image, view_image_spec |
external: depends on an OpenAI-hosted service. internal: transport or test infrastructure, not a portable product gap.
Acceptance
Through the public entries: CLI rule explanations and assertions, sandbox command restrictions, configuration and the real dispatcher lifecycle. Covers disabled defaults, cleanup on failure, independent concurrent assertions and unsupported platforms.
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. Covers public capability entry points of a pinned snapshot, not every Rust crate or closed service, and claims no parity with current Codex products.
Implementation status
Permission CLI, macOS domain restrictions and idle-sleep prevention are in place. Native assertion acquire and release are verified.