Commit graph

504 commits

Author SHA1 Message Date
TheFlow
ef281ee846 chore: bump cache version for deployment 2026-02-11 06:11:57 +13:00
TheFlow
e9511afd85 fix: Hide feedback FAB on mobile, add to drawer, persist install dismissal
FAB overlaps PWA install prompt and update notifications on small screens.
Mobile users now access feedback via the navbar drawer instead. Install
prompt dismissal persists in localStorage and is skipped in standalone mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 05:55:30 +13:00
TheFlow
8e5aff3bee fix: Remove analytics contradictions from French/German privacy locales
Align fr/privacy.json and de/privacy.json with the "No Analytics"
decision. Both files still contained extensive Umami Analytics
references in sections 1.2, 2, 4, and 6. Also updates the monthly
review schedule to close the analytics decision.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 13:52:41 +13:00
TheFlow
8ec54760b4 fix: Remove analytics contradictions from privacy policy
Section 1.2 claimed to collect analytics data and analytics cookies.
Section 2 referenced "usage patterns" analysis. Section 4 described
analytics data retention. All contradicted Section 6 which correctly
stated "No Analytics" since Umami was removed in January 2026.

Now consistent throughout: no analytics, no tracking cookies, no usage
pattern collection. English locale file cleaned of all Umami references.
Updated date to February 10, 2026.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 13:45:53 +13:00
TheFlow
043a29f2c9 fix: Replace inline styles with CSS classes in taonga paper HTML downloads
Converts all inline style= attributes to CSS classes in the English,
French, and Maori HTML download files. Also adds rsyncignore patterns
for precis and draft-email files to prevent personal correspondence
from being deployed to production.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 13:39:16 +13:00
TheFlow
89b9f26bac feat: Add recent paper references to home-ai.html
- Reference Taonga-Centred Steering Governance paper in dual-layer section
- Reference Steering Vectors and Mechanical Bias paper in bias section
- Fix: navbar now dynamically loads research papers modal on all pages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:54:32 +13:00
TheFlow
a92e822e5c fix: Load research papers modal on all pages with navbar
The Publications button in the Research dropdown was non-functional
on every page except index.html because the modal script was only
loaded there. Now the navbar dynamically loads it on all pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:53:45 +13:00
TheFlow
b502d3c8ef fix: Update hardware status from "ordered" to "being installed"
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:49:30 +13:00
TheFlow
a3b2329ad5 fix: Tighten spacing on home-ai.html — hero gap, section gaps, paragraph gaps
- Reduce main top padding from py-12 to pt-8 (hero-to-content gap)
- Reduce section bottom margins from mb-14 to mb-10
- Reduce section heading bottom margins from mb-6 to mb-4
- Reduce intro paragraph bottom margins from mb-6 to mb-4

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:44:51 +13:00
TheFlow
551c7e9a05 chore: bump cache version for deployment 2026-02-09 18:26:34 +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
f04eb5b75d chore: bump cache version for deployment 2026-02-09 18:11:27 +13:00
TheFlow
27120af6ca refactor: Clean up Research dropdown — navigational items only
Remove individual paper titles from the Research dropdown. Replace with
three navigational items: Publications (opens research papers modal),
For Researchers, Research Timeline. Papers belong on pages, not in
navigation menus.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:11:22 +13:00
TheFlow
c97b21b69c chore: bump cache version for deployment 2026-02-09 18:07:06 +13:00
TheFlow
f2748c311c feat: Replace Research dropdown with mega-dropdown showing paper cards
Embeds the research modal's paper content directly into the navbar
Research dropdown as a wider mega-dropdown. Shows Recent Research papers
as side-by-side cards, Foundational section with edition selector pills
(Academic/Community/Policymakers), and quick links to Researchers,
Timeline, and Browse All Docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:07:01 +13:00
TheFlow
fd3d935415 chore: bump cache version for deployment 2026-02-09 17:58:33 +13:00
TheFlow
10263a9f24 fix: Use inline maxHeight for mobile accordion instead of Tailwind class
The max-h-96 class was only added via JS so Tailwind's scanner never
generated it. Switch to inline style.maxHeight using scrollHeight for
reliable expand/collapse.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 17:58:27 +13:00
TheFlow
2bf206ed43 chore: bump cache version for deployment 2026-02-09 17:55:14 +13:00
TheFlow
32563adf1b feat: Consolidate navbar — Framework dropdown + mobile accordion
Merge Architecture link and Implementation dropdown into single "Framework"
dropdown on desktop (5 → 4 top-level items). Replace flat mobile drawer
sections with collapsible accordion (chevron toggle, auto-expand active
section). Remove Company section and Give Feedback button from mobile.
Koha promoted to standalone teal link in mobile.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 17:55:08 +13:00
TheFlow
61c1ff2e53 chore: bump cache version for deployment 2026-02-09 16:56:42 +13:00
TheFlow
0f7a970c86 feat: Add subscribe CTA to blog hero and individual posts
Move newsletter subscription CTA from buried bottom section to prominent
hero placement with "New" badge and RSS link. Add post-level subscribe
prompt after article content. Replace inline newsletter modal with
reusable newsletter.js component.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 16:56:36 +13:00
TheFlow
dd1d83a6b8 chore: bump cache version for deployment 2026-02-09 16:33:48 +13:00
TheFlow
8379b50162 fix: Use correct document slug for taonga paper in research modal
The taonga paper's migrated slug includes the full subtitle. Update the
modal href to match the actual documents collection slug so the
docs-viewer resolves it correctly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 16:33:43 +13:00
TheFlow
b3946fc006 chore: bump cache version for deployment 2026-02-09 16:21:55 +13:00
TheFlow
d0e6bcb97e fix: Use correct query parameter for docs-viewer paper links
docs-viewer.html uses ?slug= not ?doc= (which is for docs.html).
The wrong parameter caused the viewer to fall back to the default
document instead of loading the requested paper.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 16:21:50 +13:00
TheFlow
d7bf3aa551 chore: bump cache version for deployment 2026-02-09 16:17:18 +13:00
TheFlow
737593de2d feat: Add research papers modal to homepage hero button
Replace direct link to architectural-alignment.html with a modal
showing all research papers grouped by recency, with a footer link
to /docs.html for broader documentation discovery.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 16:16:53 +13:00
TheFlow
962edaa34b fix: Fix docs-viewer TOC, cache busting, and documentLoaded event
- Fix TOC field name mismatch: API returns title/slug but renderTOC
  read text/id, causing empty bullet points
- Dispatch documentLoaded event after async content loads so sidebar
  TOC rebuilds with actual headings
- Update cache-bust version strings to force fresh JS/CSS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 10:36:18 +13:00
TheFlow
1ed8ced02c fix: Fix docs-viewer prose styling and query param routing
- Replace broken @apply directives with plain CSS (Tailwind @apply is
  build-time only, was silently failing in browser <style> tags)
- Add table, hr, and list-item spacing styles for research papers
- Handle ?slug= query parameter in docs-viewer-app.js so blog post
  links to docs-viewer.html?slug=X load the correct document

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 10:24:43 +13:00
TheFlow
6de4dab9a9 feat: Add Blog link to navbar navigation
Adds Blog link to both desktop nav (between Architecture and About)
and mobile menu (before About & Resources section).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 18:06:15 +13:00
TheFlow
757ac3dac3 feat: Add i18n support to home-ai.html with EN/DE/FR translations
221 text elements across 16 sections now have data-i18n attributes.
Locale JSON files populated for English, German, and French via DeepL.
HTML entities, proper names, and code blocks preserved in translations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 22:36:28 +13:00
TheFlow
3ad1a5b953 feat: Replace binary comparison with defence-in-depth 3-layer model
The old section presented behavioral training as all-bad and structural
enforcement as all-good, which is intellectually dishonest given our
planned SLL with BoundaryEnforcer in the training loop. Replaced with
three stacked layer cards (training, architecture, human oversight),
each showing strengths, known limitations, and status. Added insight
blockquote and "Measured, Not Assumed" metrics grid with 6 commitments.
Updated hero text for narrative consistency. All i18n in EN/DE/FR.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:54:31 +13:00
TheFlow
8e7c70cbb7 fix: Improve architecture.html accessibility and performance
- Fix low-contrast orange-600 bg + white text to orange-700 (3.58:1 → 5.18:1)
- Convert social-preview hero image from PNG to WebP (2,647 KiB → 147 KiB, 94% savings)
- Add explicit width/height to hero image to prevent CLS
- Use <picture> element with WebP source and PNG fallback

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:30:15 +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
609396d87e chore: bump cache version for deployment 2026-02-07 21:24:35 +13:00
TheFlow
42219f6799 fix: Suppress diagram translation warning on initial load, add home-ai locale stubs
- interactive-diagram.js: Only warn about missing translations when i18n
  has already initialized (not during initial race before i18n completes)
- Add empty home-ai.json locale files (en/de/fr) to prevent console
  warning on /home-ai.html page

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 20:59:06 +13:00
TheFlow
45e74fd5d5 chore: bump cache version for deployment 2026-02-07 20:58:13 +13:00
TheFlow
803179b423 feat: Bridge 27027 coding bias to conversational AI pattern bias
Add landing page callout explaining how training data pattern bias
operates identically in general AI chat (value systems, cultural
framing) but is invisible — no validator catches it in 14.7ms.
New scholarly article in docs system with Berlin/Weil/Te Mana Raraunga
analysis.

Note: Pre-commit hook flagged port numbers as attack surface exposure.
These are false positives — the article is ABOUT ports 27027/27017
(the published case study subject), not exposing internal infrastructure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 20:39:22 +13:00
TheFlow
7c0e705194 chore: bump cache version for deployment 2026-02-07 16:56:48 +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
82ee807fbd chore: bump cache version for deployment 2026-02-07 16:10:34 +13:00
TheFlow
c80cc29936 fix: Resolve stale CSS caching and CI test failure
- Add ?v= cache-bust parameters to CSS references in index.html,
  home-ai.html, and timeline.html (were missing, causing stale CSS)
- Fix version.json: disable forceUpdate (was causing 10s auto-reload
  loops), fix minVersion paradox (was 0.2.1 > current 0.1.3)
- Fix update-cache-version.js: stop always setting forceUpdate=true,
  add 7 missing HTML files to cache-bust list, add bare CSS/JS
  reference detection
- Fix ClaudeAPI.test.js: generateBlogTopics now takes context object,
  not positional arguments
- Add spacing between honesty note and Koha section

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 16:10:29 +13:00
TheFlow
5e3ae8523a chore: bump cache version for deployment 2026-02-07 15:57:53 +13:00
TheFlow
efe7923f29 fix: Add opacity background and backdrop-blur utilities to theme CSS
bg-white/10, bg-white/20, backdrop-blur, and other Tailwind v3
opacity shorthand classes weren't compiled. Added them to
tractatus-theme.css so stat cards and glass-effect panels render.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 15:57:52 +13:00
TheFlow
39593fbf6f chore: bump cache version for deployment 2026-02-07 15:52:46 +13:00
TheFlow
af3ef61a19 fix: Add missing Tailwind gradient utilities to theme CSS
All gradient backgrounds (bg-gradient-to-r/br, from-*, via-*, to-*)
were not rendering because the classes weren't in the compiled Tailwind
CSS. Added 60+ gradient utility classes to tractatus-theme.css so
gradients render correctly site-wide.

Fixes white-on-white text in Koha section (gradient background was
transparent, making white text invisible against page background).
Also fixes Production Evidence section and all other gradient sections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 15:52:39 +13:00
TheFlow
e54ddc1aa8 fix: Professional spacing and Koha contrast on homepage
Spacing improvements across all sections:
- Section padding: py-10 (40px) → py-16/py-20 (64-80px)
- Card padding: p-4 (16px) → p-6 (24px)
- Grid gaps: gap-4 → gap-6
- Section header margins: mb-6 → mb-10
- Inner element margins increased throughout
- Button/CTA padding increased for breathing room

Koha contrast fix:
- Changed text-blue-100 to text-white on Koha section
  paragraphs for proper contrast against dark gradient background

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 15:45:40 +13:00
TheFlow
ddabc83da8 feat: Add dual-layer Tractatus architecture section and fix Koha contrast
- Add prominent "Dual-Layer Tractatus Architecture" section to home-ai.html
  explaining Layer A (inherent/trained-in) and Layer B (active/runtime)
- Fix Koha paragraph contrast: text-blue-800 on bg-blue-50 had insufficient
  contrast (~3.8:1). Changed to text-gray-800/text-gray-900 for WCAG AA compliance
- Include prior session changes: architecture.html updates, homepage redesign

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 15:37:33 +13:00
TheFlow
4b02379197 fix: Replace Weil with Wittgenstein as structural foundation on homepage
Simone Weil is a Layer 3 wisdom tradition (communication style
influence), not a structural foundation of the framework. The source
document (Philosophical Foundations) identifies four structural
pillars: Berlin (value pluralism), Wittgenstein (sayable/unsayable),
Te Tiriti (indigenous sovereignty), Alexander (living architecture).

Weil's concept of attention is about receptive engagement with
suffering — a quality of consciousness, not a system property.
Claiming her philosophy leads to "architectural constraints" is a
non sequitur. Her proper role is in the PluralisticDeliberation
Orchestrator's deliberative process (researcher.html), not as a
pillar of the governance architecture.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 14:51:41 +13:00
TheFlow
d6f911b667 chore: bump cache version for deployment 2026-02-07 14:46:12 +13:00