# 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 2` exits 0 and produces `target/release/nacre` (~144 MB); `--help`/`--version` run 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 1. `nice cargo build --release -j 2` (first build takes hours: Servo, SpiderMonkey, WebRender). 2. Fix compile errors. 3. Run `cargo test` separately (unit tests in util, settings, history, bookmarks, permissions, vault, dns, bridge (loopback only), download, adblock, keys, scripts, updates, inject, hub, theme). 4. Smoke test offscreen (see the user's CLAUDE.md): page renders, tabs switch, settings open. 5. 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-12, 02:40) For the next `/orchestrate` run. Read this before picking the "first unchecked plan" from INDEX. - **Run order is D-007, not INDEX order**: after S005 the redesign S015–S021 runs, then S006–S014. So the next plan is **S021** (phase 4 review with the user), not S006. - **Done and validated**: S001–S005, S015–S020 (all pushed; tracker matches). - **Before S021**, two chrome follow-ups from the user (`docs/review/phase1.md`): - R1-09 wavy loading address bar: built and pushed (`87299d3`), **not yet validated** by the orchestrator (run `SMOKE_VISIBLE=1 tools/smoke.sh tests/smoke/chrome.txt` + `launch.txt`, look at the loading/hover shots, check R1-09 is marked fixed). - R1-10 cookie loading spinner on tabs: **not started**. Reference: `draw_spinner` in `~/Documents/Apps/Nacre/nacre/widgets.py` (read only). Commit as `S016: R1-10 …`. The earlier S016 session (local_9c7f3aab-b727-4b7e-a29e-fbe955c78c74) has the chrome context; a new session can do R1-10 from the note above too. - New user reports R1-11 (colours can't be changed after the welcome setup: look at it before S021, it's high), R1-12 YouTube, R1-13 DuckDuckGo dark-mode icon colours, R1-14 site-compat doctor pass (user agent, JS). The last three go to S006/S007. R1-19 (encrypted cookies) joins R1-16; R1-20 (per-site settings and permissions persist and work) goes to S008. - Also before S021 (chrome follow-up, use the `app-taste` + `unslop` skills): R1-15 shield flyout with Ad blocker / Privacy / VPN sections, R1-17 QR flyout sizing, R1-18 polish every flyout like the old ones, R1-21 jittery controls on nacre:// pages (see the recording it names). R1-16 (real privacy mode, Cover Your Tracks) goes to S007 or its own plan: ask the user. - **Then S021**, then S006 (also takes R1-03 YouTube, R1-04 captchas/caching), S007, S008–S014. R1-07 (ad-block removal animation) goes to S012. - Sessions prepared by the old orchestrator (S006 local_c0bdda8a-…, S007 local_f85ecbe7-…, S021 local_64df2b49-…) are not in the new orchestrator's linked list; reuse them by id or start fresh ones. - The user watches tests: run smoke scripts with `SMOKE_VISIBLE=1` (D-009). ## Orchestrator resume (2026-11-12, overnight run) - Done and validated this run: R1-09/10/11/15/17/18/21 follow-ups, S021 (R4 items in docs/review/phase4.md). S006 part 1 pushed (3f213cc..076cdaa); part 2 runs in local_faf65910-a6db-475e-9a8a-05cdf1877ea1. - New plans (D-013): S022 MSE spike (after S006), S023–S025 privacy (after S009, before S010). - Run order: S006 → S022 → S007 → S008 → S009 → S023 → S024 → S025 → S010 (🧑) → S011–S014. - Prepared sessions waiting for GO: S022 local_7fddd5dd-8b34-47ac-b474-4713876cdb9a, S007 local_93ad1a64-cb4d-4485-9464-4e0a87e6a1db, S008 local_fe1e00f2-f8d4-4fa3-aa67-8ab89c772961, S009 local_28f452cc-e97e-478d-9fa4-9342c0dfa28b (has a parked R4-09 patch in its scratchpad), S023 local_dad7e906-ae79-496f-ac34-c698ec060ed9, S024 local_0abe76a6-d58e-4d83-9904-a4e451ceb829, S025 local_e5b39177-9b18-4b7a-862d-3f75791478d8; spare for a context-limit takeover: local_373e46d7-2d38-4d5a-94c4-855dae433f88. - User rules from this run: caveman chat (code/docs full quality); orchestrator makes the recommended calls alone overnight; fix gaps inside the engine (vendored Servo crates), no yt-dlp-style workarounds. Smoke tap/drag scripts need hidden SMOKE_SIZE runs (the visible window is ~772 px wide). - Update: S006, S007, S022 done and validated. D-015 MSE go (option A), plans S026–S030. S008 running (local_fe1e00f2-…). S026 runs in parallel in worktree ~/Projects/Nacre-s022 (branch s022-mse-proto, own target/) on the former spare local_373e46d7-2d38-4d5a-94c4-855dae433f88. S027–S030 have no session yet: reuse an idle finished session (r1-11 local_48b023e1-…, r1-10 local_3487b672-…, r1-flyouts local_fbdfe092-…, r1-21 local_4d846ded-…, s021 local_3e6a6b37-…, s022 local_7fddd5dd-…) by message, or start fresh ones when the user is back. - Update (after the usage-limit reset): S008, S026 done and validated (site-memory restart smoke p1/p2 pass; mse.txt split A/V plays on branch s022-mse-proto). S009 running on main (local_28f452cc-…). S027 running in the worktree (local_c15ace99-33b1-45b0-8fb6-bfb77cca68ce). Waiting for GO: S028 local_c57574e1-48d8-40b4-9a0c-386b7079f666, S029 local_b1da3720-150b-45f9-8689-684e25ef97af, S030 local_dea5e96f-16c8-4e0a-a13d-5105f2fa5c98, S023/S024/S025 (ids above). Spares: spare-a local_373e46d7-… (did S026), spare-b local_4fb2df64-5994-4b0d-a834-cff2859cf94b. Order: S009 ∥ S027 → S028 (merges the branch to main) → S029 → S030 → S023 → S024 → S025 → S010 (🧑). ## Orchestrator resume (2026-11-12 evening) — start a NEW orchestrator session The old orchestrator session's context is full. Next session: run `/plan-generate` for category `07 Polish pass` from `docs/review/phase5.md` (R5-01 crash first, then performance, SVG, spelling, flyouts, custom download manager, DevTools window, animations, little-things sweep, site passes), then `/orchestrate`. - State: S001–S009, S015–S024, S026 done. S025 (encrypted cookies) in progress on main, uncommitted work in the tree (session local_e5b39177-9b18-4b7a-862d-3f75791478d8). S027 being finished by spare-b local_4fb2df64-5994-4b0d-a834-cff2859cf94b in worktree ~/Projects/Nacre-s022 (branch s022-mse-proto, own target/). - Waiting for GO: S028 local_c57574e1-48d8-40b4-9a0c-386b7079f666 (merges the MSE branch to main), S029 local_b1da3720-150b-45f9-8689-684e25ef97af, S030 local_dea5e96f-16c8-4e0a-a13d-5105f2fa5c98. Spare: local_373e46d7-2d38-4d5a-94c4-855dae433f88. - Then: S010 phase 2 review (🧑), 03 Gaps S011–S014 (never started), 07 Polish pass. - Validation habit: rerun each plan's own smoke (start its local server first: tests/smoke/net/server.py or `python3 -m http.server 8768 --directory tests/smoke/pages`); tap/drag scripts need hidden SMOKE_SIZE runs.