diff --git a/README.md b/README.md index 06c044e..0cad0ff 100644 --- a/README.md +++ b/README.md @@ -470,3 +470,26 @@ number of members who have logged in to the sandbox. durable fix is `viewport-fit=cover` + standalone-mode safe-area padding (custom.css) so the bands show the theme-correct page background; custom2.js additionally syncs one meta `theme-color` to the app's resolved theme. + +## Deploy semantics — why the image tag can lag `main` + +`librechat.yaml` is **data**, mounted at `/app/data/librechat.yaml`; the image carries +code. Config-only commits therefore do **not** require a rebuild, and the manifest's +`dockerImage` pin may legitimately lag `main` by any number of config-only commits. + +**Do not judge deployment by the image tag.** Judge it by the live config hash: + +```bash +sha256sum librechat.yaml | cut -c1-16 # repo +# inside the app: +python3 -c "import hashlib;print(hashlib.sha256(open('/app/data/librechat.yaml','rb').read()).hexdigest()[:16])" +``` + +Those two must match. Rebuild and redeploy only when code changes (anything outside +`librechat.yaml`) or when the config schema/startup script changes. + +History that caused confusion: `master` and `main` had diverged (master carried the +regolo models plus a spec-level "web search ON" commit; main carried the de-force and +voice-chat fix), and production was an uncommitted working-tree edit. Consolidated on +2026-11-18: `main` alone, master deleted, deployed config committed. Image tag +`20261111-179fd7c` is intentionally behind `main` — every commit since is config-only.