Spec: Closure unified product workspace (roadmap + changelog + feedback) full rewrite#1

openedSep 14, 2026bySScreen
GitHub writeback is off. Issues and comments you change here stay in GitCafe. Sync settings

Problem Statement

Makers need one open-source place where users can submit Feedback Posts, see what is planned on a roadmap, and read what shipped in a changelog. Today this repo ships a learning workspace for studying guides, so a product team cannot publish a Roadmap Item, collect open votes, or post a Changelog Entry.

Solution

Rebuild the root app as Closure: a unified Product Workspace with three linked modules — roadmap board, changelog feed, and feedback portal with open voting — local-first for v1. Root app/ holds only the product app; marketing lives in /website/.

User Stories

  1. As a product maker, I want a Product Workspace for one product, so that roadmap, changelog, and feedback stay linked in one place.
  2. As a product maker, I want to create a Roadmap Item with a status of Under review, Planned, In progress, or Shipped, so that users see what is coming.
  3. As a product maker, I want to move a Roadmap Item across Under review → Planned → In progress → Shipped, so that progress is visible without re-entry.
  4. As a visitor, I want to browse the roadmap board grouped by status, so that I can see what is under review, planned, in progress, and shipped.
  5. As a visitor, I want to submit a Feedback Post without login, so that friction stays low.
  6. As a visitor, I want to upvote a Feedback Post once per browser, so that popular requests surface fairly.
  7. As a visitor, I want to see Feedback Posts ranked by votes, so that the most wanted ideas are obvious.
  8. As a product maker, I want to link a Feedback Post to a Roadmap Item, so that accepted requests show their delivery status.
  9. As a product maker, I want a Roadmap Item reaching Shipped to produce a Changelog Entry, so that shipped work is announced without double entry.
  10. As a product maker, I want to edit a Changelog Entry before publishing, so that release notes read cleanly.
  11. As a visitor, I want to read the changelog feed newest-first, so that I can catch up on what shipped.
  12. As a product maker, I want my Product Workspace data persisted locally across visits, so that v1 works with no backend.
  13. As a product maker, I want the marketing site separated in /website/, so that the root app contains only the product workspace.
  14. As a contributor, I want the domain glossary (Product Workspace, Roadmap Item, Feedback Post, Changelog Entry) used consistently, so that new code matches ADR-0001.

Implementation Decisions

  • Full rewrite of the root app domain: retire the learning model (study workspaces, notes, SRS, quiz, gallery) rather than carrying both vocabularies, per ADR-0001.
  • Single unified Product Workspace: one workspace holds all three modules with links Feedback Post → Roadmap Item → Changelog Entry, instead of three siloed sections.
  • Single product-store seam: one local-first store module behind a narrow interface (list/create/update/vote/link/ship) preferred over scattering persistence per module; existing localStorage persistence patterns reused where possible.
  • Status machine fixed at four values (Under review, Planned, In progress, Shipped); Shipped transition derives a draft Changelog Entry.
  • Open voting for v1: no login, one vote per Feedback Post per browser, rate-limited client-side; auth deferred.
  • Root app/ becomes product-only; app/(marketing) removal lands as part of the rewrite once /website/ extraction is verified.
  • Testing seam at the store interface plus board/feed ranking behavior; no backend or auth seams in v1.

Testing Decisions

  • Good tests assert externally visible behavior (board grouping, vote ranking, shipped-to-changelog derivation, local persistence across reload) not store internals.
  • Modules under test: product store seam, roadmap board behavior, feedback voting behavior, changelog derivation.
  • Prior art: existing lib/__tests__ store and behavior tests; follow the same behavior-first style.

Out of Scope

  • Multi-user backends, Supabase/Postgres persistence, and server auth (deferred past v1).
  • Marketing site redesign or quirks fixes beyond the /website/ extraction copy.
  • AI parsing/generation, importers, embeds, sharing links, and analytics from the learning app.
  • Notifications, email digests, and granular permissions.

Further Notes

Seam check: single product-store seam plus route-level rendering; confirm this matches expectations before ticket breakdown. Uses CONTEXT.md vocabulary throughout; consistent with ADR-0001 (pivot to product workspace).