chore(memory): BDR-076, LRN-082, EVAL-038, V1-1.3 journal, TODO, gate contract

This commit is contained in:
bchanot committed 2026-10-25 23:47:49 +01:00
1 parent d401cc824f
commit 0826ecf383
6 files changed
+93 -2

No files matched your search

+5
View File
@@ -584,3 +584,8 @@ Apply: `scripts/db-sandbox.sh` (`pnpm db:sandbox`) for every migration step; DEV
CLI 2.120 against the sandbox PostgreSQL (127.0.0.1:57432, image 17.11.0.004, no TLS configured): without the option → `DbConnectError … tls error (The server does not support SSL connections)` and the error JSON lands on stdout (piping it to prettier gives a confusing syntax error). With `?sslmode=disable` the output matched the committed `database.types.ts` byte for byte for the pre-existing schema (same generator as `--local`). Same URL works for `migration up`, `test db`. Not checked: other CLI versions, TLS-enabled targets (keep TLS there).
Apply: any `--db-url` to a local non-TLS Postgres; never pipe generator output without checking the exit code.
## LRN-082 | 2026-10-25 | Native modal `<dialog>` in Chromium: three traps, one test blind spot
Shown on Chromium 156 (Playwright 1.64.1): (1) Escape cancelled only via `cancel` event → second Escape without user activation closes anyway (close-watcher anti-abuse); `preventDefault` on keydown Escape stops the close request entirely. (2) Initial focus = scrollable panel when content long, first button otherwise → focus first tabbable explicitly. (3) Tab past last control → `document.hasFocus()` false one step (browser UI), then back to first; page never reached. happy-dom: showModal only sets `open` (no inert, no focus) → unit tests prove wiring only. Exit animation (motion, 180 ms) masked async focus loss: a fast sandbox RPC settled before unmount, test green with defect → slow the RPC via `page.route` + `route.fallback()` to discriminate. axe color-contrast false positives while entrance animation runs → wait `document.getAnimations()` settled.
Apply: any modal or async confirmation test; mutation-check browser tests.