WorkOS Engineer Ryan Cooke: Unlocking the Software Factory Is Not Infrastructure, But Encoding Engineering Workflows into Executable Automation
Product engineer Ryan Cooke reported at the 2026 AI Engineer World's Fair that an initial software factory setup combining a sandbox, model routing, and repository produced results nearly indistinguishable from engineers running coding tools locally. He argued the industry is optimizing for the wrong variables—PR count and AI code share measure production rate, not value delivery rate—and demonstrated how WorkOS encodes planning (Hilltop documents and PM agents), coordination (ticket dependencies and completion webhooks), and context (an internal MCP gateway) into automation, enabling agents to participate in the engineering workflow itself rather than merely generating code.
The software factory WorkOS initially built placed code in a Cloudflare sandbox, connected it to model routing, fed in prompts, and generated pull requests—the results were hard to distinguish from engineers running Claude Code on their laptops. Product engineer Ryan Cooke described this disappointing finding at the 2026 AI Engineer World's Fair and proposed an argument: sandboxes, models, and repositories are necessary conditions, but not sufficient ones; a true software factory must encode the organization’s own engineering workflows into automation.
Cooke argues the industry is optimizing for the wrong variables. Ramp reports over 50% of merged PRs come from AI, Spotify reports more than 1,500 AI-generated PRs merged, and Stripe merges over 1,000 PRs per week—these numbers describe production rates, not value-delivery rates. When building the factory itself consumes engineering time or requires dedicated teams, judging success by PR count alone obscures a harder question: did features reach customers faster? His alternative measurement directions are feature delivery time, defect rate at ship, and issue resolution time.
WorkOS’s response is to break engineering workflows into executable automation units. They built two system layers: TARS is the user-facing interface, embedded in Slack, Linear, and GitHub, subscribing to project events via webhooks; Horizon is the infrastructure orchestration layer, managing sandbox pools and event loops. The key design lies in TARS not just generating code, but participating in the engineering workflow itself.