Feature plan: Step 1 · Step 2 · Step 3 · Step 4

Debug mode: enabled (debug log)

Effort study: railspike-effort / v3/music_slideshow; host ledger music_slideshow.md. Standing P2 enrollment.

Extended estimates: enabled.

Cycle estimate: 0.50 (was 0.45; Next now starts the next track)

Approved direction

Step 1 was approved on 2026-11-28 ("this looks great. approved step 1."), after the mockup. This follows Option A with the Friday set. Two Step 1 assumptions were not answered, so they stand as defaults: "the board" is the room's big screen, and the set is every track since a date. Choices not yet confirmed are marked (default) and can still change.

Revision (2026-11-28), from the maintainer: "pressing next should start the next track as soon as it loads, if at all possible, please". Next (and Previous, a tile, or an arrow key) now starts the new slide's track. The requirement, scope and risks below are updated.

Problem

Members share tracks on /music/ during the week, but the page is a list sorted by latest activity. At the Friday meeting nobody can put the week's tracks on the room's screen and play them in order, one at a time.

Concepts touched: Music section (changed: gains slides for a set of tracks; the concept file gets a slides paragraph). Media embed (reused: the player bar and poster, larger). No-script presentation (unchanged rule: slides work without script). Page theme (unchanged rule: slides follow the viewer's theme). Feature flags (one new flag). Feedback: no matching item in docs/feedback/items/.

User stories

  • As a club member, I want to paste a link on /music/ any day of the week, so that the track is in Friday's set without asking anyone.

  • As the person running the meeting, I want to open the week's tracks on the room's screen, oldest first, so that we hear them in the order people shared them.

  • As someone in the room, I want the title and who shared it big enough to read from across the room, so that we know whose pick is playing.

  • As the person running the meeting, I want Next and Previous to be one tap or one arrow key, so that moving on never stalls the room.

  • As a member following along on my phone, I want the same slides at the same address, so that I can open a track myself or share it.

Core requirements

  • A set is every thread tagged #music first shared on or after a date, oldest first. The address is readable: /music/slides/?since=2026-11-21 opens the first slide, and /music/slides/<thread id>?since=2026-11-21 opens one track. Without since, the set is the last 7 days (default).

  • Each slide shows the track's poster at 16:9 (or a play tile for providers without one), artist and title, who shared it and when, one Play bar, Previous and Next, and its place ("3 / 9"). A row of the set's tracks shows what comes next; a tap jumps to one.

  • On a wide screen the slide fills the window with type readable across a room. On a phone it stacks as one column. Both follow the viewer's theme, Underground by default on mitrapclub.

  • Slides work without JavaScript: Previous, Next and the tiles are links, and the date is a plain form. With script, arrow keys and swipe move between slides, and the next slide replaces the current one without a full page load.

  • Next, Previous, a tile tap or an arrow key starts the new slide's track as soon as its player loads, wherever the provider and browser allow it. YouTube, TikTok and SoundCloud get the same start request a Play tap sends today. Where a browser or provider refuses (Spotify and Bandcamp always; iOS Safari probably), the slide opens with its player loaded and ready, so one tap in the player starts it. Without script a slide is a new page and does not start on its own.

  • /music/ gets one "Friday listen" entry under the share box, naming how many tracks the default set holds. A new flag, FORUM_MUSIC_SLIDES_ENABLED, turns slides off; it is on by default (default) and only applies to sites with musicSection.

Delivery scope

  • Work type: application change. That covers the slides route and page, the set query, the /music/ entry, the in-place script, styles in site.css and the Underground themes, the flag, the concept file update, and tests.

  • Out of scope: playing the next track on its own when one ends (needs YouTube's player script; its own cycle). A shared "now playing" that follows the presenter on members' phones. A meeting day setting other than "last 7 days". Changes to the Board, Recent or the offline web app.

Completion boundary

  • Normal entry: on mitrapclub.com, Music, then Friday listen; or a pasted slides address.

  • End-to-end outcome: the week's tracks open oldest first on the room's screen; Play starts the current track; Next stops it, moves to the next one and starts that.

  • Recovery: an empty set says so and keeps the date form, so the presenter can pick an earlier date. A bad since value shows the plain error message with Details and falls back to the 7-day set link. A thread removed from the set (tag removed, retracted) sends its slide address to the set's first slide. The flag turns slides off.

  • Release: merged to main, deployed to mitrapclub.com with Deploy now, then used at one Friday meeting.

Known user or environment

The maintainer runs the meeting from a laptop connected to the room's screen, in a desktop browser, probably not signed in. He also demos on an iPhone SE (3rd gen) in Safari. Entry: mitrapclub.com, Music, Friday listen. Failure to handle: the screen's browser is a guest, or the projector washes out light text. Next action: slides need no sign-in, and the Underground Dark theme stays one tap away in the theme menu. Evidence: a photo or note from the meeting saying the title read clearly and Next worked. Workspace screenshots at 1920×1080 do not settle projector contrast.

Risks

  • Which date a track belongs to. Impact: a track shared late Thursday night lands in the wrong week. Earliest validation: check how thread times are stored and which time zone the site uses for dates. Mitigation: read since as a local day in the site's time zone, and show the date in the slide header.

  • Readable across a room. Impact: small type defeats the main use. Earliest validation: screenshots at 1920×1080 and 1280×720 in Underground and Underground Dark. Mitigation: sizes scale with the window width, with a floor for phones.

  • Starting the next track on its own. Impact: on some browsers Next shows the slide but stays silent. Browsers allow a frame to start with sound only right after a tap or key press, and only when the page lets the frame autoplay. Earliest validation: Next on desktop Chrome, Firefox and Safari with YouTube, then on the iPhone after deploy. Mitigation: load the next player inside the Next tap itself, not after a delay, and pass the frame permission to autoplay. Where that still fails, the loaded player's own button is one tap.

  • Large sets. Impact: a month's worth of tracks overflows the tile row. Earliest validation: a set of 30 tracks in the browser test. Mitigation: the tile row wraps and shows the neighbours of the current slide; the counter always shows the total.

  • Swipe against scrolling on phones. Impact: a vertical scroll turns into Next. Earliest validation: the phone check after deploy. Mitigation: count only clearly sideways swipes; links still work.

Shared component inventory

  • Set membership: ReadModel/TagPage.php and ThreadKeysetPage already define "listed threads tagged #music". Extend with a since-date, oldest-first selection rather than a second definition of membership.

  • Track link and player: View/MediaEmbedDetector.php (first recognized link, as MusicPageController does) and View/MediaEmbedRenderer.php (player bar, poster, provider link). Reuse; add a large size only through CSS.

  • Posters: View/MediaEmbedPosterStore.php and the poster route. Reuse unchanged.

  • Player behaviour: public/assets/media_embed_inline_player.js (one tap plays, one at a time, closing clears the frame). Reuse; the slides script calls it after a swap.

  • Page and routing: Http/MusicPageController.php, the /music/ route in Application.php, templates/pages/music.php. Extend; the slides get a sibling template, since a thread row does not fit a full-window slide.

  • Site gate and flags: SiteProfileRegistry::musicSection() and FeatureFlagRegistry.php. Extend with one flag.

  • Errors: the shared short-message-plus-Details pattern from CONTRIBUTING.md.

  • Navigation icons: no new nav destination, so theme-nav-icons.css is untouched.

Simple user flow

  1. During the week, a member opens Music, pastes a YouTube link and taps Post.

  2. On Friday the presenter opens Music on the room's laptop and taps Friday listen.

  3. The first track of the last 7 days fills the screen; they press Play.

  4. When it ends, they press Next (or the right arrow); the next slide appears and its track starts.

  5. A member opens the same address on their phone to save a track they liked.

Success criteria

  • From mitrapclub.com's home page, the presenter reaches the first slide of the week's set in two taps.

  • Every #music thread shared in the window appears once, oldest first; none from outside it.

  • At 1920×1080 the title is at least 48px; at 390px wide nothing scrolls sideways.

  • With script off, every slide, Next, Previous and the date form still work.

  • On desktop Chrome, Next on a YouTube slide starts the next YouTube track with no further tap.

  • A Friday meeting runs on it, and the maintainer reports it worked.

— Claude · 2026-11-28 UTC · Model: claude-opus-5-5 — Revised by Claude · 2026-11-28 UTC · Model: claude-opus-5-5 (Next starts the next track)