orchestrator: R1-19 encrypted cookie storage and own layers for engine limits (user)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-12 00:52:16 -06:00
commit 740bbdd419

View file

@ -45,3 +45,4 @@ State tags: `[open]`, `[fixed <commit>]`, `[wontfix: reason]`. Severity: high /
- R1-16 [open] Privacy mode must be genuinely useful: anti-fingerprinting (spoof/normalise hardware: canvas, WebGL, audio, screen, hardwareConcurrency, deviceMemory, fonts, timezone/language consistency), strict cookie handling, tracker blocking, verified with EFF's Cover Your Tracks (coveryourtracks.eff.org); auto-enabled in incognito windows. Servo engine limits (no third-party cookie blocking, no request headers, DESIGN.md) are shown as limits, JS-level spoofing via inject.rs where possible. Severity: high. (user) → S007 or a dedicated privacy plan.
- R1-17 [open] QR flyout looks broken: the code sits at the top of a tall, empty panel (`docs/ui-reference/bug-qr-flyout.png`). Size the panel to its content. Severity: medium. (user) → chrome follow-up.
- R1-18 [open] Flyouts must be friendly and polished like the old browser's passwords, downloads and history flyouts the user likes (`docs/ui-reference/old-flyout-*.png`: title + action icons, sections with accent labels, rows with icon/title/subtitle/time, search pill, clear empty states). Review every flyout and page with the `app-taste` and `unslop` skills; "everything should be user friendly". Severity: medium. (user) → chrome follow-up + S021 review.
- R1-19 [open] Protect cookies against theft (infostealers copying the profile to hijack sessions). Idea to verify: Servo's `Opts.config_dir` persists cookies as plain files, and `site_data_manager()` has `cookies_for_url` / `set_cookie_for_url` / `clear_cookies` (DESIGN.md). So Nacre could run Servo with temporary storage and keep cookies itself, encrypted at rest with a key held in the OS keyring (Secret Service/KWallet on Linux, DPAPI on Windows), restoring them at start; plus "clear cookies on close" (setting exists) and, in privacy mode, best-effort removal of third-party cookies through the site data manager. General rule from the user: where Servo can't do something properly, Nacre may add its own layer (inject.rs scripts, site data manager, bridge) instead of only showing an engine limit; record each in DESIGN.md. Severity: high. (user) → with R1-16 (privacy plan).