orchestrator: S056 closed (user accepted the freeze as a one-off), S057 small UI bugs, compact INDEX, handoff for the next run
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
efe381575d
commit
5dbdf93d42
8 changed files with 122 additions and 141 deletions
|
|
@ -11,12 +11,12 @@ WebKit engine, user-visible texts say WebKit. MSE test pages are kept as plain M
|
|||
- `docs/engine/servo-removal.md` §2, §4, §5, §3.12 (texts); CLAUDE.md §2, §4, §5.
|
||||
|
||||
## Steps
|
||||
- [ ] Delete `vendor/servo-*`, `vendor/gst-mse` (keep `docs/engine/gst-mse-patches.md`), `src/resources.rs`, `assets/servo/`; remove `vendor/epaint` + its patch, rebuild, check egui text (gallery smoke shot).
|
||||
- [ ] Delete `tools/gst-mse.sh`, `tests/gst-mse/`, `mse-off.txt`, `mse-leak-check.sh`, `painters*.txt`; port `mse.txt`/`mse-player.txt`/`youtube-mse.txt` without leak/log checks; keep `crash-adblock.txt` as a blocking stress test; update `privacy-net.txt` header.
|
||||
- [ ] Docs: DESIGN.md WebKit cheat sheet replaces the Servo one; Engine limits rewritten; Servo patch sections removed; REVIEW.md Servo items removed; FEATURES.md states reset to "re-verify on WebKit" where they were verified on Servo; remove `docs/S027-handoff.md`, `docs/engine/mse-spike.md`; `privacy-mode.md` Servo part marked historical.
|
||||
- [ ] CLAUDE.md §2 facts (WebKit, GTK host, no Servo), §4 pitfalls (no clang/SpiderMonkey/hours-long builds; nested niri), §5 tools; PLAN.md goal/out-of-scope (printing, private mode, 3rd-party cookies now possible; Widevine later).
|
||||
- [ ] User-visible texts (settings About/engine row, misc pages, task manager) say WebKitGTK + version.
|
||||
- [ ] Remove `spikes/webkit-egui/` (its harness lives in tools/ since S046); keep `docs/engine/webkit-spike.md`.
|
||||
- [x] Delete `vendor/servo-*`, `vendor/gst-mse` (keep `docs/engine/gst-mse-patches.md`), `src/resources.rs`, `assets/servo/`; remove `vendor/epaint` + its patch, rebuild, check egui text (gallery smoke shot).
|
||||
- [x] Delete `tools/gst-mse.sh`, `tests/gst-mse/`, `mse-off.txt`, `mse-leak-check.sh`, `painters*.txt`; port `mse.txt`/`mse-player.txt`/`youtube-mse.txt` without leak/log checks; keep `crash-adblock.txt` as a blocking stress test; update `privacy-net.txt` header.
|
||||
- [x] Docs: DESIGN.md WebKit cheat sheet replaces the Servo one; Engine limits rewritten; Servo patch sections removed; REVIEW.md Servo items removed; FEATURES.md states reset to "re-verify on WebKit" where they were verified on Servo; remove `docs/S027-handoff.md`, `docs/engine/mse-spike.md`; `privacy-mode.md` Servo part marked historical.
|
||||
- [x] CLAUDE.md §2 facts (WebKit, GTK host, no Servo), §4 pitfalls (no clang/SpiderMonkey/hours-long builds; nested niri), §5 tools; PLAN.md goal/out-of-scope (printing, private mode, 3rd-party cookies now possible; Widevine later).
|
||||
- [x] User-visible texts (settings About/engine row, misc pages, task manager) say WebKitGTK + version.
|
||||
- [x] Remove `spikes/webkit-egui/` (its harness lives in tools/ since S046); keep `docs/engine/webkit-spike.md`.
|
||||
- [ ] `nice cargo build --release -j 2`, `cargo test`, smokes launch/basics/input/chrome/gallery/mse green hidden.
|
||||
- [ ] PROGRESS entry, INDEX line, tracker, commit `S053: …`, push.
|
||||
|
||||
|
|
@ -29,3 +29,7 @@ WebKit engine, user-visible texts say WebKit. MSE test pages are kept as plain M
|
|||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
Final file list removed; any doc left with Servo wording on purpose.
|
||||
|
||||
|
||||
## Resume (2026-11-14, orchestrator)
|
||||
Boxes 1–6 done in 38fd033 (deletions), 3664431 (texts), efe3815 (docs, CLAUDE.md) — ticked by the orchestrator from the commits; the session stopped at the usage limit before verifying. Resume at box 7: build, `cargo test`, smokes; fix anything the deletions broke, then close out.
|
||||
|
|
|
|||
|
|
@ -32,14 +32,14 @@ User's report (screenshots in the orchestrator session):
|
|||
- `src/egui_area.rs` (frame clock, render, input), `src/actions.rs` `enter_pip`/`exit_pip`/`eval_pip`, `src/keys.rs`.
|
||||
|
||||
## Steps
|
||||
- [ ] Freeze: reproduce (visible: play a video, PiP, focus another window ~1 min, come back; also hidden: unmap/map, occlusion) with logs of the egui render/idle pump and frame clock; fix the cause; regression smoke if reproducible hidden.
|
||||
- [x] Freeze (not reproduced on the new PiP code; stall watchdog + pip-return smoke added; user accepted it as a one-off, 2026-11-14): reproduce (visible: play a video, PiP, focus another window ~1 min, come back; also hidden: unmap/map, occlusion) with logs of the egui render/idle pump and frame clock; fix the cause; regression smoke if reproducible hidden.
|
||||
- [x] Side buttons 8/9 → back/forward over web views and chrome; audit every binding from keys.rs and the Servo-era mouse handling against WebKit views; list results in PROGRESS.
|
||||
- [x] Real PiP: video only, aspect-ratio window, remembered size/position, floating on niri without user config (parent or equivalent), own app-id; return restores the page state without reload.
|
||||
- [x] PiP controls restyled to the Material tokens/widgets, hover-shown; dark and light shots read.
|
||||
- [x] Context menu: site-handled `contextmenu` shows only the site's menu; Nacre's otherwise. Smoke page with both cases.
|
||||
- [x] Spelling underline position/clip in egui text fields fixed; shot read.
|
||||
- [x] Visible run on DP-1 of all the above (shots read), hidden smokes green (launch, basics, input, keys, pip).
|
||||
- [ ] PROGRESS entry, INDEX line, tracker, commit `S056: …`, push.
|
||||
- [x] PROGRESS entry, INDEX line, tracker, commit `S056: …`, push.
|
||||
|
||||
## End criteria
|
||||
- Each fix shown by a shot or a smoke; the freeze scenario survives 3 visible repeats.
|
||||
|
|
|
|||
32
Plans/08 WebKit engine/S057-small-ui-bugs.md
Normal file
32
Plans/08 WebKit engine/S057-small-ui-bugs.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# S057 — Small UI bugs from daily use
|
||||
|
||||
> Category 08 WebKit engine · Model: Sonnet · Effort: high · Depends on: S053 · Size: S · Human: no · **cargo** (main target/)
|
||||
> Files touched: src/ui/pages/customize.rs, src/ui/ (scroll areas over the page), src/egui_area.rs (wheel routing), src/ui/widgets.rs (colour picker), src/app.rs (quit), tests/smoke/*
|
||||
|
||||
## Goal
|
||||
Bugs the user and S048/S056 found that are small but visible every day.
|
||||
1. **Customize panel doesn't scroll** (user, 2026-11-14, screenshot: new tab → Customize side sheet, the list runs
|
||||
past the bottom; the mouse wheel over the sheet scrolls the page behind it). The wheel over any egui surface
|
||||
that floats over the page (Customize sheet, flyouts, dialogs, menus) must go to egui, not WebKit: check
|
||||
`egui_area` `contains()`/pick for Areas over the page rect and the sheet's `ScrollArea`.
|
||||
2. egui colour picker shows broken glyph chips (missing emoji in Nacre's fonts, S048 Later).
|
||||
3. Closing a window / quitting doesn't run the page's beforeunload ("Leave site?") (S048 Later).
|
||||
|
||||
## Read
|
||||
- `src/egui_area.rs` (contains/pick, scroll events), `src/ui/pages/customize.rs`, the S048 and S056 PROGRESS entries.
|
||||
|
||||
## Steps
|
||||
- [ ] Wheel over floating egui surfaces scrolls them, never the page; Customize sheet scrolls to its last row; regression smoke (wheel over the sheet, assert scroll offset; page scroll unchanged).
|
||||
- [ ] Colour picker chips render (font fallback or no emoji).
|
||||
- [ ] beforeunload on window close / quit through Nacre's dialog; smoke with a page that sets it.
|
||||
- [ ] Hidden smokes launch, basics, input, chrome, newtab green; shots read.
|
||||
- [ ] PROGRESS entry, INDEX line, tracker, commit `S057: …`, push.
|
||||
|
||||
## End criteria
|
||||
- The new smokes and the listed ones exit 0 hidden.
|
||||
|
||||
## Pitfalls
|
||||
- Never connect to Tor or proxies in tests.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
Which surfaces now take the wheel.
|
||||
|
|
@ -1,79 +1,34 @@
|
|||
# Plans — index
|
||||
|
||||
One session = one plan. Plans live in category folders `Plans/<NN Category>/SNNN-slug.md`; one `##` heading per folder below. Start: `Read CLAUDE.md then execute Plans/<NN Category>/SNNN-xxx.md (only that one).` — or let the orchestrator run them (`/orchestrate` in a new session). Sessions tick their line here, without commentary. 🧑 = needs the user.
|
||||
One session = one plan: `Plans/<NN Category>/SNNN-slug.md`. Sessions tick their line here, without commentary. 🧑 = needs the user. Run them in the order listed (`/orchestrate`).
|
||||
|
||||
Tracker: https://claude.ai/artifact/9AD7fPfwJ4ASFzVTJGKU4h
|
||||
|
||||
Engine switch to WebKit (D-032): new category `08 WebKit engine` comes first; Servo-only plans are struck out.
|
||||
Done (details in git, PROGRESS, DECISIONS): 01 First build S001–S004 · 02 Verify S005–S009 · 04 UI redesign S015–S021 · 05 Engine S022, S026–S028 · 06 Privacy S023–S025 · 07 S031 · 08 S044–S050, S056.
|
||||
Dropped with Servo (D-032): S011, S029, S030, S032, S033, S037, S038.
|
||||
|
||||
## 08 WebKit engine
|
||||
- [x] [S044 — Engine seam: pure logic out of the Servo files](08%20WebKit%20engine/S044-engine-seam.md) · Opus medium
|
||||
- [x] [S045 — GTK 4 host with the egui overlay; WebKitGTK views; Servo out of the build](08%20WebKit%20engine/S045-gtk-host.md) · Opus high
|
||||
- [x] [S046 — Smoke harness and selftest on the GTK host (hidden nested niri)](08%20WebKit%20engine/S046-smoke-harness.md) · Opus medium
|
||||
- [x] [S047 — Page scripts, page messages, find and JS on WebKit](08%20WebKit%20engine/S047-page-channel.md) · Opus medium
|
||||
- [x] [S048 — WebKit UI callbacks: pop-ups, dialogs, menus, permissions, full screen, inspector, PiP](08%20WebKit%20engine/S048-ui-callbacks.md) · Opus high
|
||||
- [x] [S049 — Ad blocker on WebKit: content filters + web process extension](08%20WebKit%20engine/S049-adblock-webext.md) · Opus high
|
||||
- [x] [S050 — Network bridge, HTTPS-only, certificates, error pages, privacy switches, downloads](08%20WebKit%20engine/S050-net-privacy-downloads.md) · Opus medium
|
||||
- [ ] [S056 — Daily-use fixes from the user's first WebKit test: freeze, side buttons, real PiP, page menu](08%20WebKit%20engine/S056-daily-use-fixes.md) · Opus high
|
||||
## 08 WebKit engine (in this order)
|
||||
- [ ] [S053 — Remove Servo: vendor crates, gst-mse, Servo-only tests/tools, docs and texts](08%20WebKit%20engine/S053-servo-removal.md) · Sonnet high
|
||||
- [ ] [S057 — Small UI bugs: Customize panel scroll, colour picker glyphs, beforeunload on quit](08%20WebKit%20engine/S057-small-ui-bugs.md) · Sonnet high
|
||||
- [ ] [S051 — Profile folder, sealed cookies, site data, incognito, media source](08%20WebKit%20engine/S051-profile-cookies-media.md) · Opus medium
|
||||
- [ ] [S052 — WebKit tuning defaults, background tabs, memory check](08%20WebKit%20engine/S052-tuning-defaults.md) · Sonnet high
|
||||
- [ ] [S054 — Site pass on WebKit vs Chromium reference](08%20WebKit%20engine/S054-site-pass.md) · Opus high
|
||||
- [ ] [S055 — Widevine (later): user-downloaded CDM on first use](08%20WebKit%20engine/S055-widevine.md) · Opus high · 🧑
|
||||
|
||||
## 01 First build
|
||||
- [x] [S001 — Compile to a binary](01%20First%20build/S001-compile.md) · Opus medium
|
||||
- [x] [S002 — Unit tests green](01%20First%20build/S002-unit-tests.md) · Sonnet high
|
||||
- [x] [S003 — First launch and smoke harness](01%20First%20build/S003-first-launch.md) · Opus medium
|
||||
- [x] [S004 — Phase 1 review with the user](01%20First%20build/S004-phase1-review.md) · Sonnet medium · 🧑
|
||||
|
||||
## 02 Verify
|
||||
- [x] [S005 — Per-tab painters on one GL context](02%20Verify/S005-gl-painters.md) · Opus high
|
||||
- [x] [S006 — Browser basics pass](02%20Verify/S006-verify-basics.md) · Opus medium
|
||||
- [x] [S007 — Network pass](02%20Verify/S007-verify-network.md) · Opus medium
|
||||
- [x] [S008 — Stores and pages pass](02%20Verify/S008-verify-stores.md) · Sonnet high
|
||||
- [x] [S009 — Integrations pass](02%20Verify/S009-verify-integrations.md) · Sonnet high
|
||||
## 02 Verify / 03 Gaps (after 08; reviews need the user)
|
||||
- [ ] [S010 — Phase 2 review with the user](02%20Verify/S010-phase2-review.md) · Sonnet medium · 🧑
|
||||
|
||||
## 03 Gaps
|
||||
- [ ] ~~[S011 — Open REVIEW.md items](03%20Gaps/S011-review-items.md) · Opus medium~~ dropped (D-032)
|
||||
- [ ] [S012 — Fixes from the user's reviews](03%20Gaps/S012-review-fixes.md) · Opus medium
|
||||
- [ ] [S013 — MPRIS media keys](03%20Gaps/S013-mpris.md) · Opus medium
|
||||
- [ ] [S013 — MPRIS media keys](03%20Gaps/S013-mpris.md) · Opus medium (S051 decides the media source/MPRIS first; shrink to what's left)
|
||||
- [ ] [S014 — Phase 3 review with the user](03%20Gaps/S014-phase3-review.md) · Sonnet medium · 🧑
|
||||
|
||||
## 04 UI redesign
|
||||
- [x] [S015 — Material You foundation](04%20UI%20redesign/S015-material-foundation.md) · Opus high
|
||||
- [x] [S016 — Chrome and menus redesign](04%20UI%20redesign/S016-ui-chrome.md) · Opus medium
|
||||
- [x] [S017 — New tab page: elements](04%20UI%20redesign/S017-ntp-elements.md) · Opus medium
|
||||
- [x] [S018 — New tab page: backgrounds and Customize](04%20UI%20redesign/S018-ntp-backgrounds.md) · Opus medium
|
||||
- [x] [S019 — Settings pages redesign](04%20UI%20redesign/S019-ui-settings.md) · Opus medium
|
||||
- [x] [S020 — Other pages and dialogs redesign](04%20UI%20redesign/S020-ui-pages.md) · Sonnet high
|
||||
- [x] [S021 — Phase 4 review with the user](04%20UI%20redesign/S021-phase4-review.md) · Sonnet medium · 🧑
|
||||
|
||||
## 05 Engine
|
||||
- [x] [S022 — MediaSource (MSE) spike](05%20Engine/S022-mse-spike.md) · Opus high · 🧑
|
||||
- [x] [S026 — Fix gst_mse for split audio/video MSE](05%20Engine/S026-gst-mse-fixes.md) · Opus high
|
||||
- [x] [S027 — MSE DOM to spec](05%20Engine/S027-mse-dom-spec.md) · Opus high
|
||||
- [x] [S028 — MSE player integration and merge to main](05%20Engine/S028-mse-player.md) · Opus high
|
||||
- [ ] ~~[S029 — YouTube and Reddit video pass](05%20Engine/S029-youtube-reddit-pass.md) · Opus high · 🧑~~ dropped (D-032)
|
||||
- [ ] ~~[S030 — Ship GStreamer with MSE (AppImage and Windows)](05%20Engine/S030-media-packaging.md) · Opus medium~~ dropped (D-032)
|
||||
|
||||
## 06 Privacy
|
||||
- [x] [S023 — Request headers and third-party cookies in servo-net](06%20Privacy/S023-net-headers-cookies.md) · Opus medium
|
||||
- [x] [S024 — Privacy mode that holds up](06%20Privacy/S024-privacy-mode.md) · Opus high
|
||||
- [x] [S025 — Cookies encrypted at rest](06%20Privacy/S025-cookie-encryption.md) · Opus medium
|
||||
|
||||
## 07 Polish pass
|
||||
- [x] [S031 — Fix the SIGSEGV after an ad-blocked script load](07%20Polish%20pass/S031-adblock-crash.md) · Opus high
|
||||
- [ ] ~~[S032 — Page load performance pass](07%20Polish%20pass/S032-load-performance.md) · Opus high~~ dropped (D-032)
|
||||
- [ ] ~~[S033 — SVG and CSS masks render right](07%20Polish%20pass/S033-svg-masks.md) · Opus high~~ dropped (D-032)
|
||||
## 07 Polish pass (UI cleanup and motion)
|
||||
- [ ] [S034 — Spelling underlines, inline autofill, "Settings updated" popup](07%20Polish%20pass/S034-small-fixes.md) · Opus medium
|
||||
- [ ] [S035 — History/passwords/bookmarks flyouts and Nacre's own context menu](07%20Polish%20pass/S035-flyouts-context-menu.md) · Opus medium
|
||||
- [ ] [S036 — Custom download manager endpoint](07%20Polish%20pass/S036-custom-download-manager.md) · Sonnet high
|
||||
- [ ] ~~[S037 — DevTools window: Servo devtools bridge, Elements and picker](07%20Polish%20pass/S037-devtools-window.md) · Opus high~~ dropped (D-032)
|
||||
- [ ] ~~[S038 — DevTools panels: Console, Network, Sources, Storage, Performance](07%20Polish%20pass/S038-devtools-panels.md) · Opus high~~ dropped (D-032)
|
||||
- [ ] [S039 — Motion rules and animations](07%20Polish%20pass/S039-motion.md) · Opus medium
|
||||
- [ ] [S039 — Motion rules and animations](07%20Polish%20pass/S039-motion.md) · Opus medium (+ `docs/ui-motion-audit.md` blocks A–E)
|
||||
- [ ] [S040 — Little things sweep](07%20Polish%20pass/S040-little-things.md) · Opus medium
|
||||
- [ ] [S041 — Site passes](07%20Polish%20pass/S041-site-passes.md) · Opus high · 🧑
|
||||
- [ ] [S042 — Phase 5 review with the user](07%20Polish%20pass/S042-phase5-review.md) · Sonnet medium · 🧑
|
||||
- [ ] [S043 — UI refine pass: from "OK" to fluent](07%20Polish%20pass/S043-ui-refine.md) · Opus medium · 🧑
|
||||
|
||||
## Later
|
||||
- [ ] [S055 — Widevine (later): user-downloaded CDM on first use](08%20WebKit%20engine/S055-widevine.md) · Opus high · 🧑
|
||||
|
|
|
|||
107
docs/HANDOFF.md
107
docs/HANDOFF.md
|
|
@ -1,73 +1,54 @@
|
|||
# Handoff: where the from-scratch Nacre stands
|
||||
# Handoff (2026-11-14)
|
||||
|
||||
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).
|
||||
## Goal
|
||||
Nacre: Rust browser, egui Material You chrome on **WebKitGTK 6.0 in a GTK 4 window** (D-032/D-033), Linux only, as
|
||||
the user's daily browser: sites about as well as Chromium, lighter on RAM, today's look kept, then UI cleanup and
|
||||
motion (D-034). Vision: PLAN.md. Rules: CLAUDE.md (sessions), ORCHESTRATOR.md (orchestrator).
|
||||
|
||||
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.
|
||||
## Phase
|
||||
`08 WebKit engine` nearly done. Servo is out of the build (S045) and out of the repo (S053, unverified build).
|
||||
Next: finish 08 → user reviews and gaps → UI polish and motion. Order = `Plans/INDEX.md`.
|
||||
|
||||
## 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.
|
||||
## Done this run (S044–S050, S056; details in PROGRESS)
|
||||
- S045 GTK host + egui overlay (`src/engine/`, `src/egui_area.rs`); S046 hidden smoke harness (`tools/smoke.sh`,
|
||||
nested niri); S047 page scripts/find/JS; S048 dialogs, menus, permissions, full screen, Web Inspector, PiP;
|
||||
S049 ad blocker (WebKit content filters + `webext/` extension); S050 bridge over SOCKS5, HTTPS-only, certs, error
|
||||
pages, downloads, cookies policy, disk cache (DocumentBrowser); S056 user's bugs: real floating PiP (video only),
|
||||
Material PiP controls, side buttons, middle-click links → new tab, spelling underline, menus without overshoot.
|
||||
- `docs/ui-motion-audit.md`: 13 motion findings, blocks A–F wired into S039/S043.
|
||||
|
||||
## 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".
|
||||
## In progress
|
||||
- **S053** Servo removal: boxes 1–6 committed (38fd033, 3664431, efe3815), stopped at the usage limit. Resume at
|
||||
box 7 (build, tests, smokes, fix fallout), then close out. See the plan's "Resume" note.
|
||||
|
||||
## 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.
|
||||
## Next three steps
|
||||
1. S053 box 7–8 (fresh session; nothing else uses cargo meanwhile).
|
||||
2. S057 small UI bugs: Customize panel doesn't scroll (wheel goes to the page), colour picker glyphs, beforeunload on quit.
|
||||
3. S051 profile/cookies/media, then S052 tuning (incl. the slow-connection pass the user asked for), S054 site pass.
|
||||
|
||||
## Orchestrator resume (2026-11-13) — engine switch to WebKit
|
||||
## Known bugs / watch
|
||||
- User saw a page stop taking input after PiP → return → idle (old PiP code); not reproduced; watchdog prints
|
||||
`egui area: not drawing (…)` if it returns. User accepted it as a one-off.
|
||||
- Network rules: no blocking until the content filters compile on a fresh profile (7–18 s).
|
||||
- Frame links go through the tab's navigation policy (no frame info in WebKitGTK API).
|
||||
- PROGRESS "Later" has the rest.
|
||||
|
||||
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.
|
||||
## Build and test
|
||||
- `nice cargo build --release -j 2` → `target/release/nacre` (+ `libnacre_webext.so`); `nice cargo test --release -j 2`.
|
||||
One cargo user at a time on `target/`. `target/retest/` = the user's retest copy (leave it).
|
||||
- Smokes: `tools/smoke.sh tests/smoke/<name>.txt` (hidden nested niri); list in CLAUDE.md §5. Never Tor/proxies.
|
||||
|
||||
- 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) and `docs/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.0` 2.54.2. `wpewebkit` 2.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.
|
||||
## Decisions to know (DECISIONS.md)
|
||||
D-032 WebKit · D-033 GTK4 host · D-035 hidden harness · D-036 ad block · D-037 cookies · D-038 profile dir
|
||||
`nacre-browser` · D-039 media · D-040 tuning (amended: DocumentBrowser) · D-043 sandbox media dirs ·
|
||||
D-045 visible runs on DP-1 may take focus (prefer hidden; another project, caelestia-niri, shares the machine) ·
|
||||
D-046 Web Inspector as devtools.
|
||||
|
||||
### Wrap-up (2026-11-13, 5-hour limit at 90 %) — start a NEW orchestrator from here
|
||||
- Orchestrator 3 (this run) stopped for the usage limit. Sessions:
|
||||
- **webkit-spike** local_cd9de570-2cc8-47b1-adb4-89ee68f873a7 — told to save WIP (`docs/engine/webkit-spike.md` "WIP state",
|
||||
`spikes/`, commit `webkit-spike (WIP): …`) and stop. It was writing a Wayland input helper (virtual pointer + test
|
||||
IME) for the spike; steps left: crates/libs check, spike build (egui toolbar + WebKit + YouTube), measure + visible
|
||||
shots, webkit-spike.md + D-033, `plan-generate` for `Plans/08 WebKit engine/` (S044+), commit/push. Resume it by
|
||||
message (D-029: it was started by orchestrator 3; a new orchestrator may also start a fresh session told to continue
|
||||
from the WIP state).
|
||||
- **servo-cleanup** local_917f7f5e-3aff-494f-a0c3-82e43b69dedd — done (baa3b7f): `docs/engine/servo-removal.md` lists every
|
||||
Servo piece and the WebKit replacement; 4 open decisions for the 08 plans: ad-block interception (content filters +
|
||||
web process extension), cookie encryption at rest vs WebKit's SQLite store, profile dir rename from nacre-servo,
|
||||
Media Session/MPRIS source. Forwarded to webkit-spike.
|
||||
- engine-test local_3703185c-… — finished, could not be archived from the orchestrator: archive from the sidebar.
|
||||
- Validation habit: check commits/plan boxes by command; D-030/D-031 reference shots; one cargo user per target/.
|
||||
- First action for the new orchestrator: `git log`, `git status`, read `docs/engine/webkit-spike.md` WIP state, then resume
|
||||
webkit-spike; when its plans exist, orchestrate `08 WebKit engine` in INDEX order.
|
||||
## Orchestration notes
|
||||
- The app refuses `start_session` on turns started by another session's message; start sessions on the user's turn
|
||||
or a side-sessions-event turn. Otherwise message an idle session or wait.
|
||||
- Usage limits stop sessions mid-plan: tell them to commit WIP with a resume note before long runs.
|
||||
- Tracker "Next up" sorts by id; INDEX order is the run order.
|
||||
|
||||
- Update: webkit-spike WIP pushed a29a7bf (spikes/webkit-egui builds: GTK4 window + egui overlay GLArea over WebKitGTK
|
||||
views, wl-input helper; never run). Leaning (b) GTK4 host. servo-removal.md not read yet. Open questions for the user
|
||||
(ask at the start): how should spike runs show — the user rejected a visible run that switched the DP-1 workspace and
|
||||
maximized the window (options: visible without stealing focus/workspace, or hidden `kwin_wayland --virtual`); WPE is settled: no WPE, WebKitGTK in a GTK4 host (D-033).
|
||||
## Open questions for the user
|
||||
- None blocking. S010 (phase-2 review) needs ~15 minutes with the user before the Gaps plans.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
Read docs/HANDOFF.md and docs/STATUS.md, then continue from the next steps. Only open other files when you need them.
|
||||
/orchestrate
|
||||
|
||||
Then run `/orchestrate` — resume from the "Wrap-up (2026-11-13, 5-hour limit at 90 %)" notes: the WebKit spike (local_cd9de570-2cc8-47b1-adb4-89ee68f873a7) first, then the `08 WebKit engine` plans it writes.
|
||||
Read docs/HANDOFF.md and docs/STATUS.md, then continue from the next steps. Only open other files when you need them.
|
||||
Start with S053 (resume at box 7) in a fresh session, then follow Plans/INDEX.md order.
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@ Later: S010 list: user checks the Discord icon with their own client (the Discor
|
|||
- Verified: build, `cargo test` 79 + webext 1; hidden smokes exit 0: launch, basics, input, keys, chrome, bindings, ctxmenu, pip (+ driver: is_floating true, 480×270), integ-spell; visible: pip, YouTube PiP (video only, plays, returns without reload), freeze scenario ×3. Shots read.
|
||||
- Freeze, user's exact steps (YouTube → PiP → return → logo click → away in Discord → page dead, chrome fine): not reproduced on this build (new PiP path): hidden with real input after 60 s away (click, typing, scroll ok) and visible after 150–180 s away + workspace switch: selftest `pick` (new) shows GTK sends page input to the WebKit view (mapped, own window, right size, focused), rAF ~72/s, page visible and focused. Regression smoke `pip-return.txt` (PiP → return → in-page link → real click, typing, wheel).
|
||||
- Motion review (orchestrator; the `review-animations` skill isn't available in this session, checked against its rules): menus (`floating`, page menu included) grew with an overshooting spring (~220 ms) → critically damped `EFFECT` (~160 ms, no overshoot); PiP controls fade with `EFFECT`, Motion off = no movement; PiP window open/close is niri's; nothing here animates from the keyboard.
|
||||
- Not done: the user's page-input loss is unexplained (retest on this build; the watchdog and `pick` help next time); context-menu YouTube case waits for the answer.
|
||||
- Closed by the user (2026-11-14): the page-input loss is accepted as a one-off (old PiP code); the watchdog and `pick` help if it returns. YouTube right click: no answer, treated as Chrome's behaviour (second right click goes to the browser).
|
||||
- Later: `log::` calls print nothing (no logger set up); Ctrl+click/Ctrl+wheel need a key-holding test helper; keyboard Menu key / Shift+F10 gives WebKit's own GTK menu (no pointer position, Nacre declines it); S039: `play_button` shape morph and other `DEFAULT`-spring controls overshoot (check against ≤200 ms ease-out).
|
||||
|
||||
## Later
|
||||
|
|
|
|||
8
docs/STATUS.md
Normal file
8
docs/STATUS.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Status (2026-11-14)
|
||||
|
||||
- Engine: WebKitGTK 6.0 in a GTK 4 host with the egui chrome. Servo removed (S053 build check pending).
|
||||
- Works: tabs, navigation, pages, find, dialogs, menus, permissions, full screen, Web Inspector, real PiP, ad
|
||||
blocker, network bridge, HTTPS-only, certificates, downloads, privacy switches, disk cache.
|
||||
- Not yet on WebKit: cookies persisted/sealed and profile move (S051), background-tab rest and final tuning (S052).
|
||||
- Next plan: S053 box 7 (resume), then S057, S051, S052, S054.
|
||||
- Tests: `cargo test` 80; hidden smokes green as of S056.
|
||||
Loading…
Reference in a new issue