From 69cc5c8fc20c995712b5e324199364771073aab8 Mon Sep 17 00:00:00 2001 From: "warp-agent-staging[bot]" <240773466+warp-agent-staging[bot]@users.noreply.github.com> Date: Wed, 11 Nov 2026 17:48:46 +0000 Subject: [PATCH 1/6] spec: define factory help routing and standalone trigger updates --- ...tory-help-links-and-standalone-triggers.md | 177 ++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 specs/factory-help-links-and-standalone-triggers.md diff --git a/specs/factory-help-links-and-standalone-triggers.md b/specs/factory-help-links-and-standalone-triggers.md new file mode 100644 index 000000000..8257b401f --- /dev/null +++ b/specs/factory-help-links-and-standalone-triggers.md @@ -0,0 +1,177 @@ +# Factory help links and standalone trigger documentation + +## Summary + +Correct links that send a factory user to standalone Oz setup. Complete the missing procedures before product help links depend on them. Keep supported standalone trigger, schedule, integration, CLI, and API workflows available. This work changes documentation and help destinations, not integration behavior. + +- Work item and authoritative audit: [docs#1019](https://github.com/warpdotdev/docs/issues/1019). +- Origin and interview record: [requester thread](https://warpdev.slack.com/archives/C09BVK0PL3Y/p1794417742638899). +- Starting example: [warp-server#21630](https://github.com/warpdotdev/warp-server/pull/21630) already fixed the workspace Jira **Docs** button. Do not duplicate it. +- Spec status: **Awaiting approval.** Scope confirmation is not approval to implement. +- Spec baseline: docs `aa38334328a4a54b67d1058e1e615335ac20002f`. +- Audit source revisions: docs `bb1d0e5daaca849adebaadfaea37863ffce549a4`; warp-server `557cde19a04a5a0d8bf6e5ddf10c27a46136a53d`; warp `2b2ed236f087b47b463f1cd55598485dd7965338`. +- Source inspection does not establish the customer's deployed version or account access. + +## Product behavior + +1. A help link for configuring a factory opens instructions for that task. A destination under `/platform/` is valid when the instructions cover the shared task and provide a complete factory path. +2. Jira instructions distinguish site installation, connection to a Warp workspace, personal account linking, factory project selection, and automation setup. Completing one does not imply completion of the others. +3. Linear instructions distinguish workspace app authorization, personal identification, factory team selection, and automation routing. Reconnection and removal describe the affected connection, not an inferred reset of factory settings. +4. Cloud-provider help from a factory opens factory environment instructions. Those instructions reuse the shared AWS/GCP federation prerequisites and trust policies. +5. A reader can configure recurring work for a factory without following an Oz standalone schedule procedure. A reader who wants an Oz standalone schedule can still use its current web, CLI, and API documentation. +6. Existing shared billing, security, identity, session viewing, API, GitHub installation, and Slack workspace-app instructions remain accessible. Do not replace links only because their paths contain `/platform/` or their names contain Oz. +7. Retain all three `/platform/triggers/` pages and their purposes. Do not redirect, remove, or repurpose a supported page. +8. Record each audit finding as changed, intentionally retained, or incomplete. An incomplete finding names the missing verification and dependent links that remain unchanged. + +## Technical design + +### Documentation ownership and bounded setup additions + +Update existing pages. No new public page or global product-name-variable change is planned. + +| Owning page under `src/content/docs/` | Required addition or correction | Stable destination contract | +| --- | --- | --- | +| `factories/integrations/jira.mdx` | Provide the complete site-admin app installation and Warp workspace connection procedure. Include the existing alternate-admin request path, how to recognize a connected site, and the separate factory project-selection step. Exclude standalone `warp-agent` label retry instructions. | Add `#install-warp-for-jira`. Preserve `#connect-jira-and-add-an-automation` as the factory connection and automation entry point. | +| `factories/integrations/jira.mdx` | Add a personal-link procedure: where the user opens Warp in Jira personal settings, how they authorize the link, how to confirm it, and how to retry a factory assignment or mention. Distinguish unlinking a person from removing the site app. | Add `#connecting-your-jira-account-to-warp`. | +| `factories/integrations/linear.mdx` | Add workspace installation and authorization instructions; name required administrator access, confirm the workspace connection, and link forward to factory team selection. Add reconnection and removal procedures with provider-side access and routing consequences verified separately. Do not infer production OAuth scopes from the existing staging-only table. | Add `#install-linear-for-your-workspace`, `#reconnect-linear`, and `#remove-linear`. Preserve `#connect-linear` and `#route-agent-sessions`. | +| `factories/automations.mdx` | Add a bounded recurring-automation procedure. Cover selecting an existing agent, giving it instructions, selecting a schedule trigger, setting the cadence, saving, running a controlled test, locating the result, and disabling future runs. State verified timezone semantics. Cover repository-managed definitions by linking the existing schedule schema instead of promising an editable UI. | Add `#schedule-a-factory-automation`. Preserve the existing filter and webhook sections. | +| `platform/integrations/cloud-providers.mdx` | Add a factory entry section with separate AWS and GCP environment configuration paths. Explain how to create or edit the factory environment and enter the provider fields. Link to the shared provider/role/pool setup on the same page. Retain the Oz environment procedure, explicitly labeled standalone. Scope the current “only in the Oz web app” statements to the verified workflow instead of applying them to factories. | Add `#configure-a-factory-environment`, `#configure-aws-for-a-factory`, and `#configure-gcp-for-a-factory`. Preserve `#aws`, `#gcp`, and existing OIDC claim anchors. | + +Keep one canonical copy of each AWS trust policy and GCP federation setup. Do not broaden its audience, subject conditions, IAM roles, or credential claims to make a walkthrough easier. State how to confirm saved configuration. A cloud access check must use an authorized test account and a non-mutating operation. Do not expose JWTs, credentials, or customer identifiers. + +Every new procedure includes access prerequisites, a create-or-reuse path, the ordered actions, and an observable success check. Verify UI wording before writing exact labels. If verification is unavailable, follow the incomplete-delivery rule below rather than inventing steps. + +### Factory documentation link changes + +The audit line numbers below refer to the pinned audit revision. Re-resolve by surrounding task on the implementation branch. + +| Source under `src/content/docs/` | Current destination | Required destination or treatment | +| --- | --- | --- | +| `factories/connect-your-factory.mdx:91` | `/platform/triggers/` | `/factories/automations/#schedule-a-factory-automation`; link `/factories/factory-as-code/#triggersschedule` for file-managed schedules. | +| `factories/factory-as-code.mdx:612` | `/platform/integrations/` | `/factories/connect-your-factory/`; retain its existing provider-specific factory links. | +| `factories/factory-agents/creating-custom-agents.mdx:23,135` | `/platform/secrets/` | `/factories/secrets/`. | +| `factories/factory-agents/creating-custom-agents.mdx:83` | `https://docs.warp.dev/platform/environments/configuring-environments/` | `/factories/environments/configuring-environments/`. Remove reliance on the old redirect. | +| `factories/integrations/linear.mdx:19` | `/platform/integrations/github/` | `/factories/integrations/github/` for factory repository access. | +| `factories/integrations/linear.mdx:21,135,144` | `/platform/integrations/linear/` | Local installation, reconnection, and removal sections, respectively. Keep the standalone fallback at line 53 and label it standalone. | +| `factories/integrations/jira.mdx:22` | `/platform/integrations/jira/#setup` | `#install-warp-for-jira`, after the full procedure exists. | +| `factories/integrations/jira.mdx:99,119` | `/platform/integrations/jira/#connecting-your-jira-account-to-warp` | `#connecting-your-jira-account-to-warp`. | +| `factories/guides/jira-to-pull-request.mdx:23` | `/platform/integrations/jira/#connecting-your-jira-account-to-warp` | `/factories/integrations/jira/#connecting-your-jira-account-to-warp`. | +| `factories/self-hosting/data-storage.mdx:287` | `/platform/secrets/` | `/factories/secrets/` for factory credentials. Keep a separately labeled standalone reference if the surrounding task needs it. | +| `factories/self-hosting/security-and-networking.mdx:114` | `/platform/integrations/gitlab/` and `/platform/integrations/bitbucket/` | Link `/factories/integrations/gitlab/` for the first-class factory GitLab connection. Link `/factories/code-forges/other-code-forges/` for self-managed/token access. Retain shared Bitbucket token instructions as such; do not imply a first-class factory Bitbucket integration. | +| `factories/environments.mdx:59` | `/platform/triggers/scheduled-agents/` without a workflow distinction | Prioritize `/factories/automations/#schedule-a-factory-automation`. Keep an explicitly labeled standalone alternative. | + +Use relative links within a docs space and absolute docs URLs across spaces, following `AGENTS.md`. The paths in these tables define destinations, not a requirement to ignore that formatting convention. Preserve existing heading IDs; use an explicit compatibility anchor if a heading must change. + +### Product help changes + +Only modify active help destinations in `warpdotdev/warp-server`. No backend, permission, integration, or desktop-client behavior change is planned. + +| Source under `client/packages/factory/src/` | Current destination | New destination, after publication | +| --- | --- | --- | +| `constants/urls.ts:119`, `DOCS_JIRA_SETUP`, consumed by `pages/FactorySettings/JiraIntegrationConnect.tsx:325` | `/platform/integrations/jira/#setup` | `/factories/integrations/jira/#install-warp-for-jira`. This modal needs installation, not only an automation description. | +| `utils/integrations/integration-education.ts:119`, personal Jira | `/platform/integrations/jira/#connecting-your-jira-account-to-warp` | `/factories/integrations/jira/#connecting-your-jira-account-to-warp`. | +| `utils/integrations/integration-education.ts:157`, workspace Linear and its team alias | `/platform/integrations/linear/#how-to-configure-the-integration` | `/factories/integrations/linear/#install-linear-for-your-workspace`. | +| `utils/integrations/integration-education.ts:74`, factory AWS | `/platform/integrations/cloud-providers/#aws` | `/platform/integrations/cloud-providers/#configure-aws-for-a-factory`. | +| `utils/integrations/integration-education.ts:81`, factory GCP | `/platform/integrations/cloud-providers/#gcp` | `/platform/integrations/cloud-providers/#configure-gcp-for-a-factory`. | +| `pages/FactorySettings/CloudProviderSetupModal.tsx:29` | `/platform/integrations/cloud-providers/` | `/platform/integrations/cloud-providers/#configure-a-factory-environment`. | + +Use the existing documentation constants and scope-aware education map. Keep each caller's scope intact. Do not redirect personal or workspace GitHub help to a factory repository chooser. Do not redirect shared Slack app help to a factory's dedicated Slack app procedure. + +Extend existing `components/integration-setup/__tests__/integration-education.test.tsx`, `constants/urls.test.ts`, `pages/FactorySettings/JiraIntegrationConnect.test.tsx`, and `pages/FactorySettings/CloudProviderSetupModal.test.tsx` where their rendered links change. Assert the literal destination and fragment, not only that the link starts with the docs origin. Preserve unchanged GitHub, Slack, factory Jira, personal Linear, and team-alias expectations. + +### Trigger and setup page dispositions + +| Page | Decision | Required change and retained purpose | +| --- | --- | --- | +| `/platform/triggers/` | Keep and update | Make standalone schedules, CLI/API entry points, CI, and standalone integrations explicit. Link factory intake to factory automations. Mark custom webhooks as a factory feature, not an equivalent standalone integration. | +| `/platform/triggers/scheduled-agents/` | Keep and update | Preserve the standalone CLI schedule reference and its supported create/list/get/update/pause/unpause/delete workflows. Add an early factory recurring-automation alternative. Keep `#scheduling-a-skill` and links to run identity. | +| `/platform/triggers/scheduled-agents-quickstart/` | Keep and update | Preserve the standalone Oz web schedule workflow. Add the factory alternative. Verify its exact current controls and example skill before changing procedural claims. Keep `#run-identity-and-pull-request-authorship`. Do not turn this page into a factory quickstart. | +| `/platform/integrations/` and `/platform/integrations/quickstart/` | Keep and narrowly update | State which task is standalone and direct factory configuration to the factory connection hub. Retain supported standalone setup and CLI instructions. | +| `/platform/integrations/slack/`, `linear/`, `jira/`, and `github/` | Keep and narrowly update | Add or refine the entry-point distinction between shared installation, standalone triggers, and factory routing. Link to each owning factory page. Preserve shared app and identity instructions and supported standalone fallback behavior. Do not replace these pages with redirects. | +| GitHub Actions, GitLab/Azure DevOps/Bitbucket token setup, CLI and API references, and shared cloud federation details | Keep | Preserve the distinct CI, standalone, token, and shared-provider tasks. Change only the factory-context links specified above. | + +Support evidence in the audit includes `warp/crates/warp_cli/src/schedule.rs:51-140`, `warp-server/router/handlers/public_api/agent_schedules.go:96-124`, and `warp-server/client/packages/agents/src/pages/Schedules/NewSchedulePane.tsx:54-189`. These establish implemented standalone workflows, not universal customer availability. Integration fallback is event-specific: unclaimed Slack/Jira and Linear agent sessions do not establish support for every Linear issue/comment event. + +### Inbound links and navigation + +- Keep the three trigger pages in `src/sidebar.ts:696-705`. Do not move or hide them. `src/sidebar.ts`, not an inline `astro.config.mjs` list, owns this navigation. +- Change the factory connection-hub and environment links listed above. +- Keep the explicitly standalone link in `factories/automations.mdx:130`. +- Keep the standalone schedule continuation in `factories/api-and-sdk/quickstart.mdx:99`; clarify its standalone label without changing that page's API-run task. +- Keep schedule links in `factories/harnesses/claude-code.mdx:17`, `codex.mdx:17`, and the standalone trigger link in `factories/harnesses/index.mdx:24`. Clarify the standalone context of the mixed trigger lists; preserve factory harness instructions. +- Keep `factories/self-hosting/index.mdx:85` as a standalone host-routing reference; label the CLI/Oz example context explicitly. +- Keep non-factory inbound links enumerated in issue #1019: agent capability/skill/CLI pages, generic guides, platform pages, integration token/CI pages, and cross-links among the three trigger pages. Their reader tasks remain standalone or shared. Preserve the skill and identity fragments. +- Keep the standalone Oz featured read at `warp-server/client/packages/agents/src/config/featuredReads.ts:33-36`, its URL constants, and generic cloud-loading tips in `warp/app/src/terminal/view/ambient_agent/tips.rs`. +- Leave unconsumed factory schedule/platform constants alone. An unused constant is not evidence of a visible customer link. +- Keep historical redirects in `vercel.json` and schedule protection in `scripts/fixtures/article-retirements.json`. No new redirect is required. + +The issue holds the complete pinned inbound inventory, including each existing URL and fragment. Implementation records an outcome against that inventory; it does not need to repeat the broad audit. + +### Delivery order and incomplete work + +1. Obtain written approval of this committed spec. +2. Reuse this docs branch and draft PR for the documentation changes. Reconcile human edits to the spec before changing its requirements. +3. Verify new procedural claims and add the destination sections. Apply independent link corrections and the bounded standalone clarifications. Keep evidence and unresolved claims in the PR. +4. Publish the approved docs changes. Check each dependent destination on `https://docs.warp.dev`, including the rendered heading ID and absence of an unintended redirect. +5. Open the separate `warp-server` help-link PR. Cross-link it to this docs PR and issue #1019. Do not ship a product link to an unpublished heading. +6. Update the issue inventory with final old-to-new mappings, retained links, verification evidence, and incomplete gaps. + +If a workflow cannot be verified: + +- Deliver unrelated verified corrections without claiming the whole audit is complete. +- Do not invent labels, supported skills, permissions, availability, or configuration behavior. +- Keep dependent help links unchanged until equivalent verified instructions exist. +- Record each unresolved claim and affected link on the issue and in the PR's `Unverified claims` section. +- Use the repository's `VERIFY` marker only for draft content permitted by its quality policy. Resolve or remove such content before merge; a marker is not permission to publish an unverified procedure. +- Request the precise missing confirmation through the orchestrator. Existing unchanged instructions are retained, not re-certified. + +## Decisions + +| Choice | Alternatives and trade-offs | Decision | +| --- | --- | --- | +| Fix causes, not only URLs | Retargeting alone is smaller but strands readers at pages missing setup. Completing every shared migration would expand scope beyond the reported task. | Add Jira, Linear, recurring-automation, and factory cloud-environment procedures on existing owners; fix their dependent links. Leave GitHub/Slack shared migrations out. | +| Own cloud setup once | A new factory cloud page gives a factory URL but duplicates security-sensitive federation details. Leaving the shared page unchanged preserves duplication risk at zero but still sends factory users through Oz setup. | Add factory-specific sections to the shared cloud-provider page and deep-link them. | +| Preserve supported Oz workflows | Redirecting/removing simplifies navigation but breaks supported standalone web/CLI/API tasks and identity links. Keeping pages without clarification preserves the ambiguity. | Keep and clarify; no removals, redirects, or purpose changes. | +| Publish destinations first | Shipping both repositories without a release gate can expose dead anchors. One cross-repository atomic release is not available. | Publish and validate docs before product help changes ship. | +| Permit partial verified delivery | Holding every correction blocks known fixes on unavailable account access. Publishing unverified setup can create new errors. | Ship verified independent work; explicitly track unresolved procedures and dependent links as incomplete. | + +### User decisions + +- The requester confirmed: “yes please fix any of these wrong links, missing setup instructions, etc”. +- The orchestrator relayed this as affirmative answers to the three interview recommendations: include missing procedures, use shared AWS/GCP canonical content with factory sections, and allow verified partial delivery with incomplete tracking. +- Keep the existing supported standalone workflows and shared references. The issue already established this constraint; it was not reopened as a retirement question. +- No instruction waived the spec or its approval. This record does not claim final spec approval. + +## Assumptions + +- **Assumption:** Existing page ownership is sufficient. The listed gaps need sections, not new public pages. +- **Assumption:** No redirect or navigation reorganization is necessary while current URLs and page purposes remain intact. +- **Assumption:** Local/mock UI can prove destination rendering and route interaction, but not real provider installation, current customer entitlement, or production availability. Record those evidence classes separately. + +## Out of scope + +- Reimplementing the merged workspace Jira button fix in warp-server#21630. +- New integration behavior, broader grants, permission changes, backend schedules, or provider rollout. +- Retiring or repurposing supported Oz pages, replacing all `/platform/` links, or changing the `oz` binary and legacy web-app name. +- Full GitHub installation or Slack workspace-app content migration. +- New first-class Bitbucket support. +- Unrelated stale branding, billing/security policy rewrites, and unused-constant cleanup. +- Changing a customer's production integration, IAM role, schedule, or app installation to obtain evidence. + +## Validation criteria + +### Objective content and link checks + +- **V1 — Inventory closure:** For every wrong-link and setup-gap row in issue #1019, the implementation PR/issue states source, old destination, final destination, and changed/retained/incomplete outcome. Compare the final diff to the matrices above. Incomplete rows name the blocker and unchanged dependent links. +- **V2 — Complete task paths:** Walk each new Jira, Linear, recurring-automation, AWS, and GCP procedure from its prerequisites through its success check. Cite live-product confirmation or the relevant source and availability evidence for each changed technical claim. Run `python3 .agents/skills/doc_quality_policy/server_rollout.py check jira linear schedule federation` from docs; inspect each result for relevance. A successful helper result alone does not prove UI access or release. +- **V3 — Links and anchors:** Run `python3 .agents/skills/check_for_broken_links/check_links.py --internal-only`. After the build, inspect each changed target's generated HTML in `.vercel/output/static/` and assert its fragment ID exists. Include product-link targets, which the docs-source scan cannot discover. Report unrelated baseline failures separately; no changed target may remain broken. +- **V4 — Standalone compatibility:** Run `npm run test:article-retirements` and `npm run test:platform-reference-migration`. Confirm the three trigger pages remain in navigation, the historic schedule redirect remains, and `#scheduling-a-skill` and `#run-identity-and-pull-request-authorship` still resolve. Compare the retained inbound groups above to the diff; no retained workflow is removed. +- **V5 — Docs repository checks:** Run `python3 .agents/skills/style_lint/style_lint.py --changed`, then `npm run typecheck`, `npm run test:heading-vars`, `npm run build`, `npm run test:heading-tocs`, and `npm run test:homepage-json-ld` in that order. Apply the selected drafting skills and current compression/PR-contract checks to public content. Record exact commands, results, and baseline failures. +- **V6 — Publication gate:** Before shipping dependent product changes, request each published target and open its exact fragment in a browser. Confirm the requested task heading renders. A 200 response without the right section is insufficient. + +### Product regression checks + +- **V7 — Literal help destinations:** Run the changed Vitest files, including `integration-education.test.tsx`, `urls.test.ts`, `JiraIntegrationConnect.test.tsx`, and `CloudProviderSetupModal.test.tsx`. From `warp-server/client`, use `yarn workspace @warp/factory test --run` with their package-relative paths. Changed rows must assert the exact URLs above; unchanged GitHub/Slack and team-scope mappings must still pass. +- **V8 — Type, lint, and build:** Run `yarn workspace @warp/factory type-check`. Run package-local ESLint and Prettier checks on changed files. Run `yarn workspace @warp/factory build:dev` successfully before computer-use verification. Follow the repository's selective validation rules rather than adding unrelated package-wide fixes. +- **V9 — Visual proof:** Use the computer-use tool to exercise the affected Jira connect help, personal Jira help, workspace/team Linear help, and factory AWS/GCP help. Capture video of opening the help and arriving at its task heading; include before/after screenshots for changed product surfaces per the factory UI skill. Use the built docs locally for pre-publication checks and the published docs for V6. Test destination rendering in MSW when real authentication is unavailable, and label that limit. Do not treat mock rendering as proof of a successful provider installation. +- **V10 — No false completion:** List every unavailable live/provider check and unresolved claim in the handoff. Never report skipped checks as passed. A partial delivery leaves the work item open with the exact remaining gaps. From edb149bfad09fab4327b958a23929411631a2a82 Mon Sep 17 00:00:00 2001 From: "warp-agent-staging[bot]" <240773466+warp-agent-staging[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 00:46:35 +0000 Subject: [PATCH 2/6] docs: separate factory setup from standalone trigger workflows Complete existing Jira, Linear, schedule, and cloud-provider owners; preserve standalone routes and defer product links until publication. Co-Authored-By: Oz --- .../docs/factories/api-and-sdk/quickstart.mdx | 2 +- src/content/docs/factories/automations.mdx | 20 ++++++++ .../docs/factories/connect-your-factory.mdx | 2 +- src/content/docs/factories/environments.mdx | 3 +- .../factory-agents/creating-custom-agents.mdx | 6 +-- .../docs/factories/factory-as-code.mdx | 2 +- .../factories/guides/jira-to-pull-request.mdx | 2 +- .../docs/factories/harnesses/claude-code.mdx | 2 +- .../docs/factories/harnesses/codex.mdx | 2 +- .../docs/factories/harnesses/index.mdx | 2 +- .../docs/factories/integrations/jira.mdx | 37 +++++++++++---- .../docs/factories/integrations/linear.mdx | 47 +++++++++++++++---- .../factories/self-hosting/data-storage.mdx | 2 +- .../docs/factories/self-hosting/index.mdx | 4 +- .../self-hosting/security-and-networking.mdx | 2 +- .../platform/integrations/cloud-providers.mdx | 44 ++++++++++++++--- .../docs/platform/integrations/github.mdx | 2 + .../docs/platform/integrations/index.mdx | 2 +- .../docs/platform/integrations/jira.mdx | 2 + .../docs/platform/integrations/linear.mdx | 2 +- .../docs/platform/integrations/quickstart.mdx | 4 +- .../docs/platform/integrations/slack.mdx | 2 + src/content/docs/platform/triggers/index.mdx | 15 ++++-- .../triggers/scheduled-agents-quickstart.mdx | 2 + .../platform/triggers/scheduled-agents.mdx | 4 +- 25 files changed, 165 insertions(+), 49 deletions(-) diff --git a/src/content/docs/factories/api-and-sdk/quickstart.mdx b/src/content/docs/factories/api-and-sdk/quickstart.mdx index adf0d0341..dfaebb0ae 100644 --- a/src/content/docs/factories/api-and-sdk/quickstart.mdx +++ b/src/content/docs/factories/api-and-sdk/quickstart.mdx @@ -96,4 +96,4 @@ You created a cloud agent run over HTTP and tracked it from `QUEUED` to `SUCCEED * **Read the endpoint guide** - [Agent & run endpoints](/factories/api-and-sdk/) documents the configuration and run lifecycle, while the [{VARS.WARP_PLATFORM_API} reference](/api) lists all parameters, query filters, and response schemas. * **Explore the SDKs** - [`warp-platform-sdk` for Python](https://pypi.org/project/warp-platform-sdk/) and [`@warp-dot-dev/warp-platform-sdk` for TypeScript](https://www.npmjs.com/package/@warp-dot-dev/warp-platform-sdk) include typed request/response models, retries, and error handling. * **See a real-world example** - [Demo: Sentry monitoring with SDK](/factories/api-and-sdk/demo-sentry-monitoring-with-sdk/) shows how to build a webhook handler that triggers agents from production errors. -* **Schedule and automate** - See the [Scheduled Agents quickstart](/platform/triggers/scheduled-agents-quickstart/) to run agents on a cron, or the [Integrations quickstart](/platform/integrations/quickstart/) to trigger agents from Slack or Linear. +* **Schedule and automate standalone runs** - See the [Scheduled Agents quickstart](https://docs.warp.dev/platform/triggers/scheduled-agents-quickstart/) to run agents on a cron, or the [Integrations quickstart](https://docs.warp.dev/platform/integrations/quickstart/) to trigger agents from Slack or Linear without a factory. diff --git a/src/content/docs/factories/automations.mdx b/src/content/docs/factories/automations.mdx index 1f12384fb..7943659be 100644 --- a/src/content/docs/factories/automations.mdx +++ b/src/content/docs/factories/automations.mdx @@ -6,6 +6,7 @@ description: >- sidebar: label: Factory automations --- +import { VARS } from '@data/vars'; An **automation** starts factory runs from a trigger and routes them to an agent. Filters narrow which events start work. For example, an automation can send newly opened pull requests to a review agent, but only for one repository's `main` branch. @@ -57,6 +58,25 @@ To edit an existing automation's filters: {/* VISUAL: An automation's trigger editor with More filters expanded. */} +## Schedule a factory automation + +Use a scheduled automation for recurring factory work, such as a weekly repository report. You need permission to edit automations and an existing [factory agent](/factories/factory-agents/) with the repositories, tools, and credentials the task needs. + +If your factory definition is repository-managed, edit or add an `automations/NAME/automation.md` file using the [schedule schema](/factories/factory-as-code/#triggersschedule), then commit and push it. The Automations page is read-only for those definitions. + +For automations managed in the web app: + +1. In the {VARS.FACTORY_WEB_APP}, expand your factory and click **Automations**. Open an existing automation to reuse it, or click **New** and give it a name. +2. Under "Agents," choose the existing agent that will handle the task. In "Agent prompt," enter instructions for each run. For a controlled first test, use: “List the repository's top-level files and report the current branch. Do not modify files, create issues, or open pull requests.” +3. In "Triggers," click **Add trigger** > **Scheduled** and choose **Hourly**, **Daily**, **Weekly**, or **Custom (cron)**. Set the time or cron expression and check "Next run." +4. Click **Save**, then reopen the automation. Confirm the schedule is present before clicking **Run now**. +5. In the automation's **Runs** tab, open the test run. Confirm its output lists the repository files and branch, rather than only repeating the prompt. Once that works, replace the test instructions with your recurring task and save. +6. To stop future scheduled runs, click **Pause** on the automation and confirm its status is “Paused.” Pausing doesn't cancel runs already started. Click **Resume** to enable it again. + +Daily and weekly controls show your browser's local timezone. Warp saves schedules as UTC cron expressions, so the local firing time can shift when daylight saving time changes. Custom cron expressions use UTC; for example, `0 9 * * 1` runs every Monday at 09:00 UTC. Recheck the next run after editing a schedule or changing timezone. + +If you reuse an automation, review its other triggers and instructions before saving: those triggers also use the updated instructions. + ## Filters in definitions as code In a factory definition, an automation's `triggers` entries declare the provider, event, and filters. Start with the [labeled-issue example](/factories/factory-as-code/#automationsnameautomationmd), then look up supported keys in [Events and filters for factory automations](/factories/automation-triggers/). diff --git a/src/content/docs/factories/connect-your-factory.mdx b/src/content/docs/factories/connect-your-factory.mdx index added444e..22071acbe 100644 --- a/src/content/docs/factories/connect-your-factory.mdx +++ b/src/content/docs/factories/connect-your-factory.mdx @@ -88,7 +88,7 @@ The [Factory MCP](/factories/factory-mcp/) connects local coding agents and othe Not every task starts in an external tool: * Start a direct run for one-off work. Click **New** on the factory's Runs page and describe the task to the foreman, the same way you would from Slack or an issue tracker. -* Create a scheduled automation for recurring work, such as maintenance or reports. See the [Triggers overview](/platform/triggers/) for how schedules and other triggers work across the platform. +* [Schedule a factory automation](/factories/automations/#schedule-a-factory-automation) for recurring work, such as maintenance or reports. For repository-managed definitions, use the [schedule schema](/factories/factory-as-code/#triggersschedule). This automation from [`06-common-automations`](https://github.com/warpdotdev/warp-factory-examples/tree/main/examples/06-common-automations) runs a dependency audit every Monday: diff --git a/src/content/docs/factories/environments.mdx b/src/content/docs/factories/environments.mdx index 2e39932e6..0553b80e7 100644 --- a/src/content/docs/factories/environments.mdx +++ b/src/content/docs/factories/environments.mdx @@ -56,5 +56,6 @@ Linux container runs use a non-root user by default. See [configuring container * [Configuring cloud agent environments](/factories/environments/configuring-environments/) - Create, configure, and manage environments * [Troubleshooting cloud agent environments](/factories/environments/troubleshooting-environments/) - Fix setup, authorization, permissions, and image failures * [Runners](/factories/runners/) - Configure the compute that hosts environments -* [Scheduled agents](/platform/triggers/scheduled-agents/) - Run cloud agents on a recurring cadence in a shared environment +* [Schedule a factory automation](/factories/automations/#schedule-a-factory-automation) - Configure recurring work for a factory +* [Standalone scheduled agents](https://docs.warp.dev/platform/triggers/scheduled-agents/) - Run recurring cloud agents without a factory * [Deployment patterns](/factories/deployment-patterns/) - Choose between Warp-hosted and self-hosted execution diff --git a/src/content/docs/factories/factory-agents/creating-custom-agents.mdx b/src/content/docs/factories/factory-agents/creating-custom-agents.mdx index ec91f80e2..12cdcd65b 100644 --- a/src/content/docs/factories/factory-agents/creating-custom-agents.mdx +++ b/src/content/docs/factories/factory-agents/creating-custom-agents.mdx @@ -20,7 +20,7 @@ For a Warp-managed factory, create the agent in the {VARS.FACTORY_WEB_APP}, find **Jira**, and click **Connect**. -2. **Install Warp for Jira and connect the site.** A Jira site admin installs the app on the Jira Cloud site. In Jira, open **Apps** > **Manage apps** > **Warp** > **Configure**, then click **Connect to Warp**. Once connected, Jira is available to every factory in the workspace. See the [Jira installation steps](/platform/integrations/jira/#setup) for the full app flow. +Connect the Jira site to your Warp workspace before selecting projects for a factory. You need permission to connect workspace integrations in Warp and a Jira site admin to install the app. -If you aren't a Jira site admin, choose **Someone else** during setup and email the request or copy the approval link to a site admin. The link expires after seven days, and you can resend or revoke it while the request is pending. +1. In the {VARS.FACTORY_WEB_APP}, open the top-level **Integrations** page, open **Jira**, and click **Connect**. You can also start Jira setup while creating a factory. Reuse an already connected site instead of installing it again. +2. Open the installation link, choose your Jira Cloud site, review the requested permissions, and install the Warp app. +3. In Jira, open **Apps** > **Manage apps**, find **Warp**, and click **Configure** or **Get Started**. +4. On the app configuration page, click **Connect to Warp**. Sign in to Warp if prompted and finish connecting the site to your workspace. +5. Return to the Jira configuration page and confirm it says “Connected to Warp.” Return to Warp and continue with [factory project selection](#connect-jira-and-add-an-automation). -3. **Connect Jira to the factory.** In the factory dashboard, open **Settings** > **Integrations**, connect **Jira**, select the projects this factory works with, then click **Enable**. If you connected Jira while creating the factory, select the projects before finishing setup. Each factory opts in separately even though the Jira site is connected to the workspace. +If you aren't a Jira site admin, choose **Someone else** during setup and email the request or copy the approval link to a site admin. The link expires after seven days; resend or revoke it while the request is pending. The site admin installs the app, opens its **Configure** or **Get Started** page, verifies the named workspace and requester, and clicks **Approve** only for the expected request. Once the site is connected, return to Warp to select the factory's projects. -4. **Configure the Jira automation.** In the factory dashboard, open **Automations**. If you selected Jira projects during factory creation, edit the existing Jira automation. Otherwise, add a trigger for **Jira** > **Agent session created**. Choose the agent that handles the work, select the projects, and optionally add keywords to narrow which sessions start runs. +## Connect Jira and add an automation -5. **Test the connection.** Assign or mention **Warp** on a work item and include an instruction. Jira starts an agent session, and the run appears under the matching automation in your factory. +1. [Install Warp for Jira and connect the site](#install-warp-for-jira) if it isn't already connected to your workspace. +2. In the factory dashboard, open **Settings** > **Integrations**, connect **Jira**, select the projects this factory works with, then click **Enable**. If you connected Jira while creating the factory, select the projects before finishing setup. Each factory opts in separately even though the Jira site is connected to the workspace. +3. In the factory dashboard, open **Automations**. If you selected Jira projects during factory creation, edit the existing Jira automation. Otherwise, add a trigger for **Jira** > **Agent session created**. Choose the agent that handles the work, select the projects, and optionally add keywords to narrow which sessions start runs. +4. Assign or mention **Warp** on a test work item with a read-only instruction, such as “Summarize this work item without changing it.” Confirm the run appears under the matching automation and the summary returns in the Jira agent session. If Jira asks you to authenticate, [link your own account](#connecting-your-jira-account-to-warp), then retry. The **Warp** agent must be available on your Jira site to assign or mention it. Jira lists it among Atlassian's Rovo agents. {/* VISUAL: A Jira work item assigned to Warp, showing the resulting agent session. */} -The standalone Jira integration uses the `warp-agent` label to start cloud agent runs. Factories use an automation instead. +The [standalone Jira integration](https://docs.warp.dev/platform/integrations/jira/) uses the `warp-agent` label to start cloud agent runs. Factories use an automation instead. ### Configure the automation as code @@ -56,6 +62,17 @@ Handle the Jira assignment and return a concise result. This automation sends Jira sessions from the `ENG` project to the agent named `foreman` when their assignment text contains `investigate` or `fix`. Commit and push the files to apply them. See [definitions as code](/factories/factory-as-code/) for the full syntax. +## Connecting your Jira account to Warp + +Each teammate links their own Jira account so Warp can identify who requested work. Personal linking doesn't require Jira admin access. + +1. In Jira, follow the connection link from Warp's authentication prompt, or open your profile's **Personal settings** and the **Warp Account** app page. +2. Click **Connect Warp account**. In the Warp page that opens, sign in with your Warp account if prompted and finish connecting. +3. Confirm the Warp page says “Jira account connected.” Reload the Jira personal settings page and confirm it says “Warp account connected.” +4. Retry your factory assignment or mention and confirm its run appears under the matching automation. + +To unlink your personal account, click **Disconnect** on the Jira personal settings page. This removes your account link, not the site's Warp app or the factory's project selection. A Jira site admin manages [app uninstallation](#permissions) separately. + ## Filter which sessions start runs All Jira work reaches the factory through a single event, `agent_session_created`, which fires when someone assigns or mentions **Warp** on a work item. A session starts a run only when it matches an enabled automation. Use the trigger's `filter` to narrow what matches: @@ -96,7 +113,7 @@ The [Warp Marketplace listing](https://marketplace.atlassian.com/apps/2476990014 [Jira scopes](https://developer.atlassian.com/platform/forge/manifest-reference/scopes-product-jira/) don't override Jira permissions or issue-security rules. -* **A connected Jira user becomes the run's creator, not its agent** - [Connect your Jira account to Warp](/platform/integrations/jira/#connecting-your-jira-account-to-warp) so a session you start is attributed to you; an unconnected account gets a prompt to connect instead of a run starting. Either way, the run executes as the agent selected by the automation, not as that Jira user. +* **A connected Jira user becomes the run's creator, not its agent** - [Connect your Jira account to Warp](#connecting-your-jira-account-to-warp) so a session you start is attributed to you; an unconnected account gets a prompt to connect instead of a run starting. Either way, the run executes as the agent selected by the automation, not as that Jira user. * **Jira access doesn't include code access** - Connecting Jira lets agents read and update Jira work items, nothing more. Repository access comes from the factory itself. Warp's built-in Jira tools use a person's linked Jira account: @@ -116,7 +133,7 @@ To withdraw the app's site access, a site admin manages or uninstalls it in [Atl * **Warp is unavailable in Jira** - Confirm the Warp app is installed on the Jira Cloud site. On the app's **Configure** page, click **Connect to Warp** if the installation isn't connected to a workspace. If someone else is completing setup, confirm that their setup link is still active. * **No run starts** - Confirm an enabled `agent_session_created` automation exists, its agent is available, and its project and keyword filters match the assignment. -* **Jira asks you to connect an account** - [Link your own Jira account to Warp](/platform/integrations/jira/#connecting-your-jira-account-to-warp), then retry the assignment or mention. Installing the app and connecting the site doesn't link every teammate's account. +* **Jira asks you to connect an account** - [Link your own Jira account to Warp](#connecting-your-jira-account-to-warp), then retry the assignment or mention. Installing the app and connecting the site doesn't link every teammate's account. * **Jira tools say the automation's creator needs to connect** - The automation creator must link their Jira account to Warp using the tool response's **Connect Warp** link. * **The session shows no result** - Open the matching automation's run to see whether the agent is still working, waiting for input, or failed. * **A Jira update fails** - Confirm the app can access the work item's project and that the requested action or workflow transition is valid. diff --git a/src/content/docs/factories/integrations/linear.mdx b/src/content/docs/factories/integrations/linear.mdx index 704c3deb7..a140a54c8 100644 --- a/src/content/docs/factories/integrations/linear.mdx +++ b/src/content/docs/factories/integrations/linear.mdx @@ -6,6 +6,7 @@ description: >- sidebar: label: "Linear" --- +import { VARS } from '@data/vars'; Connect Linear to your factory so your team can send issues without leaving Linear. Assign an issue to the factory or tag it in a comment, and the factory picks it up with the issue's full context, then keeps the issue updated as the work moves through [its stages](/factories/how-factories-work/). @@ -14,11 +15,18 @@ When the factory needs an answer, reply in Linear, or open the live run to steer ## Prerequisites * A factory with the agents and repositories needed for Linear work. See the [Warp Factories quickstart](/factories/quickstart/). -* A Linear account that can authorize the Warp app for the workspace. +* A Linear workspace admin to authorize the Warp app and permission to connect workspace integrations in Warp. * A Warp account linked to your Linear user to start agent sessions. -* Repository access through the factory's [GitHub connection](/platform/integrations/github/) for code changes and pull requests. +* Repository access through the factory's [GitHub connection](/factories/integrations/github/) for code changes and pull requests. -For workspace-level installation, reconnection, and removal steps, see the [Linear integration setup guide](/platform/integrations/linear/). +## Install Linear for your workspace + +Authorize the workspace connection once, then select the Linear teams each factory handles. You don't need a standalone Oz environment for factory routing. + +1. In the {VARS.FACTORY_WEB_APP}, open the top-level **Integrations** page and open **Linear**. If it already shows “Connected,” continue with [factory team selection](#connect-linear). +2. Click **Connect**. In the Linear authorization tab, choose the intended workspace, review the requested access, and authorize Warp. +3. Return to Warp and confirm Linear shows “Connected.” If it doesn't, finish authorization in the Linear tab, then return to Warp again. +4. [Connect Linear to the factory](#connect-linear) and select the teams whose requests it handles. Workspace authorization alone doesn't select those teams. ## Permissions @@ -41,16 +49,18 @@ These scope meanings follow [Linear's OAuth reference](https://linear.app/develo You connect Linear either while creating a factory, at the **Connect your issue trackers** step, or afterward from the factory's **Settings**. Either way you do the same two things: -1. **Authorize Warp for your Linear workspace.** This is Linear's own OAuth flow, and it's only needed once per workspace. -2. **Choose which Linear teams trigger this factory.** +1. [Authorize Warp for your Linear workspace](#install-linear-for-your-workspace) if it isn't already connected. +2. In the factory's **Settings** > **Integrations**, connect **Linear**, select the Linear teams this factory handles, then click **Enable**. During factory creation, select those teams before finishing setup. Warp then adds a default automation that routes new [agent sessions](#route-agent-sessions) from those teams to your factory. Issue and comment activity doesn't start work until you [add triggers](#configure-linear-triggers) for it. ## Route agent sessions -If Warp can't identify the session creator, Linear shows an authentication prompt instead of starting work. +If Warp can't identify the session creator, Linear shows an authentication prompt instead of starting work. Complete that prompt with your own Warp account, then retry the request. + +When someone mentions, assigns, or delegates the Warp app on an issue, Linear starts an agent session. The default automation created when you connected Linear routes new sessions from your selected teams to the factory, so assigning an issue or tagging the factory in a comment is enough to start work. If a session doesn't match any automation, the [standalone Linear integration](https://docs.warp.dev/platform/integrations/linear/) handles it with its default behavior. -When someone mentions, assigns, or delegates the Warp app on an issue, Linear starts an agent session. The default automation created when you connected Linear routes new sessions from your selected teams to the factory, so assigning an issue or tagging the factory in a comment is enough to start work. If a session doesn't match any automation, the [Linear integration](/platform/integrations/linear/) handles it with its default behavior. +Test routing on an issue in a selected team: mention Warp with “Summarize this issue without changing it.” Confirm the run appears under the factory's matching automation and the summary returns in the Linear session.
![A Linear issue with a comment mentioning the Warp app to request a tech spec, which starts an agent session.](../../../../assets/factories/linear-agent-session.png) @@ -129,10 +139,28 @@ Only agent sessions require a linked Warp account. Issue and comment events from Connecting Linear doesn't grant repository access. Branches and pull requests use the factory's code-host credentials, and the pull request still waits for a person to review and merge. +## Reconnect Linear + +If the workspace connection is no longer authorized, an admin repeats the [workspace installation procedure](#install-linear-for-your-workspace) from **Connect**. Confirm the expected Linear workspace and team access on the consent screen. + +If Warp still shows “Connected” but teams don't load, first check the app's team access in Linear and reload Warp. Don't remove a working workspace connection to change one factory's team selection. If the connection must be replaced, [remove it](#remove-linear), then authorize it again; this interrupts every factory using that workspace connection. + +After reconnecting, confirm the intended teams are still selected in the factory's **Settings** > **Integrations** and repeat the [routing test](#route-agent-sessions). Reauthorization doesn't prove a factory's automation filters match. + +## Remove Linear + +Removing the shared connection affects every factory using it, not just the factory you are viewing. You need permission to manage workspace integrations. + +1. In the {VARS.FACTORY_WEB_APP}, open the top-level **Integrations** page and open **Linear**. +2. Click **Remove Linear**, review the scope in the confirmation, then click **Delete**. +3. Confirm Warp reports that the Linear integration was removed and the connection no longer shows “Connected.” + +This removes Warp's workspace connection. It doesn't uninstall the app in Linear or disconnect personal accounts. To revoke the provider grant too, a Linear admin removes Warp's access in Linear; see the [shared Linear uninstallation instructions](https://docs.warp.dev/platform/integrations/linear/#uninstallation-instructions). No factory can route new work through a removed connection. Reconnecting requires authorization and a routing test; don't assume removal resets factory definitions. + ## Troubleshooting * **An agent session shows an authentication prompt** - Complete the prompt to link your Linear user to your Warp account, then retry the request. -* **Teams or filters don't load** - Reconnect Linear by following the [Linear integration setup guide](/platform/integrations/linear/), then confirm the connection can access the workspace and team you expect. +* **Teams or filters don't load** - Follow [Reconnect Linear](#reconnect-linear), then confirm the connection can access the workspace and team you expect. * **An event doesn't start work** - Confirm the automation is enabled, the event type matches, and every filter matches the issue's current values or the state change. * **One action starts multiple runs** - Look for overlapping agent-session and comment triggers, then narrow or remove one. * **A reply doesn't resume a waiting run** - [Check delivery and forward the answer](#replying-to-a-waiting-run). A comment trigger doesn't associate a label-started run with the issue. @@ -141,4 +169,5 @@ Connecting Linear doesn't grant repository access. Branches and pull requests us ## Related pages * [Permissions for factory integrations](/factories/integrations/permissions/) - Compare grants and review status across providers -* [Linear integration](/platform/integrations/linear/) - Install or remove the workspace app +* [Connect your factory](/factories/connect-your-factory/) - Add other sources of factory work +* [Standalone Linear integration](https://docs.warp.dev/platform/integrations/linear/) - Configure Linear-triggered runs outside a factory diff --git a/src/content/docs/factories/self-hosting/data-storage.mdx b/src/content/docs/factories/self-hosting/data-storage.mdx index 871104c27..5e90ad16c 100644 --- a/src/content/docs/factories/self-hosting/data-storage.mdx +++ b/src/content/docs/factories/self-hosting/data-storage.mdx @@ -284,5 +284,5 @@ The bucket name or region is wrong, or the bucket doesn't exist. Confirm both ma * [Architecture](/platform/architecture/#data-security-and-boundaries) - How run data, control-plane data, and inference credentials flow through Warp's platform * [Self-hosting overview](/factories/self-hosting/) - Run agent compute on your own infrastructure instead of Warp-managed servers -* [Cloud agent secrets](/platform/secrets/) - Store credentials agents use during a run +* [Factory secrets](/factories/secrets/) - Store credentials factory agents use during a run * [Admin Panel for teams](/enterprise/team-management/admin-panel/) - The full reference for team settings, including the Platform section diff --git a/src/content/docs/factories/self-hosting/index.mdx b/src/content/docs/factories/self-hosting/index.mdx index f08409e9f..43a60e13f 100644 --- a/src/content/docs/factories/self-hosting/index.mdx +++ b/src/content/docs/factories/self-hosting/index.mdx @@ -66,7 +66,7 @@ oz agent run-cloud \ Combine `--host` with other `run-cloud` flags when the run also needs an environment, model, or other configuration. -Use the same worker ID when you create or update schedules and integrations: +For standalone schedules and integrations, use the same worker ID: ```bash oz schedule create \ @@ -82,7 +82,7 @@ oz integration update linear --host "my-worker" API requests set the same worker ID in `config.worker_host`. -In the {VARS.WEB_APP}, select the worker from the host options when you create a run, schedule, or integration. See the relevant [trigger](/platform/triggers/) or [{VARS.WARP_PLATFORM_API}](/factories/api-and-sdk/) documentation for other creation options. +For standalone runs in the {VARS.WEB_APP}, select the worker from the host options when you create a run, schedule, or integration. See the [standalone triggers](https://docs.warp.dev/platform/triggers/) or [{VARS.WARP_PLATFORM_API}](/factories/api-and-sdk/) documentation for other creation options. Host selection is independent of the [environment](/factories/environments/). A managed run can use the same environment with Warp-hosted or self-hosted execution; the selected backend determines how the worker applies its image and setup configuration. diff --git a/src/content/docs/factories/self-hosting/security-and-networking.mdx b/src/content/docs/factories/self-hosting/security-and-networking.mdx index 343c8e1c6..d0f6c005a 100644 --- a/src/content/docs/factories/self-hosting/security-and-networking.mdx +++ b/src/content/docs/factories/self-hosting/security-and-networking.mdx @@ -111,7 +111,7 @@ Warp services above use port `443`; your registries, repositories, and internal Self-hosted agents can reach VPN services, private source control, and databases when their execution environment has access. Apply network policies to the task runtime as well as the worker. -See [GitLab](/platform/integrations/gitlab/) and [Bitbucket](/platform/integrations/bitbucket/) setup guides for SCM integration details. +For GitLab.com, use the [factory GitLab integration](/factories/integrations/gitlab/). For self-managed GitLab, Bitbucket, and other token-based repository access, use [other code forges](/factories/code-forges/other-code-forges/); the shared [Bitbucket token instructions](https://docs.warp.dev/platform/integrations/bitbucket/) provide the credential and clone formats. Token-based access doesn't add provider-specific factory events. --- diff --git a/src/content/docs/platform/integrations/cloud-providers.mdx b/src/content/docs/platform/integrations/cloud-providers.mdx index f3efaa8d9..3f6740a28 100644 --- a/src/content/docs/platform/integrations/cloud-providers.mdx +++ b/src/content/docs/platform/integrations/cloud-providers.mdx @@ -1,13 +1,13 @@ --- title: Cloud providers description: >- - Connect cloud agents to your AWS and GCP services. + Configure AWS and GCP federation for factory runs or standalone cloud agents using short-lived OIDC credentials. sidebar: label: "AWS, GCP, and other cloud providers" --- import { VARS } from '@data/vars'; -Cloud agents can securely access AWS, GCP, and other cloud providers using short-lived OpenID Connect (OIDC) credentials. Configure your cloud agent environment to automatically authenticate to your cloud provider without storing long-lived keys, using Warp's built-in OIDC federation support. +Cloud agents access AWS, GCP, and other cloud providers using short-lived OpenID Connect (OIDC) credentials instead of long-lived keys. For a factory, [configure its default environment](#configure-a-factory-environment) from the factory's settings. For standalone runs, configure an environment in the {VARS.WEB_APP}. --- @@ -18,6 +18,33 @@ Cloud agents can securely access AWS, GCP, and other cloud providers using short Follow the section for your cloud provider. +## Configure a factory environment + +Configure cloud access from your factory's **Settings** > **Integrations** in the {VARS.FACTORY_WEB_APP}. These settings apply to the factory's default environment; you don't need to create a separate environment. + +You need permission to edit the factory's cloud-provider settings and an administrator who can configure federation in your cloud account. Reuse an existing trusted provider and role or pool when their access matches the factory's needs. Otherwise, create them with the shared [AWS](#aws) or [GCP](#gcp) instructions below. + +### Configure AWS for a factory + +1. In AWS, create or reuse the [OIDC identity provider](#step-1-create-an-oidc-identity-provider) and [IAM role](#step-2-configure-an-iam-role). Restrict the role's trust to the intended Warp team or principals and grant only the resource permissions the task needs. +2. In the factory's **Settings** > **Integrations**, open **Amazon Web Services** and click **Set up**. To edit saved settings, choose **Connection Settings** from the connection's menu. +3. In "Role ARN," enter the IAM role ARN, then click **Save**. +4. Confirm the “Amazon Web Services connected” notification. Reopen **Connection Settings** and confirm the saved role ARN. +5. Start a controlled factory run using an agent whose runtime includes the AWS CLI. Ask it to run `aws sts get-caller-identity` and report whether the returned role and account match the authorized test account. Don't print tokens or credentials. + +Saving confirms the configuration, not cloud access. If the read-only check fails, review the role's trust conditions and permissions; don't broaden the trust policy to bypass a mismatch. + +### Configure GCP for a factory + +1. In Google Cloud, create or reuse a [Workload Identity Pool and Provider](#step-1-create-a-workload-identity-pool-and-provider) and configure [IAM policies](#step-2-configure-iam-policies) for the resources the factory needs. Keep the Warp team restriction on the provider. +2. In the factory's **Settings** > **Integrations**, open **Google Cloud** and click **Set up**. To edit saved settings, choose **Connection Settings** from the connection's menu. +3. Enter "Project number," "Workload Identity Federation pool ID," and "Workload Identity Federation provider ID" for the pool you configured. +4. Leave "Service account to impersonate (optional)" empty for direct federated access. If your cloud administrator configured service account impersonation, enter that service account's email. Click **Save**. +5. Confirm the “Google Cloud connected” notification. Reopen **Connection Settings** and confirm the saved values. +6. Start a controlled factory run using an agent whose runtime includes `gcloud`. Ask it to perform a non-mutating operation permitted by the test account's policy, such as listing Compute Engine instances when you granted the viewer role in the [IAM example](#step-2-configure-iam-policies). Confirm the result belongs to the authorized test project. Don't print access tokens or credential files. + +If saving succeeds but the access check fails, confirm the project number, pool, provider, attribute condition, and IAM grant. An optional service account email doesn't itself grant permission to impersonate that account. + --- ## AWS @@ -125,7 +152,7 @@ To allow multiple specific principals, use a list of subjects: ### Step 3: Enable AWS federation in your cloud agent environment -Finally, configure the cloud agent environment to use your new AWS role. +For standalone runs, configure the cloud agent environment to use your new AWS role. For a factory's default environment, use [factory AWS settings](#configure-aws-for-a-factory) instead. 1. Open the {VARS.WEB_APP}. 2. Create or edit an environment. See [Environments](/platform/oz-web-app/#environments) for instructions. @@ -133,7 +160,7 @@ Finally, configure the cloud agent environment to use your new AWS role. 4. Save the environment. :::caution -Currently, AWS federation can only be configured in the {VARS.WEB_APP}, not the CLI. +Standalone environment AWS federation is configured in the {VARS.WEB_APP}, not the CLI. ::: Agents running in this environment will now automatically assume the configured role when using @@ -211,7 +238,7 @@ for the full syntax supported. ### Step 3: Enable Workload Identity Federation in your cloud agent environment -Finally, configure the cloud agent environment to use your Workload Identity Federation provider. +For standalone runs, configure the cloud agent environment to use your Workload Identity Federation provider. For a factory's default environment, use [factory GCP settings](#configure-gcp-for-a-factory) instead. 1. Open the {VARS.WEB_APP}. 2. Create or edit an environment. See [Environments](/platform/oz-web-app/#environments) for instructions. @@ -219,7 +246,7 @@ Finally, configure the cloud agent environment to use your Workload Identity Fed 4. Save the environment. :::caution -Currently, Workload Identity Federation can only be configured in the {VARS.WEB_APP}, not the CLI. +Standalone environment Workload Identity Federation is configured in the {VARS.WEB_APP}, not the CLI. ::: Agents running in this environment will now automatically configure @@ -388,3 +415,8 @@ The following OIDC token references an agent running as a specific Warp user: "nbf": 1775206575 } ``` + +## Related pages + +* [Environments for factory agents](https://docs.warp.dev/factories/environments/) - Choose factory defaults or an existing environment +* [Configuring cloud agent environments](https://docs.warp.dev/factories/environments/configuring-environments/) - Manage standalone environments diff --git a/src/content/docs/platform/integrations/github.mdx b/src/content/docs/platform/integrations/github.mdx index a9a3d8727..722f6405e 100644 --- a/src/content/docs/platform/integrations/github.mdx +++ b/src/content/docs/platform/integrations/github.mdx @@ -12,6 +12,8 @@ The GitHub integration lets your team start cloud agents from GitHub itself. Men The integration is powered by the [Warp Factories](/factories/) GitHub App. Once a team admin installs the app and enables the GitHub organization, every teammate who has connected their GitHub account can trigger agents from GitHub without leaving a review or an issue. +App installation and personal account linking are shared prerequisites. For factory repository selection, labels, and automation routing, [connect GitHub to your factory](https://docs.warp.dev/factories/integrations/github/); the standalone `@warp-agent` flow below uses separate run settings. + :::note This page covers the native GitHub App integration. It is distinct from two other GitHub surfaces: diff --git a/src/content/docs/platform/integrations/index.mdx b/src/content/docs/platform/integrations/index.mdx index 0938c1550..5249c8054 100644 --- a/src/content/docs/platform/integrations/index.mdx +++ b/src/content/docs/platform/integrations/index.mdx @@ -14,7 +14,7 @@ Warp integrations let your team trigger agents directly from the terminal, or fr * Run code inside your codebase in a remote environment * Open pull requests and perform other multi-step agent workflows on your behalf -For intake that routes work through a factory's named agents and automations, use the [Factory integrations](/factories/connect-your-factory/) documentation. +The environment-based setup below is for standalone runs. For intake that routes work through a factory's agents and automations, [connect your factory](https://docs.warp.dev/factories/connect-your-factory/) instead. Integrations are one way to start a cloud agent. For the full set, including schedules, the {VARS.WARP_AGENT_CLI}, and the API, see [Triggers](/platform/triggers/). If you're deciding which one to use, see [Run agents unattended with schedules and triggers](/guides/agent-workflows/how-to-run-unattended-agents/). diff --git a/src/content/docs/platform/integrations/jira.mdx b/src/content/docs/platform/integrations/jira.mdx index 1ece2f59b..dd3186d7f 100644 --- a/src/content/docs/platform/integrations/jira.mdx +++ b/src/content/docs/platform/integrations/jira.mdx @@ -9,6 +9,8 @@ import { VARS } from '@data/vars'; The Jira integration lets your team kick off cloud agent runs directly from Jira Cloud issues. When you add the `warp-agent` label to an issue, an agent starts in the cloud and gets to work — then posts status updates and a summary as Jira comments when it's done. +The `warp-agent` label is a standalone workflow. To install the shared Jira app, link your account, and route assignments or mentions to a factory, use [Connect Jira to your factory](https://docs.warp.dev/factories/integrations/jira/). Factory work uses automations, not this label. + --- ### Requirements diff --git a/src/content/docs/platform/integrations/linear.mdx b/src/content/docs/platform/integrations/linear.mdx index 43edcfd30..336b14233 100644 --- a/src/content/docs/platform/integrations/linear.mdx +++ b/src/content/docs/platform/integrations/linear.mdx @@ -13,7 +13,7 @@ The Linear integration lets your team delegate development work directly to agen Agents keep you updated inside Linear, generate pull requests using your GitHub account, and provide a link to join a live remote session so you can watch or steer the workflow in real time. -For event-driven factory workflows, use the [Linear trigger reference](https://docs.warp.dev/factories/automation-triggers/#linear) to select exact event names, filter keys, and label or comment subscriptions. +The environment-based setup below is for standalone runs. To authorize the workspace app and select the teams a factory handles, [connect Linear to your factory](https://docs.warp.dev/factories/integrations/linear/). For event names and filters, use the [Linear trigger reference](https://docs.warp.dev/factories/automation-triggers/#linear). diff --git a/src/content/docs/platform/integrations/quickstart.mdx b/src/content/docs/platform/integrations/quickstart.mdx index e0b06e6a5..f5d092803 100644 --- a/src/content/docs/platform/integrations/quickstart.mdx +++ b/src/content/docs/platform/integrations/quickstart.mdx @@ -8,7 +8,9 @@ sidebar: --- import { VARS } from '@data/vars'; -{VARS.WARP_AUTOMATION_PLATFORM} integrations let you trigger cloud agents directly from the tools your team already uses. This guide walks you through connecting Warp to Slack. Once set up, anyone on your team can tag @warp in a message or thread to kick off a cloud agent that runs the task and posts results back to the conversation. +Connect the shared Slack integration to start standalone cloud agent runs from messages and threads. The run uses the environment you select and posts results back to Slack. + +To route Slack requests through a factory, [connect its dedicated Slack app](https://docs.warp.dev/factories/integrations/slack/) instead. For other factory sources, [connect your factory](https://docs.warp.dev/factories/connect-your-factory/). :::note **Want to connect with Linear instead?** The setup is the same — just substitute `slack` with `linear` in the CLI commands, or select Linear in the {VARS.WEB_APP}. See [Linear](/platform/integrations/linear/) for details. diff --git a/src/content/docs/platform/integrations/slack.mdx b/src/content/docs/platform/integrations/slack.mdx index 87eef1123..062bcf925 100644 --- a/src/content/docs/platform/integrations/slack.mdx +++ b/src/content/docs/platform/integrations/slack.mdx @@ -10,6 +10,8 @@ import { VARS } from '@data/vars'; The Slack integration lets your team trigger cloud agents directly from Slack conversations. Tag @Warp in a message or DM the bot to start a cloud agent that clones your repos, works through the task, posts progress updates, and opens pull requests back into the same thread. +These are the shared workspace-app and standalone run instructions. A factory uses its own dedicated Slack app and automation routing; [connect Slack to your factory](https://docs.warp.dev/factories/integrations/slack/) for that setup. + ### Get started #### Installation diff --git a/src/content/docs/platform/triggers/index.mdx b/src/content/docs/platform/triggers/index.mdx index 490144081..35117b8b6 100644 --- a/src/content/docs/platform/triggers/index.mdx +++ b/src/content/docs/platform/triggers/index.mdx @@ -1,14 +1,13 @@ --- title: Triggers overview description: >- - Configure triggers to run cloud agents automatically based on schedules or - events. + Start standalone cloud agents from schedules, integrations, CI, the CLI, or the API, or choose factory automations for factory work. --- import { VARS } from '@data/vars'; -A trigger is anything that starts a cloud agent run without you typing a prompt: a recurring schedule, an integration like Slack or Linear, a CI event, or a call to the API. This page covers the full set, including the [integrations](/platform/integrations/) that connect agents to the tools your team already uses. +A trigger starts a cloud agent run: a recurring schedule, an integration like Slack or Linear, a CI event, or a CLI or API request. Standalone workflows run without a factory and use their own environment, prompt, and run settings. -For triggers that route work through one factory's named agents and workflow, use [factory automations](/factories/automations/) and [factory integrations](/factories/connect-your-factory/). +For triggers that route work through one factory's agents and workflow, use [factory automations](https://docs.warp.dev/factories/automations/). To configure recurring factory work, [schedule a factory automation](https://docs.warp.dev/factories/automations/#schedule-a-factory-automation); for external sources, [connect your factory](https://docs.warp.dev/factories/connect-your-factory/). To set up your first recurring agent, follow the [Scheduled Agents Quickstart](/platform/triggers/scheduled-agents-quickstart/). @@ -22,6 +21,12 @@ If you're choosing between schedules, Slack, Linear, GitHub, GitHub Actions, the * **[Integrations](/platform/integrations/)** - Trigger agents from external services like Slack, Linear, or Jira. * **[GitHub](/platform/integrations/github/)** - Mention `@warp-agent` on an issue, pull request, or review comment to start an agent that replies in the thread. * **[GitHub Actions](/platform/integrations/github-actions/)** - Run agents from your own CI workflows and repository events. -* **[Custom webhooks](/factories/webhooks/)** - Give a [factory](/factories/) an authenticated URL that any system can POST JSON to, and start its automations from the deliveries. + +[Custom webhooks](https://docs.warp.dev/factories/webhooks/) start factory automations, not standalone integration runs. After a trigger fires, track and review the resulting runs across your team from the [Agent Management Panel and {VARS.WEB_APP} Runs page](/platform/managing-cloud-agents/), where you can filter by source, status, day, or creator. + +## Related pages + +* [Scheduled Agents quickstart](/platform/triggers/scheduled-agents-quickstart/) - Create a standalone schedule in the web app +* [Factory automations](https://docs.warp.dev/factories/automations/) - Route recurring or event-driven work through a factory diff --git a/src/content/docs/platform/triggers/scheduled-agents-quickstart.mdx b/src/content/docs/platform/triggers/scheduled-agents-quickstart.mdx index 145c5a4c7..54aaaa6cb 100644 --- a/src/content/docs/platform/triggers/scheduled-agents-quickstart.mdx +++ b/src/content/docs/platform/triggers/scheduled-agents-quickstart.mdx @@ -11,6 +11,8 @@ import { VARS } from '@data/vars'; Scheduled agents are cloud agents that run on a recurring cron schedule, handling recurring tasks automatically without manual triggers. This guide walks you through setting up an agent that triages your GitHub bug reports every week, checks whether each issue has enough detail to investigate, and posts follow-up comments when information is missing. You'll use a prebundled skill and the {VARS.WEB_APP}; no CLI or custom code required. +This is a standalone schedule, not a factory automation. For recurring factory work, [schedule a factory automation](https://docs.warp.dev/factories/automations/#schedule-a-factory-automation). + Watch this short demo of creating and testing a scheduled agent: diff --git a/src/content/docs/platform/triggers/scheduled-agents.mdx b/src/content/docs/platform/triggers/scheduled-agents.mdx index 2158b613e..17a0ec91b 100644 --- a/src/content/docs/platform/triggers/scheduled-agents.mdx +++ b/src/content/docs/platform/triggers/scheduled-agents.mdx @@ -9,7 +9,9 @@ sidebar: import VideoEmbed from '@components/VideoEmbed.astro'; import { VARS } from '@data/vars'; -Warp's Scheduled Agents let you run cloud agents automatically on a **recurring schedule**. They are designed for routine, repeatable tasks that should happen without manual intervention, such as dead code cleanup, dependency maintenance, issue triage, or periodic refactors. +Standalone scheduled agents run recurring tasks without a factory, such as dependency checks, issue triage, or repository maintenance. Manage them with `oz schedule` or the {VARS.WEB_APP}. + +For recurring work handled by a factory's agents, [schedule a factory automation](https://docs.warp.dev/factories/automations/#schedule-a-factory-automation) instead. From 4f6eebe7c920857c82e48fdda5869bfd856a1716 Mon Sep 17 00:00:00 2001 From: "warp-agent-staging[bot]" <240773466+warp-agent-staging[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 00:47:13 +0000 Subject: [PATCH 3/6] docs: tighten setup wording and match current control labels Co-Authored-By: Oz --- src/content/docs/factories/integrations/linear.mdx | 2 +- src/content/docs/platform/integrations/github.mdx | 2 +- src/content/docs/platform/integrations/linear.mdx | 2 -- src/content/docs/platform/integrations/slack.mdx | 2 -- .../docs/platform/triggers/scheduled-agents-quickstart.mdx | 2 +- 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/content/docs/factories/integrations/linear.mdx b/src/content/docs/factories/integrations/linear.mdx index a140a54c8..6221d7e7f 100644 --- a/src/content/docs/factories/integrations/linear.mdx +++ b/src/content/docs/factories/integrations/linear.mdx @@ -21,7 +21,7 @@ When the factory needs an answer, reply in Linear, or open the live run to steer ## Install Linear for your workspace -Authorize the workspace connection once, then select the Linear teams each factory handles. You don't need a standalone Oz environment for factory routing. +Authorize the workspace connection once, then select the Linear teams each factory handles. You don't need a separate environment for factory routing. 1. In the {VARS.FACTORY_WEB_APP}, open the top-level **Integrations** page and open **Linear**. If it already shows “Connected,” continue with [factory team selection](#connect-linear). 2. Click **Connect**. In the Linear authorization tab, choose the intended workspace, review the requested access, and authorize Warp. diff --git a/src/content/docs/platform/integrations/github.mdx b/src/content/docs/platform/integrations/github.mdx index 722f6405e..91bac0cc2 100644 --- a/src/content/docs/platform/integrations/github.mdx +++ b/src/content/docs/platform/integrations/github.mdx @@ -15,7 +15,7 @@ The integration is powered by the [Warp Factories](/factories/) GitHub App. Once App installation and personal account linking are shared prerequisites. For factory repository selection, labels, and automation routing, [connect GitHub to your factory](https://docs.warp.dev/factories/integrations/github/); the standalone `@warp-agent` flow below uses separate run settings. :::note -This page covers the native GitHub App integration. It is distinct from two other GitHub surfaces: +The native GitHub App integration is distinct from two other GitHub surfaces: * [GitHub Actions](/platform/integrations/github-actions/) runs agents inside your own CI workflows with the `oz-agent-action` workflow step. You control the trigger, permissions, and prompt in YAML. * [Team GitHub authorization](/platform/team-access-billing-and-identity/#team-github-authorization) is how agents authenticate to GitHub to clone repos and open pull requests, regardless of where a run started. diff --git a/src/content/docs/platform/integrations/linear.mdx b/src/content/docs/platform/integrations/linear.mdx index 336b14233..fbb569089 100644 --- a/src/content/docs/platform/integrations/linear.mdx +++ b/src/content/docs/platform/integrations/linear.mdx @@ -17,8 +17,6 @@ The environment-based setup below is for standalone runs. To authorize the works -This guide explains what the integration does, how it works end-to-end, and how to configure it for your Warp team. - --- ### Triggering agents inside Linear diff --git a/src/content/docs/platform/integrations/slack.mdx b/src/content/docs/platform/integrations/slack.mdx index 062bcf925..5beb45ab4 100644 --- a/src/content/docs/platform/integrations/slack.mdx +++ b/src/content/docs/platform/integrations/slack.mdx @@ -95,8 +95,6 @@ Once the agent finishes, it will: * Generate a clean title and description referencing your Slack request * Post the summary and PR link directly into the Slack thread -Because PRs are created as you, the workflow slots seamlessly into your team’s existing review process. - --- ### Configuration diff --git a/src/content/docs/platform/triggers/scheduled-agents-quickstart.mdx b/src/content/docs/platform/triggers/scheduled-agents-quickstart.mdx index 54aaaa6cb..d152e391a 100644 --- a/src/content/docs/platform/triggers/scheduled-agents-quickstart.mdx +++ b/src/content/docs/platform/triggers/scheduled-agents-quickstart.mdx @@ -9,7 +9,7 @@ sidebar: import VideoEmbed from '@components/VideoEmbed.astro'; import { VARS } from '@data/vars'; -Scheduled agents are cloud agents that run on a recurring cron schedule, handling recurring tasks automatically without manual triggers. This guide walks you through setting up an agent that triages your GitHub bug reports every week, checks whether each issue has enough detail to investigate, and posts follow-up comments when information is missing. You'll use a prebundled skill and the {VARS.WEB_APP}; no CLI or custom code required. +Schedule a standalone cloud agent in the {VARS.WEB_APP} to triage GitHub bug reports each week. Use the prebundled skill to check whether issues have enough detail to investigate and request missing information. This is a standalone schedule, not a factory automation. For recurring factory work, [schedule a factory automation](https://docs.warp.dev/factories/automations/#schedule-a-factory-automation). From 320ba180a4716ede0f6ff1b4b617641c2368012b Mon Sep 17 00:00:00 2001 From: "warp-agent-staging[bot]" <240773466+warp-agent-staging[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 01:16:50 +0000 Subject: [PATCH 4/6] docs: correct custom schedule previews and scoped settings steps Co-Authored-By: Oz --- src/content/docs/factories/automations.mdx | 6 +++--- src/content/docs/factories/integrations/linear.mdx | 2 +- src/content/docs/platform/integrations/cloud-providers.mdx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/content/docs/factories/automations.mdx b/src/content/docs/factories/automations.mdx index 7943659be..8082068a2 100644 --- a/src/content/docs/factories/automations.mdx +++ b/src/content/docs/factories/automations.mdx @@ -68,12 +68,12 @@ For automations managed in the web app: 1. In the {VARS.FACTORY_WEB_APP}, expand your factory and click **Automations**. Open an existing automation to reuse it, or click **New** and give it a name. 2. Under "Agents," choose the existing agent that will handle the task. In "Agent prompt," enter instructions for each run. For a controlled first test, use: “List the repository's top-level files and report the current branch. Do not modify files, create issues, or open pull requests.” -3. In "Triggers," click **Add trigger** > **Scheduled** and choose **Hourly**, **Daily**, **Weekly**, or **Custom (cron)**. Set the time or cron expression and check "Next run." -4. Click **Save**, then reopen the automation. Confirm the schedule is present before clicking **Run now**. +3. In "Triggers," click **Add trigger** > **Scheduled** and choose **Hourly**, **Daily**, **Weekly**, or **Custom (cron)**. Set the time or cron expression. For preset frequencies, check "Next run"; new custom cron expressions have no next-run preview. +4. Click **Save**, then reopen the automation. Confirm the schedule is present before clicking **Run now**. This tests the agent's instructions, not the scheduled firing time. 5. In the automation's **Runs** tab, open the test run. Confirm its output lists the repository files and branch, rather than only repeating the prompt. Once that works, replace the test instructions with your recurring task and save. 6. To stop future scheduled runs, click **Pause** on the automation and confirm its status is “Paused.” Pausing doesn't cancel runs already started. Click **Resume** to enable it again. -Daily and weekly controls show your browser's local timezone. Warp saves schedules as UTC cron expressions, so the local firing time can shift when daylight saving time changes. Custom cron expressions use UTC; for example, `0 9 * * 1` runs every Monday at 09:00 UTC. Recheck the next run after editing a schedule or changing timezone. +Daily and weekly controls show your browser's local timezone. Warp saves schedules as UTC cron expressions, so the local firing time can shift when daylight saving time changes. Custom cron expressions use UTC; for example, `0 9 * * 1` runs every Monday at 09:00 UTC. Recheck the preset next-run preview after changing the time or timezone. If you reuse an automation, review its other triggers and instructions before saving: those triggers also use the updated instructions. diff --git a/src/content/docs/factories/integrations/linear.mdx b/src/content/docs/factories/integrations/linear.mdx index 6221d7e7f..fcc19a5c5 100644 --- a/src/content/docs/factories/integrations/linear.mdx +++ b/src/content/docs/factories/integrations/linear.mdx @@ -145,7 +145,7 @@ If the workspace connection is no longer authorized, an admin repeats the [works If Warp still shows “Connected” but teams don't load, first check the app's team access in Linear and reload Warp. Don't remove a working workspace connection to change one factory's team selection. If the connection must be replaced, [remove it](#remove-linear), then authorize it again; this interrupts every factory using that workspace connection. -After reconnecting, confirm the intended teams are still selected in the factory's **Settings** > **Integrations** and repeat the [routing test](#route-agent-sessions). Reauthorization doesn't prove a factory's automation filters match. +After reconnecting, open the factory's **Settings**, click **Integrations**, and confirm the intended teams are still selected. Repeat the [routing test](#route-agent-sessions). Reauthorization doesn't prove a factory's automation filters match. ## Remove Linear diff --git a/src/content/docs/platform/integrations/cloud-providers.mdx b/src/content/docs/platform/integrations/cloud-providers.mdx index 3f6740a28..78c90d587 100644 --- a/src/content/docs/platform/integrations/cloud-providers.mdx +++ b/src/content/docs/platform/integrations/cloud-providers.mdx @@ -20,14 +20,14 @@ Follow the section for your cloud provider. ## Configure a factory environment -Configure cloud access from your factory's **Settings** > **Integrations** in the {VARS.FACTORY_WEB_APP}. These settings apply to the factory's default environment; you don't need to create a separate environment. +In the {VARS.FACTORY_WEB_APP}, open your factory's **Settings**, then click **Integrations**. These settings apply to the factory's default environment; you don't need to create a separate environment. You need permission to edit the factory's cloud-provider settings and an administrator who can configure federation in your cloud account. Reuse an existing trusted provider and role or pool when their access matches the factory's needs. Otherwise, create them with the shared [AWS](#aws) or [GCP](#gcp) instructions below. ### Configure AWS for a factory 1. In AWS, create or reuse the [OIDC identity provider](#step-1-create-an-oidc-identity-provider) and [IAM role](#step-2-configure-an-iam-role). Restrict the role's trust to the intended Warp team or principals and grant only the resource permissions the task needs. -2. In the factory's **Settings** > **Integrations**, open **Amazon Web Services** and click **Set up**. To edit saved settings, choose **Connection Settings** from the connection's menu. +2. In the factory's **Settings**, click **Integrations**, then open **Amazon Web Services** and click **Set up**. To edit saved settings, choose **Connection Settings** from the connection's menu. 3. In "Role ARN," enter the IAM role ARN, then click **Save**. 4. Confirm the “Amazon Web Services connected” notification. Reopen **Connection Settings** and confirm the saved role ARN. 5. Start a controlled factory run using an agent whose runtime includes the AWS CLI. Ask it to run `aws sts get-caller-identity` and report whether the returned role and account match the authorized test account. Don't print tokens or credentials. @@ -37,7 +37,7 @@ Saving confirms the configuration, not cloud access. If the read-only check fail ### Configure GCP for a factory 1. In Google Cloud, create or reuse a [Workload Identity Pool and Provider](#step-1-create-a-workload-identity-pool-and-provider) and configure [IAM policies](#step-2-configure-iam-policies) for the resources the factory needs. Keep the Warp team restriction on the provider. -2. In the factory's **Settings** > **Integrations**, open **Google Cloud** and click **Set up**. To edit saved settings, choose **Connection Settings** from the connection's menu. +2. In the factory's **Settings**, click **Integrations**, then open **Google Cloud** and click **Set up**. To edit saved settings, choose **Connection Settings** from the connection's menu. 3. Enter "Project number," "Workload Identity Federation pool ID," and "Workload Identity Federation provider ID" for the pool you configured. 4. Leave "Service account to impersonate (optional)" empty for direct federated access. If your cloud administrator configured service account impersonation, enter that service account's email. Click **Save**. 5. Confirm the “Google Cloud connected” notification. Reopen **Connection Settings** and confirm the saved values. From 259a08a85eb6a387e537f89b9b49d74763c7024e Mon Sep 17 00:00:00 2001 From: "warp-agent-staging[bot]" <240773466+warp-agent-staging[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2026 00:25:47 +0000 Subject: [PATCH 5/6] docs: align automation UI labels, callouts, and wording with main Co-Authored-By: Oz --- src/content/docs/factories/automations.mdx | 10 +++++----- src/content/docs/factories/integrations/jira.mdx | 8 ++++---- src/content/docs/factories/integrations/linear.mdx | 14 +++++++------- .../docs/platform/integrations/cloud-providers.mdx | 14 ++++++-------- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/src/content/docs/factories/automations.mdx b/src/content/docs/factories/automations.mdx index 9439f2180..e36a1a578 100644 --- a/src/content/docs/factories/automations.mdx +++ b/src/content/docs/factories/automations.mdx @@ -62,18 +62,18 @@ To edit an existing automation's filters: ## Schedule a factory automation -Use a scheduled automation for recurring factory work, such as a weekly repository report. You need permission to edit automations and an existing [factory agent](/factories/factory-agents/) with the repositories, tools, and credentials the task needs. +Use a scheduled automation for recurring factory work, such as a weekly repository report. You need permission to edit automations and an existing [factory worker](/factories/factory-agents/) with the repositories, tools, and credentials the task needs. If your factory definition is repository-managed, edit or add an `automations/NAME/automation.md` file using the [schedule schema](/factories/factory-as-code/#triggersschedule), then commit and push it. The Automations page is read-only for those definitions. For automations managed in the web app: 1. In the {VARS.FACTORY_WEB_APP}, expand your factory and click **Automations**. Open an existing automation to reuse it, or click **New** and give it a name. -2. Under "Agents," choose the existing agent that will handle the task. In "Agent prompt," enter instructions for each run. For a controlled first test, use: “List the repository's top-level files and report the current branch. Do not modify files, create issues, or open pull requests.” -3. In "Triggers," click **Add trigger** > **Scheduled** and choose **Hourly**, **Daily**, **Weekly**, or **Custom (cron)**. Set the time or cron expression. For preset frequencies, check "Next run"; new custom cron expressions have no next-run preview. -4. Click **Save**, then reopen the automation. Confirm the schedule is present before clicking **Run now**. This tests the agent's instructions, not the scheduled firing time. +2. Under "Workers", select the existing worker that will handle the task (or select a stage under "Stages" if your factory uses a blueprint). In "Worker prompt", enter instructions for each run. For a controlled first test, use: "List the repository's top-level files and report the current branch. Do not modify files, create issues, or open pull requests." +3. In "Triggers", click **Add trigger** > **Scheduled** and select **Hourly**, **Daily**, **Weekly**, or **Custom (cron)**. Set the time or cron expression. For preset frequencies, check "Next run"; new custom cron expressions have no next-run preview. +4. Click **Save**, then reopen the automation. Confirm the schedule is present before clicking **Run now**. This tests the worker's instructions, not the scheduled firing time. 5. In the automation's **Runs** tab, open the test run. Confirm its output lists the repository files and branch, rather than only repeating the prompt. Once that works, replace the test instructions with your recurring task and save. -6. To stop future scheduled runs, click **Pause** on the automation and confirm its status is “Paused.” Pausing doesn't cancel runs already started. Click **Resume** to enable it again. +6. To stop future scheduled runs, click **Pause** on the automation and confirm its status is "Paused". Pausing doesn't cancel runs already started. Click **Resume** to enable it again. Daily and weekly controls show your browser's local timezone. Warp saves schedules as UTC cron expressions, so the local firing time can shift when daylight saving time changes. Custom cron expressions use UTC; for example, `0 9 * * 1` runs every Monday at 09:00 UTC. Recheck the preset next-run preview after changing the time or timezone. diff --git a/src/content/docs/factories/integrations/jira.mdx b/src/content/docs/factories/integrations/jira.mdx index 2b5dbd32d..1718e91f4 100644 --- a/src/content/docs/factories/integrations/jira.mdx +++ b/src/content/docs/factories/integrations/jira.mdx @@ -20,13 +20,13 @@ For a new shared Jira connection, involve your Warp team owner or admin on self- ## Install Warp for Jira -Connect the Jira site to your Warp workspace before selecting projects for a factory. You need permission to connect workspace integrations in Warp and a Jira site admin to install the app. +Connect the Jira Cloud site to your Warp team or workspace before selecting projects for a factory. 1. In the {VARS.FACTORY_WEB_APP}, open the top-level **Integrations** page, open **Jira**, and click **Connect**. You can also start Jira setup while creating a factory. Reuse an already connected site instead of installing it again. 2. Open the installation link, choose your Jira Cloud site, review the requested permissions, and install the Warp app. 3. In Jira, open **Apps** > **Manage apps**, find **Warp**, and click **Configure** or **Get Started**. 4. On the app configuration page, click **Connect to Warp**. Sign in to Warp if prompted and finish connecting the site to your workspace. -5. Return to the Jira configuration page and confirm it says “Connected to Warp.” Return to Warp and continue with [factory project selection](#connect-jira-and-add-an-automation). +5. Return to the Jira configuration page and confirm it says "Connected to Warp". Return to Warp and continue with [factory project selection](#connect-jira-and-add-an-automation). If you aren't a Jira site admin, choose **Someone else** during setup and email the request or copy the approval link to a site admin. The link expires after seven days; resend or revoke it while the request is pending. The site admin installs the app, opens its **Configure** or **Get Started** page, verifies the named workspace and requester, and clicks **Approve** only for the expected request. Once the site is connected, return to Warp to select the factory's projects. @@ -35,7 +35,7 @@ If you aren't a Jira site admin, choose **Someone else** during setup and email 1. [Install Warp for Jira and connect the site](#install-warp-for-jira) if it isn't already connected to your workspace. 2. In the factory dashboard, open **Settings** > **Integrations**, select **Jira**, choose the projects this factory works with, then click **Enable**. If you connected Jira while creating the factory, select the projects before finishing setup. Each factory opts in separately even though the Jira site is connected to the workspace. 3. In the factory dashboard, open **Automations**. If you selected Jira projects during factory creation, edit the existing Jira agent-session automation. Otherwise, add a trigger for **Jira** > **Agent session created**. Choose the agent that handles the work, select the projects, and optionally add labels to narrow which sessions start runs. -4. Assign or mention **Warp** on a test work item with a read-only instruction, such as “Summarize this work item without changing it.” Confirm the run appears under the matching automation and the summary returns in the Jira agent session. If Jira asks you to authenticate, [link your own account](#connecting-your-jira-account-to-warp), then retry. +4. Assign or mention **Warp** on a test work item with a read-only instruction, such as "Summarize this work item without changing it." Confirm the run appears under the matching automation and the summary returns in the Jira agent session. If Jira asks you to authenticate, [link your own account](#connecting-your-jira-account-to-warp), then retry. The **Warp** agent must be available on your Jira site to assign or mention it. Jira lists it among Atlassian's Rovo agents. @@ -70,7 +70,7 @@ Each teammate links their own Jira account so Warp can identify who requested wo 1. In Jira, follow the connection link from Warp's authentication prompt, or open your profile's **Personal settings** and the **Warp Account** app page. 2. Click **Connect Warp account**. In the Warp page that opens, sign in with your Warp account if prompted and finish connecting. -3. Confirm the Warp page says “Jira account connected.” Reload the Jira personal settings page and confirm it says “Warp account connected.” +3. Confirm the Warp page says "Jira account connected". Reload the Jira personal settings page and confirm it says "Warp account connected". 4. Retry your factory assignment or mention and confirm its run appears under the matching automation. To unlink your personal account, click **Disconnect** on the Jira personal settings page. This removes your account link, not the site's Warp app or the factory's project selection. A Jira site admin manages [app uninstallation](#permissions) separately. diff --git a/src/content/docs/factories/integrations/linear.mdx b/src/content/docs/factories/integrations/linear.mdx index 13fb1e53e..ed899a5c7 100644 --- a/src/content/docs/factories/integrations/linear.mdx +++ b/src/content/docs/factories/integrations/linear.mdx @@ -23,9 +23,9 @@ When the factory needs an answer, reply in Linear, or open the live run to steer Authorize the workspace connection once, then select the Linear teams each factory handles. You don't need a separate environment for factory routing. -1. In the {VARS.FACTORY_WEB_APP}, open the top-level **Integrations** page and open **Linear**. If it already shows “Connected,” continue with [factory team selection](#connect-linear). +1. In the {VARS.FACTORY_WEB_APP}, open the top-level **Integrations** page and open **Linear**. If it already shows "Connected", continue with [factory team selection](#connect-linear). 2. Click **Connect**. In the Linear authorization tab, choose the intended workspace, review the requested access, and authorize Warp. -3. Return to Warp and confirm Linear shows “Connected.” If it doesn't, finish authorization in the Linear tab, then return to Warp again. +3. Return to Warp and confirm Linear shows "Connected". If it doesn't, finish authorization in the Linear tab, then return to Warp again. 4. [Connect Linear to the factory](#connect-linear) and select the teams whose requests it handles. Workspace authorization alone doesn't select those teams. ## Permissions @@ -60,7 +60,7 @@ If Warp can't identify the session creator, Linear shows an authentication promp When someone mentions, assigns, or delegates the Warp app on an issue, Linear starts an agent session. The default automation created when you connected Linear routes new sessions from your selected teams to the factory, so assigning an issue or tagging the factory in a comment is enough to start work. If a session doesn't match any automation, the [standalone Linear integration](https://docs.warp.dev/platform/integrations/linear/) handles it with its default behavior. -Test routing on an issue in a selected team: mention Warp with “Summarize this issue without changing it.” Confirm the run appears under the factory's matching automation and the summary returns in the Linear session. +Test routing on an issue in a selected team: mention Warp with "Summarize this issue without changing it." Confirm the run appears under the factory's matching automation and the summary returns in the Linear session.
![A Linear issue with a comment mentioning the Warp app to request a tech spec, which starts an agent session.](../../../../assets/factories/linear-agent-session.png) @@ -141,19 +141,19 @@ Connecting Linear doesn't grant repository access. Branches and pull requests us ## Reconnect Linear -If the workspace connection is no longer authorized, an admin repeats the [workspace installation procedure](#install-linear-for-your-workspace) from **Connect**. Confirm the expected Linear workspace and team access on the consent screen. +If the workspace connection is no longer authorized, have a workspace admin repeat [Install Linear for your workspace](#install-linear-for-your-workspace) from **Connect** and confirm the expected Linear workspace and team access on the consent screen. -If Warp still shows “Connected” but teams don't load, first check the app's team access in Linear and reload Warp. Don't remove a working workspace connection to change one factory's team selection. If the connection must be replaced, [remove it](#remove-linear), then authorize it again; this interrupts every factory using that workspace connection. +If Warp still shows "Connected" but teams don't load, first check the app's team access in Linear and reload Warp. Don't remove a working workspace connection to change one factory's team selection. If the connection must be replaced, [remove it](#remove-linear), then authorize it again; this interrupts every factory using that workspace connection. After reconnecting, open the factory's **Settings**, click **Integrations**, and confirm the intended teams are still selected. Repeat the [routing test](#route-agent-sessions). Reauthorization doesn't prove a factory's automation filters match. ## Remove Linear -Removing the shared connection affects every factory using it, not just the factory you are viewing. You need permission to manage workspace integrations. +Removing the shared connection affects every factory using it, not only the factory you are viewing. You need permission to manage workspace integrations. 1. In the {VARS.FACTORY_WEB_APP}, open the top-level **Integrations** page and open **Linear**. 2. Click **Remove Linear**, review the scope in the confirmation, then click **Delete**. -3. Confirm Warp reports that the Linear integration was removed and the connection no longer shows “Connected.” +3. Confirm Warp reports that the Linear integration was removed and the connection no longer shows "Connected". This removes Warp's workspace connection. It doesn't uninstall the app in Linear or disconnect personal accounts. To revoke the provider grant too, a Linear admin removes Warp's access in Linear; see the [shared Linear uninstallation instructions](https://docs.warp.dev/platform/integrations/linear/#uninstallation-instructions). No factory can route new work through a removed connection. Reconnecting requires authorization and a routing test; don't assume removal resets factory definitions. diff --git a/src/content/docs/platform/integrations/cloud-providers.mdx b/src/content/docs/platform/integrations/cloud-providers.mdx index 04752e6ce..71f2cb02a 100644 --- a/src/content/docs/platform/integrations/cloud-providers.mdx +++ b/src/content/docs/platform/integrations/cloud-providers.mdx @@ -27,9 +27,9 @@ You need permission to edit the factory's cloud-provider settings and an adminis ### Configure AWS for a factory 1. In AWS, create or reuse the [OIDC identity provider](#step-1-create-an-oidc-identity-provider) and [IAM role](#step-2-configure-an-iam-role). Restrict the role's trust to the intended Warp team or principals and grant only the resource permissions the task needs. -2. In the factory's **Settings**, click **Integrations**, then open **Amazon Web Services** and click **Set up**. To edit saved settings, choose **Connection Settings** from the connection's menu. -3. In "Role ARN," enter the IAM role ARN, then click **Save**. -4. Confirm the “Amazon Web Services connected” notification. Reopen **Connection Settings** and confirm the saved role ARN. +2. In the factory's **Settings**, click **Integrations**, then open **Amazon Web Services** and click **Set up**. To edit saved settings, select **Connection Settings** from the connection's menu. +3. In "Role ARN", enter the IAM role ARN, then click **Save**. +4. Confirm the "Amazon Web Services connected" notification. Reopen **Connection Settings** and confirm the saved role ARN. 5. Start a controlled factory run using an agent whose runtime includes the AWS CLI. Ask it to run `aws sts get-caller-identity` and report whether the returned role and account match the authorized test account. Don't print tokens or credentials. Saving confirms the configuration, not cloud access. If the read-only check fails, review the role's trust conditions and permissions; don't broaden the trust policy to bypass a mismatch. @@ -37,10 +37,10 @@ Saving confirms the configuration, not cloud access. If the read-only check fail ### Configure GCP for a factory 1. In Google Cloud, create or reuse a [Workload Identity Pool and Provider](#step-1-create-a-workload-identity-pool-and-provider) and configure [IAM policies](#step-2-configure-iam-policies) for the resources the factory needs. Keep the Warp team restriction on the provider. -2. In the factory's **Settings**, click **Integrations**, then open **Google Cloud** and click **Set up**. To edit saved settings, choose **Connection Settings** from the connection's menu. -3. Enter "Project number," "Workload Identity Federation pool ID," and "Workload Identity Federation provider ID" for the pool you configured. +2. In the factory's **Settings**, click **Integrations**, then open **Google Cloud** and click **Set up**. To edit saved settings, select **Connection Settings** from the connection's menu. +3. Enter "Project number", "Workload Identity Federation pool ID", and "Workload Identity Federation provider ID" for the pool you configured. 4. Leave "Service account to impersonate (optional)" empty for direct federated access. If your cloud administrator configured service account impersonation, enter that service account's email. Click **Save**. -5. Confirm the “Google Cloud connected” notification. Reopen **Connection Settings** and confirm the saved values. +5. Confirm the "Google Cloud connected" notification. Reopen **Connection Settings** and confirm the saved values. 6. Start a controlled factory run using an agent whose runtime includes `gcloud`. Ask it to perform a non-mutating operation permitted by the test account's policy, such as listing Compute Engine instances when you granted the viewer role in the [IAM example](#step-2-configure-iam-policies). Confirm the result belongs to the authorized test project. Don't print access tokens or credential files. If saving succeeds but the access check fails, confirm the project number, pool, provider, attribute condition, and IAM grant. An optional service account email doesn't itself grant permission to impersonate that account. @@ -154,9 +154,7 @@ For standalone runs, configure the cloud agent environment to use your new AWS r 3. Expand the **AWS** section and enter the AWS role ARN from Step 2. 4. Save the environment. -:::caution Standalone environment AWS federation is configured in the {VARS.WEB_APP}, not the CLI. -::: Agents running in this environment will now automatically assume the configured role when using the `aws` CLI or a compatible SDK. From cab74dce0ea0c1f3dd55575965696004abb0494d Mon Sep 17 00:00:00 2001 From: "warp-agent-staging[bot]" <240773466+warp-agent-staging[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2026 00:48:43 +0000 Subject: [PATCH 6/6] docs: correct disabled automation status to Inactive and Resume action Co-Authored-By: Oz --- src/content/docs/factories/automations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/factories/automations.mdx b/src/content/docs/factories/automations.mdx index e36a1a578..0adbbfae6 100644 --- a/src/content/docs/factories/automations.mdx +++ b/src/content/docs/factories/automations.mdx @@ -73,7 +73,7 @@ For automations managed in the web app: 3. In "Triggers", click **Add trigger** > **Scheduled** and select **Hourly**, **Daily**, **Weekly**, or **Custom (cron)**. Set the time or cron expression. For preset frequencies, check "Next run"; new custom cron expressions have no next-run preview. 4. Click **Save**, then reopen the automation. Confirm the schedule is present before clicking **Run now**. This tests the worker's instructions, not the scheduled firing time. 5. In the automation's **Runs** tab, open the test run. Confirm its output lists the repository files and branch, rather than only repeating the prompt. Once that works, replace the test instructions with your recurring task and save. -6. To stop future scheduled runs, click **Pause** on the automation and confirm its status is "Paused". Pausing doesn't cancel runs already started. Click **Resume** to enable it again. +6. To stop future scheduled runs, click **Pause** on the automation and confirm its status is "Inactive" and the action changes to **Resume**. Pausing doesn't cancel runs already started. Click **Resume** to enable it again. Daily and weekly controls show your browser's local timezone. Warp saves schedules as UTC cron expressions, so the local firing time can shift when daylight saving time changes. Custom cron expressions use UTC; for example, `0 9 * * 1` runs every Monday at 09:00 UTC. Recheck the preset next-run preview after changing the time or timezone.