Skip to content

docs: document named agent base prompts and harness-specific model IDs - #460

Closed
hongyi-chen wants to merge 1 commit into
mainfrom
docs/cli-named-agent-prompt-and-harness-models
Closed

docs: document named agent base prompts and harness-specific model IDs#460
hongyi-chen wants to merge 1 commit into
mainfrom
docs/cli-named-agent-prompt-and-harness-models

Conversation

@hongyi-chen

Copy link
Copy Markdown
Collaborator

What

Three fixes to reference/cli/index.mdx:

  1. Documents oz agent create --prompt and oz agent update --prompt / --remove-prompt.
  2. Documents that --model takes harness-specific model IDs when paired with --harness claude
    or --harness codex, with an example.
  3. Removes a duplicated block: --harness, --claude-auth-secret, and --codex-auth-secret were
    each listed twice in the run-cloud flag list with conflicting wording.

Why

Items 1 and 2 were flagged by the missing_docs changelog cross-check (2026.07.31: "The oz CLI
can now set a named agent's prompt when creating or updating agents" and "The oz CLI now accepts
harness-specific model IDs with --harness claude and --harness codex"). Item 3 was spotted while
verifying those flags against the CLI source.

Source of truth

  • crates/warp_cli/src/agent.rsAgentCreateArgs::prompt ("Base prompt for runs of this agent")
    and AgentUpdateArgs::prompt / remove_prompt.
  • crates/warp_cli/src/model.rsModelArgs, which documents oz model list for the default
    harness and pass-through of harness-specific values for third-party harnesses.

Deferred findings from this run

Nothing from the audit was silently dropped. The full deferral list lives in the companion
bookkeeping PR (docs/missing-docs-audit-bookkeeping); in summary:

  • 15 warp-server public API routes missing from the OpenAPI spec — routed to the
    sync-openapi-spec skill rather than hand-written, per the skill's public/private guardrail.
  • 32 terminology/staleness findings — owned by the style_lint skill.
  • 1 new server-side agent tool (report_external_reference) — reached only through the hidden
    oz harness-support CLI, so no public surface to document yet.

Conversation: https://staging.warp.dev/conversation/c45bb2ea-d33b-4723-8249-478547f81a47
Run: https://oz.staging.warp.dev/runs/019fc891-7c04-779b-b006-328169d8a0d7

This PR was generated with Oz.

Three fixes to the Oz CLI reference:

- `oz agent create --prompt` and `oz agent update --prompt`/`--remove-prompt`
  set a named agent's base prompt; neither flag was documented.
- `--model` accepts harness-specific model IDs when paired with
  `--harness claude` or `--harness codex`.
- The `run-cloud` flag list documented `--harness`, `--claude-auth-secret`, and
  `--codex-auth-secret` twice with conflicting wording; merged into one entry each.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Aug 3, 2026
@vercel

vercel Bot commented Aug 3, 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 Aug 3, 2026 5:21pm

Request Review

Copy link
Copy Markdown
Collaborator Author

Closing as a duplicate: #440 already documents harness-specific --model IDs (and removes the same duplicated --harness/auth-secret flag block), and #387 already documents the named-agent --prompt / --remove-prompt flags. Between them they fully cover this PR.

Found while running the missing_docs drift-watch skill, which flagged both items from the 2026.07.31 changelog. I didn't check for existing open PRs before drafting — my mistake.

Both #440 and #387 touch reference/cli/index.mdx, so they'll need sequencing against each other, but each is on a current path and neither is affected by the agent-platform/agents/ rename.

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.

1 participant