Expand description
PRD (Product Requirements Document) to task conversion implementation.
Responsibilities:
- Parse PRD markdown files to extract structured content.
- Generate Ralph tasks from parsed PRD data.
- Support both single consolidated task and multi-task (per user story) modes.
Not handled here:
- CLI argument parsing (see
crate::cli::prd). - Queue persistence details (see
crate::queue). - Runner execution or external command invocation.
Invariants/assumptions:
- PRD files use standard markdown format with recognizable sections.
- User stories follow
### US-XXX: Titleformat when present. - Generated tasks have unique IDs computed from queue state.
- Task insertion respects the doing-task-first ordering rule.
Structs§
- Create
Options - Options for creating tasks from a PRD file.
Functions§
- create_
from_ prd - Create task(s) from a PRD file.