Nacre/docs/HANDOFF.md
astar76 80365abdea orchestrator: R1-21 jittery controls on nacre:// pages (user recording)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 01:02:56 -06:00

4.3 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 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).