Workflow State Machine
Overview of the experiment workflow states and their criteria. The workflow follows a strict order: Market Validation → PRD → Landing Page → Prototype
| State | Condition | Market Validation | PRD | Landing Page | Prototype | Description |
|---|---|---|---|---|---|---|
| New Experiment | hasMRFile = false | Create | — | — | — | Experiment is brand new. Only Market Validation step is available. |
| Market Validation | hasMRFile = true, hasPRDFile = false | 45345 21 | Create | — | — | Market Research & Scoring is complete. PRD creation is now available. |
| PRD | hasPRDFile = true, hasLandingPage = false | 45345 21 | View | Plan | Create | PRD exists. Landing page planning and prototype creation are now available. |
| Landing Page | hasPRDFile = true, hasLandingPage = true, hasPrototypeDir = false | 45345 21 | View | View | Create | Landing page built. Can view it and create a prototype. |
| Prototype | hasPRDFile = true, hasLandingPage = true, hasPrototypeDir = true | 45345 21 | View | View | Prototype exists. Can view PRD, landing page, and work with the prototype (start/stop server). |
Workflow Rules
- •Only the next step in the workflow is available
- •Landing Page and Prototype actions only appear after PRD is complete
- •Steps cannot be skipped - must complete in order
- •Market Validation includes both Market Research and Scoring (B, P, C, $, S)