tractatus/public/source-code.html
TheFlow 39070ffa2f
Some checks are pending
CI / Run Tests (push) Waiting to run
CI / Lint Code (push) Waiting to run
CI / CSP Compliance Check (push) Waiting to run
feat: source-code page links to live Forgejo instance
Forgejo is now running at git.mysovereignty.digital.
Updated source-code.html: "Request Access" → direct link to Forgejo,
infrastructure section updated from "planned" to live link.

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

177 lines
9.1 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: <a href="https://git.mysovereignty.digital" class="text-blue-600 hover:underline">Self-hosted Forgejo</a></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="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"/>
</svg>
</div>
<div>
<div class="font-semibold text-gray-900">Sovereign Forgejo Instance</div>
<p class="text-sm text-gray-600 mt-1">
Browse the source code, documentation, and releases on our self-hosted
Forgejo forge. Hosted on OVH France &mdash; no US intermediaries.
</p>
<a href="https://git.mysovereignty.digital" class="inline-flex items-center gap-1 mt-2 text-sm font-medium text-blue-700 hover:text-blue-800">
Browse Source Code
<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>