Commit graph

19 commits

Author SHA1 Message Date
TheFlow
2238547344 refactor: Rename "Home AI" → "Village AI" across entire codebase
- 57 files modified, 5 files renamed (home-ai → village-ai)
- HTML pages: all user-facing text, data-i18n attributes, anchor IDs, CSS classes
- i18n JSON: keys (home_ai → village_ai) and values across en/de/fr/mi
- Locale files renamed: home-ai.json → village-ai.json (4 languages)
- Main page renamed: home-ai.html → village-ai.html
- Research downloads: translated terms updated (French "IA domestique",
  Māori "AI ā-whare"/"AI kāinga" → "Village AI" per brand name rule)
- JavaScript: navbar component, blog post scripts
- Markdown: research timeline, steering vectors paper, taonga paper

Aligns with community codebase rename (commit 21ab7bc0).
"Village" is a brand name — stays untranslated in all languages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 22:09:44 +13:00
TheFlow
0c2c2e463d feat: Audit & update all audience pages with current research and metrics
- Add i18n data-i18n attributes to navbar.js (~30 elements) and expand
  all 4 common.json files with navbar translation keys (EN/DE/FR/MI)
- Replace broken HuggingFace Space links with local audit analytics
  dashboard across 4 HTML files; update counts to 171,800+
- Add Steering Vectors, Taonga Governance, and Home AI sections to
  researcher.html, leader.html, and implementer.html
- Update stale metrics: development period (11+ months), sessions
  (1,000+), instructions (68), model references (Opus 4.6)
- Update roadmap Multi-LLM status to reflect Home AI as first non-Claude
  deployment; add Sovereign Training Pipeline and Taonga Registry items
- Update all EN/DE/FR translation files with new section keys

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 08:07:26 +13:00
TheFlow
cf280d7bb6 feat: Add Te Reo Māori (mi) translation for landing page + i18n fixes
- Create mi/homepage.json (125 keys) and mi/common.json (68 keys)
- Enable mi in i18n system and language selector (remove disabled flag)
- Add data-i18n attributes to untranslated elements (skip link, paper
  Read CTAs, PDF download labels, timeline date labels)
- Add corresponding new keys to en/de/fr locale files
- Remove Counter-Arguments from About dropdown (desktop + mobile)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:26:28 +13:00
TheFlow
b663e75efa feat: Add i18n support to landing page body content
- Add 93 data-i18n attributes to index.html body elements
- Rewrite EN homepage.json to match current page structure (11 sections, 116 strings)
- Translate DE/FR homepage.json via DeepL CLI to match new structure
- Language switching now translates hero, problem, approach, services,
  evidence, roles, papers, timeline, claims, koha, and footer sections

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:27:50 +13:00
TheFlow
a135dbe5d5 fix: Update limitations text from 'single implementation' to federated deployment
Corrected inaccurate 'single implementation' language across all pages and
locale files. The platform operates across four federated tenants (1 dev,
1 demo, 2 active), making 'single' inaccurate. Also added hero button
spacing, missing DE/FR footer translations, and manage_subscription keys.

All translations via DeepL.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 16:56:44 +13:00
TheFlow
b21d44689e feat: Add German/French translations for Village content
- Homepage village_section translations (DE/FR)
- Village case study page translations (EN/DE/FR)
- Added village-case-study to i18n page mapping
- data-i18n attributes for hero, overview, and CTA sections

Translations via DeepL API.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 17:39:38 +13:00
TheFlow
0e7b847779 feat: Add Village platform promotion section to homepage
- Add prominent teal banner promoting mysovereignty.digital
- Explain Villages as practical outcome of Tractatus research
- Include translations for German and French (via DeepL)
- Target European professional audience

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 13:29:36 +13:00
TheFlow
2a727a80b8 feat: Complete Phase 2 Agent Lightning website integration
- Added Agent Lightning research section to researcher.html with Demo 2 results
- Created comprehensive /integrations/agent-lightning.html page
- Added Agent Lightning link in homepage hero section
- Updated Discord invite links (Tractatus + semantipy) across all pages
- Added feedback.js script to all key pages for live demonstration

Phase 2 of Master Plan complete: Discord setup → Website completion

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 14:38:20 +13:00
TheFlow
819b557ec1 feat(i18n): add Hugging Face Space references in EN/DE/FR translations
- Add HF Space link translations for researcher page collaboration section
- Add HF Space resource translations for researcher page resources section
- Add HF Space CTA translation for homepage hero section
- Add interactive exploration section translations for architecture page

All translations provided in English, German, and French.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 08:57:04 +13:00
TheFlow
6de52620ce feat(i18n): add Alexander principles translations (DE, FR)
Added German and French translations for new Alexander principles
section on homepage using DeepL API.

New content translated:
- Alexander principles section heading and subtitle
- 5 principles: Deep Interlock, Structure-Preserving, Gradients,
  Living Process, Not-Separateness (titles and descriptions)
- Architectural Principles CTA card
- Architectural Enforcement vs Compliance Theatre distinction

Also updated implementer path feature text:
- Changed "Deployment best practices" to "Deployment patterns &
  operational procedures" (more specific, inst_087 compliant)
- Translated updated text to DE and FR

Translation method: DeepL API with preserve_formatting=1
Languages: EN (source), DE, FR

Note: HTML still uses hardcoded English text. i18n attributes
can be added in follow-up to enable language switching for this
section.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 22:50:15 +13:00
TheFlow
ad574a0e03 feat: add quiet professional share CTA to homepage
- Added share section with Copy Link, Email, LinkedIn buttons
- Translations: EN, DE, FR (Option 3: 'Help us reach the right people')
- CSP-compliant JavaScript (no inline handlers)
- Professional gray styling, no marketing circus
- Target: researchers, implementers, leaders needing AI governance solutions
2025-10-29 15:18:51 +13:00
TheFlow
2298d36bed fix(submissions): restructure Economist package and fix article display
- Create Economist SubmissionTracking package correctly:
  * mainArticle = full blog post content
  * coverLetter = 216-word SIR— letter
  * Links to blog post via blogPostId
- Archive 'Letter to The Economist' from blog posts (it's the cover letter)
- Fix date display on article cards (use published_at)
- Target publication already displaying via blue badge

Database changes:
- Make blogPostId optional in SubmissionTracking model
- Economist package ID: 68fa85ae49d4900e7f2ecd83
- Le Monde package ID: 68fa2abd2e6acd5691932150

Next: Enhanced modal with tabs, validation, export

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 08:47:42 +13:00
TheFlow
0dd4a5f6c8 refactor: reduce public repo to minimal implementation-only resource
REMOVED: 267 non-implementation files (51% reduction)

Categories removed:
- Research documents & case studies (35 files)
- Planning/internal development docs (28 files)
- Website pages & assets (93 files - this is framework code, not website code)
- Audit reports (6 files)
- Non-essential admin UI (11 files)
- Markdown content duplicates (10 files)
- Internal development scripts (96 files)
- Internal setup docs (2 files)

RETAINED: 253 implementation-focused files
- Core framework services (src/)
- Test suite (tests/)
- API documentation (docs/api/)
- Deployment quickstart guide
- Essential admin UI (rule manager, dashboard, hooks dashboard)
- Architecture decision records
- Configuration files

PURPOSE: Public repo is now focused exclusively on developers
implementing Tractatus, not researchers studying it or users visiting
the website. All background/research content available at
https://agenticgovernance.digital

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 21:09:34 +13:00
TheFlow
5da31237b6 fix(values): remove prohibited 'guarantee' language from user-facing content
VIOLATION: Using absolute assurance language violates inst_017
- README.md: "architectural AI safety guarantees" → "enforcement"
- README.md: "guarantees transparency" → "provides transparency"
- public/index.html meta: "guarantees" → "enforcement"
- public/about.html CTA: "architectural guarantees" → "constraints"
- public/js/components/footer.js: "guarantees" → "enforcement"
- public/js/faq.js (5 instances): "guarantees" → "enforcement/constraints"
- public/locales/en/*.json (3 files): "guarantees" → "enforcement/constraints"
- scripts/seed-first-blog-post.js: "safety guarantees" → "safety constraints"

RESULT: All user-facing "guarantee" language removed
- Production website now compliant with inst_017
- No absolute assurance claims in public content
- Framework documentation still pending (hook blocked markdown edits)

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 15:19:25 +13:00
TheFlow
ca04622243 fix(i18n): add German and French translations for performance evidence section
SUMMARY:
Fixed missing translations for the performance evidence section that was
previously only available in English. All 3 languages now properly support
the "Preliminary Evidence: Safety and Performance May Be Aligned" content.

CHANGES MADE:

1. Added to en/homepage.json (lines 86-92):
   - validation.performance_evidence.heading
   - validation.performance_evidence.paragraph_1
   - validation.performance_evidence.paragraph_2
   - validation.performance_evidence.paragraph_3
   - validation.performance_evidence.methodology_note

2. Added to de/homepage.json (lines 86-92):
   - German translations of all performance evidence content
   - Removed obsolete subtitle with incorrect claims

3. Added to fr/homepage.json (lines 86-92):
   - French translations of all performance evidence content
   - Removed obsolete subtitle with incorrect claims

4. Updated index.html (lines 349, 350, 353, 356, 363):
   - Added data-i18n and data-i18n-html attributes
   - Heading: data-i18n="validation.performance_evidence.heading"
   - Paragraphs: data-i18n-html for proper HTML rendering
   - Methodology note: data-i18n-html

TRANSLATIONS:

English:
- "Preliminary Evidence: Safety and Performance May Be Aligned"
- 3-5× productivity improvement messaging
- Mechanism explanation
- Statistical validation ongoing

German:
- "Vorläufige Erkenntnisse: Sicherheit und Leistung könnten aufeinander abgestimmt sein"
- Equivalent messaging with proper German grammar
- Technical terminology accurately translated

French:
- "Preuves Préliminaires : Sécurité et Performance Pourraient Être Alignées"
- Equivalent messaging with proper French grammar
- Technical terminology accurately translated

IMPACT:
✓ Performance evidence now displays correctly in all 3 languages
✓ German and French users no longer see English-only content
✓ i18n system properly handles all validation section content
✓ Static HTML serves as proper fallback before JavaScript loads

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 21:59:59 +13:00
TheFlow
a80f09ec30 fix(validation): remove factually incorrect time frames and session counts
SUMMARY:
Removed inaccurate claims about deployment duration and session counts
from Real-World Validation section. Maintains core message without
making unverifiable temporal or quantitative claims.

CHANGES MADE:

1. Removed subtitle (index.html, homepage.json):
   - Deleted: "Framework validated in 6-month deployment across ~500 sessions"
   - Section now just has heading: "Real-World Validation"

2. Updated performance evidence paragraph (index.html):
   - Changed: "Six months of production deployment reveals..."
   - To: "Production deployment reveals..."

3. Updated methodology note (index.html):
   - Changed: "qualitative user reports from ~500 production sessions"
   - To: "qualitative user reports from production deployment"

RATIONALE:
No benefit to stating unverifiable claims. Core message (safety-performance
alignment, 3-5× productivity gain, mechanism explanation) remains intact
without temporal or quantitative assertions that cannot be substantiated.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 21:46:41 +13:00
TheFlow
38f236a45b feat(messaging): revise homepage value proposition for strategic impact
SUMMARY:
Completely rewrote "A Starting Point" section to emphasize the enormity
of the AI safety challenge and position Tractatus as a potential turning
point. Removed self-deprecating "We recognize this is one small step..."
paragraph and absorbed its invitation into the value proposition.

STRATEGIC CHANGES:

1. New Opening Paragraph:
   - "Aligning advanced AI with human values is among the most
     consequential challenges we face"
   - Names antagonist: "big tech momentum"
   - Frames as "categorical imperative" (echoing Kant, fitting for Tractatus)
   - Stakes: "preserve human agency or risk ceding control entirely"

2. Core Value Proposition (maintained):
   - "Instead of hoping AI systems 'behave correctly'..."
   - Structural constraints requiring human judgment
   - Architectural boundaries adapting to norms

3. Turning Point Positioning (new):
   - "If this approach can work at scale, Tractatus may represent
     a turning point"
   - "AI enhances human capability without compromising human sovereignty"
   - Absorbed invitation: "Explore the framework through the lens
     that resonates with your work"

4. Removed Section:
   - Deleted "We recognize this is one small step..." paragraph
   - Reduced padding above Three Audience Paths (py-16 → pt-4 pb-16)

TRANSLATIONS:
Updated all 3 language versions (en/de/fr) with equivalent messaging:
- English: "categorical imperative" / "turning point"
- German: "kategorischen Imperativ" / "Wendepunkt"
- French: "impératif catégorique" / "tournant"

IMPACT:
This is the first chance to capture visitor interest and summarize
the core argument: we must explore Tractatus to break out of current
big tech momentum. The new messaging is urgent, not self-deprecating.

FILES MODIFIED:
- public/index.html (removed intro paragraph, reduced padding)
- public/locales/en/homepage.json (3-paragraph value_prop.text)
- public/locales/de/homepage.json (3-paragraph value_prop.text)
- public/locales/fr/homepage.json (3-paragraph value_prop.text)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 21:18:31 +13:00
TheFlow
31ed5b8a77 feat(i18n): add footer and privacy page translations (en/de/fr)
SUMMARY:
Implemented complete internationalization for footer component and
privacy page across English, German, and French languages.

CHANGES:

1. Privacy Page Translations (3 files):
   - Created locales/en/privacy.json (baseline)
   - Created locales/de/privacy.json (German - Datenschutzerklärung)
   - Created locales/fr/privacy.json (French - Politique de confidentialité)
   - All 11 sections + Te Tiriti fully translated

2. Footer i18n Enhancement:
   - Rewrote footer.js with data-i18n attributes
   - Added languageChanged event listener for dynamic updates
   - Expanded homepage.json footer translations (en/de/fr)
   - Footer now auto-translates with language selection

3. Privacy Page Integration:
   - Added data-page="privacy" attribute to HTML
   - Added data-i18n to all content sections (header + 11 sections)
   - Integrated with existing language-selector.js component
   - Updated i18n-simple.js pageMap to recognize privacy page

4. Bug Fix:
   - Fixed SessionStart hook error in .claude/settings.local.json
   - Changed from $CLAUDE_PROJECT_DIR to absolute path
   - Hook now runs successfully at session start

BENEFITS:
- Better UX for international users (German, French speakers)
- Legal compliance (privacy policy in native languages)
- Consistent language experience across entire site
- Leverages existing language persistence (localStorage)

INTEGRATION:
- Works with existing language-selector.js (flag icons: 🇬🇧 🇩🇪 🇫🇷)
- Language preference persists across all pages
- Zero duplication - integrates with existing i18n system

WCAG COMPLIANCE:
✓ Maintains semantic HTML structure
✓ Preserves WCAG AA contrast ratios
✓ All links remain accessible and distinguishable
✓ German and French translations maintain accessibility standards

FRAMEWORK COMPLIANCE:
✓ Zero CSP violations - uses data-i18n attributes only
✓ No inline scripts or styles
✓ Follows existing Tractatus i18n patterns

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 14:44:14 +13:00
TheFlow
44a91e7fcf feat: add case submission portal admin interface and i18n support
Case Submission Portal (Admin Moderation Queue):
- Add statistics endpoint (GET /api/cases/submissions/stats)
- Enhance filtering: status, failure_mode, AI relevance score
- Add sorting options: date, relevance, completeness
- Create admin moderation interface (case-moderation.html)
- Implement CSP-compliant admin UI (no inline event handlers)
- Deploy moderation actions: approve, reject, request-info
- Fix API parameter mapping for different action types

Internationalization (i18n):
- Implement lightweight i18n system (i18n-simple.js, ~5KB)
- Add language selector component with flag emojis
- Create German and French translations for homepage
- Document Te Reo Māori translation requirements
- Add i18n attributes to homepage
- Integrate language selector into navbar

Bug Fixes:
- Fix search button modal display on docs.html (remove conflicting flex class)

Page Enhancements:
- Add dedicated JS modules for researcher, leader, koha pages
- Improve page-specific functionality and interactions

Documentation:
- Add I18N_IMPLEMENTATION_SUMMARY.md (implementation guide)
- Add TE_REO_MAORI_TRANSLATION_REQUIREMENTS.md (cultural sensitivity guide)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 14:50:47 +13:00