Skip to content

Codex/drowse browser workbench - #61

Merged
a9lim merged 27 commits into
mainfrom
codex/drowse-browser-workbench
Oct 30, 2026
Merged

a9lim merged 27 commits into
mainfrom
codex/drowse-browser-workbench

Conversation

@a9lim

@a9lim a9lim commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

What

Why

Test plan

  • ruff check . passes
  • pyright passes
  • Non-GPU tests pass (pytest -q -m "not gpu")
  • GPU smoke tests pass (if touching model loading, fitting, generation, hooks, or monitors)
  • npm run check && npm run build passes and the committed bundle is current (if touching webui/)
  • Manually verified against:

Notes

logitsml and others added 25 commits September 11, 2026 13:48
Chats and Models:
- scope download status to the selected model, so pausing one download no
  longer hides Open for an installed model
- push history for Chats/Models so Back and Forward work, and warn or pause
  before leaving or updating mid-download
- show the catalog error instead of a normal first run, with Check again
- one decimal byte formatter, storage checks that include setup packs,
  first-run preselection, model comparison and an on-device storage list
- show saved chats before the device check finishes; backup all, multi-file
  import with duplicate detection, Unicode backup names, undo for deletes,
  search, sort and a model filter

Public pages:
- real prerendered Privacy, Learn, About, Contribute and third-party
  license pages; prerender Credits and Contact with their own metadata
- landing browser check, what-you-need, glossary, FAQ, catalog-matched
  model links, accurate demo labels and provenance, hero pause control
- sticky header that keeps its home link on phones, site and app nav
  variants, grouped footer with version and source link, OS theme default
- fuller credits (models, research, software, licenses, citation) and
  accessible contact selects, field errors and tab-scoped drafts

Performance and caching:
- precache drops from 1,073 entries / 8.7 MB to 118 / 1.8 MB; hashed JS is
  no longer refetched every release; versioned WASM and hero video URLs
- re-encode hero videos (6.3 MB -> 1.5 MB), JPEG social image, lazy WebMCP,
  hydrate prerendered pages, defer service-worker setup on public pages

Security:
- contact worker: global daily cap, optional Turnstile, stricter title and
  origin checks; HSTS, wider Permissions-Policy, report-only Trusted Types
- upgrade vite, puppeteer, wrangler and the vitest plugin past the audit
  findings

Also fix the dead a9lim/polythetic repository links and add a web app
section to CONTRIBUTING.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A new site page that browses the 1,491 clearest of Qwen3-8B's 442,368
MLP neurons from the neuron-lens catalog: a depth ribbon across all 36
layers, a layer rail with stats and heads, and a neuron view with both
poles side by side, depth-trusted lens reads, real-text firings and
drivers. Search by concept or ID, Chinese glosses from CC-CEDICT with
an inline translation toggle, and Torph text morphs throughout.

scripts/neurons/build-neuron-catalog.py builds the static JSON into
public-hosted/neurons-data/, which stays out of git; it is copied into
release builds only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The depth explorer is now the page's centrepiece: large, with a fisheye
on hover, a scan on load and a ripple on the selected neuron. Each layer
opens on its 12 easiest neurons in a card strip, and the neuron view
leads with a "Triggered by / Steers outputs" overview, plain section
names and expandable detail.

An "All 442,368" toggle draws every neuron as a cell, brighter where it
is easier to read, and loads its lens reads in 256-neuron chunks. The
builder's NEURON_ALL=1 mode and pack-scores.py produce that data.

The key, the instructions and the credits line are gone, light mode
uses soft shadows instead of outlines, and the copy is shorter.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…cript CSP hash

About and Privacy produced identical CSS, so the build stored one file under
About's name and Privacy linked to a stylesheet that was never written.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The shell file's own URL is a deliberate 404, so precaching it failed the
worker's install on drowse.ai. The deployment checker now expects the
trailing-slash redirects and the real 404 for unknown /app paths.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@a9lim
a9lim enabled auto-merge October 30, 2026 03:03
@a9lim
a9lim merged commit 9babf4b into main Oct 30, 2026
17 of 23 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.

3 participants