terminology: standardise SLL as "Situated Language Layer"

Replace all instances of "Sovereign Locally-trained Language Model" with
"Situated Language Layer" across village-ai.html, all 3 architectural-alignment
papers, and the EN locale file. Canonical definition: an architectural layer
comprising a small language model that is sovereign (locally trained, locally
deployed, community-controlled) and situated (shaped by the specific context,
values, and vocabulary of the community it serves).

Note: pre-existing inline-style CSP warnings in alignment paper licence
sections (pandoc-generated) — not introduced by this commit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
TheFlow 2026-04-17 07:37:34 +12:00
parent 11fa072999
commit f8169c4d50
6 changed files with 166 additions and 10 deletions

View file

@ -107,7 +107,7 @@
<p>This paper presents an alternative: <strong>constitutional governance for community-controlled AI</strong>. The Tractatus Framework implements explicit rules, defined by your community, that constrain what AI systems can do before any action is taken. This isn't about making AI less capable&mdash;it's about making AI accountable to the community it serves.</p>
<p>The framework is implemented in the Village platform and designed to support both cloud-based AI and locally-deployed systems. We introduce the concept of <strong>Sovereign Locally-trained Language Models (SLLs)</strong>&mdash;AI systems that run on community infrastructure, adapt to community norms, and operate under community-defined constitutions rather than vendor terms of service.</p>
<p>The framework is implemented in the Village platform and designed to support both cloud-based AI and locally-deployed systems. We introduce the concept of <strong>Situated Language Layers (SLLs)</strong>&mdash;AI systems that run on community infrastructure, adapt to community norms, and operate under community-defined constitutions rather than vendor terms of service.</p>
</section>
<section class="key-points">
@ -211,7 +211,7 @@
<h2>3. Sovereign Local AI: The SLL Concept</h2>
<h3>3.1 What is an SLL?</h3>
<p>We introduce the term <strong>Sovereign Locally-trained Language Model (SLL)</strong> to describe AI systems with specific properties:</p>
<p>We introduce the term <strong>Situated Language Layer (SLL)</strong> to describe an architectural layer with specific properties:</p>
<blockquote>
<p><strong>Local deployment:</strong> Runs on your infrastructure&mdash;a home server, community hardware, or local data centre&mdash;not a vendor's cloud</p>
<p><strong>Local adaptation:</strong> Fine-tuned on your community's data and norms, not generic training</p>

View file

@ -105,7 +105,7 @@
<p>This paper presents the Tractatus Framework, an architectural approach to AI governance through <strong>inference-time constitutional gating</strong>. Rather than relying solely on vendor training to ensure AI behaves appropriately, Tractatus requires AI systems to translate proposed actions into auditable forms and evaluate them against explicit constitutional rules before execution. This creates visible, enforceable governance at the point of deployment.</p>
<p>The framework is implemented in the Village platform and designed to accommodate both centralised cloud AI and distributed local deployments, including what we term <strong>Sovereign Locally-trained Language Models (SLLs)</strong>&mdash;AI systems whose training, deployment, and governance remain under community or individual sovereignty rather than vendor control.</p>
<p>The framework is implemented in the Village platform and designed to accommodate both centralised cloud AI and distributed local deployments, including what we term <strong>Situated Language Layers (SLLs)</strong>&mdash;AI systems whose training, deployment, and governance remain under community or individual sovereignty rather than vendor control.</p>
</section>
<div class="key-policy">
@ -227,7 +227,7 @@
<h3>3.1 Terminology</h3>
<p>We distinguish two deployment paradigms that have different governance implications:</p>
<p><strong>Small Language Model (SLM):</strong> A technical descriptor for language models with fewer parameters than frontier LLMs, designed for efficiency and domain-specific deployment. SLMs may be deployed via cloud subscription or locally.</p>
<p><strong>Sovereign Locally-trained Language Model (SLL):</strong> An architectural descriptor we introduce for AI systems whose training, deployment, and governance remain under local sovereignty. Key properties:</p>
<p><strong>Situated Language Layer (SLL):</strong> An architectural layer comprising a small language model that is sovereign (locally trained, locally deployed, community-controlled) and situated (shaped by the specific context, values, and vocabulary of the community it serves). Key properties:</p>
<blockquote>
<p><strong>Local deployment:</strong> Runs on home or community infrastructure</p>
<p><strong>Local adaptation:</strong> Fine-tuned on community-specific data</p>

View file

@ -108,7 +108,7 @@
<p>We present the Tractatus Framework as a formal specification for interrupted neural reasoning: proposals generated by AI systems must be translated into auditable forms and evaluated against constitutional constraints before execution. This shifts the trust model from "trust the vendor's training" to "trust the visible architecture." The framework is implemented within the Village multi-tenant community platform, providing an empirical testbed for governance research.</p>
<p>Critically, we address the faithful translation assumption—the vulnerability that systems may misrepresent their intended actions to constitutional gates—by bounding the framework's domain of applicability to pre-superintelligence systems and specifying explicit capability thresholds and escalation triggers. We introduce the concept of <strong>Sovereign Locally-trained Language Models (SLLs)</strong> as a deployment paradigm where constitutional gating becomes both feasible and necessary.</p>
<p>Critically, we address the faithful translation assumption—the vulnerability that systems may misrepresent their intended actions to constitutional gates—by bounding the framework's domain of applicability to pre-superintelligence systems and specifying explicit capability thresholds and escalation triggers. We introduce the concept of <strong>Situated Language Layers (SLLs)</strong> as a deployment paradigm where constitutional gating becomes both feasible and necessary.</p>
<p>The paper contributes: (1) a formal architecture for inference-time constitutional gating; (2) capability threshold specifications with escalation logic; (3) validation methodology for layered containment; (4) an argument connecting existential risk preparation to edge deployment; and (5) a call for sustained deliberation (kōrero) as the epistemically appropriate response to alignment uncertainty.</p>
</section>
@ -308,7 +308,7 @@
<h3>6.5 Extension to Sovereign Local Deployments</h3>
<p>We distinguish:</p>
<p><strong>Small Language Model (SLM).</strong> A technical descriptor for models with fewer parameters than frontier LLMs, designed for efficiency.</p>
<p><strong>Sovereign Locally-trained Language Model (SLL).</strong> An architectural descriptor: a model whose training, deployment, and governance remain under local sovereignty. Key properties include local deployment, local adaptation, local governance, and portable sovereignty.</p>
<p><strong>Situated Language Layer (SLL).</strong> An architectural layer comprising a small language model that is sovereign (locally trained, locally deployed, community-controlled) and situated (shaped by the specific context, values, and vocabulary of the community it serves). The term draws on situated knowledge theory: understanding that emerges from a particular context rather than claiming universality.</p>
<h2>7. Capability Thresholds and Escalation</h2>

View file

@ -11,7 +11,7 @@
},
"sll": {
"heading": "What is an SLL?",
"intro": "An <strong>SLL</strong> (Sovereign Locally-trained Language Model) is distinct from both LLMs and SLMs. The distinction is not size &mdash; it is control.",
"intro": "An <strong>SLL</strong> (Situated Language Layer) is distinct from both LLMs and SLMs. The distinction is not size &mdash; it is sovereignty and situatedness.",
"llm_title": "LLM",
"llm_subtitle": "Large Language Model",
"llm_item1": "Training: provider-controlled",
@ -25,7 +25,7 @@
"slm_item3": "Governance: partial (fine-tuning)",
"slm_item4": "User control: limited",
"sll_title": "SLL",
"sll_subtitle": "Sovereign Locally-trained",
"sll_subtitle": "Situated Language Layer",
"sll_item1": "Training: community-controlled",
"sll_item2": "Data: community-owned",
"sll_item3": "Governance: architecturally enforced",

View file

@ -76,7 +76,7 @@
<h2 class="text-3xl font-bold text-gray-900 mb-4" data-i18n="sll.heading">What is an SLL?</h2>
<div class="prose prose-lg text-gray-700">
<p class="mb-4" data-i18n-html="sll.intro">
An <strong>SLL</strong> (Sovereign Locally-trained Language Model) is distinct from both LLMs and SLMs. The distinction is not size &mdash; it is control.
An <strong>SLL</strong> (Situated Language Layer) is distinct from both LLMs and SLMs. The distinction is not size &mdash; it is sovereignty and situatedness.
</p>
</div>
@ -103,7 +103,7 @@
</div>
<div class="bg-emerald-50 rounded-lg p-5 border border-emerald-200">
<h3 class="text-lg font-bold text-emerald-900 mb-2" data-i18n="sll.sll_title">SLL</h3>
<p class="text-emerald-800 text-sm mb-2" data-i18n="sll.sll_subtitle">Sovereign Locally-trained</p>
<p class="text-emerald-800 text-sm mb-2" data-i18n="sll.sll_subtitle">Situated Language Layer</p>
<ul class="text-emerald-700 text-sm space-y-1">
<li data-i18n="sll.sll_item1">Training: community-controlled</li>
<li data-i18n="sll.sll_item2">Data: community-owned</li>

View file

@ -0,0 +1,156 @@
#!/usr/bin/env node
/**
* Add Table of Contents and Glossary to the Taiuru mapping blog post
*
* Usage:
* node scripts/add-toc-glossary-taiuru.js # local dev DB
* node scripts/add-toc-glossary-taiuru.js mongodb://... # production DB
*/
const mongoose = require('mongoose');
const MONGODB_URI = process.argv[2] || 'mongodb://localhost:27017/tractatus_dev';
const SLUG = 'kaupapa-maori-ai-framework-tractatus-mapping';
const tableOfContents = `
<nav id="table-of-contents" style="background: var(--bg-secondary, #f8fafc); border: 1px solid var(--border-color, #e2e8f0); border-radius: 0.5rem; padding: 1.5rem 2rem; margin-bottom: 2rem;">
<h2 style="margin-top: 0; font-size: 1.2rem;">Contents</h2>
<ol style="margin-bottom: 0; line-height: 1.8;">
<li><a href="#two-frameworks">Two Frameworks, Two Traditions, One Problem</a></li>
<li><a href="#he-tangata">He Tangata: The Person</a></li>
<li><a href="#he-karetao">He Karetao: The Puppet</a></li>
<li><a href="#guardian-agents">Guardian Agents: The Karetao's Accountability Mechanism</a></li>
<li><a href="#he-atarangi">He Ātārangi: The Shadow</a></li>
<li><a href="#steering-vectors">Steering Vectors, Polycentric Governance, and Cultural Weight</a></li>
<li><a href="#federation">Federation: From Village to Network</a></li>
<li><a href="#te-tiriti">Te Tiriti Principles and the Architecture</a></li>
<li><a href="#what-both-reveal">What Both Frameworks Reveal About Each Other</a></li>
<li><a href="#research-directions">Research Directions</a></li>
<li><a href="#legal-governance">The Legal Governance Layer: Kaitiakitanga Licence</a></li>
<li><a href="#economics">The Economics of Sovereign AI</a></li>
<li><a href="#gaps">Gaps</a></li>
<li><a href="#glossary">Glossary</a></li>
</ol>
</nav>
`;
const glossary = `
<hr style="margin: 3rem 0 2rem;">
<h2 id="glossary">Glossary</h2>
<h3>Te Reo Māori Terms</h3>
<dl style="line-height: 1.8;">
<dt><strong>Ātārangi</strong></dt><dd>Shadow or reflection. In Taiuru's framework, the third dimension of AI AI is constituted entirely by human thought, language, and culture. The shadow carries something of the original.</dd>
<dt><strong>Hapū</strong></dt><dd>Sub-tribe or clan. A political and social unit within an iwi, typically comprising several whānau.</dd>
<dt><strong>He Tangata</strong></dt><dd>A person, a human being. In Taiuru's framework, the first dimension AI presents as a person but meets none of the conditions of personhood in te ao Māori.</dd>
<dt><strong>Hui</strong></dt><dd>A gathering, meeting, or assembly for discussion and decision-making.</dd>
<dt><strong>Iwi</strong></dt><dd>Tribe or nation. The largest political unit in Māori society, comprising multiple hapū.</dd>
<dt><strong>Kaitiakitanga</strong></dt><dd>Guardianship, stewardship. The obligation to care for and protect something for future generations.</dd>
<dt><strong>Karetao</strong></dt><dd>Puppet or marionette. In Taiuru's framework, the second dimension AI is animated by external forces (developers, operators, users) like a puppet by strings.</dd>
<dt><strong>Kaupapa Māori</strong></dt><dd>A Māori approach or philosophy. A framework grounded in Māori worldview, values, and practices.</dd>
<dt><strong>Kōrero</strong></dt><dd>Speech, discussion, conversation.</dd>
<dt><strong>Mana Motuhake</strong></dt><dd>Autonomous authority, self-determination. The right of Māori to control their own affairs.</dd>
<dt><strong>Marae</strong></dt><dd>A communal meeting ground and its buildings. The focal point of Māori community life.</dd>
<dt><strong>Mātauranga Māori</strong></dt><dd>Māori knowledge, wisdom, and understanding. The body of knowledge originating from Māori ancestors.</dd>
<dt><strong>Mauri</strong></dt><dd>Life force, vital essence. An essential quality of all things, both animate and inanimate.</dd>
<dt><strong>Noa</strong></dt><dd>Free from tapu, ordinary, unrestricted.</dd>
<dt><strong>Pūrākau</strong></dt><dd>Stories, narratives. Traditional and contemporary Māori storytelling.</dd>
<dt><strong>Rōpū</strong></dt><dd>Group, organisation, or collective.</dd>
<dt><strong>Taonga</strong></dt><dd>A treasured possession, something of value. Can be tangible (an artifact) or intangible (language, knowledge).</dd>
<dt><strong>Tapu</strong></dt><dd>Sacred, restricted, set apart. Indicates spiritual restriction and the need for respectful handling.</dd>
<dt><strong>Te Ao Māori</strong></dt><dd>The Māori world, worldview, and way of understanding reality.</dd>
<dt><strong>Te Tiriti o Waitangi</strong></dt><dd>The Treaty of Waitangi (1840). The founding document of New Zealand, establishing the relationship between Māori and the Crown.</dd>
<dt><strong>Tikanga</strong></dt><dd>Correct procedure, custom, protocol. The Māori way of doing things according to cultural values.</dd>
<dt><strong>Tino Rangatiratanga</strong></dt><dd>Absolute sovereignty, self-determination, autonomy. The right of Māori to govern their own affairs.</dd>
<dt><strong>Waka Hourua</strong></dt><dd>Double-hulled canoe. Used by Te Kāhui Raraunga as a governance model two hulls (te ao Māori and Kāwanatanga) structurally independent, neither dominating, connected by a shared deck.</dd>
<dt><strong>Wānanga</strong></dt><dd>A forum for discussion, learning, and deliberation. An extended meeting for deep consideration of issues.</dd>
<dt><strong>Whakapapa</strong></dt><dd>Genealogy, lineage, identity. The network of relationships connecting people, ancestors, and the natural world.</dd>
<dt><strong>Whānau</strong></dt><dd>Extended family group. The foundational social unit in Māori society.</dd>
</dl>
<h3>Technical and Governance Terms</h3>
<dl style="line-height: 1.8;">
<dt><strong>CARE Principles</strong></dt><dd>Collective Benefit, Authority to Control, Responsibility, Ethics principles for indigenous data governance developed by the Global Indigenous Data Alliance.</dd>
<dt><strong>Constitutional AI</strong></dt><dd>An approach to AI safety where behaviour is governed by a set of principles (a constitution) rather than case-by-case rules.</dd>
<dt><strong>Federation</strong></dt><dd>A system where independent communities form bilateral agreements to share specific capabilities while each retaining full sovereignty over their own data and governance.</dd>
<dt><strong>Guardian Agents</strong></dt><dd>Deterministic (non-AI) code that evaluates AI outputs before they reach community members. Four-phase system: evidence gathering, baseline comparison, classification, risk assessment.</dd>
<dt><strong>Koha</strong></dt><dd>A gift given with reciprocity. In the platform context, voluntary contributions without transaction fees.</dd>
<dt><strong>Metagovernance</strong></dt><dd>Governance of the governance system itself ensuring that the mechanisms controlling AI are themselves accountable and auditable.</dd>
<dt><strong>OCAP Principles</strong></dt><dd>Ownership, Control, Access, Possession First Nations (Canadian) principles asserting community-level authority over data.</dd>
<dt><strong>Polycentric Governance</strong></dt><dd>A governance model with multiple independent centres of authority (drawn from Elinor Ostrom's work), as opposed to a single hierarchical structure.</dd>
<dt><strong>Situated Language Layer (SLL)</strong></dt><dd>Product-type-specific AI model fine-tuning. Each community type gets an AI tuned to its domain knowledge and vocabulary.</dd>
<dt><strong>Steering Vectors</strong></dt><dd>Mathematical adjustments applied to an AI model's internal representations during inference, shaping how it processes concepts at the embedding layer. Only possible with sovereign model hosting.</dd>
<dt><strong>Steering Packs</strong></dt><dd>Versioned governance artefacts published by steering authorities. Can contain system prompt additions, cultural boundary sets, or activation vectors that shape AI behaviour.</dd>
<dt><strong>Tractatus Framework</strong></dt><dd>An architectural framework for AI governance developed by My Digital Sovereignty Ltd. Enforces governance structurally through boundary enforcement, mathematical verification, and layered accountability. Published under Apache 2.0.</dd>
</dl>
`;
// Section heading ID mapping
const headingIds = {
'Two Frameworks, Two Traditions, One Problem': 'two-frameworks',
'He Tangata: The Person': 'he-tangata',
'He Karetao: The Puppet': 'he-karetao',
'Guardian Agents: The Karetao\'s Accountability Mechanism': 'guardian-agents',
'He Ātārangi: The Shadow': 'he-atarangi',
'Steering Vectors, Polycentric Governance, and Cultural Weight': 'steering-vectors',
'Federation: From Village to Network': 'federation',
'Te Tiriti Principles and the Architecture': 'te-tiriti',
'What Both Frameworks Reveal About Each Other': 'what-both-reveal',
'Research Directions': 'research-directions',
'The Legal Governance Layer: Kaitiakitanga Licence': 'legal-governance',
'The Economics of Sovereign AI: Training, Inference, and Value': 'economics',
'What Remains Genuinely Missing': 'gaps',
'Gaps': 'gaps'
};
async function main() {
await mongoose.connect(MONGODB_URI);
console.log('Connected to:', MONGODB_URI);
const db = mongoose.connection.db;
const post = await db.collection('blog_posts').findOne({ slug: SLUG });
if (!post) {
console.error('Blog post not found:', SLUG);
process.exit(1);
}
console.log('Found:', post.title);
console.log('Content length:', (post.content || '').length);
let content = post.content || '';
// Check if already applied
if (content.includes('id="table-of-contents"')) {
console.log('ToC already present. Skipping.');
await mongoose.disconnect();
return;
}
// Add section IDs to headings
for (const [heading, id] of Object.entries(headingIds)) {
// Match <h2>heading text</h2> and add id attribute
const escaped = heading.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
const regex = new RegExp(`<h2>(${escaped})</h2>`, 'gi');
content = content.replace(regex, `<h2 id="${id}">$1</h2>`);
}
// Add ToC at start, glossary at end
content = tableOfContents + '\n' + content + '\n' + glossary;
await db.collection('blog_posts').updateOne(
{ _id: post._id },
{ $set: { content, updatedAt: new Date() } }
);
console.log('Updated. New content length:', content.length);
console.log('ToC: added');
console.log('Glossary: added');
console.log('Section IDs: added to headings');
await mongoose.disconnect();
console.log('Done.');
}
main().catch(err => { console.error(err); process.exit(1); });