From 1763a372be1aa7d9a9668fd6db76bd7dac63b658 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 7 Nov 2026 12:18:30 +0100 Subject: docs: Sonix as built, and the island line in AGENTS.md Co-Authored-By: Claude Sonnet 5.5 --- AGENTS.md | 4 ++-- .../superpowers/specs/2026-11-07-sonix-player-design.md | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 69a7f8e..375de73 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,8 +17,8 @@ modules. icons, sunset, idle (the former appearance shell), notifications, autostart, shells, the assistant's daemon and presets, qtmaildir, git, Hyprland's keyboard shortcuts, options and monitors, fonts, the Sonix boot logo - island/ top-centre pills on DP-1: clock, volume, tray, layout, privacy, - calendar, OBS + island/ top-centre pills on DP-1: clock, volume, Sonix player, tray, layout, + privacy, calendar, OBS assistant/ the assistant canvas on SUPER+Home, a view over desktop-assistant window-switcher/ expose: open windows scattered as live previews, on ALT+TAB or the top-right hot corner of DP-1 diff --git a/docs/superpowers/specs/2026-11-07-sonix-player-design.md b/docs/superpowers/specs/2026-11-07-sonix-player-design.md index 5ab7794..44a20c7 100644 --- a/docs/superpowers/specs/2026-11-07-sonix-player-design.md +++ b/docs/superpowers/specs/2026-11-07-sonix-player-design.md @@ -192,3 +192,20 @@ No draft and no dirty mark: the page edits no file. - API calls are checked against a live player. The canvas, the panel and the page are checked by eye, by the user; the agent confirms loading from the `qs` log. + +## As built + +Differences from the design above, found while building it: + +- The boot logo page is in its own sidebar group, HiBy R1, not Appearance. +- The panel's cover comes from `/api/art?path=&max=256`, which can + answer 202 while it prepares; the panel retries three times per track. +- The heart sends `favourite` with the path and 1 or 0. +- SonixLink's `bitrate` is in bits per second; the panel shows kbps. +- Folders browses from an empty path: the player answers `path=/` with + plain text, "outside the card". A folder plays as its first file with the + folder as the list, since `play_all` refuses a folder. +- The beacon helper is restarted after a fixed 5s, not a growing backoff. +- New playlist adds a draft row with a hint; it does not switch tabs. +- An open island panel closes when the player leaves, rather than showing + a message; the drawer page shows the message. -- cgit v1.2.3