Version shared components and business rules separately
Key takeaway
The platform can share a technical core while units own their sources, rules and approvals.
Lessons in this path
How it works
Version base model, runtime, instructions and source release. Keep tests per unit. Evaluate model changes against the same cases and plan separate fallbacks for critical units.
Worked example
A model change improves summaries but alters citation behavior in support. That unit retains the previous version until its tests pass.
What exactly is versioned?
An AI application consists of several layers that change independently. The shared core comprises model access, runtime, retrieval component, safety filters and logging. Business layers comprise instructions, knowledge sources, business rules and test sets. Each layer needs its own version number, and each deployed combination a configuration ID recording which versions are active together.
Semantic versioning (major.minor.patch) helps here too: a new major version of the core signals that business units must rerun their tests, a patch version does not. A model change is generally treated as a major version because it can change behaviour broadly.
The knowledge state is often forgotten. When a business unit replaces documents, answers change just as they do after a model change. Treat every update of knowledge sources as its own release with an ID, a short change note and a run of the business test set. After a complaint you can then establish whether the model or the source was the cause.
| Layer | Owner | Business product A | Business product B |
|---|---|---|---|
| Core (model, runtime, filters) | Platform team | 3.2 | 2.7 (held until acceptance) |
| Instructions | Business unit | A-1.4 | B-2.1 |
| Knowledge state | Business unit | W-14 | W-12 |
| Test set | Business unit | A-T7 | B-T3 |
Step by step: roll out a core update
The goal is that the platform team can evolve the core without surprising business units, and that one unit cannot block the whole platform.
- Announce the core change with a version number and release note, including expected behaviour changes.
- Run all affected products’ business test sets automatically against the new version and share results with the units.
- Each unit decides within an agreed period: adopt, adopt with adjustment or stay for now.
- Switch products gradually; the old core version remains available in parallel for a defined transition period.
- Switch off the old version after the transition period. Units that have not switched escalate to the platform board.
The transition period must be shorter than the provider’s remaining lifetime for the old model version. Otherwise the provider decides your rollout.
Going deeper: the cost of parallel versions and clean interfaces
Every core version run in parallel costs: infrastructure, security updates, support and attention. Therefore limit the number of simultaneously supported major versions, for example to two, and make this rule part of the platform agreement. Units that want to stay longer bear the additional cost visibly.
Technically, a clear interface between core and business layer eases operations: units deliver instructions, sources and rules as versioned artefacts in a defined format, which the core loads at runtime. Business changes can then ship without a core deployment and vice versa. A model router that selects the approved model version per business product allows different states without separate platforms.
Example: New retrieval component, different effects
Example (fictional): a pharmaceutical group’s platform team introduces a new retrieval component that splits long documents better. In the automated run, the product for internal policy questions improves clearly, while the product for medical information requests performs worse on dosage tables because tables are split differently.
The policy product adopts the new version immediately. The medical product stays on the old one until the platform team adds table handling and the business test set passes. Both decisions are recorded in the register with their configuration IDs.
Common mistakes
- Changing instructions and knowledge states directly in production without version numbers.
- Rolling out core updates to all products simultaneously.
- Running an unlimited number of core versions in parallel.
- Embedding business rules in core code so every rule change requires a platform release.
- Not logging the configuration ID, so error reports cannot be matched to a version.
Frequently asked questions
Who decides on a model change?
The platform team offers it; each business unit decides for its product based on its tests within the agreed period.
How long should an old version keep running?
As briefly as possible and limited by the provider’s lifetime. As orientation, a few weeks to months, set in the platform agreement.
Do we need a dedicated tool for instructions?
Not necessarily. Many teams version instructions like code in a repository with review. Specialised prompt management tools help with many products but replace neither test set nor approval.
Try it yourself
Sketch a version matrix for two business products and their shared core.
Check your result
An update can be accepted or rolled back by task.