Root cause: Tailwind arbitrary value z-[9999] was not in compiled CSS
(tailwind.css last modified Oct 9, feedback.js modified Nov 3).
Solution: Use inline styles with !important for all critical properties:
- position: fixed
- bottom/right positioning
- z-index: 999999
- display: flex
- visibility: visible
- opacity: 1
This bypasses Tailwind compilation issues and ensures button is visible.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add Agent Lightning link to navbar menu (visible on all pages)
- Add prominent "What's New" banner on homepage highlighting AL integration
- Link to AL Discord and integration page
- Improve discoverability of AL integration for visitors
Related to Phase 2 Master Plan completion
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Feedback Button (z-index issue):
- Increased z-index from 40 to 9999 with !important
- Button was rendering but hidden behind other elements
- Added inline style as backup for z-index
Agent Lightning Page:
- Fixed text visibility: changed gray-300 to white on dark background
- Fixed broken download link: changed to GitHub repo link
- Fixed collaboration button: now triggers feedback FAB correctly
- Removed duplicate closing script tag
All issues resolved and deployed
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Changed init() to render FAB/modal before fetching CSRF token
- CSRF fetch now runs in parallel (non-blocking)
- Prevents button from never appearing if CSRF fetch fails/is slow
- Fixed cache version in agent-lightning.html to match deployment
Fixes issue where feedback button was invisible on all pages
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- 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>
PERMANENT FIX for cache invalidation issues:
- Automatically reload nginx after every deployment
- Clears all server-side caches immediately
- Prevents stale content being served
- No more manual cache clearing needed
This resolves recurring deployment cache issues.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
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>
CRITICAL FIX: Forces browsers to fetch new service worker
- Add ?v=0.1.4 query parameter to service worker registration
- Browsers will now immediately fetch updated SW file
- Ensures Phase 2 content visible to ALL users immediately
- Fixes persistent caching issue
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
CRITICAL: Force all clients to dump old cached content
- Increment service worker CACHE_VERSION from 0.1.3 to 0.1.4
- Update version.json to 0.1.4
- Forces immediate cache invalidation for all users
- Ensures Phase 2 content (Agent Lightning, Discord) visible immediately
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated buildDate to Nov 3, 2025
- Updated changelog to reflect Agent Lightning integration
- Documents Discord community launch
- Documents new feedback system
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Adds 'Give Feedback' button to mobile navigation menu
- Integrates with feedback modal system
- Part of governed feedback system (Tractatus + AL)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added null check for section.technicalLevel (defaults to 'basic')
- Prevents "Cannot read properties of undefined (reading 'charAt')" error
- Updated fix-glossary-structure.js to set category: 'getting-started'
- Moves glossary back to Getting Started section where it belongs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Created fix-glossary-structure.js to properly structure glossary
- Parses h2 headings into sections for card view (16 sections)
- Embeds German and French translations (not separate documents)
- Deletes duplicate/separate glossary documents
- Normalizes slug to lowercase 'glossary'
Translation structure matches existing documents (introduction, etc):
- translations.de.{title, content_markdown, content_html, toc, metadata}
- translations.fr.{title, content_markdown, content_html, toc, metadata}
Fixes:
- Card view now works (sections present)
- Language toggle works (embedded translations)
- One glossary entry in docs list (not three)
- All three PDFs accessible
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added (PDF) links next to each glossary entry in implementer Resources
- English: /downloads/glossary.pdf
- German: /downloads/glossary-de.pdf
- French: /downloads/glossary-fr.pdf
- Links open in new tab with target="_blank"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Removed call to showTranslationFallbackNotice(language) which was undefined
- Console warning already logs the fallback behavior
- Prevents ReferenceError when loading translated documents
- Related to glossary translation fallback handling
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added require('dotenv').config() to load .env file
- Enables MONGODB_URI and MONGODB_DB to be read from environment
- Required for script to work in production with authenticated MongoDB
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Changed hardcoded mongodb://localhost:27017 to use MONGODB_URI env var
- Added automatic database name extraction from URI or MONGODB_DB env
- Updated glossary slugs from long auto-generated to explicit frontmatter slugs:
- tractatus-agentic-governance-system-glossary-of-terms → glossary
- tractatus-agentic-governance-system-glossary-of-terms-deutsch → glossary-de
- tractatus-agentic-governance-system-glossary-of-terms-franais → glossary-fr
- Enables PDF generation to work in production environment
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- extractMetadata was not including the slug field from frontMatter
- Added slug: frontMatter.slug to the returned metadata object
- Now the slug check on line 144 will actually find the frontmatter slug
- Fixes glossary translation slugs (glossary-de, glossary-fr)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Previously the migration script always generated slugs from titles
- Now checks metadata.slug first before auto-generating
- Allows explicit slug control via frontmatter (e.g., glossary-de, glossary-fr)
- Required for language-specific document API fallback to work correctly
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added glossary links (EN/DE/FR) to implementer.html Resources section
- Added translation keys to all three locale files
- Links to /docs.html?doc=glossary with language parameter
- Addresses overdue task: Add German & French Translations to Implementer Page
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
When requesting a translation via ?lang=de or ?lang=fr, the API now:
1. First checks for embedded translations (document.translations.de/fr)
2. Falls back to checking for separate documents with -de/-fr suffix
This allows the glossary translations (glossary-de, glossary-fr) to work
with the standard /api/documents/glossary?lang=de endpoint.
Fixes the 404 error when switching languages on /docs.html page.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Created translations using DeepL API:
- GLOSSARY-DE.md (67KB, German translation)
- GLOSSARY-FR.md (71KB, French translation)
Added translate-glossary.py script for automated translation with:
- Frontmatter preservation
- Chunked translation for large documents
- DeepL API integration
Updated generate-public-pdfs.js to include:
- tractatus-agentic-governance-system-glossary-of-terms-deutsch
- tractatus-agentic-governance-system-glossary-of-terms-franais
Both documents migrated to database and PDFs generated locally.
Production deployment will generate PDFs on server.
Note: Port numbers (27027/27017) are part of canonical "27027 Incident"
educational example, not actual infrastructure exposure.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added visibility: public to GLOSSARY.md frontmatter so the glossary
appears in the /docs.html document list.
Also updated modified date to 2025-11-01.
Note: Port numbers (27027/27017) are part of canonical "27027 Incident"
educational example, not actual infrastructure exposure.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added 'tractatus-agentic-governance-system-glossary-of-terms' to PUBLIC_DOCS
array in generate-public-pdfs.js. This will ensure the glossary PDF is
generated on the production server during deployment.
Glossary covers:
- Core concepts and six services (11,000 words)
- Reference documentation for non-technical stakeholders
- Already migrated to database via npm run migrate:docs
PDF will be accessible at /downloads/tractatus-agentic-governance-system-glossary-of-terms.pdf
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Changed all Hugging Face buttons from bg-gradient-to-r (which wasn't
rendering) to solid bg-orange-600 for proper visibility. The gradient
classes were showing as white-on-white.
Affected pages:
- index.html: Hero section HF CTA
- researcher.html: Collaboration section HF link
- architecture.html: Interactive exploration section HF button
Now using bg-orange-600 hover:bg-orange-700 for consistent, visible styling.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- researcher.html: Add HF Space link in collaboration section and resources
- index.html: Add HF Space CTA button in hero section
- architecture.html: Add "See It In Action" interactive exploration section
All links point to https://huggingface.co/spaces/tractatus-framework/audit-log-viewer
with proper styling (HF brand colors), external link icons, and i18n support.
Implements P0 recommendations from HF exposure optimization report.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- 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>
- Add services_involved tracking to framework-audit-hook.js
- Hook now tracks which services are invoked for each tool use
- Pass services_involved array to all service contexts
- Update ContextPressureMonitor to log coordination in metadata.services_involved
- Update BoundaryEnforcer to log coordination in metadata.services_involved
- Enables 0% → X% coordination rate in audit log analysis
- Fixes HF Space showing 0.0% Deep Interlock coordination
- Services will now properly log when they coordinate on decisions
This implements the missing instrumentation for Deep Interlock (Principle #2).
Services were coordinating but not logging it - now audit trail will show
multi-service coordination patterns.
Updated service worker cache version from 0.1.3 to 0.1.4 to ensure
browsers clear cache and fetch updated architectural_principles
translations in values.json files.
Note: /locales/ is in NEVER_CACHE_PATHS, so translations are always
fresh, but bumping version ensures service worker update triggers.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added complete architectural_principles section to all three language files:
- English (en/values.json): baseline translations
- German (de/values.json): complete German translations
- French (fr/values.json): complete French translations
Fixes rendering issue on values.html where raw i18n keys were displaying
instead of translated content.
Section includes:
- Five Alexander principles (Deep Interlock, Structure-Preserving, Gradients,
Living Process, Not-Separateness)
- Each with title, description, and connection to core values
- Monitoring note about October 2025 integration
- TOC entry for navigation
Technical terms preserved in English across all translations per i18n guidelines.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added complete German and French translations for the Five Architectural
Principles section added in previous commit.
Changes:
- Updated hero section (badge, title, subtitle, CTAs) in all 3 languages
- Added full "principles" section with all 5 principles × 6 fields each
- Not-Separateness (Governance in Critical Path)
- Deep Interlock (Services Reinforce Each Other)
- Gradients Not Binary (Nuanced Responses)
- Structure-Preserving (Audit Continuity)
- Living Process (Evidence-Based Evolution)
- Added "How They Work Together" interlocking pattern (6 fields)
- Added services.subtitle connecting services to principles
Translation consistency:
- German: Maintained translations from homepage.json (Tiefe Verriegelung,
Not-Separatheit, etc.)
- French: Maintained translations from homepage.json (Interlock profond,
Non-séparation, etc.)
- Technical terms preserved in English per translation guidelines
(BoundaryEnforcer, PreToolUse Hook, inst_064, 27027 Incident)
Files changed:
- public/locales/en/architecture.json: +54 keys (hero + principles + services.subtitle)
- public/locales/de/architecture.json: +54 keys (complete German translations)
- public/locales/fr/architecture.json: +54 keys (complete French translations)
Testing: All 3 language JSON files verified serving correctly via curl/jq
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added new section between Core Values and Te Tiriti sections explaining
how the 5 Alexander principles operationalize our core values:
1. Deep Interlock - Service coordination creates transparency
2. Structure-Preserving - Governance continuity enables accountability
3. Gradients Not Binary - Nuanced responses prevent harm
4. Living Process - Community learning drives evolution
5. Not-Separateness - Architectural enforcement preserves sovereignty
Each principle includes:
- Description of what it means technically
- Connection to existing core values
- Concrete examples from framework operation
Updated table of contents with new section link.
Note: i18n attributes added but translations pending (values.json updates needed).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
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>