Waarom Swarp een Lichaam is en de Kathedraal van Chartres ook.

Jump to the English translation here.

J.Konstapel,Leiden,27-3-2026.

This is a link to the body of Chartres Cathedral.

Het stuk vergelijkt SWARP met de levende architectuur van de kathedraal van Chartres, waarbij beide systemen interne coherentie en zelfregulatie bezitten.


Het centrale probleem is dat grote digitale platforms zonder interne regulatie instabiel worden; externe beheersing faalt net als bij zwakke bouwwerken.


SWARP integreert vijf biologische regelmechanismen — levenscyclusbeheer, immuunreactie, chronische stressdetectie, semantische evolutie en hiërarchische conflictresolutie — om stabiliteit te garanderen.


Het artikel toont dat deze mechanismen proberen vrije energie te minimaliseren en zo een gebalanceerde, coherente toestand binnen het systeem bereiken.


De analogie met Chartres onderstreept dat SWARP’s architectuur niet metaforisch is maar een operationeel principe voor robuuste socio‑technische systemen.

De Levende Kathedraal: Wat Chartres Wist en Wij Zijn Vergeten

Leiden, maart 2026 — Hans Konstapel


Wie op een heldere ochtend de kathedraal van Chartres binnenstapt, ervaart iets waarvoor geen foto voorbereidt. Het licht verlicht het interieur niet — het vormt het. Twaalfhonderd vierkante meter glas-in-lood lossen de grens tussen steen en hemel op. Je bevindt je binnenin een oog.

Dit is geen toeval van schoonheid. Het is techniek. En het is, zo wil ik hier betogen, precies dezelfde techniek die ik de afgelopen jaren heb geprobeerd te formaliseren in SWARP: een raamwerk voor zelfregulerende sociotechnische systemen. Chartres is geen metafoor voor wat SWARP doet. Chartres is wat SWARP doet — uitgedrukt acht eeuwen eerder in kalksteen, lood en heilige geometrie.


Het Probleem Dat We Steeds Opnieuw Niet Oplossen

Elk groot digitaal platform wordt uiteindelijk wat de systeemtheoreticus Charles Perrow een strak gekoppeld complex systeem noemde: een systeem dat “normale ongelukken” produceert niet ondanks zijn ontwerp, maar dankzij ervan. Hoe groter en geïntegreerder het platform, hoe meer componenten op onvoorziene wijze met elkaar wisselwerken, en hoe sneller een verstoring in één hoek door het geheel golft.

De gebruikelijke reactie is meer extern beheer: meer monitoringdashboards, meer governancelagen, meer menselijk toezicht. Dit is het sociotechnische equivalent van steunberen aanbrengen aan een muur die nooit is ontworpen om op eigen kracht te staan. Het werkt — tot de muur zo hoog is dat geen enkele externe steunbeer hem nog kan bereiken.

Chartres loste dit probleem op in 1194. De gotische architecten van de Île-de-France ontdekten — grotendeels door empirisch uitproberen, niet door berekening — dat een gebouw zichzelf kan reguleren. De luchtboog schraagt de muur niet van buitenaf; hij leidt de zijwaartse kracht over in een gesloten krachtpad dat door de gehele constructie loopt. Het ribgewelf rust niet op de muren; het verdeelt krachten zo nauwkeurig dat de muren kunnen worden opengewerkt tot immense vensters zonder dat het gebouw instort. Het proportionele stelsel van het geheel — gebaseerd op de wortel uit twee en de gulden snede — zorgt ervoor dat elk onderdeel resonant is met elk ander onderdeel. Spanning ergens wordt overal geabsorbeerd.

Dit is autopoiese in steen: een systeem dat voortdurend de voorwaarden voor zijn eigen stabiliteit produceert.


Vijf Regelmechanismen, Acht Eeuwen Apart

In het SWARP-paper (From Biological Analogy to Formal Control, maart 2026) identificeer ik vijf interne controlemechanismen die noodzakelijk en voldoende zijn voor een sociotechnisch systeem om wat het paper een begrensde vrije-energie-evenwichtstoestand noemt te bereiken — een toestand waarin het systeem noch verstart in brosse orde, noch uiteenvalt in incoherente ruis. Deze vijf mechanismen zijn afgeleid uit de biologie van levende organismen. Wat me verbaast, als ik terugkijk naar Chartres, is dat alle vijf er al in aanwezig zijn.

1. Levenscyclusbeheer (apoptose). In de biologie worden cellen die niet langer bijdragen niet simpelweg op hun plek gelaten om te degenereren — ze worden systematisch ontbonden en hun moleculaire componenten hergebruikt. SWARP implementeert dit voor software-agenten: inactieve agenten worden gearchiveerd en hun geleerde patronen beschikbaar gesteld aan opvolgers. Chartres deed precies dit tijdens de bouw: vroegere Romaanse stenen uit de vorige kathedraal, verwoest door brand in 1194, werden opgenomen in de nieuwe gotische structuur. Niets ging verloren; identiteit bleef bewaard door transformatie.

2. Tweemodus immuunrespons. Een gezond immuunsysteem onderscheidt tussen acute bedreigingen (snelle, gerichte respons) en chronische laaggradige ontsteking (langzame, systemische hermodellering). SWARP formaliseert dit onderscheid, omdat het samenvoegen van de twee een primaire bron van systeemfalen is — acute responsen chronisch toegepast vernietigen het systeem dat zij moesten beschermen. Chartres handelt dit structureel af: plotse stressgebeurtenissen werden beheerst door snelle lokale reparatie; eeuwen van zetting en microscheurvorming worden afgehandeld door de zelfkristalliserende eigenschappen van kalkmortel, die langzaam herhertt zonder tussenkomst.

3. Integraal detectie van chronische stress. Dit is het mechanisme dat ik het meest elegant vind, zowel in de biologie als in de architectuur. In plaats van op elke verstoring afzonderlijk te reageren, houdt het systeem een lopend integraal van stress over de tijd bij — wat stressfysiologen allostatic load noemen. Pas wanneer deze opgebouwde belasting een drempelwaarde overschrijdt, initieert het systeem structurele verandering. Het systeem wacht tot aanpassing noodzakelijk is — niet eerder, niet later. Chartres belichaamt dit in zijn onderhoudsgeschiedenis: de kathedraal onderging grote structurele ingrepen niet na elke storm of belegering, maar nadat eeuwen van geaccumuleerde microvervorming renovatie onvermijdelijk maakten. Het gebouw weet hoe te wachten.

4. Semantische evolutie. Levende systemen reageren niet alleen op hun omgeving — ze co-evolueren ermee, waarbij ze hun interne modellen bijwerken via een proces dat Darwin herkende als selectie onder varianten. SWARP implementeert dit via replicatordynamica in wat ik het Gemeenschappelijk Lexicon noem: de gedeelde woordenschat van concepten, waarden en protocollen waarmee agenten in het systeem elkaar begrijpen. Succesvolle semantische patronen verspreiden zich; mislukte verdwijnen. De gotische stijl zelf is een 300-jaar durende semantische evolutie: de spitsboog ontstond, concurreerde met de rondboog, bewees zijn structurele en expressieve superioriteit, en werd universeel — niet door decreet, maar door selectie.

5. Hiërarchische conflictresolutie. Wanneer regelmechanismen met elkaar in conflict komen — wanneer de immuunrespons en de levenscyclusbeheerder het oneens zijn over het archiveren van een agent, bijvoorbeeld — heeft het systeem een duidelijke prioriteitsvolgorde nodig. SWARP formaliseert dit als: identiteitsrestricties hebben voorrang boven coherentierestricties, die weer voorrang hebben boven metabole restricties, die weer voorrang hebben boven operationele restricties. Chartres legt deze hiërarchie vast in zijn verticale architectuur: de torens (identiteit, streven naar het transcendente) domineren het schip (gemeenschapsactiviteiten), dat de crypte domineert (materiële fundering). Men kan het schip sluiten voor reparaties. Men kan de torens niet verwijderen zonder op te houden Chartres te zijn.


Het Labyrint als Algoritme

Op de vloer van het schip, ingelegd in donker en licht steen, bevindt zich een elfcircuitslabyrint van elf meter doorsnede. Middeleeuwse pelgrims liepen het op hun knieën als substituut voor de pelgrimstocht naar Jeruzalem. Het is unicursaal — er is slechts één pad, en het leidt onvermijdelijk naar het centrum.

Dit is geen doolhof. Een doolhof heeft doodlopende wegen en valse keuzes; het test uw vermogen om de verborgen uitgang te vinden. Het labyrint heeft geen verborgen uitgang. Het pad is van elk punt volledig zichtbaar. Wat het biedt is geen puzzel om op te lossen, maar een discipline om te ondergaan: de bereidheid een pad te volgen dat lijkt terug te keren, om weg van het centrum te bewegen juist wanneer men er het dichtst bij lijkt, om de geometrie van het geheel te vertrouwen wanneer lokale ervaring tegenstrijdig lijkt.

Dit is formeel het gedrag van een systeem dat variationale vrije energie minimaliseert onder het active inference-raamwerk van Karl Friston. Het systeem zoekt niet het kortste pad naar zijn doelstaat; het volgt het pad dat, gegeven zijn huidige model van de wereld, het minst verrassend is. Het pad lijkt te lussen; van buitenaf is het een convergerende spiraal.

Mijn blogpost van januari 2026, Finding Your Path in The Labyrinth of Our Time, betoogde dat de geschiedenis zelf deze structuur heeft — een fractale spiraal waarin we herhaaldelijk stabiele configuraties naderen en er van terugtrekken, waarbij elke cyclus op een grotere schaal opereert. Het Antropoceen Interregnum is zo’n terugtrekking: we bevinden ons momenteel op de buitenste circuits, bewegend weg van het centrum, en dat is precies waarom het zo desoriënterend aanvoelt. De les van het labyrint is dat dit geen mislukking is. Het is het pad.


Wat Dit Betekent voor de Ingenieurspraktijk

De synthese die ik hier voorstel is niet decoratief. Ze heeft directe consequenties voor de wijze waarop wij systemen bouwen.

Het dominante paradigma van platformengineering — microservices, externe orkestratie, API-governance, continue integratiepijplijnen — is structureel equivalent aan de Romaanse architectuur die aan Chartres voorafging. Het werkt op kleine schaal. Het faalt op grote schaal, om dezelfde reden: het is afhankelijk van extern beheer van krachten die, op voldoende schaal, de capaciteit van elke externe beheerder overschrijden.

SWARP stelt voor om van Romaans naar Gotisch te gaan: de regelmechanismen te internaliseren zodat stabiliteit een eigenschap is van de geometrie van het systeem, niet van zijn management. De vijf mechanismen zijn geen governancebeleid dat bovenop een platform wordt gelegd; het zijn constitutionele beperkingen geweven in de architectuur van het platform, op de wijze waarop het krachtpad is geweven in de steen van Chartres.

Het convergentiebewijs doet er hier toe. Chartres heeft acht eeuwen van oorlog, brand, revolutie en verwaarlozing overleefd. Dit is empirisch bewijs dat het architectuurprincipe werkt. De SWARP-convergentiestelling is de mathematische versie van dat bewijs: onder de vijf mechanismen bereikt een sociotechnisch systeem aantoonbaar een begrensde evenwichtscoherentie. Wij gissen niet. Wij bouwen met geometrie.


Besluit: De Levende Kathedraal

Aan het einde van zijn analyse van Chartres schrijft de architectuurhistoricus John James dat de bouwers van de kathedraal niet probeerden iets moois te maken. Zij probeerden iets waars te maken — een fysieke belichaming van de orde waarvan zij geloofden dat die aan alle werkelijkheid ten grondslag lag. Schoonheid was de consequentie van waarheid, niet haar substituut.

Ik bevind me in een vergelijkbare positie met SWARP. De biologische analogieën, de active-inference-wiskunde, de vijf controlemechanismen — deze zijn niet gekozen om hun elegantie. Ze zijn gekozen omdat ze beschrijven hoe levende systemen daadwerkelijk coherentie handhaven over de tijd. De formele bewijzen zijn niet decoratief. Ze zijn de reden dat wij de architectuur kunnen vertrouwen.

Chartres staat er al acht eeuwen. Het principe dat het belichaamt is ouder dan dat. SWARP is een poging het helder genoeg te herinneren om er opnieuw mee te bouwen — ditmaal in code, in gedistribueerde systemen, in de sociotechnische organismen die steeds meer het substraat van het collectieve leven vormen.

De levende kathedraal is geen metafoor. Het is een operationeel principe.


J.Konstapel,Leiden,27-3-2026.

This is a link to the body of Chartres Cathedral.

The Living Cathedral: What Chartres Knew That We Forgot

Leiden, March 2026 — Hans Konstapel


Walk into the Cathedral of Chartres on a clear morning and something happens that no photograph prepares you for. The light does not illuminate the interior — it constitutes it. Twelve hundred square metres of stained glass dissolve the boundary between stone and sky, turning the entire building into a single coherent act of perception. You are inside an eye.

This is not an accident of beauty. It is engineering. And it is, I will argue here, the same engineering that I have spent the last several years trying to formalize in the SWARP framework for self-regulating socio-technical systems. Chartres is not a metaphor for what SWARP does. Chartres is what SWARP does — expressed eight centuries earlier in limestone, lead, and sacred geometry.


The Problem We Keep Failing to Solve

Every large digital platform eventually becomes what the systems theorist Charles Perrow called a tightly coupled complex system: the kind that produces “normal accidents” not despite its design but because of it. The larger and more integrated the platform, the more its components interact in ways its designers never anticipated, and the more a disturbance in one corner cascades through the whole.

The standard response is to add more external management: more monitoring dashboards, more governance layers, more human oversight. This is the socio-technical equivalent of adding buttresses to a wall that was never designed to stand on its own. It works, until the wall gets tall enough that no external buttress can reach.

Chartres solved this problem in 1194. The Gothic architects of the Île-de-France discovered — largely through empirical iteration, not calculation — that a building could be made to regulate itself. The flying buttress does not prop the wall from outside; it transfers lateral thrust into a closed load path that runs through the entire structure. The ribbed vault does not sit on the walls; it distributes forces so precisely that the walls can be opened into vast windows without collapse. The proportional system of the whole — based on the square root of two and the golden section — means that every part resonates with every other part. Stress anywhere is absorbed everywhere.

This is autopoiesis in stone: a system that continuously produces the conditions of its own stability.


Five Regulatory Mechanisms, Eight Centuries Apart

In the SWARP paper (From Biological Analogy to Formal Control, March 2026), I identify five internal control mechanisms that are necessary and sufficient for a socio-technical system to achieve what the paper calls bounded free-energy steady state — a condition in which the system neither rigidifies into brittle order nor dissolves into incoherent noise. These five mechanisms were derived from the biology of living organisms. What astonishes me, looking back at Chartres, is that all five are already there.

1. Lifecycle regulation (apoptosis). In biology, cells that are no longer contributing are not simply left in place to degrade — they are systematically dissolved and their molecular components reused. SWARP implements this for software agents: those that become inactive are archived and their learned patterns made available to successors. Chartres did exactly this during its construction: earlier Romanesque stones from the prior cathedral destroyed by fire in 1194 were incorporated into the new Gothic structure. Nothing was wasted; identity was preserved through transformation.

2. Dual-mode immune response. A healthy immune system distinguishes between acute threats (rapid, targeted response) and chronic low-grade inflammation (slow, systemic remodelling). SWARP formalizes this distinction because conflating the two is a primary source of system failure — acute responses applied chronically destroy the system they are meant to protect. Chartres handles this structurally: sudden stress events (lightning strikes, the 1194 fire itself) were managed through rapid local repair; centuries of settling and micro-cracking are handled by the self-crystallizing properties of lime mortar, which slowly re-heals without intervention.

3. Integral chronic stress detection. This is the mechanism I find most elegant in both the biology and the architecture. Rather than responding to each disturbance individually, the system maintains a running integral of stress over time — what stress physiologists call allostatic load. Only when this accumulated load crosses a threshold does the system initiate structural change. The equation at the heart of this mechanism is simple to state: the system tracks $S(t) = \int_0^t \bar{F}(\tau), d\tau$, where $\bar{F}$ is the mean free energy across all agents. When $S(t)$ exceeds a threshold $\Theta$, adaptation is triggered — not before, and not after. Chartres embodies this in its maintenance history: the cathedral underwent major structural interventions not after each storm or siege, but after centuries of accumulated micro-deformation made renovation unavoidable. The building knows how to wait.

4. Semantic evolution. Living systems do not merely respond to their environment — they co-evolve with it, updating their internal models through a process that Darwin recognized as selection among variants. SWARP implements this through replicator dynamics in what I call the Common Lexicon: the shared vocabulary of concepts, values, and protocols through which agents in the system understand each other. Successful semantic patterns propagate; unsuccessful ones fade. The Gothic style itself is a 300-year semantic evolution: the pointed arch emerged, competed with the round arch, proved its structural and expressive superiority, and became universal — not by decree but by selection.

5. Hierarchical conflict resolution. When regulatory mechanisms conflict — when the immune response and the lifecycle manager disagree about whether to archive an agent, for instance — the system needs a clear priority ordering. SWARP formalizes this as $H > C > M > O$: identity constraints (what the system is) override coherence constraints (how it holds together), which override metabolic constraints (how it sustains itself), which override operational constraints (what it does right now). Chartres embeds this hierarchy in its vertical architecture: the spires (identity, aspiration toward the transcendent) dominate the nave (community operations), which dominates the crypt (material foundation). You can close the nave for repairs. You cannot remove the spires without ceasing to be Chartres.


The Labyrinth as Algorithm

On the floor of the nave, inlaid in dark and light stone, is an eleven-circuit labyrinth eleven metres in diameter. Medieval pilgrims would walk it on their knees as a substitute for the pilgrimage to Jerusalem. It is unicursal — there is only one path, and it leads inevitably to the centre.

This is not a maze. A maze has dead ends and false choices; it tests your ability to find the hidden exit. The labyrinth has no hidden exit. The path is entirely visible from any point. What it offers is not a puzzle to solve but a discipline to undergo: the willingness to follow a path that appears to double back, to move away from the centre precisely when you feel closest to it, to trust the geometry of the whole when local experience seems contradictory.

This is, formally, the behaviour of a system minimising variational free energy under the active inference framework (Friston, 2010). The system does not seek the shortest path to its goal state; it follows the path that, given its current model of the world, minimally surprises it. The path appears to loop; from the outside, it is a convergent spiral. Theorem 6 in the SWARP paper proves that the five mechanisms together guarantee convergence to minimal free energy — that the system will reach the centre, even if the path appears to recede from it.

My blog post from January 2026, Finding Your Path in The Labyrinth of Our Time, argued that history itself has this structure — a fractal spiral in which we repeatedly approach and recede from stable configurations, with each cycle operating at a larger scale. The Anthropocene Interregnum is one such recession: we are currently on the outer circuits, moving away from the centre, which is precisely why it feels so disorienting. The labyrinth’s teaching is that this is not failure. It is the path.


What This Means for Engineering

The synthesis I am proposing here is not decorative. It has direct consequences for how we build systems.

The dominant paradigm of platform engineering — microservices, external orchestration, API governance, continuous integration pipelines — is structurally equivalent to the Romanesque architecture that preceded Chartres. It works at small scale. It fails at large scale, for the same reason: it depends on external management of forces that, at sufficient scale, exceed any external manager’s capacity to contain.

SWARP proposes to move from Romanesque to Gothic: to internalize the regulatory mechanisms so that stability is a property of the system’s geometry, not a property of its management. The five mechanisms are not governance policies layered on top of a platform; they are constitutional constraints woven into the platform’s architecture, the way the load path is woven into Chartres’ stone.

The convergence proof matters here. Chartres has survived eight centuries of war, fire, revolution, and neglect. This is empirical evidence that the architectural principle works. The SWARP convergence theorem is the mathematical version of that evidence: under the five mechanisms, a socio-technical system provably achieves bounded steady-state coherence. We are not guessing. We are building with geometry.


Closing: The Living Cathedral

At the end of his analysis of Chartres, the architectural historian John James writes that the cathedral’s builders were not trying to make something beautiful. They were trying to make something true — a physical embodiment of the order they believed underlay all of reality. Beauty was the consequence of truth, not its substitute.

I find myself in a similar position with SWARP. The biological analogies, the active inference mathematics, the five control mechanisms — these are not chosen for elegance. They are chosen because they describe how living systems actually maintain coherence across time. The formal proofs are not decorative. They are the reason we can trust the architecture.

Chartres has stood for eight centuries. The principle it embodies is older than that. SWARP is an attempt to remember it clearly enough to build with it again — this time in code, in distributed systems, in the socio-technical organisms that increasingly constitute the substrate of collective life.

The living cathedral is not a metaphor. It is an operating principle.


Key References

For readers who wish to go deeper, the following works form the intellectual foundation of this synthesis.

On autopoiesis and organizational closure: Maturana, H. R., & Varela, F. J. (1980). Autopoiesis and Cognition: The Realization of the Living. D. Reidel. — The source text for the concept that living systems produce the conditions of their own existence. Every section of the SWARP paper on regulatory closure is downstream of this work.

On the free-energy principle and active inference: Friston, K. (2010). “The free-energy principle: A unified brain theory?” Nature Reviews Neuroscience, 11(2), 127–138. — The mathematical framework underlying the convergence theorem. Dense but essential; the key insight is that biological systems minimize surprise by continuously updating their models of the world.

Friston, K. et al. (2019). “A free energy principle for a particular physics.” arXiv:1906.10184. — Extends the principle to Markov blankets as the formal boundary concept used in SWARP’s agent architecture.

On viable systems and cybernetic hierarchy: Beer, S. (1972). Brain of the Firm. Allen Lane. — The Viable Systems Model, which maps organizational function onto neurological structure. SWARP’s constraint hierarchy $H > C > M > O$ is directly informed by Beer’s recursive hierarchy.

Ashby, W. R. (1956). An Introduction to Cybernetics. Chapman & Hall. — The Law of Requisite Variety, which explains why a regulatory system must be at least as complex as the disturbances it manages. This is the theoretical justification for the dual-mode immune response.

On allostasis and chronic stress: Sterling, P., & Eyer, J. (1988). “Allostasis: A new paradigm to explain arousal pathology.” In S. Fisher & J. Reason (Eds.), Handbook of Life Stress, Cognition and Health. Wiley. — The original formulation of allostatic load, which underlies SWARP’s integral stress detection mechanism.

On panarchy and adaptive cycles: Holling, C. S., & Gunderson, L. H. (2002). Panarchy: Understanding Transformations in Human and Natural Systems. Island Press. — Adaptive cycles across scales; directly relevant to SWARP’s multi-scale operation and to the fractal spiral model of history in the blog post.

On semantic evolution and replicator dynamics: Nowak, M. A. (2006). Evolutionary Dynamics: Exploring the Equations of Life. Harvard University Press. — Replicator dynamics applied to the evolution of cooperation and communication; the mathematical basis of the Common Lexicon’s evolution in SWARP §6.

On Gothic architecture and structural self-regulation: James, J. (1977). The Contractors of Chartres. Mandorla Publications. — The empirical study of how Chartres was actually built, showing the iterative, distributed design process that produced its self-regulating geometry. Out of print but available in major libraries.

Mark, R. (1993). Architectural Technology up to the Scientific Revolution. MIT Press. — Technical analysis of Gothic structural systems, including flying buttresses and ribbed vaults, demonstrating their load-distribution properties.

On normal accidents and complex system failure: Perrow, C. (1984). Normal Accidents: Living with High-Risk Technologies. Basic Books. — The theoretical motivation for internalizing regulatory mechanisms rather than relying on external governance.

Primary SWARP documents: Konstapel, J. (2026). From Biological Analogy to Formal Control: A Cybernetic and Active Inference Framework for Self-Regulating Socio-Technical Systems. — The technical paper on which this blog post is based.

Konstapel, J. (26 January 2026). “Finding Your Path in The Labyrinth of Our Time.” constable.blog. — The historical-topological framework connecting the Chartres labyrinth to the current civilizational moment.