docs(adr): ADR-0037 Live Canvas — draft-overlay live preview while you build#1694
Merged
Conversation
…u build Proposes the split-view Live Canvas: chat on the left, the app rendered from the DRAFT overlay on the right, refreshed per-artifact by the existing stream events — Airtable-class "say it, see it" latency without giving up the ADR-0033 publish gate (what you see is exactly what Publish will make real). Grounded in verified primitives: ?preview=draft reads exist at list+item level (unused by the SPA today), the build stream already names every changed (type,name), and the assistant bus already bridges chat↔host. Four phases: static draft preview → event-driven live refresh → draft DATA preview (in-memory seed overlay, the only new mechanism) → canvas→chat back-channel. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…udes) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Design proposal for the next big magic-moment iteration: a split-view Live Canvas — chat on the left, the user's app rendered from the draft overlay on the right, refreshing per-artifact while the agent builds/edits.
Design center: Airtable-class "say it, see it" feedback latency without giving up the ADR-0033 publish gate — the canvas renders the staged truth, so what you see is exactly what Publish will make real.
Grounded in verified primitives (file-level table in the ADR):
?preview=draftoverlay reads exist at list + item level — the SPA uses them nowhere today (the gap);draftedenvelopes already name every changed(type, name)in real time;assistantBusalready bridges chat ↔ host (incl. an editor-context primitive for the phase-4 back-channel).Four separately-shippable phases: ① static draft preview (~2–3 d, objectui) → ② event-driven live refresh (~3–4 d, objectui) → ③ draft data preview via in-memory seed overlay — the only new mechanism (~1–2 w, framework) → ④ canvas→chat "change this" back-channel (~3–4 d).
Status: Proposed — open for review; merging records the proposal, not an implementation commitment.
🤖 Generated with Claude Code