githubnext/chopinPublic

Let's compose rich plans together

Build collaborative visual-decision infrastructure #412

ClosedMaggieAppletonclosed 19 commits intomainfromrefs/pull/412/head
  1. MA

    This draft is being reshaped into a rendering foundation for visual decisions about the user's own app. The current code still contains the fixed Chopin specimen and its public creation button; generalizing that contract and removing the public example are pending. It is held back from shipping.

    The corrected renderer will receive a preview-artifact reference, baseline values and labelled numeric/colour controls, retaining live shared drafts, hold-to-peek, responsive layout and revision-bound attributed Save. See the [scope proposal](https://github.com/githubnext/chopin/blob/de342914/docs/superpowers/plans/2026-10-08-dynamic-design-card-rendering.md).

    The following MCP slice will let a local coding agent pick up a request created in Chopin, build a component using the user's app and design system, and publish the preview and controls back. That authoring/publication workflow is not implemented yet.

    Two independent reviews found brief-reconnect recovery and hidden Retry failures; both are fixed with regressions. Current validation: 364 focused unit tests, 14 Chromium scenarios, workspace/E2E TypeScript, build and local CI passed. The original 72 PostgreSQL contract/lifecycle tests passed; the previous head's GitHub validation and container jobs passed. The broader local unit run had four existing timing failures that passed isolated reruns.

    Production requires reviewed credential-free preview hosting on a separate registrable domain. Immutable historical bundle retention and private-artifact delivery require further work. Browser evidence is Chromium only; the iframe has no hard resource quota. No deployment is included.

    Current test specimen, wide layout:

    ![Decision card with adjusted spacing and colour, right-hand controls and Save in its header](https://github.com/user-attachments/assets/910d372e-b2b8-4eb6-859c-c53be2cfdfff)

    Current test specimen, narrow layout:

    ![Narrow Decisions panel with one preview and controls below](https://github.com/user-attachments/assets/60cc2b48-c454-4e23-9611-4b8924c23d51)

  2. MaggieAppletonconvert-to-draftlast month on GitHub

  3. MaggieAppletonrenamed Add collaborative visual decisions for the decision card to Build collaborative visual-decision infrastructurelast month on GitHub

  4. MaggieAppletonclosedlast month on GitHub