Skip to content

docs: clarify factory code forge setup - #752

Open
rachaelrenk wants to merge 8 commits into
mainfrom
rrenk/code-forges-docs
Open

rachaelrenk wants to merge 8 commits into
mainfrom
rrenk/code-forges-docs

Conversation

@rachaelrenk

@rachaelrenk rachaelrenk commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

What this feature does

Factories can work with repositories on code forges without first-class support. The docs show factory administrators how to clone those repositories with an Agent Secret and default-runner setup commands, while making clear that provider-specific events and automations are unavailable. Available in Warp Factories Early Access since v0.2026.08.26.17.59 (2026-08-27).

Summary

Clarifies the code-forge setup path for Warp Factories and separates repository access from work-source integrations.

Changes

  • Added a procedural page for configuring repository access from other code forges.
  • Added the Factories sidebar's Code forges group and moved the existing GitHub and GitLab navigation entries into it without changing their URLs.
  • Updated the factory quickstart, connection overview, GitLab prerequisites, and Factories overview with the fallback path and its event-automation limitation.

Content design plan

Audience and JTBD: An engineering or factory administrator who needs their factory to work in a Git repository hosted outside GitHub or GitLab.com.

Problem: The factory setup wizard offers first-class GitHub and GitLab.com connections, but the supported no-provider path for another code forge is not documented. The administrator cannot infer that they must select No repo, configure the default runner’s setup commands, and grant the credential as an Agent Secret.

Goals:

  • Configure repository access for a factory without a first-class code-forge connection.
  • Distinguish repository access from provider-specific events and automations.
  • Verify that the factory can work in the cloned repository.

Purpose and value: The existing Azure DevOps, Bitbucket, and self-managed GitLab pages apply to standalone cloud-agent environments, not factory setup. A focused factory procedure prevents readers from following the wrong flow.

Content type: Procedural — the reader is completing a setup task.

Skill and template: draft_procedural / .agents/templates/procedural.md

High-impact scenarios:

  • Covers: A factory accessing a Bitbucket, Azure DevOps, or self-managed GitLab repository with a token and authenticated clone command.
  • Excludes: Provider-specific events and automations because the fallback does not support them; unverified write-back behavior because it requires separate testing.

Unverified claims

None — the reviewed UI labels and procedure steps are confirmed, and the source contains no VERIFY markers.

Documentation risk

Risk: engineering-review-required
Rationale: Adds a new factory setup procedure with reviewed UI labels and runtime behavior.
Docs override: none

Requested engineering reviewer: Safia (contacted in Slack; the safia GitHub account cannot be requested on this repository).
Engineering review status: pending

Co-Authored-By: Warp agent@warp.dev

Co-Authored-By: Warp <agent@warp.dev>
@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 17, 2026 8:31pm UTC

Request Review

@cla-bot cla-bot Bot added the cla-signed label Sep 15, 2026
@warp-for-oss

warp-for-oss Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

@rachaelrenk

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@rachaelrenk rachaelrenk added the warpy-factory Opened by the Warp factory agents label Sep 15, 2026
@rachaelrenk rachaelrenk removed the warpy-factory Opened by the Warp factory agents label Sep 15, 2026
@rachaelrenk
rachaelrenk removed the request for review from hongyi-chen September 15, 2026 22:15
@rachaelrenk rachaelrenk self-assigned this Sep 15, 2026

@warp-for-oss warp-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds a factory docs page for repositories on code forges without first-class factory support, updates related factory pages, and moves GitHub and GitLab into a new Code forges sidebar group. The docs content generally follows the repository style and the added links resolve, but the agent-doc review contract is incomplete.

Concerns

  • 🚨 [CRITICAL] The diff adds VERIFY markers in src/content/docs/factories/code-forges/other-code-forges.mdx:28 and src/content/docs/factories/code-forges/other-code-forges.mdx:43, but the PR body does not include the required ## Unverified claims section listing them exactly. The contract checker treats this as a structural violation.
  • ⚠️ [IMPORTANT] The PR description's Content design plan contains repeated, corrupted text; clean it up so reviewers can evaluate the rationale and unverified claims.
  • Security pass: no additional security findings in the diff; the docs avoid embedding token values and instruct using scoped repository tokens through secrets.
  • Spec check: no approved or repository spec context was attached.

Verdict

Found: 1 critical, 1 important, 0 suggestions

Request changes

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
@rachaelrenk

Copy link
Copy Markdown
Contributor Author

/warp-agent-review

@warp-for-oss

warp-for-oss Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

@rachaelrenk

I'm re-reviewing this pull request in response to a review request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@warp-for-oss warp-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds a procedural page for connecting factories to repositories on code forges without first-class factory support, groups code-forge pages in the Factories sidebar, and updates related factory setup pages to point to the fallback path.

Concerns

  • No blocking concerns found. The PR body identifies the unverified live UI and secret-injection claims, declares engineering-review-required risk, and the diff's internal links and navigation changes are consistent with the existing docs structure.
  • No security findings. The new guidance keeps repository tokens in Agent Secrets and avoids placing token values directly in docs or configuration examples.
  • No approved or repository spec context was provided, so there is no implementation-vs-spec drift to report.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Runner setup commands prepare each agent workspace before factory work starts.

1. In the factory dashboard, open **Settings** > **Runners**.
2. Open the default runner and add an authenticated `git clone` command that reads `$CODE_FORGE_TOKEN`.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The process is actually: click the edit button (pencil) next to the default runner, scroll to the "Setup commands" section, click + to add a new command.

Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Comment thread src/content/docs/factories/quickstart.mdx Outdated
Co-Authored-By: Warp <agent@warp.dev>
Co-Authored-By: Warp <agent@warp.dev>
Comment thread src/content/docs/factories/code-forges/other-code-forges.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant