Skip to content

docs: strengthen Factories positioning and writing governance - #1012

Merged
rachaelrenk merged 8 commits into
mainfrom
factory/factory-positioning-guidance
Nov 11, 2026
Merged

rachaelrenk merged 8 commits into
mainfrom
factory/factory-positioning-guidance

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Make Warp documentation guidance consistent with Warp Factories' infrastructure positioning and establish a shared writing standard for people and agents. Update positioning, voice, terminology maintenance, drafting, review, and regression coverage without changing published documentation pages.

Changes

Canonical positioning and terminology

  • Rename .agents/rules/oz-style-guidelines.md to .agents/rules/warp-positioning.md, revise its contents for Factories-first positioning, and update active references in the style guide, glossary, drafting skill, review skill, lint guidance, and tests.
  • Define Warp Factories as open, flexible infrastructure for customer-configured software factories. Explain customer ownership, workflows defined as code, supported choices, and measurement-driven improvement.
  • Reject team-of-agents and equivalent staffing metaphors, including definitions of a customer's lowercase factory. Preserve shipped role names such as foreman, exact UI strings, commands, handles, and configuration keys.
  • Separate positioning authority from technical evidence: strategy and writing examples do not establish feature availability, compatibility, data boundaries, competitor claims, or guaranteed outcomes.
  • Update the glossary and AGENTS.md terminology summary to distinguish the infrastructure platform from the factory a customer configures.
  • Reconcile generic agent capitalization and formatting: agent names and roles remain lowercase and unbolded in prose and list lead terms; non-clickable field labels use quotation marks. Preserve proper feature names, literal interfaces, and the existing bold feature-list lead terms.
  • Record positioning provenance and the approval route: docs maintainers own operational guidance; changes to positioning intent need confirmation from Zach Lloyd or his designated delegate. The internal source pointer is provenance, not a routine drafting dependency.

Voice and reference writing examples

  • Add reader-goal, customer-control, and evidence guidance to AGENTS.md: explain the reader's problem, the action to take, its consequence, and how to check the result.
  • Connect measurement to configuration decisions rather than treating automation or token consumption as success by themselves.
  • Add .agents/references/writing-examples.md with annotated examples from Zach Lloyd, Ben Holmes, and the Warp landing pages. Record the reusable writing pattern, its adaptation for documentation, and the limits of treating the source as authority.
  • Keep procedures and references appropriate to their reader's task. Borrow directness and explicit reasoning without copying an author's persona, anecdotes, slogans, or unsupported promises.

Repository-owned glossary maintenance

  • Make .agents/references/terminology.md authoritative for docs and remove the unmaintained Notion Dictionary as an input or fallback.
  • Repurpose sync_terminology in place: remove Notion access requirements, the placeholder page ID, import/overwrite instructions, and repo-to-Notion reconciliation.
  • Require evidence-backed proposals, source revisions, deployment checks where relevant, section-level review dates, and human approval. Preserve literal interfaces, historical context, and supported repo-only entries.
  • Describe weekly and event-driven terminology review, reuse of existing PRs and isolated worktrees, and accurate reporting of missing evidence. This PR does not activate a recurring schedule.
  • Specify a stable maintenance branch/title, durable PR-comment review records, source revisions and scope, and a first-review path when no verified baseline exists. Partial or blocked reviews do not silently advance the last complete baseline; no-change reviews do not create new issues or PRs solely for logging.

Drafting and independent review

  • Require draft_docs to read the current positioning and glossary, and consult annotated writing examples when drafting or materially revising explanatory copy. Align its list-format rule and the conceptual/feature templates with the agent-name and field-label exceptions.
  • Make the positioning restriction apply to descriptions, openings, and customer-factory definitions, not only the platform name.
  • Update review-docs-pr to treat staffing metaphors as important positioning findings while preserving literal roles. Require independent verification of technical promises and an insufficient-evidence finding when necessary context is missing.

Linting and regression coverage

  • Add the report-only factory-positioning check to the existing style-lint pipeline. Detect direct staffing definitions in prose and folded metadata without automatically rewriting copy.
  • Preserve code, quoted examples, comments, historical changelogs, and legitimate role names. Document that semantic review must still assess paraphrases and unsupported promises.
  • Align existing naming diagnostics with infrastructure-platform terminology.
  • Run the editorial-guidance and positioning regression suites in the early editorial CI job, before changed-file lint and independently of the later build/link job. Add coverage for that wiring and document the new lint-suite command.
  • Add lint regressions for direct and wrapped definitions, metadata, non-prose exceptions, source-line locations, alternative HTML-comment endings, and categorical subject negations such as "No factory is a team of agents" without exempting a later positive definition. The comment-ending case also corrects the CodeQL finding raised during this PR.
  • Extend editorial-guidance tests for the new canonical path, stale active references, glossary authority, removed dependencies, and preservation of literal roles.
  • Correct an existing authoring fixture's platform terminology and add two evaluation cases covering infrastructure-led overview editing and concise, factual reference writing.

Validation

  • Delivered head: 529f1adc; existing remote updates and current main were merged without rewriting history.
  • 151 docs-policy tests passed, including 23 editorial-guidance tests.
  • Six positioning test groups and all nine standalone style-regression scripts passed, including the existing 27 naming cases.
  • Parsed the CI workflow and ran the exact new early-CI test commands locally. The new CI/style/negation cases reproduced the failures before the fixes.
  • Evaluation JSON parsing and git diff --check passed. The PR still has no changes under src/content/docs/.
  • Hosted CodeQL, Docs editorial quality, and Docs technical references checks have passed on this head; the combined build/link job is still running.
  • The hosted independent docs review failed before analysis with an authentication 401, so it produced no review findings or approval.
  • The local internal-link check still finds the same three /factories/factory-inbox/ references in public pages unchanged from main.
  • Trunk was unavailable locally. A local site build and new UI proof were not rerun for this internal guidance, template, lint, and CI-only follow-up.
  • These checks establish structural invariants, not measured improvement in generated writing. No paid comparison, scorer activation, or schedule activation was performed.

Calibration follow-up

Item 5 is tracked in .agents/references/writing-examples.md: add a less-coached task that relies on repository guidance instead of restating the expected answer. Keep baseline/candidate inputs identical and assess context loading separately from writing quality. Human calibration and budget approval remain prerequisites; this task was not run as part of the review fixes.

Related work and merge order

Refs #1010. Audit findings and coverage ledger remain the audit record.

Merge this guidance before changes that require its new file path:

  • docs-factory-config#34 loads the canonical sources and prepares paused positioning and voice scorers.
  • common-skills#116 updates the maintained engineer-facing feature-docs skill; installed copies still need refreshing after merge.
  • warp-factory-examples#3 applies positioning to the examples and links to the canonical guidance.

Published-copy corrections are in docs#884, not this PR. Compatible measurement work remains in docs#890. Scorer activation, evaluation budgets, schedule changes, and the separate technical-evidence backlog are not implemented here.

Unverified claims

None; the diff adds no public product claims. Writing quality and runtime adoption have not been established by the structural tests.

Documentation risk

Risk: low
Rationale: Internal positioning, writing guidance, evaluation fixtures, and report-only lint maintenance; no public product behavior or developer-facing product interface changes.
Docs override: none

Implementation context

Implementation conversation.

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

warp-agent-staging Bot and others added 2 commits November 10, 2026 16:54
Reconcile the canonical framing, glossary, drafting and review paths, and lint/evaluation copy. Keep public-page changes as recommendations in issue #1010. Add policy-routing and product-definition regression checks.

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

vercel Bot commented Nov 10, 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 Nov 11, 2026 12:12am UTC

Request Review

@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp, requested by @zachlloyd.

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

View run View conversation View on Slack

@rachaelrenk rachaelrenk changed the title docs: align factory guidance with infrastructure positioning docs: strengthen Factories positioning and writing governance Nov 10, 2026
rachaelrenk and others added 2 commits November 10, 2026 17:07
Co-Authored-By: Warp <agent@warp.dev>
@rachaelrenk
rachaelrenk merged commit 8574ba4 into main Nov 11, 2026
16 of 20 checks passed
@rachaelrenk
rachaelrenk deleted the factory/factory-positioning-guidance branch November 11, 2026 00:17
@rachaelrenk rachaelrenk self-assigned this Nov 11, 2026

This branch was successfully deployed

1 active deployment
Preview — 529f1adc Deployed Nov 11, 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.

2 participants