Skip to content

docs: document oz agent run-cloud harness flags#322

Merged
hongyi-chen merged 2 commits into
mainfrom
docs/cli-run-cloud-harness-flags
Jul 20, 2026
Merged

docs: document oz agent run-cloud harness flags#322
hongyi-chen merged 2 commits into
mainfrom
docs/cli-run-cloud-harness-flags

Conversation

@hongyi-chen

Copy link
Copy Markdown
Collaborator

Document the --harness, --claude-auth-secret, and --codex-auth-secret flags for oz agent run-cloud in the CLI reference. These flags let you delegate a cloud run to a third-party coding agent (Claude Code or Codex) with the matching Warp-managed auth secret.

What changed

  • Added the three flags to the oz agent run-cloud Key flags list in reference/cli/index.mdx.
  • Added a Choosing an execution harness subsection with a runnable example and a cross-link to the third-party cloud agent authentication page.

Source

Flags defined in warp:crates/warp_cli/src/agent.rs (RunCloudArgs). All three are non-hidden (public) and the oz/claude/codex harness values are GA for cloud runs (Harness::should_display_in_help_text).

Audit context

Found via the missing_docs drift-watch audit (surface_changes: new CLI flags on the agent command).

Conversation: https://staging.warp.dev/conversation/693d79a7-7cf9-4a67-b070-2aeb15986da6
Run: https://oz.staging.warp.dev/runs/019f4cf8-d573-7793-af78-d05ffd29cfd5

This PR was generated with Oz.

Add --harness, --claude-auth-secret, and --codex-auth-secret to the
oz agent run-cloud CLI reference, plus a "Choosing an execution harness"
example.

Co-Authored-By: Oz <oz-agent@warp.dev>
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jul 20, 2026 11:29pm

Request Review

@hongyi-chen
hongyi-chen marked this pull request as ready for review July 20, 2026 23:26
@hongyi-chen
hongyi-chen merged commit de92508 into main Jul 20, 2026
6 of 7 checks passed
@hongyi-chen
hongyi-chen deleted the docs/cli-run-cloud-harness-flags branch July 20, 2026 23:27
@oz-for-oss

oz-for-oss Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

@hongyi-chen

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

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overview

This PR documents the oz agent run-cloud harness selection and auth-secret flags in the CLI reference.

Concerns

  • The key-flags list now repeats the --claude-auth-secret and --codex-auth-secret entries that already exist immediately above the added lines.
  • The new "Choosing an execution harness" subsection duplicates the third-party harness setup paragraph and example that already appear right after the key-flags list.

Verdict

Found: 0 critical, 2 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 on lines +277 to +279
* `--harness <HARNESS>` — choose the [execution harness](/platform/harnesses/) for the run: `oz` (default, Warp's built-in agent infrastructure), `claude` (Claude Code), or `codex`.
* `--claude-auth-secret <NAME>` — name of the [Warp-managed secret](/platform/harnesses/authentication/) that authenticates the Claude Code harness. Only valid with `--harness claude`.
* `--codex-auth-secret <NAME>` — name of the [Warp-managed secret](/platform/harnesses/authentication/) that authenticates the Codex harness. Only valid with `--harness codex`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ [IMPORTANT] These auth-secret flag entries duplicate the existing entries immediately above, so the key-flags list will document --claude-auth-secret and --codex-auth-secret twice. Replace this range with only the new --harness entry (or edit the existing entries in place).

Suggested change
* `--harness <HARNESS>` — choose the [execution harness](/platform/harnesses/) for the run: `oz` (default, Warp's built-in agent infrastructure), `claude` (Claude Code), or `codex`.
* `--claude-auth-secret <NAME>` — name of the [Warp-managed secret](/platform/harnesses/authentication/) that authenticates the Claude Code harness. Only valid with `--harness claude`.
* `--codex-auth-secret <NAME>` — name of the [Warp-managed secret](/platform/harnesses/authentication/) that authenticates the Codex harness. Only valid with `--harness codex`.
* `--harness <HARNESS>` — choose the [execution harness](/platform/harnesses/) for the run: `oz` (default, Warp's built-in agent infrastructure), `claude` (Claude Code), or `codex`.


You can reuse saved prompts with `--saved-prompt`, and reference notebooks, workflows, and rules inline in any `--prompt` string. See [Referencing Warp Drive objects](/reference/cli/warp-drive/) for details.

#### Choosing an execution harness

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ [IMPORTANT] This new subsection duplicates the third-party harness setup paragraph and example that already appear directly after the key-flags list. Merge the two sections so the page has one canonical setup flow instead of two near-identical instructions.

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