You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0b4a8da
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/content/docs/factories/factory-as-code.mdx
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -235,9 +235,9 @@ integrations:
235
235
autoRespondToThreadReplies: false
236
236
```
237
237
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.
241
241
242
242
### `providers`
243
243
@@ -385,6 +385,9 @@ The frontmatter accepts:
385
385
* `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.
386
386
* `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`.
387
387
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
+
388
391
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`.
389
392
390
393
### `agentType`
@@ -458,6 +461,9 @@ The published trigger catalog currently uses these filter keys across its provid
458
461
* Microsoft Teams: `channel_ids`, `keywords`, `team_ids`, and `user_ids`.
459
462
* Webhook: `payload` and `webhook_ids`.
460
463
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
+
461
467
<details>
462
468
<summary>Filter matcher path reference</summary>
463
469
@@ -626,7 +632,12 @@ Required. The name of an agent declared by the factory. Every task in the suite
626
632
627
633
### `configurations`
628
634
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.
630
641
631
642
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.
632
643
@@ -777,7 +788,8 @@ Optional. Defaults to `true`. Set it to `false` to stop deliveries immediately w
777
788
778
789
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.
779
790
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.
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.
13
13
14
14
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/).
15
15
@@ -67,6 +67,12 @@ Use the canonical harness identifier that each surface accepts:
67
67
68
68
Where the alias is accepted, it selects the same Claude Code harness as `claude`. Prefer canonical identifiers in anything you script, sync, or store.
69
69
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
+
70
76
## Related pages
71
77
72
78
*[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