ralph.generate_phase1
Initializes Phase 1 by generating setup files, seeding a missing project plan, and running the script to normalize the source plan into a canonical PRD.
Instructions
Set up Phase 1: creates .ralph/phase1.sh and .ralph/phase1-prd-prompt.md, seeds a draft .github/plans/project-plan.md if missing. Run bash .ralph/phase1.sh to normalize the source plan into the canonical PRD at .ralph/prd.md via ralph.write_prd. Configure phase1.sourcePlan in .ralph/config.json (default .github/plans/project-plan.md). When the PRD is ready, run ralph.generate_phase2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourcePlan | No | Repo-relative path to the source plan markdown Phase 1 reads (seeded into config when config is merged). Defaults to .github/plans/project-plan.md if omitted. |