Repository navigation
Phase 4c: the editable re-run panel - #456
Merged
neuromechanist merged 20 commits intoSep 23, 2026
Merged
neuromechanist merged 20 commits into
neuromechanist merged 20 commits into
Conversation
Member
Author
Local review, and what was done with each findingThree Sonnet reviewers: code, concurrency and security; tests; errors and docs. Every finding was addressed. Code and security
Tests
Errors and docs
|
Contributor
Preview Deployment
This preview will be updated automatically when you push new commits. |
neuromechanist
merged commit Sep 23, 2026
e6a6206
into
feature/issue-429-epic-browser-execution
14 checks passed
This was referenced Sep 23, 2026
neuromechanist
added a commit
that referenced
this pull request
Sep 23, 2026
…docs (#460) * Mark what the design note built differently Architecture, Sequence, Server changes and Phasing now carry as-built notes for the two-run transport: no interrupt(), no checkpointer, and a parked call closed out on next use. The NEMAR adoption row names eegprep-lean and python_browser, and the caps table gains the per-reply run cap. * Tidy ADR 0010 and the adopter guide ADR 0010 names #456 instead of a phase label and says prerequisite 3 needs nemar-cli only off osc.earth. The guide gains the per-reply run cap, spells out URL, OPFS and the File System Access API, and drops double-hyphen dashes. * Add the browser-execution changelog entry * fix: remove XMLHttpRequest from worker global * test: check ResultStatus matches tool_results.py * test: check workspace cap prose vs constants * test: assert frontend-tests job parity in CI * ci: smoke-test the runtime wheel route * Drop a double-hyphen dash from the guard Comment only; the guard source is bundled, so the bundle and its integrity pin are rebuilt. * Say XMLHttpRequest is removed, not shimmed * Read ResultStatus across wrapped lines The drift test matched a single line, so a formatter-wrapped Literal would have failed it loudly. It now reads up to the closing bracket. Checked with a wrapped Literal (passes) and a Python-only status (fails).
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.
Summary
The editable re-run panel, this release's way to keep tinkering (ADR 0010: a hosted notebook is deferred to #453). Each run the assistant recorded in a reply gets "Edit and run": the reader edits the code inline and runs it in the SAME warm runtime and namespace, so the variables the assistant made are there.
get_full_outputanswers a reader's run id exactly as it answers an unknown one, so the model cannot read the reader's output or learn the run exists. What the run leaves in the shared namespace is visible to later runs, the assistant's included, and the docs say so.notebook.ipynbmark it so.execute_codedescription tells the model the reader can edit and re-run, so it can suggest that for a one-line change.docs/community-browser-runtime.mdand the design note describe the panel.Test plan
channels=[0, 1]returned (2, 500) with its own figure, labeled as the reader's; the console was clean.test-controller.js144 andtest-widget-tools.js222 (real widget, real controller, real runtime over the test worker): Run clicked for real and its result landed and saved; a reader's run that crashes and one that times out; Cancel after a completed run; Stop from the widget; Run disabled while the runtime boots; a double click runs once; both Stop buttons visible at once, each stopping only its own;get_full_outputrefusing a reader's run id with the unknown-id answer.test-workspace.js81 andtest-worker-core.js190; the bundle check is current.chrome.json real IndexedDB: the workspace write page (40 checks, including reader's runs) and the read-after-reload page (14).pytest: all pass except test_version_shows_version fails locally and passes in CI, because rich colorizes on a TTY #434.localmarker, targeted Stop in both directions, theget_full_outputrefusal, the booting branch, and the double-click guard (two independent layers).Part of #433 and epic #429.