XP — major processes & flow maps

Iteration loop — Short iterations: plan a small story batch, build with pairing/TDD/CI, acceptance, demo with customer, retrospective; replan with what you learned.

1. Iteration loop

Linear flow diagram template

2. TDD micro-loop (within story)

Linear flow diagram template

3. Story lifecycle

Linear flow diagram template

4. Planning game (priorities vs estimates)

Decision flow diagram template

5. Phases A–F (XP locus)

Phase Typical XP locus
A Shape Stories with customer; release themes
B Plan Iteration planning; tasks
C Build Pairing, TDD, CI
D Verify Acceptance tests; collective ownership
E Release Small / frequent releases
F Learn Production feedback; retrospective

6. Flow details (walkthrough)

Iteration loop — Short iterations: plan a small story batch, build with pairing/TDD/CI, acceptance, demo with customer, retrospective; replan with what you learned.

TDD — Red (failing test) → Green (minimal code) → Refactor (keep tests green); repeat within the story so design stays test-guided and CI catches regressions.

Story lifecycle — Acceptance tests agreed before implementation define customer-visible done; then implement with unit tests and green CI; customer acceptance closes the story.

Planning game — Customer orders by value; team estimates; pull stories until capacity fits. If top value does not fit, split, defer, or negotiate scope explicitly.

7. Authoritative sources & further reading

Full curated list: External reference URLs (methodology guides).