Summary
Add a dedicated shift-left preset that combines all Shift-Left QA features into one pipeline:
spec lint → acceptance criteria → tests → implementation → report
Usage
ralph-starter run --from github --issue 42 --preset shift-left
Preset Config
'shift-left': {
name: 'shift-left',
description: 'Shift-left QA: spec lint → acceptance criteria → tests → implementation',
maxIterations: 50,
validate: true,
commit: true,
promptPrefix: 'Follow Shift Left methodology: 1) Validate the spec completeness, 2) Extract acceptance criteria as Given/When/Then, 3) Write failing tests for each criterion, 4) Implement minimum code to pass, 5) Generate shift-left quality report.',
circuitBreaker: { maxConsecutiveFailures: 5, maxSameErrorCount: 3 },
}
Implementation
- Add preset to
src/presets/index.ts
- Add to "Development" category in
getPresetsByCategory()
Related
Combines: spec linting, acceptance criteria extractor, test-first, shift-left report.