docs: document harness-specific model IDs for oz agent run-cloud - #440
Draft
hongyi-chen wants to merge 2 commits into
Draft
docs: document harness-specific model IDs for oz agent run-cloud#440hongyi-chen wants to merge 2 commits into
hongyi-chen wants to merge 2 commits into
Conversation
Adds --prompt/--remove-prompt for named agents and documents that --model accepts harness-specific IDs with --harness claude/codex. Also removes a duplicated --harness flag block in the run-cloud list. Verified against crates/warp_cli/src/agent.rs and crates/warp_cli/src/model.rs. Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Narrow this PR to the harness-specific --model documentation and the duplicated --harness block fix, so it doesn't compete with #387. Co-Authored-By: Oz <oz-agent@warp.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
oz agent run-cloud --modelaccepts harness-specific model IDs when running on theclaudeorcodexharness, but the CLI reference described--modelas if it only ever took a Warp model ID. This PR documents that, and fixes a duplicated block in the same flag list.Found by the
missing_docsdrift-watch audit (changelog item #14011) and verified againstcrates/warp_cli/src/model.rs.Scope note
This PR originally also documented the named-agent
--prompt/--remove-promptflags. #387 already covers that, so those hunks have been removed to avoid competing edits to the same lines. See the note below for one correction worth folding into #387.Changes
src/content/docs/reference/cli/index.mdxHarness-specific model IDs
--modelbullets thatoz model listonly covers the built-inozharness, and that an unrecognized ID is rejected by the harness rather than by Warp.Duplicated flag block
--harness/--claude-auth-secret/--codex-auth-secretblock from therun-cloudflag list. The same three flags were listed twice with different wording. Not an audit finding, just adjacent to the lines being edited.Source verification
ModelArgsincrates/warp_cli/src/model.rs:ModelCommand::Listis likewise documented as listing models "for the Warp Agent harness" only.Note for #387
While verifying the base-prompt flags I traced where the stored prompt actually goes. It is added to the system prompt as an identity-and-behavior section, and does not replace the per-run prompt:
resolveAgentIdentityPromptfeedspromptParams["agentIdentityPrompt"]in warp-server's primary agent.resolveAgentIdentityPromptForHarnessprepends# Identity and Behavior/ "The user has provided the following instructions on how you should behave:" for third-party harnesses.#387's phrasing ("the base prompt applied to the agent's runs") could be read as the run prompt. Worth a sentence there clarifying that each run still supplies its own task.
Verification
npm run buildpasses.Deferred findings from this audit run
Run-wide deferrals are listed in the companion audit-bookkeeping PR.
Conversation: https://staging.warp.dev/conversation/53c4f3f8-39bb-46c1-a5c0-66b467db0439
Run: https://oz.staging.warp.dev/runs/019fb91e-74a0-73f4-ac72-f2d88c32fab5
This PR was generated with Oz.
Co-Authored-By: Oz oz-agent@warp.dev