feat(factory-build): sequenced relayflows for the factory build-out (p1-p13)
Closed
KH
6mo ago+1235+1235+0123456789012345678901234567890123456789-1-1-0123456789
Summary
Adds factory-build/ — 13 sequenced relayflows that build the cloud-watches → local-node factory end to end, one per factory/planning issue (p1-p13), plus a shared squad + 80-to-100 review-ladder lib (lib/factory-build-lib.ts) and a wave runner.
- Squad: lead-claude (lead+QA), impl-codex, assist-opencode, shadow-claude, Claude+Codex reviewers/fixers.
- Imports
@relayflows/core; ships draft PRs labeledno-agent-relay-review; acceptance gates are green-or-blocked. - All 13 dry-run PASS via the built relayflows CLI.
Depends on the build fix in #4 (merged). See factory-build/README.md for the wave order + publish gate.
🤖 Generated with Claude Code
Summary by cubic
Adds factory-build/: 13 sequenced relayflows for the cloud‑watches → local‑node factory (p1–p13), plus a shared squad/review lib and a wave runner. Sequence is gated on pear#368; p2 folds per‑team Linear states into WorkspaceConfig, and p1 clarifies runtime StateStore vs the Linear state resolver.
-
New Features
- Shared
lib/factory-build-lib.tsencodes the squad, review ladder, deterministic acceptance, and draft PR creation (labeledno-agent-relay-review). run-factory-build.shruns waves in order, supports--dry-run, and allows a runner override viaFACTORY_BUILD_RUNNER; uses@relayflows/core.- 13 workflows (p1–p13) across pear/cloud/relay/factory repos, including cross‑repo steps; p4 is bespoke and seeds
@agent-relay/factorythen stops withPUBLISH_READY.md. - Readme documents wave order, the publish gate, and the pear#368 prerequisite +
/linear/statesprovider dependency.
- Shared
-
Migration
- Prereq: merge pear#368 and ensure the
/linear/statesadapter is available. - Run
./factory-build/run-factory-build.sh prepto validate wave1, thenwave1. - Run
wave2; stop at the publish gate. A human publishes@agent-relay/factory@0.1.0and swaps pear to the published package. - After publishing, run
./factory-build/run-factory-build.sh post-publishto complete waves 3–7.
- Prereq: merge pear#368 and ensure the