Files
chrnx-dev-wp/docs/superpowers/plans/2026-08-27-music-release-cards.md
T

3.2 KiB

Music release cards Implementation Plan

For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (- [ ]) syntax for tracking.

Goal: Redesign the local Music release area into wide, expandable The No Names release cards and seed all four local releases from the Suno project.

Architecture: Keep the existing dynamic release-list block and taxonomy model. Extend its markup/data boundary for descriptions, track previews, lyrics links, and Side B; use focused CSS for the wider landing layout and responsive card geometry. Add an idempotent local-only seed path rather than coupling production rendering to filesystem paths.

Tech Stack: WordPress PHP blocks, CSS, wp-env/Colima, Node smoke and Playwright tests.


Task 1: Lock the local data contract

Files:

  • Modify: inc/taxonomies.php

  • Modify: inc/release-meta.php

  • Modify: blocks/release-list/render.php

  • Test: tests/smoke/visual-integration.test.mjs

  • Add Side B as an independent release term and preserve existing release slugs.

  • Extend release list rendering with safe description, status, platform links, track preview, and lyrics destination data.

  • Add semantic disclosure markup and empty-state handling.

  • Add regression assertions for four releases and required release-card structure.

  • Run the focused smoke test and confirm it fails before implementation where appropriate.

Task 2: Implement the release-card presentation

Files:

  • Modify: assets/css/components.css

  • Modify: patterns/music-landing.php

  • Modify: blocks/release-list/render.php

  • Test: tests/e2e/music-podcast-stages.spec.mjs

  • Widen only the Music landing content container while retaining the existing hero layers.

  • Build wide release rows with a dominant cover, readable title/status, platform links, disclosure, track preview, and lyrics link.

  • Add responsive stacking and keyboard/focus states.

  • Apply grunge texture through existing visual language and restrained metadata treatment, not unreadable body typography.

  • Capture /music/ in local light/dark desktop and mobile states.

Task 3: Seed local The No Names content

Files:

  • Create: scripts/seed-the-no-names-local.sh

  • Modify: README.md

  • Test: tests/smoke/theme-contract.test.mjs

  • Add an idempotent local-only seed command that validates localhost and imports the four release records, covers, descriptions, statuses, and track metadata from the Suno tree.

  • Import Side B from its nested directory as a separate release.

  • Keep absent streaming URLs empty and never infer public links.

  • Document startup, seed, preview, and restore boundaries.

  • Run the seed against the isolated wp-env database.

Task 4: Verify and hand off

Files:

  • Modify: relevant tests only if evidence requires it.

  • Run npm run test:smoke, lint, PHP tests, and focused Playwright Music checks.

  • Start Colima/wp-env on the configured local port and capture the rendered page.

  • Inspect screenshots at 375, 768, and 1440 widths in both themes.

  • Run git diff --check and report local-only status; do not publish or touch production.