Mission42-ai avatar

orchestrating-sprints

Manages development sprints with workflow-based compilation and fresh-context execution. Supports hi

by Mission42-ai|Open Source

Sprint Orchestration

Manages development sprints through workflow-based compilation with hierarchical phase execution and fresh-context task processing.

Core Concepts

ConceptDefinition
WorkflowReusable phase template in .claude/workflows/
SPRINT.yamlSprint input: workflow reference + collections
PROGRESS.yamlCompiled execution tree (generated)
Execution LoopFresh context per task via claude -p

Sprint Structure

.claude/
  workflows/          # Reusable workflow templates
    sprint-default.yaml
    feature-standard.yaml
  sprints/
    YYYY-MM-DD_name/
      SPRINT.yaml     # Input (workflow reference + collections)
      PROGRESS.yaml   # Compiled (generated by compiler)
      context/
      artifacts/

Workflow Architecture

┌─────────────────┐     ┌──────────────┐     ┌─────────────────┐
│  SPRINT.yaml    │     │   Compiler   │     │  PROGRESS.yaml  │
│                 │────▶│              │────▶│                 │
│  - workflow-ref │     │  - Resolves  │     │  - Phases       │
│  - collections  │     │    workflow  │     │    └─ Tasks[]   │
│                 │     │  - Expands   │     │  - Status tree  │
│                 │     │    for-each  │     │                 │
└─────────────────┘     └──────────────┘     └─────────────────┘

Commands

CommandAction
init-sprint <name>Initialize sprint directory
add-step <prompt>Add step to SPRINT.yaml
import-stepsBulk import steps
run-sprintCompile and execute sprint
sprint-statusShow hierarchical progress
pause-sprintPause after current phase
resume-sprintResume paused sprint
stop-sprintForce stop
helpShow plugin help

Compilation Process

Compilation occurs automatically on /run-sprint:

  1. Read SPRINT.yaml (workflow reference + collections)
  2. Resolve workflow template from .claude/workflows/
  3. Expand for-each phases into task hierarchy
  4. Generate PROGRESS.yaml with full execution tree
# SPRINT.yaml (input)
workflow: sprint-default
collections:
  step:
    - prompt: implement auth module
    - prompt: add unit tests for auth
    - prompt: update API documentation

# PROGRESS.yaml (compiled output)
status: pending
phases:
  - name: prepare
    status: pending
    tasks: [...]
  - name: development
    status: pending
    tasks:
      - id: task-001
        prompt: implement auth module
        status: pending
      - id: task-002
        prompt: add unit tests for auth
        status: pending
  - name: qa
    status: pending
    tasks: [...]

References

  • references/workflow-definitions.md - Workflow template syntax and structure
  • references/progress-schema.md - PROGRESS.yaml schema specification
  • references/compiler-usage.md - Compiler invocation and options
  • references/sprint-setup.md - Directory structure and initialization

Assets

  • assets/sprint-template.yaml - SPRINT.yaml template
  • assets/progress-template.yaml - PROGRESS.yaml template
  • assets/workflow-template.yaml - Workflow definition template

Troubleshooting

IssueCauseResolution
Compilation failsInvalid workflowCheck references/workflow-definitions.md
Workflow not foundMissing .claude/workflows/Create directory with workflows
Step not expandingMissing for-eachVerify phase has for-each: step
Loop exits earlyPROGRESS.yaml statusCheck status field
Sprint paused unexpectedlyBreakpoint reachedPhase has break: true, use /resume-sprint
Sprint blockedGate check failedMax retries exceeded, fix issues manually
Gate keeps failingScript returns non-zeroCheck gate script, review gate-tracking.last-output
orchestrating-sprints - AI Agent Skill for Claude Code & Cursor | Agent Skills