diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md index 1c63304..960d567 100644 --- a/docs/DECISIONS.md +++ b/docs/DECISIONS.md @@ -40,3 +40,5 @@ D-035 — 2026-11-18 — Visual direction: the user finds the current UI bland a D-036 — 2026-11-18 — Cost: the user saw ~50 % of a day's credits go; every session runs the `caveman:caveman` skill (short replies and reports), reads only what its plan names, and skips extra verification variants; the orchestrator keeps look-ahead at 1–2 fresh sessions, avoids reusing long sessions when it can start a fresh one, and uses one-shot wake-ups at a usage-limit reset instead of a 30-minute heartbeat — user — all plans; overrides ORCHESTRATOR.md look-ahead 3. D-037 — 2026-11-18 — Dates: relative stamps by default (Just now, N minutes/hours ago, Yesterday/weekday with time, then date + time), 12-hour clock by default, both configurable (date style Relative/Absolute, clock 12/24-hour) — plan S039. The user expects a lot of configuration: every UI plan exposes its user-visible choices in Settings — user — S039, all UI plans. 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.