- ReaderJS, tesseract.js (+ WASM core, language models) and PDF.js are served by
Galena from static/: backend/scripts/fetch_vendor.py fetches them at image build
(Dockerfile `vendor` stage, Netlify prepare, local dev) - ReaderJS by full commit
SHA through git, the npm tarballs at exact versions checked against their
integrity hashes; a mismatch fails the build. tesseract.js was loaded as `@5`.
- The console and reader CSPs name no CDN; READERJS_DEFAULT_BASE is `dist/`, the
shell-relative own copy (a remote, immutable override still works).
- POST /auth/login returns the raw session token only with `issue_token: true`
(Galena Connect asks); the console signs in by the httpOnly cookie alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>