31 lines
7.9 KiB
Markdown
31 lines
7.9 KiB
Markdown
# Decisions
|
||
|
||
`D-NNN — date — decision — why — plans affected`. Never rewrite an entry; supersede it with a new one.
|
||
|
||
D-001 — 2026-11-11 — Port 1:1 from caelestia-kde a0bc311 and fill gaps: missing pieces are ported from the original; KDE-only or niri-missing pieces get the smallest sensible niri equivalent, labelled "niri addition" in docs/AUDIT.md — the user wants a normal friendly interface without drifting from the original — all plans
|
||
D-002 — 2026-11-11 — Plan sessions never restart or replace the live shell, and never send pointer/keys to the real session; the orchestrator asks the user and batches restarts. Snapshots, IPC, nested niri and a private-D-Bus test shell are free — a restart breaks tray icons and can freeze the user's music player — all plans
|
||
D-003 — 2026-11-11 — Run plans one at a time on Opus, 3 sessions waiting for GO — one cargo target and one live session — orchestrator
|
||
D-004 — 2026-11-11 — Overview hot corners open niri's own overview (`toggle-overview`); the other Overview and Alt+Tab rows are hidden and labelled left out — niri already has an overview; porting both panels would duplicate it — S020
|
||
D-005 — 2026-11-11 — Video wallpapers are ported through mpvpaper as a helper child, with the pause and mute rows wired — the user wants them; decoding in the shell's background layer is too costly — S014, S021
|
||
D-006 — 2026-11-11 — Port all four unported popouts: keyboard layouts, Night Light, Privacy, Greeter (off by default) — user's choice — S012, S013, S021
|
||
D-007 — 2026-11-11 — Move the shell's files under ~/.config/niri/caelestia (and XDG niri-caelestia for state/data/cache), copying the old dirs on first run and keeping them as fallback — user's choice; everything sorted in the niri folder — S019, S021, S023
|
||
D-008 — 2026-11-11 — UX sweep plans audit and fix one area each in the same session, logging findings in ISSUES §3 — the code and the original are read once — S003–S010
|
||
D-009 — 2026-11-11 — Fingerprint/Howdy unlock and lock-screen Switch User are left out; their rows are hidden — no reader to test on, SDDM has no dm-tool — S007, S020
|
||
D-010 — 2026-11-11 — Port the remaining pages: Network VPN and IPv4, Calendar sources and agenda, launcher web search, File Types, Shell language translations — user's choice — S015–S018
|
||
D-011 — 2026-11-11 — Live checks are batched: the orchestrator asks the user for one live restart at the end of each category — each restart breaks tray icons and can freeze the music player — orchestrator, all plans
|
||
D-012 — 2026-11-13 — The CLI publishes the palette as a standard KDE colour scheme (`Caelestia.colors` + the Colors groups and AccentColor merged into `~/.config/kdeglobals`) and keeps `~/.local/state/caelestia/scheme.json` readable — the user's apps Mulberry and Damson (and Qt/KDE apps) read those to follow the desktop's colours — S019, S025
|
||
D-013 — 2026-11-13 — Every session (orchestrator and plan sessions) replies in caveman style (caveman:caveman skill); code, comments, docs and commit messages stay normal English — user's choice, to save tokens — all plans
|
||
D-014 — 2026-11-13 — While anything moves, the shell repaints at least 30 fps on frame callbacks; parts already ≥ 30 fps stay as they are; idle stays at 0 frames; every animation steps by elapsed time — the user sees mixed frame rates (bar visualiser 20 fps, slow lyrics scroll) — S026, all sweeps
|
||
D-015 — 2026-11-13 — Motion mode setting in Nexus: Performance (cap 15 fps), Normal (default, 30 fps floor per D-014), Smooth (every frame callback, monitor rate); live reload; idle 0 frames in all modes; game mode still turns animations off and wins over the mode — user request — S026
|
||
D-016 — 2026-11-13 — While the user sleeps, the orchestrator answers plan sessions' questions with its own recommendation and logs each here; live restarts, real-session input and publishing the release still wait for the user — user: "confirm any questions you have with what you recommend" — orchestrator
|
||
D-017 — 2026-11-13 — The installer recommends the user's own Hub apps (Mulberry, Nacre, Damson, Audiphi, Islet, Dezio): first on their page, marked, pre-selected, latest release resolved from the Forgejo API — user request — S027, before S022/S023 so the clean-install check covers it
|
||
D-018 — 2026-11-13 — Category 01's live check is batched with S002's (restart side effects) so one restart checks both — a restart before S002 would break the tray again — orchestrator
|
||
D-019 — 2026-11-13 — Another session codes Nacre (Rust) on this machine at the same time: plan sessions never touch ~/Projects/Nacre* (S027 reads only), run builds with `nice`, and never kill cargo, rustc, niri or test processes they did not start (stop by own PID only) — shared CPU and processes — all plans
|
||
D-020 — 2026-11-13 — A program the shell starts and does not wait for goes through `services::detach` (reaped by a thread), a background one that dies with the shell through `services::helper` (marked, so an `exec` restart stops the last image's); never a bare `.spawn()` that drops its `Child` — each left a zombie for the life of the shell (173 `caelestia` on the live one) — S002, all plans
|
||
D-021 — 2026-11-13 — A moving part draws through the motion pace: `App::paced(drawn, own)` (or `pace::wait`) before it draws, with `own` its own pace (zero for every frame callback); a held-back part gets one loop wake, never a busy timer. The key is `appearance.motionMode` — one rule for D-014/D-015, so a new animation cannot reintroduce its own throttle — S026, every later plan that adds motion
|
||
D-020 — 2026-11-13 — The user allowed one live shell swap for S026 ("replace my shell start it back after"): S026 measures fps with its build on the real session, then the shell comes back from a build of validated 17a7774 (S001+S002, so the tray fix holds), with the old binaries kept as *.bak-s026 — hidden nested windows get 1 frame/s, so fps cannot be measured nested — S026, S001, S002 live checks
|
||
D-022 — 2026-11-14 — Anything the lock screen runs while the session is locked runs from the shell (`services::detach`), never through niri's `spawn` (`spawn_cmd`, `niri::spawn`): niri drops `spawn` while locked, which left every lock power button but Sleep dead. niri actions it allows while locked (`quit`, `switch-layout`) may go through IPC — S007, any plan touching the lock
|
||
D-023 — 2026-11-14 — Reset buttons and greyed-out rows are generic: `reset_buttons` gives every Nexus toggle, stepper and slider with a `shell:` default a reset button (except `NO_RESET`, keys the original leaves without one), and a row's `enabled_if` (`&&` of keys, `!` to negate) dims it and makes it inert. A plan adding rows sets `enabled_if` where the original has `enabled:`, and adds to `NO_RESET` where it has no SettingResetButton — S009, S010 and every plan touching Nexus rows
|
||
D-024 — 2026-11-18 — S021 also prunes what the installer installs or sets up that nothing uses; S023 also lists everything a run writes and reruns it to prove nothing is duplicated — user: check whether the installer has things we don't need and whether it installs cleanly or makes messes — S021, S023
|
||
D-025 — 2026-11-18 — Night Light runs on `wlsunset`, started by the shell as a helper (no autostart entry); its settings are `services.nightLight*` in shell.json — small (libwayland only), CLI-driven schedule and location, no config file — S012, S021
|
||
D-026 — 2026-12-01 — D-007 detail: niri's own include files (`caelestia.kdl`, binds, window rules, outputs, input, colours, cursor, gamemode) stay in `~/.config/niri/` because the user's `config.kdl` includes them by name and is never edited; only the shell's own files move to `~/.config/niri/caelestia/`, `~/.local/state/niri-caelestia/`, `~/.local/share/niri-caelestia/`, `~/.cache/niri-caelestia/`; the CLI keeps a copy of `scheme.json` in the old state folder (D-012); the installer/build names `caelestia-niri` stay — S019, S021, S023
|