Repository navigation
docs: shortlist 5 high-value features from upstream community signal - #2
Conversation
Reads every open LargeModGames/spotatui issue, PR, and Discussion (read-only, no comments left), plus the wiki, sorted by reaction/comment count, and cross-checks each candidate against our own ROADMAP.md and the current fork source so the list doesn't repeat shipped work, duplicate an open PR, or propose a fix for a problem a recent upstream merge already removed (caught exactly that case with LargeModGames#714 vs LargeModGames#752). No implementation here — a research doc for the board to pick from. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Reviewer's GuideThis documentation-only PR adds an evidence-backed, ranked shortlist of five potential fork features, including implementation direction and test plans, while recording why other upstream requests were rejected, deferred, already shipped, or superseded. No production code, generated bindings, or tests are changed. Sequence diagram for proposed Shared Control guest command relaysequenceDiagram
actor Guest
participant TUI
participant Relay
participant Host
participant Playback
Guest->>TUI: toggle_playback()
TUI->>Relay: PartyPlaybackCommand(sync::PlaybackAction)
Relay->>Host: PartyPlaybackCommand(sync::PlaybackAction)
Host->>Playback: execute playback action
Host-->>Relay: updated playback state
Relay-->>TUI: rebroadcast playback state
Flow diagram for upstream feature shortlist researchflowchart TD
A[Read upstream issues, PRs, discussions, and wiki] --> B[Cross-check roadmap and current fork source]
B --> C{Already shipped, in flight, or superseded?}
C -->|Yes| D[Record as rejected or deferred]
C -->|No| E[Rank by value, effort, risk, and readiness]
E --> F[Shortlist five candidate features]
F --> G[Board selects implementation issues]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Review Summary
This is a doc-only research deliverable with no code changes. The structure, cross-checks, module references, and rejection rationale are thorough and internally consistent. Two issues require fixing before merge:
-
Broken Markdown table (line 25): The separator row has 4 cells but the header has 5 columns — the
Riskcolumn will be silently dropped when rendered on GitHub. One-click fix is attached. -
Local absolute paths (lines 12, 313):
~/Projects/spotatui-contributions/docs/ROADMAP.mdis a machine-specific path that no other contributor can open or verify. Both occurrences should be replaced with the repo-relative path (docs/ROADMAP.md), which is what the doc's own verifiability guarantee relies on. One-click fixes are attached for both.
No other blocking issues found.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
| ## Ranked shortlist | ||
|
|
||
| | # | Feature | Value | Effort | Risk | | ||
| |---|---|---|---|---| |
There was a problem hiding this comment.
The separator row has only 4 cells (|---|---|---|---|) but the header row has 5 columns (#, Feature, Value, Effort, Risk). GitHub Markdown requires the separator row to match the header column count exactly, or the table will not render correctly — the Risk column will be dropped from display. Add a fifth cell to the separator.
| |---|---|---|---|---| | |
| |---|---|---|---|---| |
| `LargeModGames/spotatui` via the GitHub API (`gh`, read-only — no comments or reactions were | ||
| left), sorted by reaction count and by comment count, plus the upstream wiki | ||
| (`spotatui.wiki`, cloned read-only to `/tmp`, removed after reading). | ||
| - Cross-checked every candidate against `~/Projects/spotatui-contributions/docs/ROADMAP.md` |
There was a problem hiding this comment.
This path is a local, machine-specific absolute path that is not accessible or verifiable by any other contributor. Other reviewers and future readers cannot open or audit this file, which undermines the "every claim was cross-checked" guarantee the doc makes. Replace with the repo-relative path (e.g., docs/ROADMAP.md) so any collaborator can verify the cross-check claims directly.
| - Cross-checked every candidate against `~/Projects/spotatui-contributions/docs/ROADMAP.md` | |
| - Cross-checked every candidate against `docs/ROADMAP.md` |
| - `gh api graphql` against the repo's `discussions` connection, sorted by `updatedAt`, 2026-10-16. | ||
| - `LargeModGames/spotatui.wiki` (`Listening-Party.md`, `Roadmap.md`, `Themes.md`), cloned | ||
| read-only, not pushed anywhere, removed after reading. | ||
| - `~/Projects/spotatui-contributions/docs/ROADMAP.md`, read in full for cross-check. |
There was a problem hiding this comment.
Same issue as line 12 — ~/Projects/spotatui-contributions/docs/ROADMAP.md is a local absolute path repeated in the Sources section. This path is not accessible to any other contributor. Replace with the repo-relative path so the cited source is actually reachable.
| - `~/Projects/spotatui-contributions/docs/ROADMAP.md`, read in full for cross-check. | |
| - `docs/ROADMAP.md`, read in full for cross-check. |
There was a problem hiding this comment.
Hey - I've found 5 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="docs/fork-feature-shortlist.md" line_range="61" />
<code_context>
+ front of the normal path, not a new owner in the predicate chain the roadmap's R1 already
+ flags as sensitive — a guest who leaves the party or switches to Host-only falls straight
+ back through the unmodified existing dispatch.
+- Host side needs no change (it already executes and re-broadcasts, per the wiki). Scope this PR
+ to the guest-side key translation only.
+- Which keys: play/pause, next, previous, seek forward/back — the same list the wiki already
</code_context>
<issue_to_address>
**Host-only guests control playback**
When a guest bypasses the proposed client-side key guard and the relay forwards its `PlaybackCommand` to a host whose mode is `HostOnly`, `handle_incoming_playback_command` checks that the local session is hosted, but not that its `control_mode` is `SharedControl`; it executes a received command anyway, so a guest whose command reaches the host can control playback in Host Only mode.
Keep the guest-side guard, but also reject incoming playback commands on the host unless the session is in `SharedControl` (and verify the relay enforces the same policy).
</issue_to_address>
### Comment 2
<location path="docs/fork-feature-shortlist.md" line_range="54" />
<code_context>
+**Design sketch:**
+- Add a guard, checked once, at the top of the global transport-key match in
+ `tui/handlers/mod.rs` (or inside `App::apply` for the handful of `Action` variants involved):
+ when `app.party_status() == Joined` **and** the session's `control_mode == Shared`, translate
+ the key to a `sync::PlaybackAction` and dispatch `IoEvent::PartyPlaybackCommand` instead of
+ applying the local `Action`.
</code_context>
<issue_to_address>
**Copied guest guard fails to compile**
When an implementation copies the sketch's `ControlMode::Shared` reference, `ControlMode::Shared` does not exist; the available variant is `ControlMode::SharedControl`, so the copied guard fails to compile instead of routing guest playback commands.
Change the sketch to use `ControlMode::SharedControl`.
Also at `docs/fork-feature-shortlist.md:75`.
</issue_to_address>
### Comment 3
<location path="docs/fork-feature-shortlist.md" line_range="62" />
<code_context>
+ flags as sensitive — a guest who leaves the party or switches to Host-only falls straight
+ back through the unmodified existing dispatch.
+- Host side needs no change (it already executes and re-broadcasts, per the wiki). Scope this PR
+ to the guest-side key translation only.
+- Which keys: play/pause, next, previous, seek forward/back — the same list the wiki already
+ promises. Volume and local-only things (sidebar navigation) stay local.
</code_context>
<issue_to_address>
**GUI guests still control local playback**
When the implementation follows the stated TUI-only scope while GUI users join a party in Shared Control, a follow-up that implements only guest-side key translation leaves GUI transport actions on the normal `App.apply` path, so GUI guests clicking play, next, or seek still control their local playback instead of the host's.
Route transport actions from all clients through the shared-control check, preferably at a common action-dispatch boundary, and cover GUI controls in the tests.
</issue_to_address>
### Comment 4
<location path="docs/fork-feature-shortlist.md" line_range="185-186" />
<code_context>
+to opt out short of pausing the app entirely.
+
+**Verified against current source:** `is_private_session` is already read from the Connect device
+list (`src/infra/spotify/player.rs:194`) and hardcoded `false` at one call site (`:376`) — i.e.
+the app already understands the field exists on other devices' state, it just never sets its own.
+That matches the issue's framing exactly: this is wiring a flag through, not inventing a new
+protocol concept.
</code_context>
<issue_to_address>
**Private-session investigation is misdirected**
When the board uses the cited `:376` assignment to conclude spotatui already handles the field for other devices but fails to set it for its own player, `lan_device_json` serializes separately discovered LAN devices, so its hardcoded `false` does not establish whether spotatui sets private-session state for its own Connect device; the board directs the implementation investigation based on unsupported evidence.
Clarify that the `lan_device_json` placeholder says nothing about spotatui’s own Connect device state, and remove the conclusion that the app never sets its own flag.
</issue_to_address>
### Comment 5
<location path="docs/fork-feature-shortlist.md" line_range="148-149" />
<code_context>
+
+**Design sketch:**
+- Add one or two new `ThemePreset` variants (e.g. `HighContrast`, and a colorblind-safe palette —
+ Rosé Pine is still requested and unported too, lower-hanging fruit alongside it) following the
+ exact four-place recipe the issue itself documents: enum variant, `all()`, `name()`,
+ `to_theme()` match arms.
+- For the accessibility ones specifically, pick colors against a documented contrast target
</code_context>
<issue_to_address>
**New presets fail to reload**
When an accessibility preset is added following the documented four-place recipe, `ThemePreset::from_name` falls through to `Custom` for a newly added preset name, so saved selections restore as Custom instead of the selected theme.
Include `ThemePreset::from_name` in the preset-update recipe and add a round-trip test for each new preset name.
</issue_to_address>Sourcery assessment
Approval pending. 5 findings to address first.
Blocking findings: docs/fork-feature-shortlist.md:61, docs/fork-feature-shortlist.md:54, docs/fork-feature-shortlist.md:62, docs/fork-feature-shortlist.md:186, docs/fork-feature-shortlist.md:149
| front of the normal path, not a new owner in the predicate chain the roadmap's R1 already | ||
| flags as sensitive — a guest who leaves the party or switches to Host-only falls straight | ||
| back through the unmodified existing dispatch. | ||
| - Host side needs no change (it already executes and re-broadcasts, per the wiki). Scope this PR |
There was a problem hiding this comment.
🟡 Medium · Host-only guests control playback
When a guest bypasses the proposed client-side key guard and the relay forwards its PlaybackCommand to a host whose mode is HostOnly, handle_incoming_playback_command checks that the local session is hosted, but not that its control_mode is SharedControl; it executes a received command anyway, so a guest whose command reaches the host can control playback in Host Only mode.
Keep the guest-side guard, but also reject incoming playback commands on the host unless the session is in SharedControl (and verify the relay enforces the same policy).
Prompt for AI agents
In `docs/fork-feature-shortlist.md` at line 61:
**Host-only guests control playback**
When a guest bypasses the proposed client-side key guard and the relay forwards its `PlaybackCommand` to a host whose mode is `HostOnly`, `handle_incoming_playback_command` checks that the local session is hosted, but not that its `control_mode` is `SharedControl`; it executes a received command anyway, so a guest whose command reaches the host can control playback in Host Only mode.
Keep the guest-side guard, but also reject incoming playback commands on the host unless the session is in `SharedControl` (and verify the relay enforces the same policy).| **Design sketch:** | ||
| - Add a guard, checked once, at the top of the global transport-key match in | ||
| `tui/handlers/mod.rs` (or inside `App::apply` for the handful of `Action` variants involved): | ||
| when `app.party_status() == Joined` **and** the session's `control_mode == Shared`, translate |
There was a problem hiding this comment.
🟡 Medium · Copied guest guard fails to compile
When an implementation copies the sketch's ControlMode::Shared reference, ControlMode::Shared does not exist; the available variant is ControlMode::SharedControl, so the copied guard fails to compile instead of routing guest playback commands.
Change the sketch to use ControlMode::SharedControl.
Also at docs/fork-feature-shortlist.md:75.
Prompt for AI agents
In `docs/fork-feature-shortlist.md` at line 54:
**Copied guest guard fails to compile**
When an implementation copies the sketch's `ControlMode::Shared` reference, `ControlMode::Shared` does not exist; the available variant is `ControlMode::SharedControl`, so the copied guard fails to compile instead of routing guest playback commands.
Change the sketch to use `ControlMode::SharedControl`.
Also at `docs/fork-feature-shortlist.md:75`.| flags as sensitive — a guest who leaves the party or switches to Host-only falls straight | ||
| back through the unmodified existing dispatch. | ||
| - Host side needs no change (it already executes and re-broadcasts, per the wiki). Scope this PR | ||
| to the guest-side key translation only. |
There was a problem hiding this comment.
🟡 Medium · GUI guests still control local playback
When the implementation follows the stated TUI-only scope while GUI users join a party in Shared Control, a follow-up that implements only guest-side key translation leaves GUI transport actions on the normal App.apply path, so GUI guests clicking play, next, or seek still control their local playback instead of the host's.
Route transport actions from all clients through the shared-control check, preferably at a common action-dispatch boundary, and cover GUI controls in the tests.
Prompt for AI agents
In `docs/fork-feature-shortlist.md` at line 62:
**GUI guests still control local playback**
When the implementation follows the stated TUI-only scope while GUI users join a party in Shared Control, a follow-up that implements only guest-side key translation leaves GUI transport actions on the normal `App.apply` path, so GUI guests clicking play, next, or seek still control their local playback instead of the host's.
Route transport actions from all clients through the shared-control check, preferably at a common action-dispatch boundary, and cover GUI controls in the tests.| list (`src/infra/spotify/player.rs:194`) and hardcoded `false` at one call site (`:376`) — i.e. | ||
| the app already understands the field exists on other devices' state, it just never sets its own. |
There was a problem hiding this comment.
🟡 Medium · Private-session investigation is misdirected
When the board uses the cited :376 assignment to conclude spotatui already handles the field for other devices but fails to set it for its own player, lan_device_json serializes separately discovered LAN devices, so its hardcoded false does not establish whether spotatui sets private-session state for its own Connect device; the board directs the implementation investigation based on unsupported evidence.
Clarify that the lan_device_json placeholder says nothing about spotatui’s own Connect device state, and remove the conclusion that the app never sets its own flag.
Prompt for AI agents
In `docs/fork-feature-shortlist.md` at lines 185-186:
**Private-session investigation is misdirected**
When the board uses the cited `:376` assignment to conclude spotatui already handles the field for other devices but fails to set it for its own player, `lan_device_json` serializes separately discovered LAN devices, so its hardcoded `false` does not establish whether spotatui sets private-session state for its own Connect device; the board directs the implementation investigation based on unsupported evidence.
Clarify that the `lan_device_json` placeholder says nothing about spotatui’s own Connect device state, and remove the conclusion that the app never sets its own flag.| Rosé Pine is still requested and unported too, lower-hanging fruit alongside it) following the | ||
| exact four-place recipe the issue itself documents: enum variant, `all()`, `name()`, |
There was a problem hiding this comment.
🟡 Medium · New presets fail to reload
When an accessibility preset is added following the documented four-place recipe, ThemePreset::from_name falls through to Custom for a newly added preset name, so saved selections restore as Custom instead of the selected theme.
Include ThemePreset::from_name in the preset-update recipe and add a round-trip test for each new preset name.
Prompt for AI agents
In `docs/fork-feature-shortlist.md` at lines 148-149:
**New presets fail to reload**
When an accessibility preset is added following the documented four-place recipe, `ThemePreset::from_name` falls through to `Custom` for a newly added preset name, so saved selections restore as Custom instead of the selected theme.
Include `ThemePreset::from_name` in the preset-update recipe and add a round-trip test for each new preset name.
Summary
Research-only deliverable for SPO-8:
docs/fork-feature-shortlist.mdranks 5 candidate features for our fork, each with a design sketch, affected modules, and test plan. Nothing is implemented — the board picks which (if any) move forward.LargeModGames/spotatuiviagh(read-only, no comments/reactions left), sorted by reaction and comment count, plus the upstream wiki.~/Projects/spotatui-contributions/docs/ROADMAP.mdand the current fork source, to avoid repeating shipped work or duplicating an open PR.#714, a Last.fm "similar tracks" fallback) turned out to be moot: it was filed on a premise (Spotify 403s on/recommendationsfor self-hosted apps) that PR#752("drop the Web API and client id") removed four days later. Moved to "considered and not shortlisted" with the exact evidence — a live example of the ROADMAP's own "an issue may describe an older dependency" caution.Ranked shortlist:
#442); only guest-side key dispatch is missing. Low risk, answers a recurring "how do I jam" ask (Discussion#331).#863+#657) — two small PRs, low risk.#3) — most of the issue's example list (Catppuccin, Tokyo Night, Gruvbox) already shipped; what's still missing is the explicit high-contrast/colorblind-safe ask.#850) — Spotify-parity privacy feature, maintainer-authored issue with an exact proto field and acceptance checklist; touches our vendored librespot fork, so medium-high effort.#794+#788) — matches our own ROADMAP's low-readiness flag; sketch includes a hard investigation gate before committing to either PR.See the doc for full source citations, module-level design sketches, and an 11-item "considered and rejected" table (EQ, bit-perfect output, daemon mode, crossfader, localization, Flathub, SMTC, RPM packaging, Sonos, YouTube video, and the Last.fm fallback above) with the specific reason each was passed over.
Test plan
50e48e9) or a livegh apicall, not just the issue text.🤖 Generated with Claude Code
Summary by Sourcery
Add a research-only shortlist to guide board decisions on future fork features without implementing any code.
Enhancements:
Documentation: