Skip to content

docs: document spawnableBy agent definitions - #810

Draft
warp-agent-staging[bot] wants to merge 1 commit into
mainfrom
docs/spawnable-by-agent-definitions
Draft

warp-agent-staging[bot] wants to merge 1 commit into
mainfrom
docs/spawnable-by-agent-definitions

Conversation

@warp-agent-staging

Copy link
Copy Markdown
Contributor

What this feature does

The spawnableBy agent definition field controls which factory agents may spawn a target agent, with foreman-only defaults, explicit allowlists, and an empty-list opt-out. Shipped in v0.2026.09.23.14.34.stable_01 (2026-09-23).

Summary

Documents the public spawnableBy Factory definition field on the existing syntax reference page. The wording is grounded in the live public JSON Schema and the production parser and dispatch behavior.

Changes

Factory definition syntax

  • Added the field to the agent frontmatter list.
  • Documented its array type, declared-agent name validation, uniqueness constraint, omission behavior, empty-list behavior, exact allowlist behavior, and explicit self-spawning.
  • Added a focused YAML example.

Verification

  • python3 .agents/skills/style_lint/style_lint.py --changed - Passed with no errors; reported three pre-existing unrecognized-term warnings on unchanged lines.
  • npm run build - Passed.
  • python3 .agents/skills/check_for_broken_links/check_links.py --internal-only - Passed; 4,309 internal links checked and none broken.
  • python3 .agents/skills/doc_quality_policy/check_compression_contract.py src/content/docs/factories/factory-as-code.mdx --content-type reference - Passed.
  • git diff --check - Passed.
  • trunk check src/content/docs/factories/factory-as-code.mdx - Unavailable because Trunk is not installed in the sandbox.

Unverified claims

None — the field, defaults, allowed references, constraints, and production enablement were verified against the live public schema and source.

Documentation risk

Risk: engineering-review-required
Rationale: Documents the spawnableBy Factory agent definition field, including allowlist and default behavior.
Source files consulted: logic/factoryfile/schema/v1alpha1/agent.schema.json@949d788c66f8fde15869a2976eda67d9303913c4, logic/factoryfile/v1alpha1.go@13231865fc2e3e659dda3c8473603d747fac6a0d, model/types/service_account.go@949d788c66f8fde15869a2976eda67d9303913c4, config/prod.yaml@1158064fa0e2f3ec9986e4722f34af4a810753a9
Engineering review status: pending
Docs override: none

Additional context

  • Content design plan omitted because this is a missing entry in an existing reference list, which the docs contract exempts.
  • No reviewer requested because source-owner resolution returned no owner for the consulted files.
  • Originating request: Slack thread.

Co-Authored-By: Oz oz-agent@warp.dev

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Oct 1, 2026
@vercel

vercel Bot commented Oct 1, 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 Oct 1, 2026 8:09pm UTC

Request Review

@warp-agent-staging warp-agent-staging Bot added factory:docs-factory Label associated to the "docs-factory" factory warpy-factory Opened by the Warp factory agents labels Oct 1, 2026
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-staging-factory on this PR to send it follow-up work.

View run View conversation View on Slack

This branch was successfully deployed

1 active deployment
Preview — c3170b61 Deployed Oct 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed factory:docs-factory Label associated to the "docs-factory" factory warpy-factory Opened by the Warp factory agents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants