tractatus/public/source-code.html
TheFlow 5557126f6a feat: eliminate all GitHub references from agenticgovernance.digital
- Created /source-code.html — sovereign hosting landing page explaining
  why we left GitHub, how to access the code, and the sovereignty model
- Navbar: GitHub link → Source Code link (desktop + mobile)
- Footer: GitHub link → Source Code link
- Docs sidebar: GitHub section → Source Code section with sovereign repo
- Implementer page: all repository links point to /source-code.html,
  clone instructions updated, CI/CD code example genericised
- FAQ: GitHub Discussions button → Contact Us with email icon
- FAQ content: all 4 locales (en/de/fr/mi) rewritten to remove
  GitHub Actions YAML, GitHub URLs, and GitHub-specific patterns
- faq.js fallback content: same changes as locale files
- agent-lightning integration page: updated to source-code.html
- Project model: example URL changed from GitHub to Codeberg
- All locale files updated: navbar.github → navbar.source_code,
  footer GitHub → source_code, FAQ button text updated in 4 languages

Zero GitHub references remain in any HTML, JS, or JSON file
(only github-dark.min.css theme name in highlight.js CDN reference).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 18:14:26 +13:00

177 lines
9 KiB
HTML

<!DOCTYPE html>
<html lang="en" data-page="source-code">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Source Code | Tractatus AI Safety Framework</title>
<meta name="description" content="Access the Tractatus Framework source code. Apache 2.0 licensed, hosted on sovereign infrastructure.">
<link rel="stylesheet" href="/css/tailwind.css?v=0.1.2.1774330886346">
<link rel="stylesheet" href="/css/tractatus-theme.min.css?v=0.1.2.1774330886346">
<style>
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 0; z-index: 100; background: white; padding: 1rem; }
a:focus, button:focus { outline: 3px solid #3b82f6; outline-offset: 2px; }
a:focus:not(:focus-visible) { outline: none; }
a:focus-visible { outline: 3px solid #3b82f6; outline-offset: 2px; }
</style>
</head>
<body class="bg-gray-50">
<a href="#main-content" class="skip-link">Skip to main content</a>
<script src="/js/components/navbar.js?v=0.1.2.1774330886346"></script>
<script src="/js/i18n-simple.js?v=0.1.2.1774330886346"></script>
<script src="/js/components/language-selector.js?v=0.1.2.1774330886346"></script>
<main id="main-content" class="max-w-4xl mx-auto px-4 py-16">
<!-- Hero -->
<div class="text-center mb-12">
<div class="inline-flex items-center justify-center w-16 h-16 bg-blue-100 rounded-2xl mb-6">
<svg class="w-8 h-8 text-blue-700" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"/>
</svg>
</div>
<h1 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Source Code</h1>
<p class="text-lg text-gray-600 max-w-2xl mx-auto">
The Tractatus Framework is open source under the Apache 2.0 licence. The source code is hosted
on sovereign infrastructure &mdash; no US cloud providers in the supply chain.
</p>
</div>
<!-- Cards -->
<div class="grid md:grid-cols-2 gap-6 mb-12">
<!-- Sovereign Hosting -->
<div class="bg-white rounded-xl shadow-sm border border-gray-200 p-6">
<div class="flex items-center gap-3 mb-4">
<div class="w-10 h-10 bg-green-100 rounded-lg flex items-center justify-center">
<svg class="w-5 h-5 text-green-700" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"/>
</svg>
</div>
<h2 class="text-xl font-semibold text-gray-900">Sovereign Hosting</h2>
</div>
<p class="text-gray-600 mb-4">
The Tractatus source code is hosted on infrastructure governed by
My Digital Sovereignty Ltd. No code passes through US cloud providers,
Microsoft servers, or surveillance-jurisdiction intermediaries.
</p>
<div class="bg-gray-50 rounded-lg p-4 text-sm text-gray-700">
<div class="font-medium mb-2">Infrastructure</div>
<ul class="space-y-1">
<li>Primary: OVH France (EU jurisdiction)</li>
<li>Secondary: Catalyst Cloud New Zealand</li>
<li>Repository: Self-hosted Forgejo (planned)</li>
<li>Public mirror: Codeberg Germany (planned)</li>
</ul>
</div>
</div>
<!-- Licence -->
<div class="bg-white rounded-xl shadow-sm border border-gray-200 p-6">
<div class="flex items-center gap-3 mb-4">
<div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center">
<svg class="w-5 h-5 text-blue-700" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"/>
</svg>
</div>
<h2 class="text-xl font-semibold text-gray-900">Apache 2.0 Licence</h2>
</div>
<p class="text-gray-600 mb-4">
The framework is fully open source. You can use, modify, and distribute
the code for any purpose &mdash; including commercial use &mdash; under the
terms of the Apache 2.0 licence.
</p>
<div class="bg-gray-50 rounded-lg p-4 text-sm text-gray-700">
<div class="font-medium mb-2">What this means</div>
<ul class="space-y-1">
<li>Free to use commercially</li>
<li>Free to modify and distribute</li>
<li>Patent grant included</li>
<li>Attribution required</li>
</ul>
</div>
</div>
</div>
<!-- Access -->
<div class="bg-white rounded-xl shadow-sm border border-gray-200 p-8 mb-12">
<h2 class="text-2xl font-bold text-gray-900 mb-4">Access the Source Code</h2>
<p class="text-gray-600 mb-6">
We are migrating from GitHub to sovereign infrastructure. During this transition,
source code access is available through these channels:
</p>
<div class="space-y-4">
<div class="flex items-start gap-4 p-4 bg-blue-50 rounded-lg border border-blue-100">
<div class="w-8 h-8 bg-blue-100 rounded flex items-center justify-center flex-shrink-0 mt-0.5">
<svg class="w-4 h-4 text-blue-700" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/>
</svg>
</div>
<div>
<div class="font-semibold text-gray-900">Request Access</div>
<p class="text-sm text-gray-600 mt-1">
Contact us for repository access. We will provide git clone credentials
for direct SSH access to the sovereign repository.
</p>
<a href="/media-inquiry.html" class="inline-flex items-center gap-1 mt-2 text-sm font-medium text-blue-700 hover:text-blue-800">
Contact Us
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</a>
</div>
</div>
<div class="flex items-start gap-4 p-4 bg-gray-50 rounded-lg border border-gray-200">
<div class="w-8 h-8 bg-gray-200 rounded flex items-center justify-center flex-shrink-0 mt-0.5">
<svg class="w-4 h-4 text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
</div>
<div>
<div class="font-semibold text-gray-900">Codeberg Mirror (Coming Soon)</div>
<p class="text-sm text-gray-600 mt-1">
A public mirror on Codeberg (German non-profit) is being set up for
open-source visibility, issue tracking, and community contributions.
</p>
</div>
</div>
</div>
</div>
<!-- Why Not GitHub -->
<div class="bg-white rounded-xl shadow-sm border border-gray-200 p-8">
<h2 class="text-2xl font-bold text-gray-900 mb-4">Why We Left GitHub</h2>
<p class="text-gray-600 mb-6">
A framework for AI governance cannot credibly route its source code through
infrastructure subject to the laws it critiques. GitHub is owned by Microsoft
and subject to US jurisdiction &mdash; including the CLOUD Act, FISA 702, and
executive orders that can compel data access without warrant or notification.
</p>
<div class="grid md:grid-cols-3 gap-4 text-sm">
<div class="bg-red-50 rounded-lg p-4 border border-red-100">
<div class="font-semibold text-red-800 mb-1">CLOUD Act</div>
<p class="text-red-700">US law compelling disclosure of data stored by US companies, regardless of where the data is physically located.</p>
</div>
<div class="bg-red-50 rounded-lg p-4 border border-red-100">
<div class="font-semibold text-red-800 mb-1">FISA 702</div>
<p class="text-red-700">Warrantless surveillance of non-US persons. Source code access patterns, contributor metadata, and issue discussions are all exposed.</p>
</div>
<div class="bg-red-50 rounded-lg p-4 border border-red-100">
<div class="font-semibold text-red-800 mb-1">Copilot Training</div>
<p class="text-red-700">GitHub announced in March 2026 that Copilot interaction data will be used for AI model training unless users opt out.</p>
</div>
</div>
</div>
</main>
<script src="/js/components/footer.js?v=0.1.2.1774330886346"></script>
</body>
</html>