githubnext/chopinPublic

Let's compose rich plans together

Add generic collaborative visual decision cards #417

OpenMaggieAppletonwants to merge 0 commits intomainfromrefs/pull/417/head
  1. MA

    ## Summary

    - Add a generic `visual-decision@1` contract with bounded numeric and colour controls, immutable definition and artifact revisions, shared edits, and durable version-bound Save. - Render the same decision card for different components. Verify isolated preview bundles before loading them in an opaque iframe, and enable Save only after the current parameters are acknowledged. - Cover two distinct component fixtures, concurrent edits, stale and rolled-back Save, reload, baseline peek, and read-only access in real browser tests.

    ## Actual UI

    ![A saved Billing card and an editable Profile banner using the same visual decision card](https://github.com/user-attachments/assets/23d76b24-dfc1-44ef-a181-d1d41f1840df)

    ## Verification

    At `c7a7f905383b3638ed9a355729954a8831890d2d`, current `main` (`dce9a4fa3d9a0e264c162528746271b31d6ae5db`) is merged without rewriting #417. The only direct conflicts were adjacent route additions: this PR's authenticated visual preview route and main's GitHub reference route. Both remain registered. Local `bun run ci`, `bun run types`, `bun run build`, and 79 focused server/editor tests passed. Exact-head CI validation, PostgreSQL tests, browser E2E, and container build passed. The earlier head also passed four PostgreSQL-backed visual-decision browser scenarios.

    ## Integration boundary

    `VisualDecisions.create()` is an internal server function that requires a trusted artifact verifier. This PR adds no hosted Planner creation tool, durable pending-request API, publication pickup, production artifact resolver, or MCP saved-result readback. The two bundle resolvers are test-only; without a trusted production resolver, existing cards show Preview unavailable and cannot be saved.

  2. Unknown GitHub usercommitted 7f66b01d5f0elast month on GitHub

  3. Unknown GitHub usercommitted 3f6d1f1b5896last month on GitHub

  4. Unknown GitHub usercommitted 770ecce30258last month on GitHub

  5. Unknown GitHub usercommitted f86042ec1e4alast month on GitHub

  6. Unknown GitHub usercommitted fd27fe6c1947last month on GitHub

  7. Unknown GitHub usercommitted 0c57d92beb21last month on GitHub

  8. MaggieAppletonreferenced this in Record pending visual preview requests from Planner #418last month on GitHub

  9. Unknown GitHub usercommitted 9f4aefd209aalast month on GitHub

  10. The preview deployment for **chopin** is ready. 🟢

    [Open app](http://417-chopin.githubnext.com) | [Open Build Logs](https://next-appserver.tail49836a.ts.net/project/l9buznc9ua1if0vflxrjwajs/environment/lxqsvczv19eopxk29vfb46mj/application/hb85gdd9mwqqlfwcteflvpbj/deployment/dnzktej2zjnkipvhipyskrl9) | [Open Application Logs](https://next-appserver.tail49836a.ts.net/project/l9buznc9ua1if0vflxrjwajs/environment/lxqsvczv19eopxk29vfb46mj/application/hb85gdd9mwqqlfwcteflvpbj/logs)

    Last updated at: 2026-10-09 14:25:32 CET

  11. MaggieAppletonready-for-reviewlast month on GitHub

  12. Unknown GitHub usercommitted c7a7f905383blast month on GitHub