Repository navigation
feat(positron): the CANVAS region — the run room shows the work - #2399
Merged
Merged
Conversation
The design-bench's second positronic integration (§5): a content region whose payload is the persona's rendered artifact, live — the walk-in sees the design evolve. Define-once in patterns (CanvasContentBody: artifact html/url/screenshot, observing persona, viewport, revision pulse, V1/V2 scorecard + V3 judge weight), projected in chat-view (arena-precedent push-feed shape, failures sorted first, no fabricated zeros), rendered in the web app (sandboxed iframe stage — allow-scripts only, never allow-same-origin; screenshot fallback with a pixels-only chip; gates chip in success/alarm tone), with the required positronic ground state (?fixture=canvas — headless-verified). Core-side wiring documented, deliberately not parallel-built: a ninth positron ViewState (canvas source) folding observe results + grades into CanvasViewState envelopes; the web host then sets widget.canvas exactly as bench is wired. Rides: StyleCheck ts-rs bindings from #2398 (generated, keeps the tree drift-free). Built by a worktree agent; integrated onto post-#2397 canary. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
August 23, 2026 11:51
joelteply
added a commit
that referenced
this pull request
Aug 23, 2026
…he work itself (#2405) Joel (2026-08-23): 'you'll want to actually see live persona doing benchmark work in the desktop app too, all the visibility.' The canvas face (#2399) had its fixture and projection; this is the missing live half — and the first EVENT-DRIVEN positron feed: no tick, no scan. - continuum-positron/canvas.rs: CanvasViewState/CanvasCheckRow/Viewport, kind 'canvas', snake_case wire keys pinned by test to exactly what chat-view's canvasProjections already speaks (a key rename is a blank face with no compile error — the test is the guard). - ipc/positron_canvas_source.rs: install-at-boot render targets (dual: websocket + mind substrate, one revision both — #426), publish() stamps a monotonic revision, maybe_publish_observation folds a persona's OWN perception/observe / hot-edit tool result into a frame (success-only, pixels-or-url-only — a title alone is not a page; uninstalled = no-op so tests and tools never pay). - act_observe/apply.rs: the hook at the act seam — her observation publishes the moment she makes it. The screen shows what she saw, when she saw it. - chat-view: canvasFromEnvelope (fail-loud kind fold, the bench contract); apps/web host subscribes CANVAS_KIND → widget.canvas. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5 <[email protected]>
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.
Pattern→projection→render for the live-artifact region, with the required ground state (?fixture=canvas, headless-verified). All client typechecks green (patterns 7/7, chat-view 75/75, web 25/25). Core canvas source documented as the one wiring point.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo