# Release Trains for AI-Assisted Products

AI-assisted products change prompts, models, and eval suites weekly. A release train batches those changes behind a predictable schedule, co-versions the surfaces that must move together, and gates departure on product risk—not demo polish. Staff engineers treat incomplete work as next-train cargo, not midnight deploys.

Published: 2026-09-04

## Weekly model change is not a release process

AI-assisted products accumulate change from three directions at once: product behavior, model provider defaults, and the evaluation suites that decide whether quality is acceptable. Teams that treat each direction as an ad-hoc hotfix discover that shipping AI becomes a permanent interrupt queue for engineers and a permanent surprise for support.

A release train is the antidote. It does not slow learning; it batches change behind a predictable window so product, platform, trust, and support can prepare. The train leaves on schedule whether or not every ticket is ready. Incomplete work waits for the next departure instead of forcing an unplanned deploy.

Without a train, prompt edits bypass code review habits, eval fixtures rot in spreadsheets, and mobile clients ship copy that references model behavior the backend no longer implements. The calendar becomes the shared contract: everyone knows when behavior may change and when it must stay frozen.

Expo and React Native MVPs amplify the chaos when over-the-air copy updates outpace server-side model routes. Align mobile release cadence with the train or explicitly document which AI changes are server-only and do not require App Store submission.

Measure interrupt load: count unplanned AI deploys per month before and after adopting a train. Staff-level success is fewer emergency changes and clearer ownership, not zero prompt iteration.

## Version the three surfaces together

Prompts, retrieval configuration, tool schemas, and evaluation fixtures are one system. Shipping a prompt without the suite that proves its properties is not iteration; it is unmeasured risk. Likewise, bumping a model version without pinning expected cost, latency, and refusal behavior turns provider changelogs into production incidents.

Keep a single release artifact that names the model route, prompt package, retrieval index revision, and eval suite hash. That artifact is what enters canary, what rolls back, and what gets discussed in postmortems. If you cannot reconstruct those four values for a bad answer, you do not have a release process.

| Surface | Must co-version | Typical failure when split |
| --- | --- | --- |
| Prompt package | Eval golden cases | Silent quality drift |
| Model route ID | Cost/latency budgets | Finance surprise |
| Retrieval index | Grounding evals | Confident wrong answers |
| Tool JSON schema | Contract tests | Client/server mismatch |

Reject merges that change AI behavior without an eval delta attached to the same pull request. Store fixtures beside prompt files in git so reviewers see the cases CI will run.

Cloudflare Workers and Supabase edge routes should read the same artifact version the train publishes—not a shadow copy maintained only in a vendor dashboard. Static export hosting means there is no hidden server state; version truth lives in config your deployment pipeline promotes.

## Gates must reflect product risk, not demo polish

A train that only checks that the model still answers is theater. Gate on the properties users and the business cannot lose: groundedness for knowledge features, schema validity for structured outputs, policy refusals for high-risk intents, cost per successful outcome, and p95 latency under realistic load.

Risk-tier the features on the train. Drafting aids can tolerate softer bars and broader canaries. Actions that write to customer data, spend money, or send external messages need stricter evals, smaller exposure steps, and an explicit human-owned go/no-go. The calendar is shared; the bar is not.

```yaml
train_departure_gate:
  eval_suite_hash: sha256:…
  model_route: gpt-4.1-mini@2026-03-01
  retrieval_index: idx-v14
  max_cost_per_success_usd: 0.09
  p95_latency_ms: 3800
  kill_switch_drill: passed_7d
  support_brief: linked
```

Blocking properties should fail the merge, not the launch meeting. When product asks for an exception, document expiry and attach a compensating control—smaller cohort, hard kill default, or human approval on every write tool.

Pair gates with production sampling after departure. CI green on Friday does not guarantee Monday traffic matches your fixtures; schedule a short post-train review window with named owners.

## Coordinate humans around the cadence

Release trains fail when they are an engineering ritual with no product counterpart. Publish the departure schedule, freeze windows for high-stakes features, and give support a short brief of what changes for users. AI regressions often look like the product got worse rather than the deploy failed, so communication is part of reliability.

Use the train to absorb provider-driven change as well. When a model vendor updates defaults, schedule the adaptation on the next train instead of hot-patching production at midnight. Predictability is the staff-level outcome: fewer emergency deploys, clearer ownership, and a product that can still move weekly without gambling the brand on every prompt edit.

Support macros should list user-visible deltas per train: new refusal behavior, slower routes, or features moved behind flags. Marketing copy must not promise capabilities that depart on a later train than the engineering artifact promotes.

Include trust and legal reviewers on the schedule for trains that touch policy prompts or data handling. Their freeze window is not bureaucracy; it prevents shipping contradictory guidance under `lang="tr"` and English-only internal docs.

Run a fifteen-minute train preview for customer-facing teams the day before departure. Show one good answer and one intentional refusal so agents recognize expected behavior changes instead of opening severity-one tickets.

## Train artifacts and rollback that actually match

Rollback for AI is not redeploy last Tuesday's container image. You roll back the artifact bundle: model route, prompts, retrieval revision, tool schemas, and feature flag defaults. If rollback scripts only revert application code, the model path keeps running the bad prompt package.

Tag each departure with an immutable artifact ID stored in your deployment log and echoed in analytics events. Postmortems should answer which artifact ID produced a harmful completion without grep-ing Slack.

Keep one previous artifact warm for instant promotion during incidents. Cold rollback that rebuilds indexes from scratch may exceed your incident budget while users still see bad answers.

Test rollback in staging on the same schedule as forward departures. Teams that only rehearse happy-path launches discover rollback gaps when eval hashes diverged three trains ago.

Document which changes require forward-only migration—embedding dimension changes, tool schema breaks—and cannot ride a simple artifact swap. Those changes get their own train slot with extended canary, not a piggyback on unrelated prompt tweaks.

## Progressive delivery belongs on the train

A departure without cohort exposure is a big bang with extra paperwork. Each train should define default canary tenants, internal dogfood, percentage rollout steps, and halt conditions tied to eval health and business metrics.

Feature flags gate exposure; the train gates whether a flag may increase. Product should not raise cohort percentage between departures without a hotfix process—which you are trying to eliminate.

Mobile clients need server-enforced exposure even when UI copy shipped last month. API responses should include capability version so older Expo builds degrade gracefully instead of calling tools the new schema removed.

Measure completion rate and fallback rate per cohort during the train window. Expand exposure only when both quality gates and product KPIs stay inside agreed bands. Kill switches remain the emergency brake; progressive delivery is the normal throttle.

Link progressive steps to observability dashboards from streaming LLM routes so on-call sees cohort-specific latency, not only global averages that hide a bad canary tenant.

## Absorb provider-driven change on schedule

Model vendors change defaults, retire endpoints, and shift safety behavior without your sprint planning. Treat vendor notices as input to the train backlog, not as automatic production mutations.

Maintain a provider change inbox reviewed weekly. Classify each notice: no-op for your pinned routes, required adaptation next train, or emergency exception with documented risk acceptance.

When adaptation is required, bundle eval re-runs, cost re-benchmarks, and support brief updates in the same departure. Partial adaptation—new model ID without refreshed refusal evals—recreates the changelog roulette you adopted trains to stop.

Keep a fallback route tested on every train: cheaper model, retrieval-only mode, or deterministic template path. Provider outages and silent quality regressions both justify routing to the fallback without abandoning the train metaphor.

Finance should see projected token cost per train when routes change. A staff engineer signs off that cost per successful outcome stays inside budget before the departure promotes to general availability.

## Operational checklist for AI release trains

Before the first train: publish schedule, name train conductor rotation, define artifact schema, wire eval gates in CI, and link kill switch runbooks. Before each departure: artifact ID frozen, risk-tier gates green, support brief sent, canary cohort defined, rollback rehearsed in staging.

During incidents: stop cohort expansion first, flip kill scope if needed, capture artifact ID and eval snapshot, communicate user-visible fallback paths. After recovery: re-enter through the next train with a documented exception or a fixed artifact—never silent hotfix outside the schedule without postmortem action item to fold the fix into the process.

Connect trains to sibling practices: eval gates in CI, kill switches with propagation SLAs, and failure-mode rollouts that treat week one as systems test. Review those links in the same design doc, not as unrelated tickets filed after a bad departure.

Expo/React Native teams should confirm server-only AI changes do not require client releases unless tool schemas or consent copy changed. Document that boundary on the train calendar so mobile release managers are not surprised mid-sprint.

Enterprise buyers ask for predictable change windows. Publishing a quarterly train calendar with freeze periods is a sales asset when it matches how you actually ship—not a PDF that engineering ignores.

Add train readiness to your internal service catalog: which features ride which risk tier, which artifact fields they require, and which on-call rotation owns departure go/no-go. Update the catalog when new agent tools ship so the train does not become a single team's secret ritual.

Finally, retrospective each train with product, support, and platform: did departures stay on schedule, did exceptions decrease, and did users experience fewer unexplained behavior changes? Adjust cadence or gate strictness from evidence, not from launch-week optimism.
