Commit graph

132 commits

Author SHA1 Message Date
TheFlow
4a72d11da1 chore: bump cache version for deployment 2026-02-07 16:56:48 +13:00
TheFlow
834bb374da chore: bump cache version for deployment 2026-02-07 16:10:34 +13:00
TheFlow
80fe5a21ab chore: bump cache version for deployment 2026-02-07 15:57:53 +13:00
TheFlow
45c6c361ba chore: bump cache version for deployment 2026-02-07 15:52:46 +13:00
TheFlow
2a83b45002 chore: bump cache version for deployment 2026-02-07 14:46:12 +13:00
TheFlow
a594012aa7 feat: Complete site audit and UI/UX redesign for agenticgovernance.digital
Homepage redesign with coherent story arc: Problem → Philosophy →
Architecture → Production Evidence → Audience Paths → Papers → Timeline.
Add Koha (donations) section prominently after Honesty Note for optimal
placement. Add Philosophical Foundations PDF download link.

New pages: timeline.html (research evolution Oct 2025–Feb 2026),
home-ai.html (SLL sovereign AI story). Blog seed script with two
initial posts.

Global navigation: consistent desktop nav with Research, Architecture,
and About dropdowns across all pages. Blog/FAQ removed from nav until
populated.

Page refinements: remove emoji from headings across architecture,
leader, implementer, researcher pages. Fix FAQ dead links → counter-
arguments. Add no-JS fallback to docs.html. Fix CSP inline style
violations in village-case-study.html (hero and CTA sections converted
from inline styles to Tailwind/CSS classes). Add Home AI cross-reference
to village case study.

Note: philosophical-foundations-village-project.pdf must be deployed
separately to public/downloads/ (gitignored directory).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 12:44:53 +13:00
TheFlow
514a1a87d4 chore: bump cache version for deployment 2026-01-23 07:44:05 +13:00
TheFlow
81cf409ce7 chore: bump cache version for deployment 2026-01-20 11:56:04 +13:00
TheFlow
403a54decf feat: Add Kōrero HTML page, remove umami analytics
- Create korero-counter-arguments.html (STO-INN-0004) with styled critique cards
- Remove umami-tracker.js and all references from HTML files
- Update privacy.html Section 6 to reflect "No Analytics" policy

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 11:43:29 +13:00
TheFlow
1bae6786f7 chore: bump cache version for deployment 2025-12-10 08:14:26 +13:00
TheFlow
356b581d54 chore: bump cache version for deployment 2025-12-09 18:25:38 +13:00
TheFlow
a5a1747191 chore: bump cache version for deployment 2025-12-09 18:23:09 +13:00
TheFlow
9d6495f26b chore: bump cache version for deployment 2025-12-09 18:21:25 +13:00
TheFlow
be3df7bf85 chore: bump cache version for deployment 2025-12-09 17:39:03 +13:00
TheFlow
4a466d93aa chore: bump cache version for deployment 2025-11-24 08:42:59 +13:00
TheFlow
bd0756c750 chore: bump cache version for deployment 2025-11-04 17:15:34 +13:00
TheFlow
1af7b17807 chore: bump cache version for deployment 2025-11-04 16:16:22 +13:00
TheFlow
79ec15c761 chore: bump cache version for deployment 2025-11-04 15:39:51 +13:00
TheFlow
0d61a435c0 chore: bump cache version for deployment 2025-11-04 15:22:57 +13:00
TheFlow
daa0d74ebf chore: bump cache version for deployment 2025-11-04 15:11:36 +13:00
TheFlow
b21e77687d chore: bump cache version for deployment 2025-11-04 11:37:39 +13:00
TheFlow
53bd1d83b8 chore: bump cache version for deployment 2025-11-04 11:17:11 +13:00
TheFlow
ff52ac8088 chore: bump cache version for deployment 2025-11-04 10:48:00 +13:00
TheFlow
2e3ce0a2fc feat: Add comprehensive visitor retention system
Implemented RSS feeds, newsletter subscriptions, email templates, and admin UI
to encourage repeat visits from self-selected visitors.

## RSS Feeds
- Created RSS 2.0 feed generation (main + topic-specific)
- Endpoints: /feed.xml and /feed/:topic.xml
- Added getPublished() and getPublishedByTag() to BlogPost model

## Newsletter Subscriptions
- Created reusable newsletter modal component
- Added to index, researcher, implementer, leader pages
- Interest selection: research, implementation, governance, project-updates
- Added newsletter trigger button to footer
- Uses existing /api/newsletter/subscribe endpoint

## Email Templates
- Created comprehensive specifications for 4 newsletter tiers
- Research Updates (monthly) - scholarly audience
- Implementation Notes (bi-weekly) - practitioners
- Governance Discussions (sporadic) - stakeholders
- Project Updates (quarterly) - general audience
- Documented template variables, design guidelines

## Admin UI
- Enhanced newsletter management with "Send Newsletter" section
- Tier selection, subject/preview input, JSON content editor
- Preview/test/send buttons (UI ready, email service TBD)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 10:42:43 +13:00
TheFlow
2e666387ba chore: bump cache version for deployment 2025-11-03 15:58:53 +13:00
TheFlow
556ca257aa chore: bump cache version for deployment 2025-11-03 15:38:54 +13:00
TheFlow
0856ccabcf chore: bump cache version for deployment 2025-11-03 15:16:46 +13:00
TheFlow
aec0774ace chore: bump cache version for deployment 2025-11-03 14:38:30 +13:00
TheFlow
afcfc27502 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
5b2ae9f992 chore: bump cache version for deployment 2025-11-03 13:22:13 +13:00
TheFlow
ff064dc4af chore: bump cache version for deployment 2025-11-03 13:21:40 +13:00
TheFlow
dd4c16e7a0 fix: FORCE cache invalidation - complete Phase 2 deployment
CRITICAL COMPLETE FIX:
- Service worker: 0.1.4
- version.json: 0.1.4
- ALL HTML files: Updated to cache version 0.1.2.1762128274267
- Service worker registration: ?v=0.1.4 cache-buster

This WILL force all clients to reload immediately.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 13:05:15 +13:00
TheFlow
a679c929a5 chore: bump cache version for deployment 2025-11-03 12:53:25 +13:00
TheFlow
d281adc48d chore: bump cache version for deployment 2025-10-31 01:25:48 +13:00
TheFlow
4731f557f1 fix(privacy): replace personal email with privacy@agenticgovernance.digital
feat(i18n): add research_focus translations for about.html

Changes:
1. Email address updates (EN/DE/FR):
   - Replaced john.stroh.nz@pm.me with privacy@agenticgovernance.digital
   - Updated in about.html and all 3 locale files (en/de/fr)

2. Added research_focus section translations:
   - English: Added to en/about.json (heading + 4 paragraphs)
   - German: DeepL translations added to de/about.json
   - French: DeepL translations added to fr/about.json

3. Added missing wrapper translations:
   - core_values.te_tiriti.paragraph_2_full (full paragraph with HTML)
   - data_practices.rights_full (GDPR rights with contact link)

All research_focus content now translates when users switch languages.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 00:00:44 +13:00
TheFlow
5355142ee8 fix(i18n): add missing data-i18n attributes to about.html
Added missing i18n attributes to 3 sections:

1. "Our Research Focus" section (lines 88-102):
   - Added data-i18n to heading
   - Added data-i18n-html to 4 paragraphs
   - New keys: research_focus.heading, research_focus.paragraph_1-4

2. Te Tiriti paragraph (line 134):
   - Added data-i18n-html="core_values.te_tiriti.paragraph_2_full"
   - Paragraph wrapper now translatable

3. GDPR rights paragraph (line 216):
   - Added data-i18n-html="data_practices.rights_full"
   - Paragraph wrapper now translatable

These sections will now support language switching once translations
are added to de/about.json and fr/about.json.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 23:45:39 +13:00
TheFlow
eb4e396ab4 chore: bump cache version for deployment 2025-10-30 23:39:01 +13:00
TheFlow
630874552e chore: bump cache version for deployment
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 22:32:14 +13:00
TheFlow
bf2ed59c1d chore: bump cache version for deployment 2025-10-29 15:47:48 +13:00
TheFlow
ef954d6e49 chore: bump cache version for deployment 2025-10-29 15:40:56 +13:00
TheFlow
1c30254f27 chore: bump cache version for deployment 2025-10-29 15:32:32 +13:00
TheFlow
5e46f7792e chore: bump cache version for deployment 2025-10-29 15:20:20 +13:00
TheFlow
3cb6b56c78 chore: bump cache version for deployment 2025-10-29 15:06:07 +13:00
TheFlow
b1d6b678e6 chore: bump cache version for deployment 2025-10-29 15:03:01 +13:00
TheFlow
b169509f93 chore: bump cache version for deployment 2025-10-29 14:57:13 +13:00
TheFlow
c81e2c81ee chore: bump cache version for deployment 2025-10-29 14:40:10 +13:00
TheFlow
5582c758f7 chore: bump cache version for deployment 2025-10-29 11:58:35 +13:00
TheFlow
19dcd4c40d chore: bump cache version for deployment 2025-10-29 11:54:12 +13:00
TheFlow
ccb4bdaabf feat(api): implement research inquiry endpoint and Umami analytics
HIGH PRIORITY: Fixes production 404 error on research inquiry form

Research Inquiry API:
- Add POST /api/research-inquiry endpoint for form submissions
- Add admin endpoints for inquiry management (list, get, assign, respond, delete)
- Create ResearchInquiry model with MongoDB integration
- Add to moderation queue for human review (strategic quadrant)
- Include rate limiting (5 req/min) and CSRF protection
- Tested locally: endpoint responding, data saving to DB

Umami Analytics (Privacy-First):
- Add Docker Compose config for Umami + PostgreSQL
- Create nginx reverse proxy config with SSL support
- Implement privacy-first tracking script (DNT, opt-out, no cookies)
- Integrate tracking across 26 public HTML pages
- Exclude admin pages from tracking (privacy boundary)
- Add comprehensive deployment guide (UMAMI_SETUP_GUIDE.md)
- Environment variables added to .env.example

Files Created (9):
- src/models/ResearchInquiry.model.js
- src/controllers/research.controller.js
- src/routes/research.routes.js
- public/js/components/umami-tracker.js
- deployment-quickstart/nginx-analytics.conf
- deployment-quickstart/UMAMI_SETUP_GUIDE.md
- scripts/add-umami-tracking.sh
- scripts/add-tracking-python.py
- SESSION_SUMMARY_ANALYTICS_RESEARCH_INQUIRY.md

Files Modified (29):
- src/routes/index.js (research routes)
- deployment-quickstart/docker-compose.yml (umami services)
- deployment-quickstart/.env.example (umami config)
- 26 public HTML pages (tracking script)

Values Alignment:
 Privacy-First Design (cookie-free, DNT honored, opt-out available)
 Human Agency (research inquiries require human review)
 Data Sovereignty (self-hosted analytics, no third-party sharing)
 GDPR Compliance (no personal data in analytics)
 Transparency (open-source tools, documented setup)

Testing Status:
 Research inquiry: Locally tested, data verified in MongoDB
 Umami analytics: Pending production deployment

Next Steps:
1. Deploy to production (./scripts/deploy.sh)
2. Test research form on live site
3. Deploy Umami following UMAMI_SETUP_GUIDE.md
4. Update umami-tracker.js with website ID after setup

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 01:31:02 +13:00
TheFlow
d7c4074428 chore: bump cache version for deployment 2025-10-29 00:49:26 +13:00