chore(memory): BDR-111 trial app on the LAN address during dev

This commit is contained in:
bchanot committed 2026-11-11 22:10:18 +01:00
1 parent 6ceced5c06
commit 0573d66864
1 file changed
+7
+7
View File
@@ -903,3 +903,10 @@ impeccable detect 4.1.0 offline from cache (owner run + rerun after fixes): 2 ob
## BDR-110 — R0 graphically validated: boards 23-30 reference for R1-R4 after closing counter-check CONFORME (2026-11-09)
- **Status**: accepted
Owner brief « R0 — Autorisation des trois dernières corrections graphiques » 2026-11-09. Applied: 28 inherited A7 fallback note + REVUE « Repli A7 » row removed, final rule = no reliable last-modified date and no date sort before SQL checkpoint, real date + sort after it is validated and applied; 26 A6 note complete (row if exists else drawing, focus never reselects, announcement « Aucune annotation sélectionnée. » / "No annotation selected."); 24 A uncited reference cr-l243-3 open with Supprimer (existing confirmation), cited = hint only. 25/27/30 byte-identical since 45f1cce (heights compensated, disclosed). impeccable 4.1.0 offline third run: same 2 observations kept. Fresh closing counter-check CONFORME (10/10 items, 9/9 render hashes, scope incl. SQL checkpoint doc via BDR-109 clarification). R0 GRAPHICALLY VALIDATED: boards 23-30 = reference for R1-R4. Review archive ~/faunosteo-v1-2-6-r0-maquettes.zip rebuilt. Next: R1-R4 each need own owner go; SQL migration needs own go.
## BDR-111 — Trial app served on LAN 192.168.1.100:5194 during dev (owner connects via LAN) (2026-11-11)
**Decision** (owner 2026-11-11, verbatim: « il faut relancer le serveur sur --host on va se connecter systematiquement sur 192.168.1.100 pendant le dev »): during dev the owner always connects through the LAN address 192.168.1.100. Trial app = `pnpm db:trial app` with default host (FAUNOSTEO_DEV_HOST = 192.168.1.100) → Vite binds 192.168.1.100:5194 only (never 0.0.0.0), Host allowlist keeps other names out (403). Never start it on 127.0.0.1 by default.
**Supersedes** the 127.0.0.1:5194 / « ne pas ouvrir l'application sur le LAN » line of the owner brief « DB TRIAL — Checkpoint sécurité et autorisation des comptes » (same day).
**Why coherent**: trial GoTrue SITE_URL / API_EXTERNAL_URL / redirect allowlist already = http://192.168.1.100:5194 (set at create and rotation from trial_host); a 127.0.0.1 app origin mismatches GoTrue links.
**Trade-off**: app proxies signed-in sessions to the trial gateway; reachable by every device of the private network. Firewall not changed (ENVIRONMENTS.md §3 owner action). Playwright LAN tests still gated by arbitration 2 (environment check before any LAN test): this decision covers manual use of the app only.
**Apply**: every later trial session starts the app on 192.168.1.100 unless owner says otherwise; same for `pnpm dev` (already LAN by scripts/dev-env.sh).