Nacre/docs/DECISIONS.md
astar76 b8d31ffbb4 orchestrator: plans S022 MSE spike, S023-S025 privacy (D-013)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:21:50 -06:00

5.5 KiB

Decisions

D-NNN — date — decision — why — plans affected. Never rewrite an entry; supersede it with a new one.

  • D-001 — 2026-11-11 — Plans cover phases 1–4 (first build, verify, gaps, UI redesign); packaging and release get planned when the user asks for a release. — The user chose it; release targets depend on how the build turns out. — all
  • D-002 — 2026-11-11 — Of the phase-3 candidates only MPRIS media keys is planned; reader mode, split view, translate and gamepad rumble go to PROGRESS "Later". — User's choice. — S013
  • D-003 — 2026-11-11 — The user reviews at the end of every phase in a separate 🧑 plan (S004, S010, S014, S021); review findings go to docs/review/phaseN.md as numbered items with [open]/[fixed <commit>]/[wontfix: reason] tags. — Keeps agent plans from blocking on the user. — S004, S010, S012, S014, S021
  • D-004 — 2026-11-11 — The redesign keeps egui (custom painting) and bundles the Outfit font (OFL) from Google Fonts; agents may download it. — Answers UI-BRIEF's open questions. — S015–S020
  • D-005 — 2026-11-11 — The hidden display for smoke runs is Xvfb (X11, xorg-server-xvfb), started by tools/smoke.sh. — No kwin_wayland/weston here; a nested niri shows on the user's screen and stops drawing while hidden; the orchestrator chose Xvfb. — S003 and every Verify plan
  • D-006 — 2026-11-11 — egui's epaint is vendored (vendor/epaint, 0.37.0 + a patch rendering glyphs single-threaded) via [patch.crates-io]. — Servo's canvas enables vello_cpu/multithreading, which makes stock epaint 0.37.0 panic on every glyph; no fixed release exists. — any plan that upgrades egui: drop the patch once epaint fixes it, keep theme::tests::egui_draws_text
  • D-007 — 2026-11-11 — Run order changed: after S005 the UI redesign (S015–S021) runs next, then the rest of Verify and Gaps (S006–S014). S015's dependency on S014 is replaced by S005. Phase 1 review items R1-01 (icons), R1-02 (clock), R1-05 and R1-06 (old-Nacre feel, animations, "unslop" look) are redesign input; R1-03 (YouTube) and R1-04 (captchas, caching) go to S006/S007. — The user chose it after the phase 1 review. — S006–S021
  • D-008 — 2026-11-11 — One painter per window, shared by all its tabs (not one per tab). Picture-in-picture reloads the page in a dedicated web view and seeks the video (page state is lost). — Per-tab painters cost ~56 MB + 6 threads each (15 tabs: 1128 MB vs 341 MB) with equal frame time; the 4 GB target PC. The user chose it (option B in S005). — S005, any plan touching painters or PiP
  • D-009 — 2026-11-11 — Material You colours come from the material-colors crate pinned at =0.4.2 (MCU port: HCT, tonal palettes, all scheme variants), not an own port. Icons are Material Symbols Outlined, cut to the names in tools/icons.txt by tools/icons.py (55 KB, FILL and wght axes kept). — 0.5.0 needs Rust 1.97 and the project allows 1.88; the crate matches MCU's reference colours (theme tests). The user's old Nacre used Material Symbols too. — S015–S020: add an icon by editing tools/icons.txt and running the tool
  • D-009 — 2026-11-11 — Smoke runs open visibly on the user's screen (SMOKE_VISIBLE=1 tools/smoke.sh …, niri monitor DP-1, real GPU) while the user wants to watch; hidden Xvfb (D-005) stays the default and the fallback when no Wayland session is there. Visible runs still use a throwaway home/runtime dir and share only the Wayland socket. — The user asked to see what the sessions test. Bonus: real-GPU coverage. Shots are narrower (niri tiling), so don't compare pixel sizes with Xvfb shots. — every plan that runs smoke scripts
  • D-010 — 2026-11-11 — egui's delayed repaints are honoured (repaint observer → BrowserWindow::redraw_at → about_to_wait) instead of every request redrawing at once; animations that want frames ask with request_repaint (every frame) or request_repaint_after (paced). The new tab page's settings sub-page is no longer linked from General; Customize on the page replaces it (the sub-page stays for editing shortcuts, opened by "Add shortcut"). — The NTP clock alone kept the window at the display rate; the user's reference has Customize on the page. — S019–S021 and anything that animates
  • D-011 — 2026-11-12 — Privacy mode (R1-16: anti-fingerprinting, strict cookies, tracker blocking, Cover Your Tracks check, auto-on in incognito) and cookie theft protection (R1-19: Nacre-held cookies encrypted at rest with an OS-keyring key) get their own privacy plan, generated after S021 with /plan-generate; not part of S007. — The user chose it; both are large and touch hub, inject and store. — S007, the new privacy plan
  • D-012 — 2026-11-12 — servo-net is vendored (vendor/servo-net, 0.7.0 + http2_max_header_list_size(256 KiB) in connector.rs create_http_client) via [patch.crates-io]. — hyper's 16 KiB HTTP/2 default rejects YouTube's ~19 KiB response headers; Servo can't configure it from the embedder. — any plan that upgrades Servo: drop the patch when servo-net sets the limit, re-run tests/smoke/heavy-web.txt
  • D-013 — 2026-11-12 — New plans: S022 MSE spike (05 Engine) runs right after S006; privacy plans S023 (request headers + third-party cookies in the vendored servo-net), S024 (privacy mode, R1-16), S025 (encrypted cookies, R1-19) run after S009, before the S010 review. — The user wants real YouTube playback in the page (no yt-dlp workaround) and asked whether missing Servo features can be added from reference engines; the spike sizes MSE before committing weeks to it. — S006–S025 run order