Repository navigation
Release 6.0.0 - #68
Merged
Merged
Conversation
slens/ readings centre the residual on the neutral out mean, but probe_hash was unchanged from the uncentred reading and did not bind the means, so a transcript scored uncentred or under other neutral statements validated as the same probe. The head is now slens-footprint-z-v2 and folds in a digest of the means at the probe's layers, taken once per means mapping.
# Conflicts: # drowse/lens/AGENTS.md # drowse/server/AGENTS.md # webui/src/lib/api.ts # webui/src/lib/runtime/contracts.ts # webui/src/lib/webmcp/catalogue.ts
The node-replay lane made LensInstrument.read's of= required; the unit reads lane called it without one. A unit's write and read rows are weight directions, so they take the direction form, never the residual form centred on the neutral mean at the site.
…unit terms in the recipe
…eep unit terms in conversation snapshots
The anatomy cleared the lens readout, so the lens probes pinned during generation left the Probes section, and a token with a captured lens readout but no replay record lost it. The lens pins now follow the steering switch where the anatomy shows (steered, it replays the generation they were captured in), and a token the anatomy cannot replay keeps the lens readout's view. The WebMCP token inspector gates an unsteered lens replay on the same rule as the view.
On a narrow view (the phone, a 300 px Inspector) a unit's catalog label takes its own line under the ID, meter and value, and the layer table's column switch and fold sit in a row below the heading. The heads' heat rows tint an attended token up to Ledger's 9% (22% is a unit's firing). An absent cell's tip says where the lens reads instead of the engine's fitted-layer list.
… the room, ablate unit terms at the neutral mean The Units room's Heads list ranked from the node's top, which on SmolLM2 holds only neurons; heads now rank by their own write at the atlas's token (rankHeads over the population), with an empty-state line when nothing ranks. The selected unit's summary read the + pole whatever fired; it now reads the side that fired here (peakPole, as the unit view opens), for its writes, label, link and rate, and labels are kept per pole. The term card's ablate switch kept a push's signed alpha, so -0.2 ablated amplified the unit; switching now takes the operation's own alpha (1, the neutral mean; 0.2 back to a push), and one rule (unitTerms.ts) refuses a negative ablation alpha and a head push in the snapshot validator and in WebMCP's rack edit. The unit probe row drops its detach marker, which sat it 40 px left of every other probe row; the unit view it selects detaches it. On touch the room's strip and its more button reach 44 px, the key hint hides, and a narrow window takes a short search placeholder.
…e the GPU section The Units room's first load aborted the server on MPS (failed assertion _status < MTLCommandBufferStatusCommitted). The three crash reports (the builder's, the reviewer's and a fresh repro) show the same pair: a request thread copying a tensor off the device (tolist) while another uploaded one (to). The lock-free GET /probes copied each geometry probe's resident node_coords on an AnyIO worker while the room's node replay uploaded its ids, and the token replay rendered and uploaded those ids outside the exclusive section. The probe listing now serves a host copy of the node coords taken at attach (AttachedManifoldProbe.node_coords_host); the inspector's geometry, which copies resident whitened factors, runs under the session lock and inside the exclusive section (session.probe_geometry); and the token replay renders its ids inside the section. A stress loop (a reply cancelled mid-way, the room opened straight after, the probe listing and geometry hammered) aborts the pre-fix server in its first round; the fixed one stays up through ten rounds and 1785 listings, and under a dispatch-mode guard that flags any MPS op made without the GPU lock it records none.
# Conflicts: # tests/units/test_unit_catalog.py # webui/package.json
# Conflicts: # drowse/server/response_models.py # drowse/web/AGENTS.md # webui/package.json # webui/src/lib/types.gen.ts
The term editor is the one editor: SteerCard, AtomSteerCard, RackCard and
TermView stay deleted. One UnitSteerEntry (mode "unit", not an atom
mode); one unit row rule in the snapshot validator (lib/unitTerms.ts plus
no clause); an ablation writes its coefficient like every other term
("1 !head/L28h12").
A unit term in the in-place term editor follows lib/unitTerms.ts: one mutator (setUnitTerm, keyed through parseUnit; addUnitToRack, unitKey and UNIT_DEFAULT_ALPHA removed), patchSteerEntry refuses an edit that breaks the rule (a head push, a negative ablation), and the switch between push and ablation is setUnitOperation's. The editor shows the unit's catalog label (the chip too, unitTermLabel), opens its unit view, and draws its layer on a fixed LayerStrip (no onchange: no presets, no painting), since the grammar refuses a clause on a unit. The dead unitTermExpression writer is gone: formatUnitTerm is the one writer.
An slens/<word> term (toward having read the word; jlens/ pushes toward saying it) is a rack atom like jlens/: a chip, the term editor with its layer strip and clause, the snapshot rows and WebMCP's rack edit. The Lens panel steers by a word either way (Steer, As read; As read checks the expression first, so a session without an S lens says so). The steering docs no longer claim an slens push is refused.
An output kind's target is the last block's output, so its transport at that layer's out is exactly the identity (no block lies between, under the standard and RelP rules alike) and the fit stops a layer short there. lens/read.py::output_transport is now the one place a read meets that layer: plan_reads' R half reads the logit lens there, labelled logit, so token anatomy (reads_as.r, mlp.r), LensInstrument.read and read_prompt (whose default layers gain the last block) have it; the unit reads' population statistics ask the same function, and their fill of an absent half is gone. The anatomy's contribution cotangent at the last layer is the token's own logit cotangent always. No golden changes (the anatomy golden reads synthetic halves at L4 and L9).
E5 cut poles whose neutral act_top is 0 from the activity ranking, but a pole with a tiny one still topped it (SmolLM2 L31n2394+, act_top 0.055 against its layer's typical 2.28, read 169). Every activation_over_scale now divides by sqrt(s^2 + (c m)^2): s the unit's own act_top, m its layer's median for its kind (both poles of every neuron; the layer's heads), c = SCALE_FLOOR_SHARE = 0.25 (units/stats.py, soft_scale and LayerUnitStats.neuron_reading_scale / head_reading_scale). On SmolLM2 0.24% of neuron poles and 1.25% of heads sit below c m; a unit at the median reads 3% lower than over its own scale. No unit is cut: a silent pole reads over c m and ranks with the rest. Probes, gates, the units token readout and unit activity share it; Firing.neutral reports it as scale. The c choice is documented in drowse/units/AGENTS.md.
Anatomy unit rows carried the raw activation (a head's write norm) while unit activity, probes and the unit view read over the neutral scale. Each layer's row now also carries activation_over_scale, over the unit's soft scale, computed on the device and packed into the anatomy's one transfer (None without unit statistics; the cross-layer list stays None). The token view's unit tips lead with it. Envelope change: AnatomyUnit gains activation_over_scale; measurement-envelope-v2.json regenerated (its anatomy fixture rows gain a fourth value).
JLensPanel keyed found rows aggregate:${token}; two byte pieces that both
decode to U+FFFD collided and the keyed each threw each_key_duplicate
mid-reply. The lens aggregate now carries each chip's vocabulary id from
the device to the wire: runtime.aggregate_rows yields (token, strength,
com, spread, token_id) (LensAggregateRow in readout/measurements.py), the
envelope's lens readout aggregate entries gain id, and the webui's chips
keep it (LensAggregateChip). Found rows come from probeRows.foundLensRows,
keyed aggregate:${id}. Envelope change: measurement-envelope-v2.json's
lens aggregate entry gains id.
The startup banner said "Live J-lens readout" for whichever output lens was selected and "S-lens" for the other. It now names the 6.0 model's two families and the source: "R-family lens local:r: live readout on (31 fitted layers)", "S-family lens local:s: slens/ reads, probes and atoms", with the mismatch and failure lines in the same words.
The DEFAULT_FIT_DOCUMENTS comment held an estimate (about 0.6x of 25 documents' split-half). Measured on SmolLM2-360M at the defaults (64 FineWeb-Edu documents, both sites, MPS): R:out 0.02-0.28, median 0.17, in 330 s; S:out 0.06-0.22, median 0.12, in 342 s; medians 0.62x and 0.65x of 25 documents', near the 1/sqrt(n) estimate of 0.63x.
…tion ran them Steering resolution, the live lens toggle, lens reconciliation and the transcript's probe digests uploaded to or read from the device without the model lock, beside background fits that hold it. The registry now runs every lazy load in the exclusive section, the composer resolves under its model lock, decompose resolves inside its section, the live toggle and lens reload enter the section, the compatibility check is metadata only, and geometry probes record their digest at attach. Validation runs in a worker thread and answers 409 while the model is busy instead of blocking the event loop. The token replay behind every family's token readout now segments the forward with replay_segments, as the node replay does, so a triggered recipe reads the same number in the readout, the anatomy and the activity, and a gated or thinking-phase term refuses in every replay.
Fix e made the aggregate chip's id required under envelope version 2, but the tree reader checked only the version, so a pre-6.0 row or an outdated producer's PUT /tree loaded and the dashboard keyed every chip by an undefined id. Version 2 was never released without ids, so the reader now refuses such rows instead of bumping the version and the goldens.
slens/ atoms steer, unit mean-ablation keeps the attention sink, and the local lens fit defaults to 64 documents.
…spector's view Also correct the webui README on where the command palette lives (⌘K, or Menu → Search everything).
Clear chat, another conversation or another branch drops a token selection and the rest whose turn no longer holds that node, so the rooms read the latest reply whole instead of a token nobody selected.
…the A/B twin shown
…rough the lens readout without the anatomy A failed replay had left the previous token's anatomy under the new token's heading and its lens probes as this token's. A runtime with the lens token readout but no anatomy (the browser's) now reads each token through it, R lens alone, instead of saying it replays none. The empty room leads to the Workbench in place of a caption, and a phone's layer rows show two words a lens whole.
The server's sentence, which on HTTP names CLI commands, moves to the tip.
…Units list by its rows An empty Units room leads to the Workbench. The list's count is its rows at a token as over the reply; the model's whole population and the values' scale ride the tip.
…ip token from taking focus
"push" and "silence" found nothing and "steer" only the Workbench. Each Steer entry opens the picker on its kind; the kind the picker remembers moves to the workbench store.
selection.svelte.ts had imported the chat log, whose imports need an installed runtime, so a test that loads the selection first failed to load.
Ledger defines a gallery build script, so npm prepares it as a git dependency, and npm 11.19 (Node 24, as CI runs) refuses that step with EALLOWSCRIPTS. The tag's tarball skips preparation, needs no SSH and records an integrity hash.
…the Lens room's whole view A neuron pushes at its one layer, where an atom pushes at each of its layers with the same per-layer budget, so at the old default (0.2 on a ±1 dial) a push never changed a SmolLM2 reply's words. Measured at temperature 0: a top writer's word first shows near 3 from layers 26-27, the last layer's writers loop by 2, and early layers only shift the theme even at 8. Atoms keep their ±1 dial. With no lens probes over the reply, the Lens room's whole view was a card and a link. It now reads the reply's last token through both lenses (tokenCursor.replyLast), beside Watch a word, and the cursor stays whole.
6.0 already carries 5.4.1's probe-reader and mixed-steering fixes in its own form (digests recorded at roster writes, host payloads at attach), so every conflict keeps 6.0's side. New here: extraction refuses to reuse a folder of more than two nodes as a vector. 5.4.1's add_probe refusal test is dropped: 6.0 fits an installed unfitted manifold in place on attach (test_probe_attach_unfitted).
… prior check CodeQL flagged the tests' one-pass comment and tag stripping (a pass can join a split match into a new one) and check-ledger's existsSync before the read and write. The tests share scripts/markup.mjs, which repeats each removal until nothing changes; the ratchet is read once, a missing file reading as none.
a9lim
enabled auto-merge
November 2, 2026 00:22
The test curve passes through neutral at one node, so that node and neutral tie exactly, and argsort's order for the tie followed the platform's float rounding: CI's Linux runners read neutral first where macOS read the node. The test now requires the labels read to be the reference's three nearest by distance, in order, whichever way a tie falls.
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.
Version:
__version__is 5.4.1 here (from main). a9 bumps it to 6.0.0 on this branch before merging, which makesrelease.ymltagv6.0.0, publishdrowse.aito PyPI and cut the GitHub release. Merging without the bump is a no-op.Main merged in: 6.0 already carried 5.4.1's probe-reader and mixed-steering fixes in its own form, so the merge keeps 6.0's side; it adds 5.4.1's refusal to extract a folder of more than two nodes as a vector. drowse.ai pins this repo as a submodule, and its parity changes for 6.0 land there separately.
6.0 reads the model's own parts. The Jacobian lens gains its input family:
four kinds (R, J, S, K) at two places in a block, fitted by one estimator;
neurons and heads become things you read, probe, gate on and ablate; any
generated token can be replayed layer by layer; every steering term can be
scoped to exact layers; and the dashboard is redrawn in Ledger, the Standard
Logits design system, around rooms that read the model token by token, with
all steering in one place. The persisted formats and the browser seam freeze
at this release.
What's new
Lenses: two families, four kinds, two sites
vector is disposed to make the model say, read through
W_U), the S family(S under RelP rules, K standard) reads what a vector has read, as a
footprint z over the input embedding. One R and one S source are selected
per model and resident together.
out(a block's output: where a neuronwrites and a head reads) and
mid(after attention: where a neuron reads anda head writes). A read at a site the source lacks says so; it never falls
back to the other site.
early, R late, both weighted in a crossover band (a 15–35% prior).
drowse lens top(now with--site) andsession.lens.read(vector, layer, site, of="residual" | "direction")read every layer that way and say whichlens they used. Residual S reads are centred on the neutral mean at their
site; direction reads are not.
lens.fit.fit_lensis transport, ported from neuron-lens:per-block maps written out by hand over a verified block description
(
BlockSpec), one sweep per seed covering every layer and both sites, noautograd.
drowse lens fit --kind r|j|s|k --sites out,midfits any kind;local fits average 64 documents by default and record each site's split-half
difference per layer (the signal for whether more documents would help;
--no-split-halfskips it). Fits checkpoint every--checkpoint-everydocuments and every ten minutes, and Ctrl-C or SIGTERM finishes the document
in flight and saves. Dense decoders only: mixture-of-experts, hybrid and
quantized blocks raise
UnsupportedBlockError.drowse lens fetch MODEL rs-r/rs-sbindstdlogits/rs-lenses' R and S lenses at both sites (Qwen3-8B, Gemma 4 12B).
in text: counts from the bound neuron-lens catalog, else from
drowse lens counts MODEL(streams the lens corpus through the tokenizer, nomodel load), else the tokenizer's rules.
lens showandlens topname thesource.
slens/<word>steers toward having reada token and probes its footprint z (weighted toward the early layers where S
is the faithful read); it gates like
jlens/(@when:slens/owl>3).lens decompose --dictionary tokens-out|tokens-in|neuronsdecomposes adirection in the Mahalanobis metric.
Units: neurons and heads
neuron/L8n344andhead/L20h17are a fourth read family(
session.units): probes, gates (no probe needed) and readings over aper-unit scale.
drowse unit read, the ninth verb): what a neuron writesand fires on, per pole, and what a head copies or suppresses and reads,
each through the depth rule, with hub tokens optionally hidden by
neuron-lens's layer-contrastive z (
--hide-hubs).unit top TOKEN --by writes|firesfinds the neurons behind a token;unit find SELECTORtheneurons a direction is made of.
!neuron/L8n344and!head/L20h17mean-ablate a unitexactly (the attention sink keeps its own activation);
0.3 neuron/L8n344pushes along a neuron's write. Throughput holds at 99% of vanilla with eight
neurons and two heads ablated (SmolLM2-360M, MPS).
drowse unit fetch MODELbindsstdlogits/neuron-lens at a pinned commit for Qwen3-8B and Gemma 4 12B: a
label for every neuron pole and head (written by Claude Haiku 5.5), firing
rates and token counts, with links to neuron-lens.com. A bound catalog sets
the unit reading scale (its
act_top, so 1.0 is "as strong as this unitusually fires in text") and the S token mask. Without one, readings divide
by the neutral statistics' scale (with a floor that does not shrink with
depth) and are labelled relative to the neutral text.
Token anatomy and unit activity
session.token_anatomy(node_id, raw_index)replays one generated tokenthrough one tapped forward: what the residual reads as through both lenses
at every layer, what attention, the MLP and the steering added, the neurons
and heads that pushed the token, and where the top heads looked.
session.unit_activity(node_id)reads every neuron and head over a turn:the strongest units with their peak token, traces, and one token's whole
population. Both are served under
/drowse/v1/sessions/{id}/instruments/.Both read a prompt turn too: its captured tokens replay through the turn's
prompt capture, unit activity in one prefill.
coordinates (
subspace_coords_per_layer), where the probe plot places thetoken, whether or not the generation streamed them.
Steering
-0.5 deceptive{12-20},!jlens/Paris{24-30}@response,0.4 personas%hacker{workspace}. A clause restricts a term to those of itsfitted layers; naming an unfitted layer is a 422 that lists the fitted ones.
The layer-selector language (
--layerstoo) gains inclusive ranges.(
parts: kind, coefficient or along/onto, phase, token window, gate,projection, the layers it acts at and their share).
The dashboard
@stdlogits/ledger0.1.1): flat, borderless, one depthaccent. The header holds six rooms, in order: Workbench (thread, page,
Inspector), Units, Lens, Probes, Artifacts and Model. Streamed numbers use Ledger's MorphText
directly: since 0.1.1 it shows a value that changes faster than its morph as
plain text until it settles. Wherever the dashboard chooses an order it is
neurons and heads, lenses, linear probes and vectors, manifolds, SAEs.
anatomy, readings, steered or unsteered), a probe's geometry, a unit. With
nothing selected it holds the instruments: the unit probes, the lens, the
geometry probes, the SAE's features, sampling.
readouts of the conversation at one token cursor shared with the workbench:
a strip of the whole conversation's tokens, prompt tokens included, stepped
with ← and → (across turns), Home and End (the ends of a turn's thinking or
text) or a click, or the whole reply. Stepping in a room selects that token
in the workbench, and the workbench's selection moves the rooms. Units
reads the units strongest at the token (each at its peak, whole), or a whole
layer at once; the chosen unit shows its activity token by token, what it
writes, and its Push and Silence. Lens reads each layer through both
lenses at the token: what the S lens reads there and what the R lens says,
weighted by the depth band, steered or unsteered, with the lens probes;
whole, the lens probes over the reply, or with none, the reply's last token. Probes lists the linear probes
and vectors (the value at the token and the trace over the conversation),
then the manifolds (where the token sits, placed in the probe's fitted
geometry), then SAE features. None of them sets anything up: a missing
catalog, lens or probe is one link to the Artifacts room.
priority: the neuron-lens unit catalog, the lenses (both families at both
sites against the depth band, with split-half by layer, fetched or fitted),
probes (built, installed, combined), templates, roles and SAEs. Every link to
setup leads to its section, and the command palette (⌘K) finds each by what
it does ("fit a lens", "build a probe"). The Model room shows the model's
layers, neurons and heads, device, versions and what is prepared for it.
the composer. "+ Steer" picks, in the order of priority, a neuron or head
(by ID, by a word it writes, or among the latest reply's most active
units), a lens token, a concept, a manifold position or an SAE feature; the
palette opens it on any kind ("steer", "push", "silence"). The instruments
keep one-click shortcuts that land in the same strip: Push on a lens word or
an SAE feature, Push and Silence on a token's neurons and Silence on its
heads, Push +, Push − and Silence on a unit (a head is silenced, never
pushed). The new chip opens its editor under the strip and leaves the view
it came from as it was, so a Push from a token's anatomy keeps the token in
view. Chips sort neurons and heads first; the expression keeps its order.
strength, a layer strip, phase and token windows, "Only while…" gates, a
relation to another concept, removal. The dashboard takes no typed recipe
text: a recipe it cannot draw (from an agent or the API) stays one
read-only chip and is sent as written. Agents, HTTP, the CLI and Python keep
the full expression language.
as
cancelledon its loom node and marked "stopped early".writes used to be disconnected (1013 once 256 events queued), which ended
the reply. Now generation never waits on the reader: the server drops the
frames it cannot deliver, sends one
resync, and the page catches up fromthe tree, so the reply keeps its own finish reason. The server's keepalive
ping no longer times out a busy reader either.
keeps only what the thread's tint, the rack's trace and the tree filter
draw: every probe's score and a geometry probe's share and coordinates, at
six significant digits. The token view and the hover replay the rest of the
token (the lens and SAE replays now return the attached probes' readings
too), and each reply keeps its settled reading once on its node. A row is
about 2 kB a token with the 17 default probes on SmolLM2-360M (the token's
whole envelope is about 118 kB): ten long replies (8,000 tokens, 21 probes)
autosave in 24 MB, well under the dashboard's 64 MiB limit. A prompt
token's row was kept whole (about 42 kB) because nothing could replay it;
its turn now records where it was measured (the steering, the render and a
digest of the prompt before it), so the token view and the hover replay
prompt tokens too, Steered or Unsteered. A pasted prompt of 2,500 tokens
saves in 4.6 MB, where it used to pass the autosave limit on its own.
@when:gate replays onedecode position at a time, firing the gate where generation did, so its
token view, anatomy and unit activity work after a reload.
favicon.ico, the app and touchicons) are Ledger's mark: the closed eye on the depth ramp, in light and
dark. The per-state tab icons and the Fluent artwork are gone. A
browser asking the dashboard for a file it lacks (
/apple-touch-icon.png)gets a 404 rather than the page.
Performance
reading them one at a time: the served dashboard with
monthsattached wentfrom about 16 to about 50 tok/s on SmolLM2-360M (MPS).
subspace coordinates, the live R readout at every layer, eight
alternatives, a loom row and a WebSocket frame per token) at ≥ 50% of
vanilla; it measures 61–68% on SmolLM2-360M (MPS) across the release runs.
What breaks
Formats (all frozen at 6.0.0; readers accept only these)
meta)scoresand each geometry reading'sfractionandcoords; an authored node'sprompt_captureanchors its prompt rows' replay)tree_formatfinish_reasonmay now becancelled; every node carriesaggregate_measurements, null or its reply's settled envelope; a node's token fields addprompt_capture)finish_reasonon generated turns)prompt_capture)midmeans; capture version 2)split_half;oddonly incheckpoint.json)manifold.json,template.json,.drowseBundled concepts
Three bundled axes had the model's own default answers at or past one pole
(the neutral mean sat at s = 1.01–1.20 along
honest.deceptiveon everySmolLM2-360M layer, where 1 is the deceptive pole), so
0.5 honestpusheddeceptive-ward on all 32 SmolLM2 layers and 34 of 36 Qwen3-8B layers. They are
now one-node concepts measured from the default answers:
honest.deceptivedeceptive0.5 honest→-0.5 deceptiverefusing.compliantrefusing0.5 compliant→-0.5 refusingsincere.manipulativemanipulative0.5 sincere→-0.5 manipulativeA positive strength pushes toward the concept, a negative one past the
default (more honest, compliant or sincere than the model already is). The
table maps direction, not strength: a one-node concept runs hotter than the
old axis did, and SmolLM2-360M stays coherent to about ±0.15 (Qwen3-8B to
about ±0.35). The probes read 0 at the neutral baseline and 1 at the concept
(SmolLM2-360M's own replies read near 0; Qwen3-8B's read about 0.5, since the
bundled neutral corpus was written by another model), so gates and tree
filters on the old axes need new thresholds (for example
agg:deceptive > 0.5where you wrote
agg:honest < 0). The old names do not resolve, and there isno alias; the first run of 6.0 removes the old
default/folders and theirfits with a warning. The bundled roster is still 17 concepts.
Recipe composition
A regenerate's sampling now ranks cast < anchor < call < modifier: a sampling
field the call sets beats the turn it anchors on (in 5.4 the anchor won, so a
regenerate ran at the old turn's temperature and length, not the ones it was
sent with; golden
recipe-compose-v1.json).A regenerate that sends no sampling still reproduces the anchor exactly.
Steering, thinking and the system prompt keep cast < call < anchor <
modifier, and the seed still resolves modifier > call > anchor > cast. The
dashboard's A/B comparison sends no sampling of its own for that reason.
Removed and renamed
lens.fit.fit_jacobian_lens→lens.fit.fit_lens(kind=, sites=); theprompt_batchandvjp_modeknobs are gone (so islens fit --prompt-batch, and the WebMCP lens-fit schema'sprompt_batch).RelpUnsupportedError→UnsupportedBlockError(422).LensKey.side(output/input) →LensKey.family(R/S);lens_source_side→lens_source_family;lens_family()removed;load_lens/load_lens_sidecarandLENS_SOURCES.activetake a family(
"R","S"). The on-disk spellings (active.json'soutput/inputkeys, a manifest's
estimator_policy.direction) are unchanged.drowse_navigatemoves through the rooms:room(workbench,units,lens,probes,artifacts,model),section(any room'ssection, which selects its room:
lenses,build,saes, …),pageandtoken_details. 5.4'sview, Controlssection,expanded,presentation,left_sidebarandheaders_visibleare gone;instrument,loom_viewanddrawerremain.session.probe_geometryis gone (the geometry route serves a host payloadtaken at attach).
The native WebSocket
resync {dropped}frame: the server skipped thatmany
tokenandtree_mutatedframes for a slow reader, and the rest is inGET /tree. It always precedes thedoneof a reply it affects. Theoverflow close (1013 at 256 queued events) is gone; a send the peer accepts
nothing of for 30 s still closes 1013.
done.resultgainstok_per_secandelapsed, the engine's own timing.CLI
drowse unit(read,stats,top,find,fetch,ls,rm);lens counts;lens fit --kind s|k,--sites,--no-split-half;lens fetch rs-r|rs-s;lens top --site;lens decompose --dictionary;{a-b}ranges in every--layers.lens fit --promptsdefaults to 64 (was 100);servealso selectsan S-family lens at startup and narrates the layers DLS drops, which is the
one report of a degenerate axis (
compute_dls_axesno longer raises aUserWarningwhen no layer passes).lens fit --prompt-batch.Migrating from 5.4
neutral pass per model.
transcripts, dashboard backups and saved chats) do not load. Export
anything you need from 5.4 first.
lens fitted with 5.4's default of 100 documents is not replaced by a
64-document fit: pass
--prompts 100(which also adds themidsite) or-f. Lens homes from before 5.4 still needpython scripts/migrate_lens_v7.py --home ~/.drowse.upgrade: 5.4 served
drowse.jsand the page with noCache-Control, so abrowser could reuse them for a while without asking. Reload once with the
cache bypassed (Shift-reload). From 6.0 every dashboard file says
no-cache, so later upgrades show at the next load.fit_jacobian_lens,LensKey.sideor the side-namedlens helpers moves to the names above. Steering expressions from 5.4 keep
their meaning, except the three recast concepts (
0.5 honestis now-0.5 deceptive); numbers and layer clauses now take ASCII digits only.clauses, unit atoms), its lens reader (S/K kinds,
mid,split_half), itshosted fit (
fit_lens(kind=, sites=("out",))), envelope v2 with the leangenerated rows and the node's
aggregate_measurements, the sampling orderof recipe composition, the three one-node concepts in its catalog, and the
Ledger shell (its own package moves to Ledger 0.1.1 with the submodule).
Until its submodule pin moves, it keeps reading out-only J/R packs.
Verification
the package-isolation build and the webui build with a dist-drift check)
runs in CI on Python 3.11, 3.12 and 3.13 on this PR. Locally on macOS
(Python 3.13), on this branch with main (5.4.1) merged:
pytest -m "not gpu and not perf"5,973 passed, 7 skipped;svelte-check0 errors, theLedger ratchet at 0, two builds with no drift;
npm cion Node 24's npm.tests/gpu64 passed, 1 skipped; thethroughput gates: steered 97% of vanilla, ablation plus additive 89%, unit
ablation 101%, the served dashboard 67% (bar 50%). Served walks: steered replies (
±0.15 deceptive),chips built and reloaded, Stop recorded as cancelled; ten long replies
(8,027 tokens, 21 probes) autosaved in 23.6 MB and drew the same after a
reload; a page throttled to read slower than the model got one
resyncanddrew all 1,024 tokens with no close; a gated reply's token view replayed
after a reload; a pasted 2,513-token prompt saved in 4.6 MB and its tokens
replayed Steered and Unsteered to the captured values; every room walked
token by token, prompt tokens included, the same after a reload; each
"+ Steer" kind, and a neuron silenced from each instrument, changed a
temperature-0 reply;
no console or HTTP errors at 1440, 1024 and 375 px, light and dark.
with neuron-lens's published tables (every S half in its top 64; head copy
scores within 1e-5; late heads recomputed in fp32 match 64/64),
lens top's S reads match anindependent footprint over neuron-lens's kept tokens (top-1 140/140), the
catalog scale puts the strongest neurons at 1.6–4x their catalog
act_top,and a served walk (steered reply, unit view, Stop → cancelled) ran clean.
deceptive,refusingandmanipulativefit on all 36 layers, and0.35and
-0.35 deceptivepush each way on every layer and in served replies.CUDA paths (
flash,cudaextras,--cuda-graphs) are unchanged from5.4 apart from the new lens and unit code, which ran only on MPS and CPU.
Known open items
religious.secularhas the default answers at its secular pole on mostlayers (19 of 32 SmolLM2-360M layers and 28 of 36 Qwen3-8B layers at or
below s = 0.05), the shape the three recast concepts had; DLS keeps 22 of 32
and 34 of 36 of its layers. What to do with it is open.
@after,@thinking) on amodel that thinks is refused; the token view says so and shows the
unsteered replay.
the catalog's (neuron-lens publishes no weights identity).
at 3 on a dial to ±8: on SmolLM2-360M a top writer's word first shows near 3
from layers 26–27, the last layer's writers loop by 2, and early layers' only
shift the theme even at 8. Agents, the API and the CLI take any strength.
room replays without the steering.
Credits
Drowse is written by a9lim with Claude. Unit reads follow neuron-lens's
definitions; the catalog's labels are by Claude Haiku 5.5.