Skip to content

docs(factories): consolidated holistic pass — factory API surfacing, decision framework, and OpenAPI sync - #622

Open
warp-agent-staging[bot] wants to merge 3 commits into
mainfrom
factory/quality-1878-holistic-factory-docs-ia-pass
Open

docs(factories): consolidated holistic pass — factory API surfacing, decision framework, and OpenAPI sync#622
warp-agent-staging[bot] wants to merge 3 commits into
mainfrom
factory/quality-1878-holistic-factory-docs-ia-pass

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Holistic editorial + IA pass on the Warp Factories developer-tooling story (factory API, Factory MCP, integrations, Agent API), requested after the recent wave of Factory API and tooling doc merges (#609, #590). Scope: warpdotdev/docs only, no product-code changes.

Consolidated with #613 and #626 (see "### Rework changes" below) at the requester's ask in the originating thread: all three PRs covered overlapping developer-tooling/factory-API ground, so this PR now carries the combined, de-duplicated result instead of three separate PRs.

Audit

Walked the factories section, reference/api-and-sdk/, and the adjacent platform/guide cross-links against the four lenses in the ask: tone, consistency, discoverability, developer-tooling cohesion.

Discoverability — the factory API was invisible from the overview. factories/index.mdx's "What you get" list bundled the factory API's dispatch path into a bullet titled "Integrations and the Factory MCP," so a reader landing on the overview (the most common entry point from search) never saw that a REST/SDK path exists at all. "Next steps" had the same gap. Fix: renamed the bullet, named the factory API alongside Factory MCP, and added a "Work with a factory programmatically" next step.

Consistency — three different framings for the same decision. factory-api.mdx framed its choice as "factory API vs Agent API" (an endpoint-level question). connect-your-factory.mdx listed the factory API and Factory MCP as two rows in an intake table with no shared vocabulary between them. reference/api-and-sdk/index.mdx pointed at the factory API but never mentioned MCP or integrations as alternatives. A reader bounced between three unrelated framings instead of one decision path. Fix: added a single new section to factory-api.mdx, "Choosing how work reaches a factory" (bot/service/script → factory API; coding agent session → Factory MCP; chat platform/tracker → integration), kept the existing factory-API-vs-Agent-API table as a narrower subsection underneath it, and pointed the other two pages at it instead of restating the decision themselves.

Tone — already largely clean. factory-api.mdx and factory-mcp.mdx read well post-#609/#590 (active voice, no meta-openers, define-show-link). style_lint --changed on the touched files reports zero tone-buzzword or meta-opener hits. No tone rewrite was needed on the files I touched.

Sidebar — already correct. src/sidebar.ts already places Factory API directly above Factory MCP inside the "Integrations" group, with a code comment explaining why ("Alongside Factory MCP: both are direct API-style connection mechanisms..."). No reordering needed; left as-is.

DIY guides vs product — already distinct. guides/agent-workflows/set-up-a-software-factory.mdx already says "To run this same loop as a managed product instead of wiring it yourself, see Warp Factories" and links back from Related pages. No change needed.

Changes

src/content/docs/factories/index.mdx

  • Renamed the "Integrations and the Factory MCP" bullet to name the factory API alongside integrations and Factory MCP, with a link to connect-your-factory for the full picture.
  • Added a "Work with a factory programmatically" item to Next steps, pointing at the factory API and Factory MCP.

src/content/docs/factories/factory-api.mdx

  • Added a new "Choosing how work reaches a factory" section framing the factory API, Factory MCP, and integrations by who's calling in (bot/service/script, coding agent session, or a connected chat/tracker), with links out to Factory MCP and connect-your-factory for the other two paths.
  • Kept the existing factory-API-vs-Agent-API comparison table as a subsection under the new framing (### The factory API vs the Agent API), unchanged in content.
  • Renamed the endpoint-list section from "How it works" to "Endpoints" and linked the interactive Agent API reference alongside it (folded in from docs: surface the factory API across the developer reference #626).
  • Cleaned an implementation-speak code comment ("pagination scheme wired" → "Iteration fetches additional pages automatically", folded in from docs: surface the factory API across the developer reference #626).

src/content/docs/factories/connect-your-factory.mdx

  • Reworded the "Factory API" section to use the same "bot, service, or script" language as factory-api.mdx, and linked to the new decision section for the full comparison.
  • Linked "Factory MCP" in the "Factory MCP" section heading's prose (it wasn't linked before).

src/content/docs/reference/api-and-sdk/index.mdx

  • Rewritten to current tone standards (folded in from docs: surface the factory API across the developer reference #626): fixed heading hierarchy, removed misused :::caution cross-reference callouts, deduplicated the intro, renamed "Agents API" → "Agent API" per the glossary, backticked AmbientAgentConfig, replaced the stale hand-maintained models list with a pointer to /api, and added a ## Related pages closing section.
  • Kept this PR's factory-API decision-link sentence ("See choosing how work reaches a factory...") threaded into the rewritten overview paragraph, so neither PR's intent was lost.

Rework changes (PR consolidation)

Per the requester's ask in the originating thread to consolidate the three overlapping open docs PRs into one, this PR now also carries:

Coordination notes (open factory PRs)

Implemented against current main (post-#609, post-#590, post-#620, and now merged forward through the current main tip to pick up unrelated drift on factories/index.mdx and connect-your-factory.mdx from #618/#632/#641/#651). Cross-checked every related open PR listed on the ticket before editing:

No regressions to #609/#590 content: the factory-API-vs-Agent-API table from #609 is preserved verbatim, just nested under the new section; the sidebar ordering and comments from #590 are unchanged.

Content design plan

Short form (update adding a new decision-framework subsection, not a new page):

Reader and job: A developer or platform engineer deciding how to wire a factory into their own tooling — a bot, a coding agent, or an existing chat/tracker integration — who lands on the factories overview, the factory API page, the Agent API reference, or the Technical reference landing page from search.

Gap today: The factory API had no visibility from the overview's "What you get"/Next steps, each of factory-api.mdx, connect-your-factory.mdx, and reference/api-and-sdk/index.mdx described the factory-API-vs-alternatives choice differently, the interactive /api reference excluded every factory endpoint, and the Technical reference landing page didn't map the developer surfaces.

Change: One decision-framework section on factory-api.mdx, linked from the other three pages; two index.mdx bullets naming the factory API; the public factory/scorer endpoints synced into the interactive reference; and a tone/structure rewrite of the API & SDK overview pages. Excludes rewriting factory-mcp.mdx itself or the stage-naming/terminology work already in flight on #618/#585.

Unverified claims

  • The public/private split for every factory endpoint (from the folded-in docs: surface the factory API across the developer reference #626 sync) was verified against warp-server/public_api/openapi.yaml x-internal markers at aa0ab5031; the regenerated file contains no x-internal content and only the public factory paths.
  • Everything else restates or links to existing, previously-shipped content; no new product behavior is asserted.

Verification

  • style_lint --changed on the touched files: 0 new errors. One pre-existing UI-BACKTICK warning on an unchanged line in quickstart.mdx (status_message in backticks, present on main before this PR) and pre-existing unrecognized-term warnings on lines this PR didn't touch.
  • python3 .agents/skills/check_for_broken_links/check_links.py --internal-only: 381 files scanned, 4001 internal links checked, 0 broken.
  • npm run build: completed successfully, including regenerating public/openapi.json from the updated developers/agent-api-openapi.yaml and prerendering all pages.
  • Testing-exempt category: pure data/copy (docs IA/copy + generated-spec sync, no runtime product behavior) — the docs build and link check above are the applicable gate per factory-verification; no regression test applies.

Note for the next reviewer: this PR was previously reviewed and approved before this consolidation rework (folding in #613 and #626) expanded its scope substantially — a fresh review pass covering the newly-folded-in content is warranted.

Originating thread: https://warpdev.slack.com/archives/C09BVK0PL3Y/p1787616063014279

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

…ation decision language

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

vercel Bot commented Aug 25, 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 1, 2026 7:56pm UTC

Request Review

@warp-agent-staging warp-agent-staging Bot added the warpy-factory Opened by the Warp factory agents label Aug 25, 2026
@warp-agent-staging
warp-agent-staging Bot marked this pull request as ready for review August 25, 2026 00:29
@warp-for-oss

warp-for-oss Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

@warp-agent-staging[bot]

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

@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 updates the Warp Factories docs to make the factory API easier to discover, adds a decision framework for factory API vs Factory MCP vs integrations, and aligns related cross-links in the API/SDK reference. I found no correctness, link-target, terminology, security, or spec-alignment issues in the changed lines.

Concerns

  • None.

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

# Conflicts:
#	src/content/docs/factories/index.mdx
…g across developer reference

Consolidates three overlapping docs PRs into one per requester ask:
- Keeps this PR's (#622) already-reviewed factory-API decision-framework
  section on factory-api.mdx as the base.
- Folds in #626's OpenAPI sync (supersedes #613), the factory-api.mdx
  Endpoints rename + interactive reference link, and the tone/structure
  rewrite of reference/api-and-sdk/index.mdx, reference/index.mdx,
  reference/api-and-sdk/quickstart.mdx,
  reference/api-and-sdk/demo-sentry-monitoring-with-sdk.mdx, and
  reference/api-and-sdk/troubleshooting/errors/index.mdx.
- Re-threads the choosing-how-work-reaches-a-factory cross-link into the
  rewritten reference/api-and-sdk/index.mdx overview paragraph so neither
  PR's intent is lost.
@warp-agent-staging warp-agent-staging Bot changed the title docs(factories): surface the factory API and align factory-api/MCP/integration decision language docs(factories): consolidated holistic pass — factory API surfacing, decision framework, and OpenAPI sync Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed warpy-factory Opened by the Warp factory agents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants