What problem does it solve?
Orchestrates and automates the complete story lifecycle so developers don't have to manually invoke each phase, detect progress, or manage delegation gates across design, implementation, review, and close. It reduces human error, preserves a thin orchestrator, and resumes work from the most advanced artifact found in the repo.
Core Features & Use Cases
- Phase detection & resume: Inspects repository artifacts and story branches in reverse order to resume at the correct phase automatically.
- Forked subagent orchestration: Spawns isolated Agent subagents for each phase using the skill's SKILL.md as the prompt, verifying artifacts and merge commits produced by each fork.
- Delegation gates & guardrails: Applies REVIEW/NOTIFY/AUTO gates after key phases, enforces close-phase scope constraints, and stops on critical failures or failing AR/QR verdicts.
- Use case: Run a full story workflow for S325.6 to produce design, plan, implementation artifacts, pass architecture and quality reviews, and merge the story branch with verification.
Quick Start
Run rai-story-run for story S325.6 to execute all phases, apply delegation gates, and produce the merge commit and artifacts.