Skip to content

Read the Build turn's preview in the tab: no hosted dialog, no server - #228

Merged
afflom merged 1 commit into
mainfrom
claude/project-thread-d27980
Nov 16, 2026
Merged

afflom merged 1 commit into
mainfrom
claude/project-thread-d27980

Conversation

@afflom

@afflom afflom commented Nov 16, 2026

Copy link
Copy Markdown
Member

What

With this change the idea box takes an idea to a running app without leaving the browser.

  • semanticData() in studio/shell/live/app.mjs reads the app's data form (lexlean/semantic-module/2) in the tab. Before this, the hosted service parsed it. The tab's output is checked against LexLean 0.4's own output by digest on seven fixtures, and against the hosted service's reading of guests.
  • The chat turn no longer opens a hosted session. A Build turn shows no hosted-source dialog and sends nothing to mcp.uor.foundation.
  • The live_main_integration and read_only_chat_execution browser suites used to decline the dialog. They now check that no hosted dialog opens and that no request reaches the hosted service.

Still hosted

Checking and proving a stateful app still use the hosted elaborator, and only after the person approves the app. Rule apps are proved in the tab (#227).

Checks

  • Unit tests: pass, except one telemetry gate that fails on a local, untracked host.bundle.js.
  • Browser suites: these pass: live_main, read_only, hosted_source_permission, preview_auto_start, instant_user_message, plain_chat_layout, chat_model_picker_scope, sidebar_tool_access, durable_theme_library, preview_permissions, durable_chat_queue, stateful_application_journeys and covers.
  • Prism-only ratchet: non-Prism code shrinks by about 45 lines, not counting comments.

Generated by Claude Code

The idea box goes from idea to running app without leaving the browser.
The app's data form (lexlean/semantic-module/2) is now read in the tab by
semanticData(), held to LexLean 0.4's own output by digest on seven
fixtures and to the hosted service's guests reading. The chat turn no
longer opens a hosted session, so a Build turn shows no hosted-source
dialog and sends nothing to mcp.uor.foundation. The browser suites now
assert that no hosted dialog opens and no request reaches the service.

Checking and proving a stateful app still uses the hosted elaborator, and
only when the person approves the app; rule apps prove in the tab (#227).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3LdusN9UGDiUFDM7bZ
@afflom
afflom merged commit 694bf07 into main Nov 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants