3.8 KiB
Handoff: where the from-scratch Nacre stands
Read docs/DESIGN.md first (rules, layout, the Servo 0.7 API cheat sheet), then docs/FEATURES.md (every feature
and where it lives) and docs/REVIEW.md (known gaps and things to check at the first build).
User rules: Servo engine, all Rust, plain UI for now, nothing from the original dropped (gamepad and Web Bluetooth
stay in), no builds until the code was reviewed. Build with nice cargo build --release -j 2, never together with
the test suite.
State (2026-11-11)
- All modules written (~19k lines): storage, networking (bridge proxy for VPN/secure DNS, Tor, downloads, download
managers), ad blocker, Discord, media, spell check, importer, updates, keys, Servo glue (
hub.rs,window.rs,app.rs,actions.rs) and the plain egui UI (chrome, menus, dialogs, every nacre:// page). - Review passes done without compiling: API signatures checked against the crate sources in ~/.cargo/registry, names cross-checked between modules (commands, UI state, shared fields, crate:: paths), every setting checked to be read by the code. Bugs found and fixed are in git history.
- Compiles (S001, 2026-11-11):
nice cargo build --release -j 2exits 0 and producestarget/release/nacre(~144 MB);--help/--versionrun headless. Only five errors at the first build (two missing imports, three borrow errors), fixed in place. 66 warnings left: egui 0.37 deprecations and dead code. Not run with a window yet, unit tests not run yet.
First build checklist
nice cargo build --release -j 2(first build takes hours: Servo, SpiderMonkey, WebRender).- Fix compile errors.
- Run
cargo testseparately (unit tests in util, settings, history, bookmarks, permissions, vault, dns, bridge (loopback only), download, adblock, keys, scripts, updates, inject, hub, theme). - Smoke test offscreen (see the user's CLAUDE.md): page renders, tabs switch, settings open.
- Go through docs/REVIEW.md, especially "several painters on one GL context".
Not included (candidates after the first build)
Reader mode, translate, split view (the per-tab painters make it possible), MPRIS media keys, real gamepad rumble.
Orchestrator resume (2026-11-13) — engine switch to WebKit
Goal: Nacre runs sites about as well as Chromium for the user's daily use (Linux), lighter on RAM, good looking (Material You, Damson as style reference). D-032: Servo is dropped for a tuned WebKit; Widevine later.
- Done on Servo (kept in git history): S001–S009, S015–S028, S031. MSE merged (S028), crash fixed (S031).
- Engine test:
docs/engine/engine-comparison.md(Servo/WebKit/Chromium, 10 sites) anddocs/engine/tune/(WebKit knobs: page cache off → 2.4 GB, memory limit 500 MB → 2.5 GB, cache model DOCUMENT_VIEWER → VRAM 873 MB vs 1566, hardware acceleration off → VRAM 57 MB; related views didn't help; gsk-gl run partial). Tools:tools/engine-test/. - Installed:
webkitgtk-6.02.54.2.wpewebkit2.54.2 is in extra (not installed) — the spike decides GTK vs WPE. - Old sessions all archived; worktree ~/Projects/Nacre-s022 removed (branch merged). The engine-test session may still show in the sidebar (archive it there).
- Plans: Servo-only plans struck in INDEX (D-032). Engine-independent plans stay: S010, S012–S014, S034–S036, S039–S043 (UI work after the switch).
- Next three steps: (1) the WebKit spike session decides the embedding (WPE exporting frames into egui's GL vs a GTK4
host for egui) and writes plans
08 WebKit engine(spike result, glue, Servo removal, tuning defaults, site passes, Widevine later); (2) orchestrate those plans one cargo user at a time; (3) then the UI block (S035, S039, S043). - Rules in force: D-030/D-031 (compare shots with the reference browser), D-029 (fresh linked sessions from the current orchestrator), user watches visible runs (D-009), caveman chat.