diff --git a/Plans/12 Testing/S032-tests-core.md b/Plans/12 Testing/S032-tests-core.md index 33b30d1..82b9737 100644 --- a/Plans/12 Testing/S032-tests-core.md +++ b/Plans/12 Testing/S032-tests-core.md @@ -16,7 +16,7 @@ CLAUDE.md §3, §4; docs/PROGRESS.md (known bugs); the public APIs of these crat - [x] dirmeta: byte-exact round trips with comments/unknown keys/localized names. - [x] Elevation protocol: encode/decode, helper driven without pkexec in a temp dir. - [x] Fix bugs the tests find (regression test each) or log them in PROGRESS. -- [ ] PROGRESS entry, INDEX line, commit `S032: …` +- [x] PROGRESS entry, INDEX line, commit `S032: …` ## End criteria - `cargo test --workspace` green. diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md index 960d567..9cdc78e 100644 --- a/docs/DECISIONS.md +++ b/docs/DECISIONS.md @@ -42,3 +42,4 @@ D-037 — 2026-11-18 — Dates: relative stamps by default (Just now, N minutes/ D-038 — 2026-11-18 — Elevation is per job thread: `tunal_elevate::Elevation` is the jobs' `file://` backend and sends an elevated thread's calls to one shared pkexec helper (other threads and views stay local); polkit action id `org.tunal.Tunal.elevated-helper`, exec path `/usr/bin/tunal`; non-job root writes use `Elevation::write_file` — S016 — S015, S036, S037. D-039 — 2026-11-19 — Native DnD/clipboard on Wayland (`native/`): Slint's foreign `wl_display` wrapped with `wayland-backend` `client_system`, our own queue (wl_seat → own wl_pointer/wl_keyboard for serials, one wl_data_device v3) dispatched on a `tunal-wayland` thread; surface from the raw window handle (`raw-window-handle-06`). Drag in goes through Slint's internal `WindowInner::process_drag_event` (`i-slint-core` pinned `=1.19.0`), so DropZones, glow and drop menu are shared with in-app drags (proposed action Move → menu). Drag out: an in-app drag arms the payload; when our pointer reports motion outside the window with the button held, `start_drag` with the press serial, then a synthetic release ends Slint's in-window drag. Drag out offers Copy only (never removes our files); no drag icon yet. Clipboard: copy/cut also `set_selection` (uri-list, text, `x-special/gnome-copied-files`, internal marker); paste prefers another app's files when the clipboard holds them. Native off (None) on X11 and in screenshots — S030 — S031, S036. D-038 — 2026-11-19 — Native DnD on Wayland (S030) is verified by build plus an Xvfb fallback run only; no window is opened on the user's live niri session; the Wayland attach check and the drag-out test move to S036 (real cross-app checks with the user) — orchestrator, per CLAUDE.md §4 offscreen rule — S030, S036. +D-040 — 2026-11-19 — Overnight unattended run (user asleep): S033 and S034 run in parallel (no shared files); S035 runs to its 🧑 visual-review step and stops; S036 does only its checklist step (all other steps need the user); S037 runs before S036 is finished but leaves STATUS.md at "S035 review and S036 checks open" instead of "done". Usage-limit resume by one-shot wake-ups of the orchestrator (D-036) — orchestrator — S033–S037.