docs: Document released Factory schema fields - #755
Conversation
Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This PR was generated with Warp. Comment |
|
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 Powered by Oz |
There was a problem hiding this comment.
Overview
This PR updates the Factory definition reference with released schema fields for forges, MCP transports, integrations, trigger filters, private runner images, and benchmark repo refs. The additions are generally scoped to reference material, but two changed sections need clarification before merge.
Concerns
- The new
codeForgessection says an empty list disables all forges, but it does not explain the requiredrepositoriesshape for that case. - The new MCP transport bullets mention
envandheaderswithout warning readers away from committing credentials in source-controlled factory files.
Security
- The MCP transport documentation should direct credential material toward managed secrets or Warp-managed MCP servers instead of literal
envorheadersvalues.
Verdict
Found: 0 critical, 2 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
Resolve the factory schema reference conflicts while preserving the published field coverage. Co-Authored-By: Oz <oz-agent@warp.dev>
Document the released MCP field shapes and direct credentials to managed secrets or managed MCP installations. Co-Authored-By: Oz <oz-agent@warp.dev>



What this feature does
Factory-as-Code lets authors select GitHub or GitLab repositories, configure MCP transports and integration scopes, use current trigger filters and aliases, authenticate private runner images, and provide object-form benchmark refs. The reference excludes schema-published options that remain disabled in production. Shipped in
v0.2026.09.09.08.26.stable_02(2026-09-09).Summary
Updates the exhaustive Factory definition reference with production-enabled fields and behavior only.
Companion tooling PR: https://github.com/warpdotdev/docs-factory-config/pull/10
Changes
Content design plan
Audience and JTBD: Factory authors who need an exhaustive reference for configuration accepted and enabled in production.
Problem: The reference omitted released fields while schema presence alone could also expose unreleased fields.
Goals:
Purpose and value: Authors can use the supported Factory definition without inferring behavior from schema JSON or implementation details.
Content type: Reference — readers need concise field and constraint lookup.
Skill and template: Existing Factory reference; no new page or template.
High-impact scenarios:
Unverified claims
None — each changed claim was verified against the production schema registry, production feature configuration, and the shipped parser or runtime path.
Documentation risk
Risk: engineering-review-required
Rationale: Updates public Factory configuration claims based on production rollout and runtime sources.
Source files consulted: config/prod.yaml, logic/factoryfile, and model/types/triggers at 032c64767451
Docs override: none
Verification
v1alpha1and all 9 published documents, including exact provider trigger-filter unions; two implementation-only keys reported as non-blocking skew.python3 .agents/skills/style_lint/style_lint.py --changed: 1 file scanned; 3 pre-existing warnings on unchanged lines.python3 .agents/skills/check_for_broken_links/check_links.py --internal-only: 4,149 internal links checked; 0 broken.python3 .agents/skills/doc_quality_policy/check_compression_contract.py --content-type reference src/content/docs/factories/factory-as-code.mdx: passed.npm run build: passed; 386 Markdown docs and 388 HTML files generated.git diff --check: passed.Additional context
The companion tooling PR owns section mappings, rollout exceptions, fixtures, and tests; this PR changes only
src/content/docs/factories/factory-as-code.mdxrelative tomain.Co-Authored-By: Oz oz-agent@warp.dev