Diagrams · Stage
Red → green → refactor
Tests fail, code makes them pass, refactor on green.
What it shows
The micro-loop inside every build cycle. SPM Agent writes the failing test first (red), writes the smallest code that turns it green, then refactors with the safety net the tests just bought.
Where it fits
Stage tests in the master Ultimate AI PM workflow.
Run by the SPM Agent. Configured per project.