The expand-and-contract pattern for data consistency during blue-green switches is the part most deployment guides skip entirely. One thing worth adding: canary deployments paired with feature flags give you a second rollback dimension beyond just traffic routing. Your TypeScript traffic shaping example makes the state transitions much clearer than the usual abstract diagrams.