Roll Out an AI Solution: Pilot, Phases, Rollback
It is Friday of week 9 at Nimbus Assure. Security has approved the assistant, and Meera asks why all 60 handlers can't start on Monday. The Nimbus IT owner asks how fast it can be switched off. To roll out an AI solution safely, you start with one team, widen in planned steps with a check before each, and keep a rehearsed way back.
One metro section at a time
As lesson 3 said, rollout puts the solution in front of users step by step. A phased rollout does it in planned phases, each giving more users access. Before each sits a gate with a go/no-go check: a few numbers that must pass before you widen.
The opposite, a big-bang launch, starts everyone on day one. Lesson 12's eval set covered past claims; live work brings ones nobody sampled. A problem found with 12 handlers costs a few re-typed claims; found with 60, it costs the department's trust.
Widen by team, not by a random share. A canary release sends a small share of traffic to a new version, but each Nimbus claim belongs to one team, and training and champions work by team (lesson 18).
Unlike new metro track, every phase runs the same system: what changes is how many people and claims it meets. Nimbus's plan roughly doubles the handlers each step:
The aha is the footer: every phase has the same way back, and it takes seconds, because the old way of working never stopped.
The pilot group: who, and for how long
Lesson 3 defined the pilot: a small group of real users doing real work for a set time. Gate 0 opens it once lesson 13's readiness checklist is done and each way back is rehearsed. Choose the team that can teach you most:
- Typical: its claims look like the other teams', so its numbers predict theirs.
- A willing lead and a champion, like Lin's, who report problems instead of working around them.
- Not only fans: hand-picked enthusiasts forgive faults others won't; a sceptic keeps the numbers honest.
- Not at peak load, so handlers have time to check drafts.
Keep it small enough that a switch-off is a nuisance, not a crisis: 12 handlers can type claims for a day. And tell them they are the pilot: reporting problems is part of the job.
Fix its length before it starts: a full week, so it sees busy days and quiet ones, and a minimum such as 150 drafted claims. Lin's team gets about a fifth of lesson 14's 160 emailed claims a day, roughly 220 a week (illustrative). Without an end date, a pilot drifts into permanence.
A phased rollout with go/no-go checks
Write the checks before the pilot, and have Meera sign them: thresholds agreed while calm are hard to argue away. Values are illustrative:
| Check | Go if | From |
|---|---|---|
| Enough evidence | Pilot: a week, 150 claims; later: 50 from the new teams | This lesson |
| Claims drafted | 98% or more | Lesson 13 |
| Email to draft, p95 | 60 s or less | Lesson 14 |
| Fields handlers edit | None over twice its eval-set rate | Lesson 13 |
| Handlers using it daily | Half or more of the new teams | Lessons 9, 18 |
| Critical problems open | None | This lesson |
Read each number for the newest teams alone, too: a healthy total can hide a new team's bad start.
Adjusters' returns, lesson 9's accuracy guard, arrive about two days late, after lesson 6's adjuster queue, so they can't decide a two-day gate. They act as a rollback trigger: lesson 9's pause if returns pass 1 in 20.
Each gate answers go, not yet (stay and fix) or roll back. Meera decides gate 1. At gates 2 and 3, Lin and the Nimbus IT owner say go when every check passes, and any miss goes to Meera.
And change one thing at a time. Release no new prompt on the day new teams join, or a drop can't be traced to either change.
Rollback plans and feature flags
To roll back, as Safe Releases put it, is to return users to the last version that worked. An AI solution has three ways back, smallest first:
- Version: switch back to the last prompt and pinned model version that passed the eval set.
- Phase: remove the newest teams, who type claims as before.
- Kill switch: off for everyone; every claim takes lesson 13's fallback, the handler queue with no draft.
The last two use a feature flag, a named setting the code checks while it runs. Nimbus keeps it in flagd, an open-source flag service. For each new claim, your code asks flagd with the claim's team: on means draft it, off means the handler queue. The flag file, rollout.flagd.json:
{
"$schema": "https://flagd.dev/schema/v0/flags.json",
"flags": {
"claims-assistant": {
"state": "ENABLED",
"variants": { "on": true, "off": false },
"defaultVariant": "off",
"targeting": {
"if": [
{ "in": [{ "var": "team" }, ["team-1", "team-2"]] },
"on",
"off"
]
}
}
}
}
This is phase 1. Phase 2 adds "team-3" and "team-4"; going back one phase removes them, and flagd picks up the edited file without a restart. The kill switch is "state": "DISABLED": flagd returns no value, and the SDK, the flag library in your code, hands back the default your code passed. The common mistake is a default of true, which turns the assistant on for every team whenever flagd can't be reached.
Which way back? Take the smallest move that stops the harm:
The aha is the top-right note: a provider outage needs no rollback, since the fallback already queues each claim. Rollbacks are for an assistant that runs but does harm or gets worse.
The flag stops new drafts; it can't unsave old ones. Lesson 13's log line records each claim's prompt version, so list the records saved under a bad version and have handlers re-check them.
Name who may pull each way back, such as you, Lin and the Nimbus IT owner, with no meeting: a rollback awaiting approval lets harm spread.
Communicating each phase
Like the metro's announcements, each phase needs three messages:
- Before it, from the joining team's own lead: what changes and when, the training slot, where to report problems, and that typing by hand stays allowed.
- At its gate, a note to Meera, the leads and Nimbus IT: numbers against checks, the decision, the next date.
- During a rollback, within minutes: what is off, what to do now and when the next update comes. Afterwards, lesson 18's "you said, we fixed".
A gate note can be this short (figures illustrative):
Gate 1, Mon 11 Jan: go. Pilot: 99.1% of 221 claims drafted, p95 38 s, no field over twice its eval-set rate, 10 of 12 handlers daily, no critical problems. Team 2 joins at 10:00, after training. Next gate: Wednesday.
Publish the schedule before the pilot, so later teams know their turn. And never go quiet after a rollback: handlers who find the drafts gone without a word assume the worst.
Check yourself
Meera suggests piloting with the 12 keenest handlers from all five teams instead of Lin's team. Why is Lin's team better?
Fans forgive faults the others won't, so their numbers flatter the tool. One whole team shares a lead, a champion and a claim queue, like each team later phases add, so its numbers predict theirs.
Prompt v9 ships the Wednesday morning teams 3 and 4 join. By Thursday, date edits have tripled. What do you do first, and what went wrong?
Roll back to v8, which ran cleanly in phase 1: the smallest move, and v9 is a likely cause. The plan broke "one change at a time", so you can't tell which change moved the numbers.
A bad prompt saved wrong dates all morning, so you flip the kill switch. Lin asks: is everything safe now?
Not yet. The flag stops new drafts but can't unsave records: use the log line's prompt version to list those claims, and have handlers re-check them.
Go deeper
- Rolling Out a JDK Upgrade to 2,000+ Jenkins Agents: a change that reached most of a fleet in half an hour, and how rollouts are staged now.