XP Workflow
Planning Game XP is built around eXtreme Programming principles. Here’s how the workflow is enforced.
Sprint Planning
Section titled “Sprint Planning”- Create Sprint with start/end dates
- List backlog — all tasks in “To Do” status
- Estimate each task with devPoints and businessPoints
- Prioritize — tasks are auto-sorted by
(businessPoints / devPoints) × 100 - Assign to sprint — move tasks into the active sprint
Task Lifecycle
Section titled “Task Lifecycle”To Do → In Progress → To Validate → Done → Done&ValidatedTo Do → In Progress
Section titled “To Do → In Progress”Required fields:
developer— who’s working on itvalidator— who will review itsprint— which sprintdevPointsandbusinessPoints— estimationstartDate— auto-set to now
WIP Limit: Each developer can have only ONE task “In Progress” across ALL projects.
In Progress → To Validate
Section titled “In Progress → To Validate”Required fields:
endDate— when work finishedcommits— array of{hash, message, date, author}pipelineStatus.prCreated— PR URL and number
To Validate → Done
Section titled “To Validate → Done”Only the assigned validator can approve. The MCP server and Cloud Functions enforce this — developers cannot mark their own work as done.
Branch Strategy
Section titled “Branch Strategy”Every task or bug gets its own branch:
- Tasks:
feat/{CARD-ID}-short-description - Bugs:
fix/{CARD-ID}-short-description
Direct commits to main are not allowed. All changes go through Pull Requests.
Implementation Plans
Section titled “Implementation Plans”For tasks with devPoints >= 3, an implementation plan is required before coding:
- approach — Technical strategy and rationale
- steps — Each step = 1 potential commit
- dataModelChanges — Database schema changes
- apiChanges — API/endpoint modifications
- risks — Known risks and mitigations
- outOfScope — What’s explicitly excluded
The plan must be validated by the user before implementation begins.
Test-First Development
Section titled “Test-First Development”Planning Game enforces TDD:
- Write/verify tests BEFORE making changes
- Run tests after EVERY change
- Fix failing tests before proceeding
- Minimum coverage: services 80%, utilities 90%, components 70%