Programmes that ship AI: evals as gates and a model that changes mid-flight
How a TPM runs a programme whose exit test is a score on an eval set and whose key dependency retires on a date the vendor chose: write the gate before the first result, plan the notice as a fixed date with a reserve, count the people-time of the fallback and report slices instead of one number
Day 8 of Kafui's 60. The candidate release has passed 221 of 240 eval cases, against 226 for the current model. The plan says the candidate may take all traffic when the set 'passes', and nobody has written what that means. What does she do first?
An AI programme looks like any other cross-team programme until you ask what done means. For a payment feature, done is a test that passes or fails. For an AI feature, done is a score on a set of cases, the score is a distribution, and the thing under it can be replaced by someone else on a date you did not pick. This chapter is the programme view. The engineering view of the same events, the reading of the failures and the technique of the migration, is in model upgrades and regressions, and the case here extends it: Wrenpost’s support assistant, a candidate release called r5-c1, and a model that retires in 60 days. How a company with several AI teams shares a gateway, a harness and a release record is in an AI platform for product teams. Neither is re-taught. This chapter covers what the TPM owns: the gate, the dated plan, the people the fallback needs and the report that tells the sponsor the truth.
The mechanics you already have apply. The critical path is how you see the date, the RAID log holds the entries, and launch readiness is where a go or no-go is made. Where the three meet an AI feature, a few things change.
The figures extend the AI engineer’s chapter and are illustrative, as hers are. The assistant handles about 3,000 conversations a month. The set has 240 cases, each run three times and counted as a pass at two of three, with a noise floor of 3 flips. Wrenpost has about 55 engineers in seven teams and 12 support staff.
What is different about an AI programme
Four things change, and each changes something you do.
| An ordinary programme | A programme that ships AI | What you do about it | |
|---|---|---|---|
| Exit test | A test passes or fails | A score on a set, with noise, read by slice | Write the bar, set version, owner and waiver before the first result |
| A surprise | A defect with a cause in the code | A cluster of failures where the old model did an unwritten job | Plan time to read the cluster, because the fix may be a handbook page, not code |
| A key dependency | A team or partner that answers to you or to a sponsor | A vendor whose retirement date you cannot move | Put the date in the log as fixed and plan backwards from it |
| The way back | A rollback to the last release | Before the retirement date, a config line; after it, people | Staff the human route and test it before you need it |
The pattern behind the table is the one Sculley and his co-authors describe in their paper on hidden technical debt: a machine learning system has dependencies, among them on the outside world, that ordinary code review does not catch. For the TPM the practical point is narrower. Your plan has tasks whose duration is known and tasks whose outcome is not. Do not give an outcome a duration. “Fix the failures, two weeks” is a guess dressed as a task. “Decide by day 10 which of four moves to make, then plan the rest” is a task.
The gate: four things written before the first result
An eval gate is a launch criterion, as a charter has them. It fails in the same ways when it is vague. Write four things down before the first run comes back.
The bar, for each slice. One pass rate hides the customers who are hurt. At Wrenpost the candidate’s 221 of 240 is 92.1%. Inside it, Kenya sender-ID cases pass 28 of 36 (77.8%), South Africa sender-ID cases pass 23 of 30 (76.7%) and the other 174 cases pass 170 (97.7%). Those 174 are every case except the Kenya and South Africa sender-ID cases: the 120 cases outside the sender-ID slice, plus Nigeria’s 30 and Ghana’s 24. The aggregate says the candidate is two points worse. The slices say that two countries’ customers get a confident wrong answer about how long registration takes. Bars belong per slice, and the sensible default for a migration is the current model’s own result on that slice, since the feature is already live at that level. Setting the bar belongs to the owner of the feature, as the eval set before the feature argues. You do not set it. You make sure it exists, is a number, and is on one page.
The version of the set. The set grows, and Wrenpost’s has grown from 90 cases to 240 by adding what the weekly read found. A bar written for one version does not carry over to the next. Name the version the gate applies to, and say what happens to cases added during the programme: they join the set for the next gate, and they do not move this one. Without that rule, a team that finds a hard case in week six has a reason to leave it out.
The noise floor. Run the current model against itself first. At Wrenpost the floor is 3 flips on 240 cases, which is 1.25 percentage points. A difference of 3 cases is not a finding, and a difference of 10 in one subject is. The TPM does not need the statistics. You need to know that a gate set one point above the noise will turn green and red by chance, and to ask for the floor before you accept a bar. The course chapter on evals in CI covers how it is measured.
The owner and the waiver. One person owns the bar, and a different person reads the result against it, so the builder does not grade their own work. A waiver is a written exception: the slice, the number it missed by, the risk the sponsor accepts, who signed, and when it expires. A waiver differs from lowering the bar because the bar stays, the exception is visible in the log and the programme has a date on which it must be justified again. Anthropic’s guidance on evaluations says criteria should be measurable, with quantitative metrics or well-defined qualitative scales, and that is the standard to hold the gate to: if the sponsor cannot tell from the page whether it passed, it is not a gate.
The model changes mid-flight: the notice as a fixed date
A retirement notice is a dependency with an unusual property: no one on the programme can negotiate it. Anthropic’s model deprecations page says it notifies customers with active deployments of upcoming retirements, providing at least 60 days’ notice before retirement of publicly released models, and that requests to a retired model fail. It says dates apply to the platforms Anthropic operates, and that partner-operated platforms such as Amazon Bedrock set their own schedules. It describes no process for extending a date.as of 2026-11 Other vendors differ. Treat 60 days as the floor for one vendor, and on a partner cloud read the partner’s schedule.
Log it as an issue with a date, not as a risk with a probability. Then plan backwards from it, as you would from a regulator’s deadline.
Wrenpost’s AI engineer, Esohe, proposes a schedule in the engineering chapter that you can read as a critical path. Days 0 to 2: record the notice and tell support operations and the product manager the same day. Days 3 to 10: run the candidate, read the flips and decide the move in writing. Days 11 to 30: fixes. Days 31 to 45: shadow runs and a staged rollout, 5%, 25% and 100%. Days 46 to 60: a reserve with nothing in it but fixes. The reserve is 15 days, a quarter of the notice, which matches the rule of thumb in that chapter.
Now find the long pole. It is not engineering. The country handbook pages need labelling by the people who know the answers: the support agent who handles South African accounts and wrote many of the cases, and Adhiambo’s support operations team. They will not be ready until about day 35. That is a dependency on a team outside engineering, with its own queue. As the dependency chapter says of any such promise, someone has to ask for the time, by name and by date, on day 3 and not day 25. If you plan the engineering and discover the labelling in week four, the reserve is gone before the rollout begins.
Two further entries belong in the log from the start. First, any other model the feature depends on, such as the model that grades its answers, has its own date; the monthly read of the vendor’s page in the engineer’s day to day is a TPM calendar entry too. Second, the stop condition for each rollout stage is a number written before the stage begins, because a stop condition invented in the middle of a bad hour tends to match whatever is happening.
The fallback to people is programme capacity
When the candidate is not good enough on day 10, the AI engineer chooses among four moves. At Wrenpost she chooses to migrate and route: Kenya and South Africa sender-ID conversations go to staff while the patch is built. As a programme, that choice has a cost the TPM must put in front of someone.
Sender-ID conversations are about 11% of traffic, or 330 a month. Kenya and South Africa are about 45% of those, so about 150 a month. At 8 minutes each that is 1,200 minutes, or 20 hours a month, spread across 12 support staff. Twenty hours is small, and the temptation is to call it free. It is not. It is hours from a team with its own plan, it needs an owner, and it has two failure modes that the programme must name.
The first is that the route never lifts. A route with no lift condition and no owner becomes the design. Write the lift condition as a number per slice, from the engineer’s plan: Kenya at least 34 of 36 and South Africa at least 27 of 30, the old model’s result. Give each route a review date and an owner, Adhiambo for the staffing and Esohe for the lift decision. The second is that the route fails the way the feature did. It keys on the account’s country field in code, not on the model’s judgement of the topic, and the engineer’s plan tests it in a drill on day 40. The TPM’s part is to see that the drill is on the calendar with a named person, and to count it in the plan.
This is also the rollback that remains. Before the retirement date, rollback is a configuration change that points back at the old model. After it, the only way back is the human queue, so a programme plan that lists “revert to the old model” after day 60 has no rollback. Put both phases in the plan, as the engineer’s chapter does, and make sure the sponsor reads the second.
Coupling to other programmes
The migration does not run alone. Wrenpost’s direct connection to a Kenyan carrier is due 1 March 2027 and crosses six groups, and the engineer’s plan dates the Kenya handbook page for review that day, because registration steps and timelines may change. Read that as a cross-programme dependency in both directions.
From the carrier programme to yours: the Kenya page, and any lift decision made on it, goes stale on 1 March, so the lift is a decision to be re-run, not a permanent settlement. From yours to the carrier programme: the people who confirm what the carrier says are the same people who will be asked to label the Kenya page, and the route puts Kenya conversations in front of staff during the weeks when the carrier work needs them. Neither programme’s plan shows this. The TPM who runs both, or who talks to the TPM who does, writes one line into each plan. Cross-company versions of this, with a partner who has its own dates, are the subject of programmes across companies, and portfolio planning across quarters covers what to do when two programmes compete for the same people.
Reporting a score without misleading anyone
The usual status colours mislead here. “Amber, 92.1% against 94.2%” reads as a small gap to a sponsor, and for the other 174 cases it is. For two countries it is red. Report by slice, state the bar and the days left, and say what has been used of the reserve.
A usable status line for an AI programme has five parts: the day and the days left; the gate, slice by slice, against its bar; the route and its volume; the reserve used; and the decision you need, with an owner and a date. If the sponsor asks you to report green because the overall score is within noise, the advice in status, escalation and bad news applies: you report what the slices say, and you say why the aggregate is not the measure. The product-side reading of a pass rate, and what a PM may promise on it, is in AI products, and the test design behind the set is in testing AI features.
Where practitioners disagree
A hard gate or an advisory one. A gate that cannot be waived blocks launches over a point of noise, and teams learn to game the set. A gate any sponsor can waive with a nod measures nothing. The usual middle is a gate that can be waived only in writing, by a named person, for a stated time, with the waiver in the log. Which middle you choose depends on what a wrong answer costs your customers.
One bar for the company or one per feature. A central AI group that sets the bar gives comparable numbers and takes the decision away from people who know the feature. The platform chapter’s answer is to share the runner and leave the bar with the feature’s owner. The TPM’s job is to see that the bar exists in both models.
How long people stay in the loop. Some teams keep a human reviewing a class of answers for good, as a design choice. Others treat it as a bridge. Both are fine if the choice is made on purpose. The failure is the route that was meant as a bridge and was never given an end.
Day to day
- At the charter. Get the four gate items written and signed: bar per slice, version of the set, owner and reader, waiver rule. Put the vendor’s retirement dates for every model the feature uses into the RAID log and the programme calendar, and name a mailbox for notices, not a person.
- Monthly, 15 minutes. Read the vendor’s deprecation page for each model in use and write the earliest date beside it. Check that the person named for the notice is still there.
- On a notice, days 0 to 2. Log it as an issue with a date. Tell support operations and the product manager the same day. Ask the labelling team for time, by name and date, before the decision is made.
- Days 3 to 10. Ask for the noise floor, read the slices with the AI engineer, and make sure the decision among the four moves is written, with the cost of each move not chosen.
- Days 11 to 45. Weekly update by slice. Keep the route’s hours, the lift conditions and the drill on the plan. Hold the stop numbers for each rollout stage.
- Days 46 to 60. Hold the reserve. Nothing new enters it except fixes. Confirm the old identifier is gone from every config.
- After the date. A short review: days used, what the old model did that nobody wrote down, which cases joined the set, and which routes remain.
When it breaks. A stage trips its stop number: roll back by configuration if the date allows, and if it does not, route that slice to people and keep the rest on the candidate. Then report the change that day, not at the next update.
There is one feature, one engineer and no TPM. The programme is a page: the notice date, the bar for the slice that matters most, and who decides. Write the bar before you run the candidate, even if only the founder reads it. The fallback to people is the founder’s inbox, so cost it in hours. Skip shadow infrastructure and a drill; run the candidate on last month’s real conversations, read every difference and cut over a week early.
Several features share one vendor, and one notice becomes five plans competing for the same labellers and support staff. Keep one list of every model in use, its feature, its owner and its date, and give it to one person. The TPM’s value is seeing the shared people: two teams will each ask Adhiambo’s team for country pages in the same fortnight. Each team still owns its bar, and a short gate template gives the sponsor comparable pages.
A model change passes a model-risk review, a change board and procurement, and 60 days can be spent on approvals before the work starts. The TPM agrees in advance which changes need the full review and which need only the eval report, and keeps a register of models, versions, owners and dates, with partner-cloud schedules beside the vendor’s. The waiver rule is where politics bite: decide who may sign one before a launch needs it. Run a forced migration as an annual drill.
Template
# AI programme plan: <feature>, <old model> to <candidate> · <date> · TPM <name>
## The clock
Notice: day 0 · Retirement: day <n> · Working days left: <n>
Source: <vendor page, date checked> · Other models the feature uses: <judge, others, with dates>
## The gate (written before the first result)
Set: <name and version, n cases, k runs, pass = m of k> · Noise floor: <n flips = x points>
| Slice | Cases | Bar | Where the bar comes from | Bar owner |
|---|---|---|---|---|
Reader of the result (not the builder): <name>
Waiver: who may sign <name> · must state <slice, miss, risk accepted> · expires <date>
Cases added during the programme: <rule>
## Candidate result (filled in later)
| Slice | Passed | Bar | Met? |
|---|---|---|---|
## Decision among the moves
Chosen: <move> because <reason> · Not chosen: <each, with cost>
## Fallback to people
Keyed on: <code field> · Volume: <n a month> · Hours: <n> · Carried by: <team> · Owner: <name>
Lift condition per slice: <number> · Review date: <date> · Drill: <date, who>
## Schedule
| Days | Work | Output | Owner |
|---|---|---|---|
Cutover complete by day <n> · Reserve: days <n> to <n>, fixes only
## Rollout and stop numbers
Stages: <5% / 25% / 100%> · Stop if: <numbers>
## Rollback
Before retirement: <how, how long, how long the release stays loadable>
After retirement: <the no-model route, who staffs it, how it is tested>
## Other programmes this touches
| Programme | Depends on us for | We depend on it for | Date | Owners |
|---|---|---|---|---|
## Who is told what, and when WORKED EXAMPLE
Wrenpost is a fictional messaging API with about 180 staff, 55 engineers in seven teams, 12 in support and about 2,400 business customers. Kafui, the TPM, writes the plan on day 3 for the assistant’s migration. Esohe owns the assistant, Adhiambo runs support operations and Akanni is the product manager. The platform engineer who owns the model line in the manifest and the support agent who handles South African accounts are named by role. All figures are illustrative.
The clock. Notice day 0, retirement day 60, about 42 working days, from the vendor’s deprecations page. The gate. Set version 2026-11, 240 cases, three runs, pass at two of three, noise floor 3 flips (1.25 points). Bars are the current model’s result per slice, owned by Esohe and read by Akanni, who is not the builder: Kenya sender IDs 34 of 36, South Africa 27 of 30, and 165 or more of the other 174 cases (all but those two slices: the 120 non-sender-ID cases plus Nigeria and Ghana, 226 − 34 − 27 = 165). Waiver: the head of engineering may sign, in writing, for no more than 30 days. New cases join the next gate. Result, day 8. Kenya 28 of 36, South Africa 23 of 30, the other 174 cases 170, so 221 of 240 (92.1%) against 226 (94.2%).
Decision. Migrate and route, per Esohe: about 150 chats a month for the two countries, 20 hours, carried by Adhiambo’s team of 12, lifted per country at the bars above, reviewed on day 30, drill on day 40. Schedule. Days 0 to 2 notice and usage export; 3 to 10 decision; 11 to 30 country pages and rules, with labelling time requested from Adhiambo on day 3; 31 to 45 shadow, then 5%, 25%, 100%; 46 to 60 reserve, which is 15 days, a quarter of the notice. Rollback. To day 60, point the manifest back at the old model; after it, the queue, drilled on day 40. Other programmes. The Kenya direct carrier connection, due 1 March 2027, makes the Kenya page stale that day, so its lift is re-run then, and the same support staff are needed by both programmes.
Day 44, the route-lift review. The country pages and rules are in and everything else has cut over. South Africa reads 28 of 30, above its bar of 27, and Kenya reads 32 of 36, two cases under 34. Esohe’s review finds Kenya’s two misses are the same confident wrong timeline the gate exists for, and Adhiambo says staff can carry both routes. Kafui’s rule is the one written on day 10. South Africa lifts now, because it met its bar. Kenya stays routed until it reaches 34 of 36 or the head of engineering signs a waiver that names the risk, the miss and an expiry, and Kenya’s page is due for review on 1 March in any case. Lowering Kenya’s bar to 32 would erase the miss. Keeping South Africa routed to day 60 would spend staff hours on a result already earned. Day 44 leaves 16 of the 60 days, and the reserve starts on day 46.
Now you
You are Stanislaw, the TPM at Crustwell, the packaged food and drink company with about 2,200 staff and about 180 distributors. This is the WhatsApp assistant that Indira, the head of IT, asked for when the sales-support desk was answering about 400 order and price questions a week, now at its launch gate. Fourteen days before launch, the distributor ordering assistant, built on a hosted vendor model with a 150-case eval set, reads 132 of 150 on its eval set, 88%, against a launch bar of 90% written on day 1. The bar was written for the whole set and nothing else. By slice: price questions 39 of 40, stock questions 43 of 50, order drafting 50 of 60 (83.3%). A wrong draft goes to a sales coordinator to confirm, but the coordinators are three people and each confirms about 15 drafts a day. The noise floor is 4 flips. The vendor has also given notice that the model retires 45 days from now, which is 31 days after launch. The sales director wants to launch on the date, and nobody has written who may waive the bar. Write the plan: the gate by slice with its source, the reading of the 3-case gap against the noise, the decision, a schedule with a reserve against the notice, and what the three coordinators are asked to carry.
Self-check
Fourteen days before launch, Crustwell's distributor ordering assistant reads 132 of 150 on its eval set, 88%, against a launch bar of 90% written on day 1 for the whole set only. By slice: price questions 39 of 40, stock questions 43 of 50, order drafting 50 of 60. The noise floor is 4 flips. The vendor's notice says the model retires 31 days after launch. The sales director wants the launch date kept, and nobody has written who may waive the bar. You are Stanislaw, the TPM. What do you recommend?
- DOC Model deprecations Anthropic
States the notice commitment, the lifecycle states, which platforms the dates cover and that requests to a retired model fail. Read your own vendor's equivalent before the first notice arrives, and log its dates.
- DOC Define success criteria and build evaluations Anthropic
Says success criteria should be measurable, with quantitative metrics or well-defined qualitative scales, and recommends grading with a different model from the one that generated the output. Use it as the test of whether your gate is a gate.
- BOOK AI Engineering: Building Applications with Foundation Models Chip Huyen, 2025
The fullest treatment of how evaluation works for open-ended outputs. Read it enough to question a bar, a set and a judge, which is what a TPM does at a gate. Read: Chapters 3 and 4, on evaluation methodology and evaluating AI systems.
- POST Your AI Product Needs Evals Hamel Husain, 2024
A practitioner's guide to building evaluations for a specific product, starting from simple checks. It shows what the owners of an eval set do, so you know what to ask them for.
- PAPER Hidden Technical Debt in Machine Learning Systems D. Sculley and co-authors, 2015
Explains why ML systems carry dependencies that ordinary review misses, among them on a world that changes. It is the background for treating a retirement notice as a planned event. Read: The sections on entanglement and on changes in the external world.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.