Skip to content

Add Codex local child harness support#10176

Merged
kjankov merged 4 commits intomasterfrom
katarina/quality-578-codex-local-child-harness
May 6, 2026
Merged

Add Codex local child harness support#10176
kjankov merged 4 commits intomasterfrom
katarina/quality-578-codex-local-child-harness

Conversation

@kjankov
Copy link
Copy Markdown
Contributor

@kjankov kjankov commented May 5, 2026

Description

Add Codex as a supported local child-agent harness in the Warp client.
This updates local harness normalization and launch command construction, and wires the CLI parsing and test coverage needed for local child launches.
This is the client-side counterpart to https://github.com/warpdotdev/warp-server/pull/10880.

Linked Issue

https://linear.app/warpdotdev/issue/QUALITY-578/codex-support-for-orchestration

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

  • cargo +1.92.0 fmt --all
  • MACOSX_DEPLOYMENT_TARGET=10.14 cargo +1.92.0 clippy --workspace --exclude warp_completer --all-targets --tests -- -D warnings
  • MACOSX_DEPLOYMENT_TARGET=10.14 cargo +1.92.0 clippy -p warp_completer --all-targets --tests -- -D warnings
  • MACOSX_DEPLOYMENT_TARGET=10.14 cargo +1.92.0 test -p warp_cli
  • MACOSX_DEPLOYMENT_TARGET=10.14 cargo +1.92.0 test -p warp local_child_task_config_records_supported_third_party_harnesses
  • MACOSX_DEPLOYMENT_TARGET=10.14 cargo +1.92.0 test -p warp execute_returns_error_when_local_harness_child_requires_orchestration_v2
  • MACOSX_DEPLOYMENT_TARGET=10.14 cargo +1.92.0 test -p warp execute_rejects_invalid_local_harness_names_before_pane_creation

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Artifacts

CHANGELOG-OZ: Add Codex as a supported harness for local child agents.

Co-Authored-By: Oz [email protected]

@cla-bot cla-bot Bot added the cla-signed label May 5, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 5, 2026

@kjankov

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds Codex as a supported local child harness and updates launch normalization, command construction, and tests.

Concerns

  • Codex local launches reuse the shared third-party harness environment preparation path, which has persistent side effects intended for managed harness setup rather than inheriting local session state.

Security

  • The Codex prep path can read OPENAI_API_KEY from the Warp process environment and persist it to ~/.codex/auth.json, and it rewrites ~/.codex/config.toml for local launches.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread app/src/pane_group/pane/local_harness_launch.rs
@kjankov kjankov requested a review from cephalonaut May 5, 2026 19:52
Copy link
Copy Markdown
Contributor

@cephalonaut cephalonaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should fix that global state rewrite issue, but otherwise, looks good.

@kjankov kjankov merged commit fd0a9d1 into master May 6, 2026
24 checks passed
@kjankov kjankov deleted the katarina/quality-578-codex-local-child-harness branch May 6, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants