Repository navigation
Phase 4: align the notebook ADR, guide and prompt with the code - #457
Merged
neuromechanist merged 4 commits intoSep 23, 2026
Merged
neuromechanist merged 4 commits into
neuromechanist merged 4 commits into
Conversation
zarr.nemar.org already admits osc.earth and every *.osc.earth origin (checked live 2026-09-23), so a notebook site hosted there needs no nemar-cli change. The export list now names results/ and the reader's own runs.
The guide's manifest fields gain local, and its limits say the 25 MB budget and the 32-file cap count explicit saves only, as recordRun does. execute_code tells the model the same caps osa.save_* enforces.
A worker the recorder could not attach to makes every byte and request count an undercount, so the run now fails naming it, as chrome.js does.
OSA's wheel route admits embed origins and the demo hosts, not every osc.earth subdomain, so a hosted notebook there still needs an OSA allowlist change. The bench comment now claims only the attach failures reported before polling ends.
Contributor
Preview Deployment
This preview will be updated automatically when you push new commits. |
neuromechanist
merged commit Sep 23, 2026
28cbf82
into
feature/issue-429-epic-browser-execution
14 checks passed
This was referenced Sep 23, 2026
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
A follow-up to phase 4's three pull requests (#454, #455, #456). A cross-piece review found no functional break between them, but found text that no test reads and that had drifted from the code it describes. This corrects it.
What changed
ADR 0010 and its measurements note. The export list now names
results/run-NNN/and the reader's own re-runs, and describesnotebook.ipynbas a markdown cell and a code cell per run, asbuildNotebookwrites it. Prerequisite 3 for a hosted notebook was wrong in both directions.zarr.nemar.orgalready admitsosc.earthand every*.osc.earthsubdomain (confirmed live on 2026-09-23 againstnotebook.osc.earth,app.osc.earthand the apex;example.orggets no header), so nemar-cli needs no change for a site hosted there. But OSA's own wheel route is narrower: the edge'sisAllowedOriginand the API's_is_authorized_originadmit the community's embed origins and the demo hosts, not an ordinaryosc.earthsubdomain, so a hosted notebook still needs an allowlist change in this repository. #453's prerequisite list now says the same.The adopter guide and NEMAR's
execute_code. The guide's manifest fields gainlocal. Its limits said "one run's files together are at most 25 MB";recordRuncounts explicit saves only, so they now say explicit saves are at most 25 MB and 32 distinct files, and that a run's automatic files are bounded only by the per-file and per-community caps.execute_codenow tells the model the capsosa.save_*enforces: 32 files, 10 MB each, 25 MB per run.notebook-bench.js. A run fails, naming the worker, when the recorder could not watch a worker's network, since every byte and request count is then an undercount. This is the checkchrome.jsalready applies.Test plan
uv run pytest -m "not network" -k "nemar or config or adr or drift": 653 passed, 9 skipped.ruff checkclean.notebook-bench.jsparses underbun build --no-bundle; it is a manual measurement script and not run in CI, so the new check was verified by reading it againstNetworkRecorder.attachFailuresinchrome.js.osc.earthhost) and an overstated comment in the bench, both fixed ina72197f. Its one suggestion not taken: a comment thatrecordRundoes not deduplicate paths. On duplicates the host check over-counts, which only refuses more, and a comment in that bundled module would change the runtime bundle and the widget's integrity hash for no change in behavior.Part of #433, epic #429.