Solution Architecture2 January 20278 min read

Ontology Before Autonomy — Part 9 of 10

Ontologies need version control

Service rules, terms, forms and statuses change, and each change alters what an agent understands and may do. Part 9 of Ontology Before Autonomy sets out the version record every ontology release needs, separates compatible from breaking changes, and explains why every important agent trace must name the ontology, policy and model versions it ran under.

#Ontology#AI Governance#Change Management#AI Agents#Observability

Consider an illustrative public service that splits one application status, "in review", into two: "awaiting verification" and "awaiting decision". The change is sensible. It is made in the ontology on a Tuesday afternoon, the agent starts using the new states that evening, and nobody records the change anywhere else. On Thursday a person complains that the agent told them their application was "awaiting decision" when an official had said it was still being verified. Which version of the ontology was the agent using when it answered? Which rule mapped the old status to the new one? Was the agent's answer correct under the rules in force at the time? Nobody can say, because the ontology has no versions. It has only a current state.

An ontology describes the service an agent acts in. When the service changes, the ontology must change too, and every change alters what the agent understands, what it may propose and what it tells people.

Treat every change to an ontology as a release with a version, an owner, a reason, an effective date and test results, and record the ontology, policy and model versions in every important agent trace, so any answer can be explained under the rules that governed it.

What changes underneath an agent

Five kinds of change reach an agent through the ontology, and most of them start outside the technology team.

  • Service rules. A document becomes optional, a step is added, an eligibility condition changes.
  • Terminology. An approved term is replaced, a new alternative term is accepted in one language, a misleading term is withdrawn.
  • Forms and fields. A form gains a field, a field becomes critical, a reference number changes format.
  • Statuses and transitions. A state is split, merged or renamed, or a transition gains an approval.
  • Relationships between systems. A record moves to a new system of record, so the source of a state changes.

Each of these can change an agent's behaviour as surely as a new model. Continuous learning must not silently change the rules makes that point for models, prompts and retrieval indexes. The ontology belongs on the same list.

The version record

The decision tool for this part is the version record below. Every ontology release carries it, and the agent's runtime refuses to load a release that is missing a required field.

FieldWhat it holdsWhy it matters
Ontology versionA unique identifier for this releaseTraces and tests point to it
Effective dateWhen it starts to govern live sessionsSeparates "approved" from "in force"
OwnerThe role accountable for this releaseSomeone answers for it
Source authorityThe rule, instruction or decision the change implementsShows the change is grounded, not invented
Change reasonA short plain-language explanationLets reviewers and auditors follow it
Affected workflowsThe journeys and agents that use the changed elementsDefines who must re-test
Approval statusDraft, approved, in force, retiredStops drafts reaching production
Test resultsThe test run that passed for this versionProves the release was checked
Retirement dateWhen it stops governing new sessionsShows when old answers were given under old rules

Two fields deserve emphasis. Source authority stops the ontology becoming a place where teams invent rules: every change should point to something an accountable owner has decided. Retirement date matters because old versions are never deleted. Answers given under a retired version must stay explainable for as long as the records they influenced are kept.

Compatible and breaking changes

Not every change carries the same risk. Classify each one before it is reviewed.

  • Compatible changes add without altering what existed: a new alternative term, a new entity used only by a new journey, a clearer definition with the same meaning. Existing tests should pass unchanged.
  • Breaking changes alter what existing data or agents rely on: a state split or merged, a relationship removed, a term's meaning narrowed, a permission withdrawn. They need a migration rule, updated tests for every affected workflow and the owner's explicit approval.
  • Deprecations mark an element as no longer to be used, while keeping it readable so older records still make sense.

The W3C's OWL 2 standard has vocabulary for exactly this. Its structural specification (Second Edition, W3C Recommendation of 11 December 2012, accessed 24 November 2026) lets an ontology carry a version IRI alongside its ontology IRI, so that the pair identifies one version within a series. It also defines annotations for a prior version, for earlier versions that are backward compatible or incompatible, and for marking a term as deprecated. You do not need OWL to use the idea. A version number, a pointer to the previous release, a compatibility flag and a deprecated marker work just as well in a table or a configuration file.

In the opening example, splitting "in review" was a breaking change. It needed a migration rule (cases in "in review" on the effective date map to "awaiting verification" until an official says otherwise), new mapping fixtures, and a note in every affected agent's release record.

One gate for every change

Ontology changes should pass through the same gate as model and prompt changes:

  1. Propose with the source authority and change reason.
  2. Classify as compatible, breaking or deprecation.
  3. Test against the existing suite and the new cases, per language in scope.
  4. Shadow run for breaking changes: replay recent sessions under the new version and compare the next actions.
  5. Approve by the owner, and by the language specialist for terminology changes, as Part 7 set out.
  6. Set the effective date and publish.
  7. Retire the previous version for new sessions on that date, and keep it readable.

A version that has not passed the gate cannot be loaded. That is enforced by the runtime, not by a reminder.

Every trace names its versions

Ontology version control. Three illustrative releases sit on a timeline: version 0.1 for the first journey, retired; version 0.2 adding a new term, a compatible change, retired; and version 0.3 splitting a status, a breaking change, now in force. Every change passes one gate: propose with the source authority, classify the change, test per language, shadow run if breaking, owner approval, and an effective date. Each release carries a version record: version, effective date, owner, source authority, change reason, affected workflows, approval and test results, and retirement date. Every important agent trace names the ontology version, policy version, model and route, prompt version, glossary version per language and retrieval index version, with no personal content.RELEASESRETIREDv0.1: first journeycompatibleRETIREDv0.2: new term addedbreakingIN FORCEv0.3: status splitONE GATE FOR EVERY CHANGEProposewith sourceClassifythe changeTest perlanguageShadow runif breakingOwnerapprovesEffectivedate setVERSION RECORDOntology versionEffective dateOwnerSource authorityChange reasonAffected workflowsApproval and test resultsRetirement datenamed inEVERY IMPORTANT TRACEOntology versionPolicy versionModel and provider routePrompt versionGlossary version per languageRetrieval index versionNo personal content
Old versions are retired, never deleted, so past answers can be judged against the rules of their time. CloudNala analysis; illustrative versions.

An agent trace without versions answers what happened but not under which rules. Every important trace should record, at minimum:

  • the ontology version;
  • the policy version;
  • the model version and provider route;
  • the prompt or instruction version;
  • the glossary version for each language;
  • the retrieval index version, where retrieval was used.

An illustrative trace header, with no personal content:

{
  "sessionId": "opaque-session-id",
  "ontologyVersion": "service-ontology-illustrative-v0.3",
  "policyVersion": "policy-v0.4",
  "modelVersion": "provider-route-and-model-id",
  "glossaryVersion": { "source": "glossary-v12", "target": "glossary-v9" },
  "nextAction": "clarify",
  "humanApprovalRequired": true
}

Keep personal information out of ordinary logs. The versions are metadata, and they are what make a later investigation possible. Observability for AI sets out the wider action event, and Data lineage for AI answers shows how an ontology version joins the provenance chain of an answer.

Cases that span a change

Service cases last longer than ontology versions. A case opened under v0.2 may still be open when v0.3 takes effect. Decide explicitly which version governs it.

Usually the newest version governs what the agent may do next, because the rules in force today are the rules that apply. The version that governed each earlier step stays on that step's record, because past answers must be judged against the rules of their time. Where a breaking change would alter something already told to the person, such as a list of required documents, the agent should not silently re-explain. The case should be flagged for an official.

What this means for NalaTolika

NalaTolika is a CloudNala concept and reference architecture for governed language interpretation. It has no customers, deployments, pilots, data or results. Its event model records the ontology version and the policy version alongside each interpretation event, and its terminology changes require a language specialist's approval before release. Version control is what lets a concept like this explain any past answer without storing more personal content than the service needs.

How CloudNala can help

CloudNala sets up version control for ontologies used by agents. We define the version record and the compatibility classes with your owners, connect ontology releases to the same change gate as models and prompts, add version fields to your traces, and write the rule for cases that span a change.

Next in the series: Graph reasoning needs evidence and boundaries. Previous: Part 8, Build the smallest ontology that can be tested. All parts are on the series page.

Sources and limits: this article is CloudNala analysis. The status example and trace header are illustrative and do not describe any real service. The OWL 2 version IRI and annotation properties are described from the W3C structural specification, Second Edition of 11 December 2012, accessed on 24 November 2026. NalaTolika is a concept with no deployments.


Work with CloudNala

CloudNala helps organisations move from technology ambition to practical execution across cloud, AI, data, platform engineering and digital services.

Whether you are exploring AI, modernising your cloud environment, building a public-sector digital service, or turning an idea into a working MVP, we can help you shape the roadmap and deliver the next step.

Book an Ontology and Agent Governance Assessment or write to us at consult@cloudnala.co.za

Found this useful?

Share