Skip to content

feat(positron): the CANVAS region — the run room shows the work - #2399

Merged
joelteply merged 1 commit into
canaryfrom
feat/canvas-region
Aug 23, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/canvas-region

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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

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
joelteply enabled auto-merge (squash) August 23, 2026 11:51
@joelteply
joelteply merged commit 2fb1260 into canary Aug 23, 2026
5 checks passed
@joelteply
joelteply deleted the feat/canvas-region branch August 23, 2026 12:03
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant