Skip to content

Commit 0b4a8da

Browse files
docs: align Factory schema reference with runtime
Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 754e70f commit 0b4a8da

2 files changed

Lines changed: 25 additions & 7 deletions

File tree

‎src/content/docs/factories/factory-as-code.mdx‎

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ integrations:
235235
autoRespondToThreadReplies: false
236236
```
237237

238-
For compatibility with older definitions, the published schema also accepts
239-
`integrations.linear.teamIds` and `integrations.jira.projectKeys`. Scope new Linear and Jira
240-
automations with trigger filters.
238+
`integrations.linear.teamIds` and `integrations.jira.projectKeys` are compatibility-only fields.
239+
They no longer control issue discovery or routing and are omitted when Warp rewrites the
240+
definition. Use automation trigger filters such as `team_ids` and `project_keys` instead.
241241

242242
### `providers`
243243

@@ -385,6 +385,9 @@ The frontmatter accepts:
385385
* `idleTimeoutMinutes` - Optional. How long a completed session remains available for follow-up, from 1 through 60 minutes. Omit it or set it to `null` to inherit. Without an inherited or run-level value, Warp uses 10 minutes, or 60 minutes for an orchestrated child run.
386386
* `required_repos` - Optional. Repositories that Warp prepares for every run by this agent. Each entry uses `owner`, `name`, and, when needed to disambiguate the same repository across hosts, `codeForge`.
387387

388+
The current sync implementation accepts agent- and automation-level `required_repos`, but the
389+
published `v1alpha1` schema does not list it yet, so schema-based tooling might flag it.
390+
388391
An agent's `harness` override is sparse. It accepts `harness.type`, `harness.model`, `harness.reasoningLevel`, and `harness.auth`; `harness.auth.source` selects `managedSecret` or `workerEnvironment`, and `harness.auth.secretName` is required only for `managedSecret`. Set `harness.auth` to `null` to clear inherited authentication. Agent-level `mcpServers` entries accept `mcpServers.warpId`, `mcpServers.command`, `mcpServers.args`, `mcpServers.env`, `mcpServers.url`, and `mcpServers.headers`.
389392

390393
### `agentType`
@@ -458,6 +461,9 @@ The published trigger catalog currently uses these filter keys across its provid
458461
* Microsoft Teams: `channel_ids`, `keywords`, `team_ids`, and `user_ids`.
459462
* Webhook: `payload` and `webhook_ids`.
460463

464+
For Microsoft Teams, include exactly one Microsoft Graph team UUID in `team_ids` and at
465+
least one channel ID in `channel_ids`. Both filters support `in` only.
466+
461467
<details>
462468
<summary>Filter matcher path reference</summary>
463469

@@ -626,7 +632,12 @@ Required. The name of an agent declared by the factory. Every task in the suite
626632

627633
### `configurations`
628634

629-
Optional. One to six reusable configurations for benchmark runs. When a run doesn't supply its own configurations, Warp uses these presets. Each configuration requires a unique `name` and a `role` of `baseline` or `candidate`.
635+
Optional. One to six reusable configurations for benchmark runs. When a run doesn't supply its own configurations, Warp uses these presets. Each configuration requires a unique `name`.
636+
637+
The currently published `v1alpha1` schema also requires `role: baseline` or `role: candidate`,
638+
so include it while that validation constraint remains. The current implementation treats
639+
`role` as ignored legacy metadata: It does not affect benchmark behavior, and Warp omits it
640+
when rewriting the suite definition.
630641

631642
The optional `agents` list pins named factory agents to the models and harnesses they use during that configuration's trials. Each `agents.agent` entry requires exactly one of `agents.model` or `agents.harness`. An `agents.harness` override requires `agents.harness.type` and `agents.harness.model`; supported types are `oz`, `claude`, `claude-code`, `codex`, and `gemini`. Optional `agents.harness.auth` uses `agents.harness.auth.source` and `agents.harness.auth.secretName`. List an agent at most once per configuration. Agents omitted from the list use their configuration at launch time.
632643

@@ -777,7 +788,8 @@ Optional. Defaults to `true`. Set it to `false` to stop deliveries immediately w
777788

778789
On a Warp-managed factory, creating a webhook in the dashboard writes this file for you and stores the secret under the name you enter in the "Secret name" field.
779790

780-
You can't change `authMode` or `signatureScheme` on an existing webhook. To replace either value, delete the file and add a new webhook under a different name.
791+
You can't change `authMode` or `signatureScheme` on an existing webhook. Apply the deletion
792+
first and then recreate the webhook, or create the replacement under a different name.
781793

782794
## Skills
783795

‎src/content/docs/platform/harnesses/index.mdx‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: Harnesses in the {{WARP_AUTOMATION_PLATFORM}}
33
description: >-
4-
Run third-party harnesses such as Claude Code, Codex, or Gemini CLI as cloud
4+
Run third-party harnesses such as Claude Code or Codex as cloud
55
agents with the same triggers, environments, and observability as the Warp Agent.
66
sidebar:
77
label: "Overview"
88
---
99
import VideoEmbed from '@components/VideoEmbed.astro';
1010
import { VARS } from '@data/vars';
1111

12-
The {VARS.WARP_AUTOMATION_PLATFORM} can run third-party agent harnesses as cloud agents alongside the Warp Agent, including [Claude Code](/platform/harnesses/claude-code/), [Codex](/platform/harnesses/codex/), and Gemini CLI. You choose the harness (agent runtime) that fits the task; the platform around the run stays the same.
12+
The {VARS.WARP_AUTOMATION_PLATFORM} can run third-party agent harnesses as cloud agents alongside the Warp Agent, including [Claude Code](/platform/harnesses/claude-code/) and [Codex](/platform/harnesses/codex/). You choose the harness (agent runtime) that fits the task; the platform around the run stays the same.
1313

1414
For a factory, set the default or per-agent harness in its [factory definition](/factories/factory-as-code/#agentdefaultsharness) or configure it for a [factory agent](/factories/factory-agents/).
1515

@@ -67,6 +67,12 @@ Use the canonical harness identifier that each surface accepts:
6767

6868
Where the alias is accepted, it selects the same Claude Code harness as `claude`. Prefer canonical identifiers in anything you script, sync, or store.
6969

70+
`gemini` is a configuration identifier in the API and Factory definition format, not a
71+
generally available CLI setup path. Runtime availability depends on your workspace's harness
72+
settings. Factory definitions can authenticate Gemini only with
73+
`auth.source: workerEnvironment` on a self-hosted worker; `managedSecret` supports Claude Code
74+
and Codex.
75+
7076
## Related pages
7177

7278
* [Warp Agent with the {VARS.WARP_AUTOMATION_PLATFORM}](/platform/harnesses/warp-agent/) — the {VARS.WARP_AUTOMATION_PLATFORM}'s default first-party harness.

0 commit comments

Comments
 (0)