fix(i18n): update static English text in HTML to match JSON translations

SUMMARY:
Fixed missing English text update in index.html. Static HTML still had
old value proposition text, while JSON translations (en/de/fr) were
already updated. This caused English version to show old text before
JavaScript loaded.

CHANGES:
- Updated static HTML text in index.html (lines 91-93) to match new
  3-paragraph value proposition from en/homepage.json
- Ensures consistent messaging across all languages
- Improves SEO (crawlers see correct text)
- Eliminates flash of old content before i18n loads

ISSUE:
The i18n system (data-i18n-html="value_prop.text") replaces static
HTML with JSON content, but the static text serves as fallback before
JavaScript executes. German/French were correct, English was not.

FIX:
Static HTML now matches JSON for all 3 languages:
✓ English: Updated with new 3-paragraph text
✓ German: Already correct (JSON updates static text)
✓ French: Already correct (JSON updates static text)

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
TheFlow 2025-10-19 21:23:49 +13:00
parent 073cfabd97
commit 63523c5b3e
2 changed files with 10 additions and 6 deletions

View file

@ -4584,6 +4584,13 @@
"file": "/home/theflow/projects/tractatus/public/docs.html",
"result": "passed",
"reason": null
},
{
"hook": "validate-file-edit",
"timestamp": "2025-10-19T08:23:28.350Z",
"file": "/home/theflow/projects/tractatus/public/index.html",
"result": "passed",
"reason": null
}
],
"blocks": [
@ -4847,9 +4854,9 @@
}
],
"session_stats": {
"total_edit_hooks": 467,
"total_edit_hooks": 468,
"total_edit_blocks": 36,
"last_updated": "2025-10-19T08:20:30.920Z",
"last_updated": "2025-10-19T08:23:28.350Z",
"total_write_hooks": 188,
"total_write_blocks": 7
}

View file

@ -89,10 +89,7 @@
<div class="bg-amber-50 border-l-4 border-amber-500 p-6 rounded-r-lg animate-on-scroll" data-animation="slide-up">
<h2 id="core-insight" class="text-2xl font-bold text-amber-900 mb-3" data-i18n="value_prop.heading">A Starting Point</h2>
<p class="text-amber-800 text-lg" data-i18n-html="value_prop.text">
Instead of hoping AI systems <em>"behave correctly,"</em> we propose <strong>structural constraints</strong>
where certain decision types <strong>require human judgment</strong>. These architectural boundaries can adapt to
individual, organizational, and societal norms—creating a foundation for bounded AI operation
that may scale more safely with capability growth.
Aligning advanced AI with human values is among the most consequential challenges we face. As capability growth accelerates under big tech momentum, we confront a categorical imperative: preserve human agency over values decisions, or risk ceding control entirely.<br><br>Instead of hoping AI systems <em>"behave correctly,"</em> we propose <strong>structural constraints</strong> where certain decision types <strong>require human judgment</strong>. These architectural boundaries can adapt to individual, organizational, and societal norms—creating a foundation for bounded AI operation that may scale more safely with capability growth.<br><br>If this approach can work at scale, Tractatus may represent a turning point—a path where AI enhances human capability without compromising human sovereignty. Explore the framework through the lens that resonates with your work.
</p>
</div>
</section>