The storage model
A model of your habits is the kind of thing that should be legible to you. So rather than describe what it writes, this page writes it — in front of you, from the real module — and shows you the bytes.
the entire contents of ps.router.v1
(press Train to generate it)
Sandboxed: this page keeps the module in memory rather than in your real
localStorage, so reading this leaves nothing behind. The shape
is exactly what the app writes.
| field | what it is | can it identify you? |
|---|---|---|
| on | Whether you left learning switched on. | No |
| arms | Seven compositions, each with a running mean, an evidence count, and two arrays of 24 numbers — the ridge regression over hashed words. | No: the hash is 24 buckets wide and one-way, so thousands of words collide into each. There is no word list here to read back. |
| dom | Up to twelve domain ids — code, cook, money — with a per-composition tally. | Coarsely. It says which of 33 broad areas you have been working in, not what you asked. |
| total, seq | How much evidence there is, and a counter for evicting the least-recently-used domain. | No |
| offers, accepted | How often a suggested composition was taken unchanged — the number that says whether this layer is earning its place. | No |
What is not there is the point: no prompts, no asks, no words, no timestamps, no identifiers. The model is a few hundred numbers describing which of seven settings you tend to land on.
The eval reads router.js off disk as text and fails the build if
fetch(, XMLHttpRequest, sendBeacon,
document.cookie, WebSocket,
EventSource or importScripts ever appears in it. A
promise that lives only in a comment is one edit away from being false.
Switching learning off does not set a flag over a model that stays in
storage. It erases the model and writes a marker carrying no interaction data
at all — {"v":1,"on":false}. The only thing stored about someone
who said no is that they said no. The test asserts on the bytes, not on the
API's return value.
This is the one that was briefly wrong, and it is worth saying so. Prompt Studio already had a learning layer with its own key. Adding a second one behind the same switch meant the switch and the Forget button silently covered only half of what the app remembered — including a case where someone who had turned learning off before the router existed would have been opted back in by the new key defaulting to on.
All three paths are now asserted against the real DOM in
tests/ui-router.js: the switch governs both layers, Forget
removes both keys rather than blanking them, and the upgrade case keeps the
choice the person actually made. The lesson generalizes — the moment there
are two things that remember you behind one switch, "nothing is stored"
stops being a fact and becomes a claim that has to be maintained.
Diagonal rather than full covariance, twelve domains kept of however many you touch, and decay that removes what stops being fed. The eval prints the serialized size and fails above 12 KB; measured, it is about 2 KB after a week in one domain and under 8 KB at the twelve-domain cap. The counter above this paragraph is the real thing, so you can watch it grow. A convenience must never be the reason a browser starts throwing away the origin's data.
Cross-site browsing history is not available to a web page — browsers block it by design. No honest version of this feature could read what you did on other sites, and this one does not try. Everything above is about the much smaller question of what it does with what you type into this one box.