- 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>
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 '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>