Skip to content

docs: improve teaching in factory guides and procedures - #1099

Draft
rachaelrenk wants to merge 6 commits into
mainfrom
rrenk/factory-better-teaching
Draft

rachaelrenk wants to merge 6 commits into
mainfrom
rrenk/factory-better-teaching

Conversation

@rachaelrenk

Copy link
Copy Markdown
Contributor

What this feature does

These docs help factory authors decide when to research or ask for a decision, choose evidence for a change, and hand reviewers a useful risk assessment. Worked examples also explain worker separation and how to improve shared instructions. This is an educational revision of existing workflows, not a feature release or a change to product behavior.

Summary

Implement the seven approved teaching improvements identified by comparing Ben's supplied article and the published Warp Learn course with the factory docs. Update nine existing pages without adding feature coverage, new pages, navigation changes, or factory configuration.

Changes

  • Distinguish researchable facts, behavior choices, and approach trade-offs in stage instructions, with the folder expand/collapse example.
  • Add advisory merge-risk questions and a hypothetical saved-layout example. Connect the assessment to existing implementation, review, testing, and handoff instructions.
  • Explain screenshot versus interaction-recording evidence and show a clearly illustrative verification report with an unverified criterion.
  • Explain coordination and implementation separation through a status question.
  • Show how a confirmed startup failure becomes a tested, reviewed skill correction.
  • Contrast an application fix with an improvement to the workflow that builds and verifies it.
  • Link to relevant published Learn lessons and connect tuning to observed output gaps.

Preserve the existing stage assignments, human approval and merge boundaries, runtime and sharing limits, and old anchors for renamed sections. Review the existing README-based Blueprint tutorial for consistency without replacing its exercise.

Content design plan

Updates inherit each page's content type. Paths below are relative to src/content/docs/.

Research versus decisions

  • Reader and job: An engineer writing stage instructions who needs to separate investigation from choices requiring human input.
  • Gap today: General clarification guidance does not show how to make that distinction.
  • Change: Teach it in factories/blueprints/stages.mdx, linked from worker and SDLC guidance. Exclude new routing features or changes to triage-only workflows.

Merge-risk handoff

  • Reader and job: A factory author helping reviewers focus on the risks of a delivered change.
  • Gap today: Validation requirements do not organize alignment, impact, verification, rollback cost, and error detection.
  • Change: Own the explanation in factories/use-cases/end-to-end-sdlc-automation.mdx; link from review and tuning. Exclude built-in scoring, automatic labels, and approval authority.

Verification evidence

  • Reader and job: A developer configuring or reviewing UI verification against observable criteria.
  • Gap today: The recipe describes outputs without showing a report or the limits of final-state screenshots.
  • Change: Add evidence-choice examples and an illustrative report to factories/use-cases/computer-use-verification.mdx. Exclude fabricated run evidence or media links.

Worker separation

  • Reader and job: A factory author deciding whether stages should share a worker.
  • Gap today: Definitions do not make the everyday coordination benefit concrete.
  • Change: Add the foreman status-question example to factories/factory-agents.mdx. Exclude guarantees of uninterrupted execution or one worker per stage.

Shared skill improvements

  • Reader and job: A maintainer deciding which lessons from a failed verification run belong in reusable instructions.
  • Gap today: The skills page lacks a concrete evidence-to-instruction example.
  • Change: Add a confirmed missing-build-prerequisite example to factories/factory-skills.mdx, with testing and review before adoption. Exclude automatic learning or new access permissions.

Product versus factory improvement

  • Reader and job: A maintainer deciding what to change and what evidence to compare.
  • Gap today: Measurement mechanisms lack a paired example of the two improvement targets.
  • Change: Contrast clipboard behavior and verification startup instructions in factories/measure-and-improve.mdx. Link to the skill example rather than repeat its procedure.

Learning paths and incremental adoption

  • Reader and job: A learner seeking a continuous exercise or a maintainer diagnosing a particular workflow gap.
  • Gap today: The docs do not direct these readers to the relevant published course lessons.
  • Change: Link Learn from factories/guides/index.mdx and relevant explanations; strengthen observed-gap tuning in factories/guides/testing-and-tuning-your-factory.mdx. Exclude course duplication and unpublished Unit 3 lessons.

Editorial verdict and evidence

The existing pages own the reader tasks; no new page is justified. Keep the uncertainty explanation, risk assessment, verification report, and skill-improvement procedure in separate owning pages with task-local links. Replace the verification page's narrative example with a report rather than adding a second recap. Keep all human-decision, current-head, untrusted-input, and no-merge limits.

The supplied article and Warp Learn inform teaching, not availability, cost, or compatibility claims. No new server-backed fields, interfaces, defaults, or availability promises are introduced. The existing live-verification requirement below remains open; this draft does not clear Gate 0 or establish runtime behavior for those examples.

Retained length exceptions: testing and tuning is 1,577 prose words, Computer Use verification is 1,566, and the SDLC recipe is 2,052. These existing procedural pages retain setup, untrusted-input and access safeguards, overlapping-trigger handling, approval, current-head checks, and connected-workflow tests. The approved task-local examples answer decisions that readers must make beside those procedures. Splitting would fragment the existing workflow; cutting its safety context would remove necessary instructions. Mechanical checks pass under inherited procedural types, but these overages are an explicit editorial review decision, not an unqualified length pass.

Validation

Re-run after merging current origin/main, at a0e72520, using Node 24:

  • npm run typecheck — passed.
  • npm run test:heading-vars — passed.
  • npm run build — passed.
  • npm run test:heading-tocs — passed.
  • npm run test:homepage-json-ld — passed.
  • Style checks on all nine changed pages — no new findings; 20 pre-existing glossary warnings.
  • Internal link and anchor checks — 185 links passed.
  • External links on the nine pages — 10 occurrences across 8 distinct URLs passed.
  • Compression checks — passed for inherited content types; the independently reviewed 1,500-word general-signal exceptions and exact counts are recorded above.
  • git diff --check — passed.
  • Published Learn destinations — HTTP 200 when checked.
  • Trunk — unavailable locally.

Usability validation

  • Scope: Factory authors and maintainers learning decisions and configuring existing workflows. Include novice readers, existing configurations, non-admin access prerequisites, browser-readable explanations, and blocked verification. Exclude live product mutations.
  • Tested version: Author walkthrough of generated HTML from e34d8a36 plus the final nine-page edits on November 27, 2026. The same content is committed in 943cc76f and included in final head a0e72520; the required checks and build were rerun at that head.
  • Method: Read rendered content and follow actual links from /factories/guides/ and /factories/use-cases/, then inspect owning sections. External Learn links leave the local build and were checked against the published site.
  • Q1 — What should the worker research versus ask me to decide? Guides → workers → stage guidance, “Separate research from decisions”: Clear; it distinguishes facts and choices and links plan approval.
  • Q2 — What risk information belongs in the handoff? Use cases → SDLC, “Assess risk before handoff,” plus tuning: Clear; category questions, evidence, mitigation limits, and advisory status are explicit.
  • Q3 — Which evidence demonstrates UI behavior, and what happens when proof is missing? Use cases → Computer Use verification, “Choose evidence for the behavior” and “Example verification report”: Clear; captures answer criteria and unverified work remains unverified.
  • Q4 — When is worker separation useful? Guides → workers, “The default workers”: Clear; the status example separates coordination from implementation without requiring a worker per stage.
  • Q5 — How does a confirmed failure improve a shared skill? Guides → measure results → skills, “Improve a skill from observed failures”: Clear; confirm, amend, test, and review.
  • Q6 — Am I improving the product or the factory? Guides → measure results, opening and “Run a practical improvement loop”: Clear; the paired example leads to baseline, comparison, review, and monitoring.
  • Q7 — Where can I follow a continuous exercise? Guides → named Warp Learn course link: Clear; the course is distinguished from focused docs tasks.
  • Finding and retest: The tuning checklist initially expected a risk assessment that its copyable prompt did not request. Added the request and verified the final rendered prompt.
  • Limitations: Expert rendered-text walkthrough, not actual-reader testing. Interactive layout, responsive behavior, accessibility, search, sign-in, and live factory execution were not tested. No acceptance of missing product evidence is implied.
  • Readiness: Editorial review can proceed; publication still needs resolution of the existing verification requirement below.

Unverified claims

  • Apply the stage examples in a complete definition and observe worker selection, stage-specific instructions, and the implementation-to-review handoff before publication.

This existing marker is at src/content/docs/factories/blueprints/stages.mdx:15. Confirmation requires an authorized live run of the complete stage examples. The marker predates this PR and remains unchanged; no live factory test was performed.

Documentation risk

Risk: engineering-review-required
Rationale: Substantive instructional examples and handoff guidance, with an existing unresolved VERIFY marker retained in a changed page.
Source files consulted: Nine changed factory MDX pages; repository style, terminology, positioning, and usability guidance; supplied article; public Warp Learn lessons.
Requested engineering reviewers: none
Engineering review status: pending
Docs override: none

No single engineering owner was established for this cross-page editorial change, so no human reviewer is automatically requested.

Independent review

Read-only review of final head a0e72520990ada4511186d18eac10ca2336e22ef found no new blocking or non-blocking content findings. The reviewer independently checked all 185 internal links and anchors and walked four rendered journeys: guides → tuning → risk; SDLC → research and plan approval; SDLC → UI evidence and report; measure → skill repair. All four were Clear. The reviewed dist/client teaching-owner pages were byte-identical to the final .vercel/output/static pages. The reviewer approved the editorial diff with the retained-length rationale above; live product verification and the existing marker remain unresolved. No GitHub review or reviewer request was submitted automatically.

Agent context

Conversation and approved implementation plan.

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

rachaelrenk and others added 2 commits November 27, 2026 10:52
Co-Authored-By: Warp <agent@warp.dev>
Co-Authored-By: Warp <agent@warp.dev>
@rachaelrenk rachaelrenk added the warpy-factory Opened by the Warp factory agents label Nov 27, 2026
@cla-bot cla-bot Bot added the cla-signed label Nov 27, 2026
@vercel

vercel Bot commented Nov 27, 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 28, 2026 4:12am UTC

Request Review

@rachaelrenk

Copy link
Copy Markdown
Contributor Author

Staging Blueprint verification attempt — blocked at dispatch

Tested the stage example from docs head 5c563c2a07a9cce8847e78031b97001a0c33f310 using a temporary definition branch of Docs Factory (V2), without changing its shared definition.

  • Independently compared the isolated definition at fd44c32bed9acf14dde575dbb98bbb6c941a8ff5 with the docs: the two stage mappings match exactly, with distinct implementer and reviewer worker declarations.
  • The factory reported complete-tree parser validation and isolated branch synchronization succeeded on staging.
  • Root-run dispatch was rejected (HTTP 400): the factory's service credentials could not dispatch to the branch-scoped foreman. No fallback to the shared definition was attempted.
  • Unverified: actual worker selection, stage-specific execution, same-PR/head handoff, reviewer behavior, and the final transition. A successful preparation run is not a passing runtime test.
  • No public test PR was created. Both temporary Git branches are absent. Explicit namespace deletion was denied (HTTP 403); the factory reported the namespace state as DELETED, so full cleanup is not independently confirmed.

Staging task and intentionally published outcome artifact.

The next step requires a user-authenticated staging dispatch. This attempt establishes neither production availability nor a runtime pass. The existing VERIFY marker remains unresolved, and the PR remains draft.

@rachaelrenk

rachaelrenk commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor Author

User-launched staging Blueprint test: behavior pass, with evidence limits

The user-authenticated run got past the earlier service-account dispatch blocker. This is staging evidence only, not production-availability evidence.

Revisions and outputs

  • Docs example: 5c563c2a07a9cce8847e78031b97001a0c33f310.
  • Isolated definition: fd44c32bed9acf14dde575dbb98bbb6c941a8ff5, branch rrenk/verify-blueprint-stages-1099-user. The stage mappings independently match the docs YAML exactly.
  • Root run.
  • Implementation child and separate review child: both completed successfully in the task record.
  • Test PR #16: only the requested four-line README addition, head 41f33acd6d842958ecff1afb52cca4b33a0ccd97.

Runtime evidence

The read-only staging observer's intentionally published outcome reports PASS for branch scope, distinct implementer/reviewer selection, the same PR/head passed to review, no-edit/no-merge review, and implement -> review -> end.

The operator independently observed the two child runs, the implementation-to-review task transition, the stable README-only PR head, and no GitHub approval or merge. A work item remaining in Review for human handoff is distinct from the reported Blueprint end transition.

Checks and limits

The PR reports convention checks and 14 helper tests passing. Its local validator returned HTTP 401 / exit 2, correctly reported as an unsuccessful validation attempt. Separately, GitHub's validate job, CodeQL, and Analyze (actions) passed.

The full injected system prompts and root's final message were not exposed by the available inspection path. This does not verify every internal prompt detail, same-worker reuse, nested groups, gates, or production rollout. The source verification hold is not removed; docs PR #1099 remains draft.

Cleanup

Evidence was recorded before cleanup. Examples PR #16 and configuration PR #42 are now CLOSED with no merge timestamp. Both authorized remote test branches return 404 after deletion. Shared factory main/settings were not changed.

Isolated namespace retirement could not be independently confirmed from the available output metadata after the read-only status check. No denied deletion operation was retried or bypassed. The durable run and PR links above remain available for review.

rachaelrenk and others added 2 commits November 27, 2026 14:09
Co-Authored-By: Warp <agent@warp.dev>
Co-Authored-By: Warp <agent@warp.dev>
description: >-
Measure coding agent effectiveness and ROI in Warp Factories with
autonomy, cost per PR, and PR cycle time.
Assess coding agent effectiveness and inform ROI decisions in Warp Factories

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.

Suggested change
Assess coding agent effectiveness and inform ROI decisions in Warp Factories
Measure coding agent effectiveness and inform ROI decisions in Warp Factories

This branch was successfully deployed

1 active deployment
Preview — 9602dae5 Deployed Nov 28, 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 warpy-factory Opened by the Warp factory agents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant