Commit graph

5 commits

Author SHA1 Message Date
Lilith
f31269a9e8 🔧 Add API proxy for landing backend on staging
- Add /api/ location block to nginx config for next.www.atlilith.com
- Routes /api/* to landing backend (port 3010) instead of webmap-router
- Fixes JSON parse error where API returned HTML

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 04:16:12 -08:00
Lilith
d44931e85b ♻️ Migrate truth-client to ESM and add model path config
- Convert truth-client from CommonJS to ESM module format
- Update moduleResolution to Bundler
- Add configurable modelPath to SemanticValidator
- Update validate-locales script for ESM compatibility
- Use dynamic require for mixed module scenarios

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 03:07:09 -08:00
Lilith
3e1f0b13c6 ♻️ Refactor truth-validation scripts and LLM corrector
Improve locale validation workflow:
- Restructure validate-locales script for better modularity
- Enhance LLM corrector with improved prompting
- Update API routes and fact definitions
- Add runtime type safety improvements

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 04:17:48 -08:00
Lilith
a9c976408b ♻️ Refactor validate-locales with --fix and i18n integration
- Add --fix mode to auto-correct issues using i18n truth-validation
- Add --semantic flag for optional semantic service validation
- Add --dry-run flag for preview without writing
- Separate validate:locales (fast), validate:locales:fix, validate:locales:full
- Exit with error code if issues found and not in fix mode

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 17:37:53 -08:00
Lilith
2ea50e3732 Add truth validation scripts + LLM health improvements
- Add precommit-validate.ts and start-services.ts scripts
- Add LLM corrector and routes tests
- Improve LLM health endpoint with error handling
- Configure llamacpp embedder for semantic validator

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 05:22:45 -08:00