diff --git a/.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md b/.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md index a05aed48..8233c36a 100644 --- a/.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md +++ b/.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md @@ -396,6 +396,6 @@ checked across develop, main, feature/v1-1, feature/v1-2: next free were BDR-099 C11, C13, C16, C17 reuse); apps/app/vite/trial.config.ts, scripts/db-sandbox.sh, docs/development/SUPABASE.md (plan choice 7, C25); supabase/tests/023_sheet_draft_last_save.sql (M8 pgTAP); packages/supabase/tests/sandbox/** and apps/app/e2e/playwright.shell.config.ts (C20, C22); [amended 2026-11-04 after the owner's approval of a09e24d] apps/app/e2e/playwright.lan.config.ts and - apps/app/e2e/lan/** (C47: the LAN trial check) + apps/app/e2e/lan/** (C47: the LAN trial check); apps/app/tests/helpers/** (the unit tests' editor harness, C20) - NOT in scope: crates/**, supabase/migrations/** (except a read migration if the owner chooses it), supabase/seed/**, legacy sources, goldens, oracles diff --git a/.claude/tasks/plans/2026-11-04-v1-2-6-checkpoint.md b/.claude/tasks/plans/2026-11-04-v1-2-6-checkpoint.md index 978122fe..d605814f 100644 --- a/.claude/tasks/plans/2026-11-04-v1-2-6-checkpoint.md +++ b/.claude/tasks/plans/2026-11-04-v1-2-6-checkpoint.md @@ -34,6 +34,12 @@ The owner has not tried the editor: V1-2.6 is NOT declared functionally validate Probed on the running trial: `Host: 192.168.1.100:5193` → 200; `10.0.0.1:5193`, `127.0.0.1:5193`, `localhost:5193`, `a.localhost`, `evil.example` → 403, also on the proxied `/auth/v1/health`; the LAN Playwright journey passed again; then stopped, `down`, 0 containers, 0 listeners, password deleted. +- Then (fourth fresh verifier and auditor: OPTIONS pre-flights answered by Vite's CORS before any host check, and + the hot-reload WebSocket upgrade bypassing the middlewares): the trial sets `cors: false` and `ws: false` and + closes `/__open-in-editor`. Probed: OPTIONS with Host localhost or 10.0.0.1 → 403 (trial host → 404, no CORS); + WebSocket upgrade → refused for every Host; `/__open-in-editor` and `/__OPEN-IN-EDITOR` → 404; no + `Access-Control-Allow-Origin`; /login 200; the LAN journey passed again; stopped, `down`, 0 containers, + 0 listeners, password deleted. Security of the host-filter commit (`fb95255..671a1bd`): PASS. ## Audits and reviews - Security (fresh auditor): full range `2571978..25bdac4` PASS (0 blocking); scoped `25bdac4..fb95255` PASS: worktree