develop
behind a feature flag.
Phased initiative behind a flag
Rules
Recipe
1
Create the initiative
REQ-xx), the per-phase milestones in tracker.yml and
the first decisions in the decision log. The first PR can be documentation only.2
Create the feature flag turned off
In the first phase, together with the schema expansion (new, additive tables or columns).
Nothing that already exists changes behavior.
3
Build in phases
Each phase follows the Level 3 recipe:
integration branch, sub-PRs and a final PR to
develop. The new code stays behind the flag.4
Roll out per environment
Turn the flag on in development, then in certification and finally in production. Record each
step in the initiative’s rollout plan.
5
Contract
Once the flag is on and stable in production, remove the old code paths, the columns that are no
longer used and the flag itself. It is one more phase, with its own PR.
Checklist
- Initiative with a README, PRD,
tracker.ymland decision log. - Feature flag created turned off in the first phase.
- Each phase is a Level 3 that reaches
developwithin ~2 weeks at most. - Expand/contract migrations; nothing breaks the previous code.
- Flag rollout recorded per environment.
- A contract phase that removes the flag.