Objective
Implement a basic Ralph Loop workflow that demonstrates the core pattern: iterating through a list of tasks until all are complete.
Context
This is the foundational workflow that implements the Ralph Loop pattern. It should read a PRD-like structure, pick an incomplete task, execute it, and mark it complete.
Approach
-
Create .github/workflows/ralph-loop-basic.md with:
- Frontmatter defining the PRD structure (list of tasks)
- Logic to find the first incomplete task
- Execute the task using Copilot CLI
- Mark task as complete
- Commit changes if quality checks pass
-
Use JSON file for task tracking (similar to prd.json in Ralph)
-
Include minimal quality checks:
- Basic linting
- Unit tests (if applicable)
-
Add progress tracking to append-only file
Files to Create
.github/workflows/ralph-loop-basic.md - Basic Ralph Loop workflow
examples/ralph/prd-example.json - Example PRD structure
examples/ralph/README.md - Usage instructions
Acceptance Criteria
AI generated by Plan Command for #11132
Objective
Implement a basic Ralph Loop workflow that demonstrates the core pattern: iterating through a list of tasks until all are complete.
Context
This is the foundational workflow that implements the Ralph Loop pattern. It should read a PRD-like structure, pick an incomplete task, execute it, and mark it complete.
Approach
Create
.github/workflows/ralph-loop-basic.mdwith:Use JSON file for task tracking (similar to prd.json in Ralph)
Include minimal quality checks:
Add progress tracking to append-only file
Files to Create
.github/workflows/ralph-loop-basic.md- Basic Ralph Loop workflowexamples/ralph/prd-example.json- Example PRD structureexamples/ralph/README.md- Usage instructionsAcceptance Criteria
Related to Add Ralph Loop examples for agentic workflows #11132