Workflow Diagrams
Visual representations of agile-workflow phases.
Complete Workflow Overview
AGILE WORKFLOW OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┌────────────────────────────────────┐
│ SPRINT CYCLE │
│ │
┌───────────────┴───────────────┐ │
│ SPRINT START │ │
│ sync → groom → plan → status │ │
└───────────────┬───────────────┘ │
│ │
▼ │
┌───────────────────────────────────────────────┐ │
│ DAILY CYCLE │ │
│ │ │
│ ┌────────────────────────────────────┐ │ │
│ │ MORNING STANDUP │ │ │
│ │ sync → status → groom │ │ │
│ └────────────────┬───────────────────┘ │ │
│ │ │ │
│ ▼ │ │
│ ┌────────────────────────────────────┐ │ │
│ │ TASK CYCLES │ │ │
│ │ │ │ │
│ │ ┌──────────────────────────────┐ │ │ │
│ │ │ sync → next → implement → │ │ │ │
│ │ │ review → apply → pr-prep → │ │ │ │
│ │ │ pr-complete │ │ │ │
│ │ └──────────────────────────────┘ │ │ │
│ │ (repeat as needed) │ │ │
│ └────────────────┬──────────────────┘ │ │
│ │ │ │
│ ▼ │ │
│ ┌────────────────────────────────────┐ │ │
│ │ EVENING WRAP-UP │ │ │
│ │ checklist → discovery → sync │ │ │
│ └────────────────────────────────────┘ │ │
│ │ │
└───────────────────────────────────────────────┘ │
│ │
▼ (repeat daily) │
│ │
┌───────────────┴───────────────┐ │
│ SPRINT END │ │
│ sync → retro → audit → │ │
│ status → maintenance │ │
└───────────────────────────────┘ │
│ │
└────────────────────────────────────┘
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Task Cycle Detail
TASK CYCLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┌─────────┐
│ START │
└────┬────┘
│
▼
┌─────────────────┐
│ sync │ Reality check
└────────┬────────┘
│
▼
┌─────────────────┐
│ next │ Select task
└────────┬────────┘
│
▼
╔══════════════════════════╗
║ CHECKPOINT ║
║ Task Selection ║
╚════════════╤═════════════╝
│
▼
┌─────────────────┐
│ implement │ TDD in worktree
└────────┬────────┘
│
▼
╔══════════════════════════╗
║ CHECKPOINT ║
║ Implementation Done ║
╚════════════╤═════════════╝
│
┌─────────────┴─────────────┐
▼ ▼
┌─────────────────┐ ┌─────────────────┐
│ review-code │ │ review-tests │
└────────┬────────┘ └────────┬────────┘
└─────────────┬─────────────┘
│
▼
╔══════════════════════════╗
║ CHECKPOINT ║
║ Reviews Complete ║
╚════════════╤═════════════╝
│
┌────────┴────────┐
│ Has issues? │
└────────┬────────┘
Yes │ No
▼ │ │
┌────────────────┐ │ │
│ apply-recomm. │ │ │
└───────┬────────┘ │ │
└─────┬─────┘ │
│◄─────────┘
▼
┌─────────────────┐
│ pr-prep │ Create PR
└────────┬────────┘
│
▼
╔══════════════════════════╗
║ CHECKPOINT ║
║ PR Created ║
║ (await CI + approval) ║
╚════════════╤═════════════╝
│
▼
┌─────────────────┐
│ pr-complete │ Merge + cleanup
└────────┬────────┘
│
▼
┌─────────┐
│ END │
└─────────┘
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Daily Sequences
DAILY SEQUENCES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MORNING (~5 min) EVENING (~10 min)
──────────────── ─────────────────
┌─────────────┐ ┌─────────────┐
│ sync │ │ checklist │
│ --last 1d │ │ │
│ --dry-run │ │ │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ status │ │ discovery │
│ --brief │ │ │
│ --sprint │ │ │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ groom │ │ sync │
│ --ready │ │ --last 1d │
│ -only │ │ │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
"Ready to work" "Day complete"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Sprint Sequences
SPRINT SEQUENCES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SPRINT START (~60 min) SPRINT END (~90 min)
────────────────────── ────────────────────
┌─────────────┐ ┌─────────────┐
│ sync --all │ │ sync │
│ │ │ --sprint │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ groom --all │ │retrospective│
│ │ │ │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ plan │ │ audit │
│ sprint-goals│ │ --scope │
│ │ │ sprint │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ status │ │ status │
│ --detailed │ │ --metrics │
│ │ │ --detailed │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
"Sprint ready" ┌─────────────┐
│ maintenance │
│ --deep │
└──────┬──────┘
│
▼
"Sprint closed"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━State Flow Diagram
STATE TRANSITIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┌──────────┐
│ IDLE │◄──────────────────────────────────────┐
└────┬─────┘ │
│ [next] │
▼ │
┌──────────────┐ │
│ IMPLEMENTING │◄──────────────────────┐ │
└──────┬───────┘ │ │
│ [complete] │ │
▼ │ │
┌──────────────────┐ │ │
│ READY_FOR_REVIEW │ │ │
└──────┬───────────┘ │ │
│ [review] │ │
▼ │ │
┌──────────────┐ │ │
│ IN_REVIEW │───[issues]────────────┘ │
└──────┬───────┘ │
│ [clean] │
▼ │
┌──────────────┐ │
│ READY_FOR_PR │ │
└──────┬───────┘ │
│ [pr-prep] │
▼ │
┌──────────────┐ │
│ AWAITING_CI │───[failed]───► CI_FAILED ───────┐│
└──────┬───────┘ ││
│ [passed] ││
▼ ││
┌────────────────────┐ ││
│ AWAITING_APPROVAL │ ││
└──────┬─────────────┘ ││
│ [approved] ││
▼ ││
┌────────────────┐ ││
│ READY_FOR_MERGE│ ││
└──────┬─────────┘ ││
│ [merge] ││
▼ ││
┌──────────────┐ ││
│ CLEANUP │ ││
└──────┬───────┘ ││
│ [complete] ││
▼ ▼│
┌──────────────┐ ┌───────────┐│
│ COMPLETED │ │IMPLEMENTING││
└──────┬───────┘ └───────────┘│
│ │
└──────────────────────────────────────────┘
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━