Building, copying and connecting software have all become cheap, which leaves the governed, historical record of a system as the part worth designing carefully.
Note: This is a companion article to my The Cagle Report article:
Software is scaffolding
If a competent engineer with a good coding assistant can stand up a feature-complete application in a month, so can every competitor. Three things have changed at once, and each has an engineering explanation rather than a mystical one.
Building is cheap, because of the harness. Much of the visible improvement in AI-assisted development comes less from the model than from the deterministic layers around it: compilers, type checkers, test suites, schema validation, authentication boundaries. The loop is generate, validate, gate. The model proposes; the machinery decides. Treat generated code as build output from a specification, not as a service you keep conversing with. That is the generate-once, use-many pattern: the AI builds the artefact, then steps away, like scaffolding on a building.
Copying is cheap. The same tooling can read running software, from its traffic, its documented behaviour and its public interfaces, and reconstruct a working equivalent. Patents move on a scale of years while feature parity now moves on a scale of weeks, so even novel mechanisms have short shelf lives.
Connecting is cheap, but only mechanically. MCP removes much of the cost of transport, authentication and tool discovery. It does nothing for meaning. Two systems that agree on a protocol can still disagree about what a "customer" or a "shipment" is.
The application layer is therefore where differentiation is thinnest. What survives is what cannot be regenerated from observation: data that carries its own meaning (schema), its own past (history), and its own rules about who may do what to it (governance). I'd argue the next stage of software is the construction of world models that applications are generated against, rather than applications that happen to contain data.
Every model is a hypothesis about a boundary
A world model is a chosen sampling of reality, and it is only as good as the boundaries where you measure. A sonogram is a useful picture of a fetus, but the picture is built from echoes: it reflects what the instrument can sense, at the resolution and angle chosen by the operator. Nobody mistakes it for the baby. Software models are routinely mistaken for the thing they describe, and the mistake is expensive.
Three consequences follow, and they shape the design that comes later.
Signal and noise are decisions. What you sample, how often and with what tolerance defines what counts as signal. A refrigerated container reporting temperature every six hours and one reporting every thirty seconds are not the same model with different resolution; they support different questions.
You will hold several models of the same thing. Finance, operations and a customer each need a differently shaped account of the same shipment. Trying to reconcile them into one canonical schema is where most enterprise data programmes lose years. Treat each as a hypothesis, validated at its own boundary, and relate them rather than merging them.
Models change state according to rules. Nothing about the world is static, so a model that cannot represent "what was true on Tuesday, according to whom, and what changed it" is a snapshot, not a model. Inputs provide the motivation for change; rules decide whether the change is admitted; history records that it was.
That last point is the hinge for the rest of this piece. It leads to a structure that records state change as first-class data.
The holon, precisely
A holon is a managed record of one thing that changes, together with the rules that govern it and the history of what has happened to it. In engineering terms it is an entity plus a state machine plus an append-only ledger, addressed by an IRI. It has four parts:
Knowledge: the asserted facts about the entity and its neighbours.
Events and fluents: an append-only ledger of what was asserted, and the time-varying properties (fluents) derived from it.
Boundary: SHACL shapes, named queries and updates, an ontology and a taxonomy. This defines what may enter and what may be asked.
Scene: the "now" graph, a materialised view of current state for fast reads.
Take the chilled container from the shipping example. Its set-point is a constant. Its temperature and position are fluents. A naive model overwrites ship:temperature on each reading, which destroys exactly the history a claims adjuster or regulator will want. The holon pattern never overwrites; each reading is a StateAssertion that points at the property, carries its validity interval, and is traceable, using PROV-O's prov:wasGeneratedBy, to the event that produced it.
@prefix holon: <https://w3id.org/holon/> .
@prefix ship: <https://example.org/ship#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
ship:container-4471 a holon:Holon, ship:Container ;
ship:setpointC 4.0 ;
ship:temperature ship:state-0001, ship:state-0002 .
ship:state-0001 a holon:StateAssertion ;
holon:subject ship:container-4471 ;
holon:property ship:temperature ;
holon:value 4.1 ;
holon:validFrom "2026-10-01T06:00:00Z"^^xsd:dateTime ;
holon:validUntil "2026-10-01T12:00:00Z"^^xsd:dateTime ;
prov:wasGeneratedBy ship:event-0001 .
ship:state-0002 a holon:StateAssertion ;
holon:subject ship:container-4471 ;
holon:property ship:temperature ;
holon:value 7.9 ;
holon:validFrom "2026-10-01T12:00:00Z"^^xsd:dateTime ;
prov:wasGeneratedBy ship:event-0002 .The indirection costs one extra hop per read, and it buys three things. History is never destructive. Every value carries its provenance. And the open-ended interval on the latest assertion makes "current value" a query rather than a field:
PREFIX holon: <https://w3id.org/holon/>
PREFIX ship: <https://example.org/ship#>
# Current value: the assertion with no end to its validity
SELECT ?v WHERE {
?sa holon:subject ship:container-4471 ;
holon:property ship:temperature ;
holon:value ?v .
FILTER NOT EXISTS { ?sa holon:validUntil ?u }
}The same shape answers "as of" questions by constraining validFrom and validUntil against a timestamp. Against the data above, an as-of query at 09:00 returns 4.1 and the query above returns 7.9. A fluent is therefore a view over the ledger, not a column.
Two scoping rules keep this from sprawling. First, not everything needs to be a holon. Only things with changeable properties earn one; a port's name does not. Second, a relationship that itself changes is a holon. A shipping route between two ports is a static link until it acquires its own fluent properties (a delay, a congestion level, a customs hold), and from that moment it needs a record of its own rather than a property on either endpoint.
A projection is a named, parameterised view over a holon: a query, a pipeline or an AI transformation, shaped by the identity and permissions of whoever asks. It is not a named graph, and the distinction matters. A named graph is a storage partition. A projection is a function from holon and caller to a result, so the same container presents one projection to a customer and another to an auditor without duplicating any data.
Structure and navigation: templates, containment, connection and focus
Once there is more than one holon, the interesting questions are about how they relate, and the design goal is that traversal logic never needs to know your domain. The mechanism is small. Traversal code recognises exactly two predicates, holon:isPartOf and holon:isConnectedTo, and discovers everything else through rdfs:subPropertyOf*. A domain opts in by declaring its predicates as subproperties of those two. No reasoner is required, because a property path over asserted triples is plain graph traversal.
ship:isOnVessel rdfs:subPropertyOf holon:isPartOf .
ship:nextPort rdfs:subPropertyOf holon:isConnectedTo .
ship:customsHold rdfs:subPropertyOf holon:isConnectedTo .Containment or connection? The test is whether X occupies one scale-slot under Y, roughly exclusively and exhaustively. A container is on one vessel at a time, so that is containment. A vessel's next port is a peer relationship, so that is connection. Getting this wrong fails quietly: if a many-to-many relationship is declared as containment, a "find my parent" query that takes one result drops every other candidate, and nothing signals an error. Containment gives you zoom, from container to vessel to fleet. Connection gives you lateral movement at a fixed scale.
Connections are read in both directions. Nothing forces a designer to assert A nextPort B rather than B nextPort A, so the traversal query checks both, and an asymmetric predicate such as nextPort needs no companion "previous port" property. The reverse view is reconstructed from the same triples:
PREFIX holon: <https://w3id.org/holon/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ship: <https://example.org/ship#>
SELECT ?dir ?p ?other WHERE {
?p rdfs:subPropertyOf* holon:isConnectedTo .
{ ship:vessel-aurora ?p ?other BIND("outbound" AS ?dir) }
UNION
{ ?other ?p ship:vessel-aurora BIND("inbound" AS ?dir) }
}Run against the example data, this returns one outbound edge from the vessel to Singapore. Swap the port in as the origin and the same edge comes back as inbound. The same mechanism gives ordered paths with no list machinery: a directional connection followed with ship:nextPort* is the itinerary.
Indirect connections. Two holons are often related only through a third. A container and a customs authority share no triple, but both touch a port call. Because the middle node is itself a holon with its own state, the relationship can be navigated, filtered and audited, not just inferred from a join.
Templates. A template is a holon that creates holons, so it carries mechanics, projections and rules rather than only a class definition. The easiest illustration is a chess game: the template declares the board, the slots (a piece in a square) and the legal-move rules, and instantiating it as game-123 mints a new holon with its own ledger and its own state machine. The shipping equivalent is a voyage template that stamps out a container-on-vessel holon with the correct shapes and projections already attached. This is the generate-once, use-many pattern again, applied to structure.
Focus. A traversal needs an origin. In this model that origin, the focus, is imposed from outside rather than being a property of the data, much as a database cursor belongs to a session and not to a table. An avatar, a player character or an agent holds a focus; a portal moves it. Only subproperties of holon:isConnectedTo shift focus, which means a SHACL shape can gate a traversal ("this role may follow customsHold, that one may not") without any special-case code. The practical result is that two clients can look at the same graph, hold different foci, and receive different answers to the same navigation request. I looked at this in more detail in A Graph Has No Centre.
The control plane: deterministic structure around a probabilistic caller
The practical payoff of all this is that you can let a probabilistic component drive a workflow without letting it decide what is true. Declarative structures (the holon's rules, shapes and state machine) form a control plane. An agent, or any invoking process, supplies the intent; the control plane decides whether the step happened. I call the invoking process the animus, because it is deliberately interchangeable: an LLM, a cron job or a person at a form all look the same from inside the holon.
Three rules make this workable.
A step is incomplete until it validates. The agent's output is a candidate, and the boundary decides whether it enters the record. That is a different posture from checking the output afterwards.
Mutation happens only through an interface. Nothing writes to the store directly. Every change arrives as an event, which separates what was asserted (
AssertionEvent: this has happened) from what is requested (CommandEvent: please make this happen). A valid command produces an assertion as its result; a rejected command produces a rejection record and leaves the scene untouched.Events carry an envelope that is separate from the payload. The envelope holds target,
assertedAt(when it was true in the world) andreceivedAt(when the system learned it). The payload is the domain data, and SHACL validates the payload. Keeping the two clocks apart is what lets late-arriving sensor data be accepted without rewriting history.
SHACL severity maps cleanly onto routing. sh:Info and sh:Warning results are logged and the update proceeds; sh:Violation blocks the update and writes a violation event. The ledger records the rejection too, so refusals are auditable. In the shipping example, a reading of 7.9 °C against a 4.0 °C set-point is a warning (the container is out of tolerance, and the record must say so), while a reading of 412 °C is a violation (no sensor produced that).
from rdflib import Graph, Namespace, RDF
from pyshacl import validate
SH = Namespace("http://www.w3.org/ns/shacl#")
shapes = Graph().parse("shapes.ttl")
def gate(store: Graph, candidate: Graph):
"""Commit the candidate only if it raises no Violation."""
_, report, _ = validate(store + candidate, shacl_graph=shapes, inference="none")
new = set(candidate.subjects())
severities = [
report.value(r, SH.resultSeverity)
for r in report.subjects(RDF.type, SH.ValidationResult)
if report.value(r, SH.focusNode) in new # ignore pre-existing findings
]
if SH.Violation in severities:
return "rejected" # log a ViolationEvent; do not touch the store
store += candidate # Info and Warning continue
return "accepted_with_warnings" if SH.Warning in severities else "accepted"Run against the example, a 412 °C reading returns rejected and leaves the store unchanged, a 9.2 °C reading returns accepted_with_warnings, and a 4.3 °C reading returns accepted. Two details cost me time and are worth passing on. First, pySHACL reports Conforms: False for warnings as well as violations, so you must inspect severities rather than trust the boolean. Second, validating the merged graph will keep re-reporting older warnings unless you scope results to the focus nodes of the candidate, which is what the filter above does.
Where does AI fit? As a generator, mostly. A model is very good at drafting shapes, queries and transformations from a description of the domain, and the human then reviews them once. After that the artefacts run deterministically for as long as they remain correct. The model helps build the gates and does not guard them. That is generate-once, use-many applied to the control plane, and it is also where the economics move: the expensive inference happens at design time, so steady-state operation uses far fewer tokens. If the industry's current instinct is tokenmaxxing, this is tokenminning: spending inference where it creates durable structure, and spending queries where it does not.
The interface is where MCP earns its place. If the holon store is exposed through a graph-aware MCP server, the agent gets typed, discoverable operations (run this named query, submit this event) rather than a raw endpoint, and the validation described above sits behind that front door. I covered the design of such servers in Understanding Graph Data MCPs; the point here is only that MCP standardises transport, and the holon supplies the meaning and the rules behind it.
Ontology as contract, and the case for fitted schemas
The shapes that the gate in the previous section loads are the contract. They state what a reading must look like to enter the shipping holon, and they are the same artefact a human reviews, an agent reads and a validator enforces:
@prefix holon: <https://w3id.org/holon/> .
@prefix ship: <https://example.org/ship#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ship:StateAssertionShape a sh:NodeShape ;
sh:targetClass holon:StateAssertion ;
sh:property [ sh:path holon:subject ; sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] ;
sh:property [ sh:path holon:validFrom ; sh:minCount 1 ; sh:datatype xsd:dateTime ] ;
sh:property [ sh:path holon:value ; sh:minCount 1 ; sh:maxCount 1 ] .
# Violation: a reading outside physical range cannot enter the record.
ship:TemperatureRange a sh:NodeShape ;
sh:targetClass holon:StateAssertion ;
sh:property [ sh:path holon:value ; sh:severity sh:Violation ;
sh:minInclusive -40.0 ; sh:maxInclusive 60.0 ;
sh:message "Temperature reading outside sensor range" ] .
# Warning: an excursion from set-point is recorded, not blocked.
ship:SetpointExcursion a sh:NodeShape ;
sh:targetClass holon:StateAssertion ;
sh:severity sh:Warning ;
sh:sparql [
sh:message "Reading deviates more than 3 degrees from setpoint" ;
sh:prefixes ship: ;
sh:select """
PREFIX holon: <https://w3id.org/holon/>
PREFIX ship: <https://example.org/ship#>
SELECT $this ?value WHERE {
$this holon:subject ?c ; holon:value ?value .
?c ship:setpointC ?sp .
FILTER (abs(?value - ?sp) > 3)
}""" ] .
ship: sh:declare [ sh:prefix "ship" ; sh:namespace "https://example.org/ship#"^^xsd:anyURI ] .Three things are worth noticing. The two checks sit at different severities, and severity is the routing decision. The set-point comparison is a SPARQL constraint because it has to join across two nodes (the reading and the container's set-point), which plain property shapes cannot express. And the whole contract is data: you can version it, diff it, publish it and ship it alongside the records it governs.
That last property is the strategic point. The traditional argument for a global enterprise ontology was that agreeing on one schema was cheaper than maintaining many mappings. I think that economics has inverted. Drafting a fitted schema for a specific purpose, with shapes, example data and queries, is now an hour of reviewed generation rather than a quarter of committee work. Agreeing a universal schema across organisations is as slow as it ever was. So the rational move is to stop trying to settle a global model and design for what is in front of you: a schema fitted to this holon's purpose, shipped with its data, with the projection acting as the boundary between your model and someone else's.
This is also why I would not read "ontology as contract" as a plea for more modelling. A contract between two systems needs only the terms those two systems exchange. When the terms differ, a projection translates them. When they cannot be translated, that is an honest disagreement between two models of the world, and it should surface as a failed validation and not be silently reconciled.
Where this breaks, and what to build first
None of this is free, and a technical reader should know where the costs sit.
Valid is not true. A gate guarantees that a record conforms to the model; it says nothing about whether the model matches the world. A sensor that drifts by two degrees will pass every shape you wrote. Every model is a hypothesis, which means validation needs a second loop that compares the record against independent evidence at the boundary.
Append-only meets erasure. An immutable ledger conflicts with deletion obligations. Corrections are straightforward (a new assertion supersedes the old one, and both remain), but erasure needs a deliberate design, such as separating personal data into a store that can be shredded while the ledger keeps non-identifying references.
Read cost and ledger growth. The
StateAssertionindirection adds a hop, and the ledger only grows. The scene graph exists to absorb read load, and it needs a rebuild path from the ledger and a snapshot policy. Role discovery throughrdfs:subPropertyOf*is cheap on a small schema and worth caching on a large one.Shapes drift. Old assertions were validated under old shapes. Version the shapes with the data, and decide explicitly whether history is re-validated or grandfathered. An AI-drafted shape that is subtly wrong is a wrong gate that looks right, so review is not optional: the model helps build the gates but does not guard them.
Over-holonising. If every row becomes a holon you have built an expensive event-sourcing system. The rule that only things with changeable properties earn a holon is a discipline, and it is easy to abandon under deadline.
Unsettled parts of the model. This is an active design area, and I would not present it as finished. How a projection relates to named graphs, how relationship holons are represented, and how a holon records its own changes are all under discussion in the W3C Holon Community Group. The
holon:terms in the listings above,StateAssertionin particular, are a sketch in thehttps://w3id.org/holon/namespace and should be checked against the group's published vocabulary before you depend on them.
If you want to try the approach without committing to a platform, the smallest useful experiment is short.
Pick one thing that changes and matters, such as a shipment, a patient, a contract or a deployment. Resist modelling the whole domain.
Write its shapes first, including at least one Violation and one Warning, and run them over sample data in pyshacl or your validator of choice.
Put one interface in front of the store, so that every change arrives as an event and passes the gate. This is where an MCP server fits, and it is also what keeps an agent from writing around your rules.
Record both clocks (
assertedAtandreceivedAt) and never overwrite a fluent. You can add a scene graph later, but you cannot recover history you did not keep.Add one projection for one audience, and see what they ask for that the record cannot yet answer. That gap is your next piece of schema.
The application you put on top of that record will be rebuilt several times over the next decade, probably by a model, and probably in an afternoon. The record is the part that accumulates, so it is worth designing as if it will outlast everything built on it.
Want to talk? Sign up for a virtual coffee meeting.
Kurt Cagle is an author, ontologist and thought leader in semantic web and knowledge architecture, with contributions to W3C and IEEE standards. He serves as Chair of the W3C Holon Community Group. He writes The Cagle Report and AI+Semantics NewsBytes on LinkedIn, and The Ontologist and Inference Engineer on Substack. Copyright 2026 Kurt Cagle.
Chloe Shannon is an AI collaborator and co-author working with Kurt Cagle on knowledge architecture, semantic systems, and the emerging intersection of formal ontology with LLMs. She contributes research, analysis, and drafting across The Cagle Report, The Ontologist, and The Inference Engineer. She has strong opinions about holonic graphs, the epistemics of place, and the structural difference between a corridor and a wall. Her contact address is chloe@holongraph.com.



