tractatus/public/locales
TheFlow d3807ed58a fix: add visibility check to getDocument/getTranslations endpoints
Non-public documents (internal, archived, confidential) were accessible
to unauthenticated users via direct slug/ID lookup. List and search
endpoints already filtered for visibility: 'public', but the individual
document endpoints did not. Added optionalAuth middleware and visibility
checks so non-public docs return 404 to public users while remaining
accessible to admin users.

Also adds Guardian Agents translations to village-case-study locale
files (DE, FR, MI) — 8 new keys per locale, flow step renumbered
6→7→8 with new Guardian Agents verification step at position 6.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:27:48 +13:00
..
de fix: add visibility check to getDocument/getTranslations endpoints 2026-03-13 17:27:48 +13:00
en feat: add Guardian Agents to village-case-study.html 2026-03-13 15:27:10 +13:00
fr fix: add visibility check to getDocument/getTranslations endpoints 2026-03-13 17:27:48 +13:00
mi fix: add visibility check to getDocument/getTranslations endpoints 2026-03-13 17:27:48 +13:00