Home / Account / Your vault

Your vault · beta

Your vault

Your notes and your reading account live in this browser. The vault is their second home, one you own and every device of yours reaches with a passkey; the lane is how the notes you choose reach the newsroom without the rest. Open it on the right, or connect a browser that cannot; read, tap, update, send.

A beta. The pane on the right is the vault, in four tabs: This page, your notes on what you read and the lane that carries the ones you choose to the newsroom; Reading, every page read in this browser, with its decision; Vault, the reading account this browser keeps, carried between your devices through an encrypted vault that opens with your passkey, and the link that lets a browser without your passkey send into it; Keys, every vault of your account with its key. It is on every page, behind the Vault button beside the balance; the button counts what is only in this browser, and a strip above the tabs names it, with Update the vault one press away. Nothing about the meter changes; the vault is a second home for its data that you keep current.

The feedback loop

  1. Read, and tap. On any page, open the pane; it stays open from page to page until you close it. Above the chips it says what this browser knows about the page: read how many times, when, how far, what it cost. Select a phrase if one is the point. One tap keeps a note in this browser: Done (read it, done with it, off your lists), Read later, Follow up, Not for me, More like this, Liked, Wrong, Fix this, Idea, with the phrase you had selected. Under the chips, Write to the newsroom takes a message for the newsroom’s agent, about the page or anything else: Save and send keeps it and sends it in one press; Save, send later keeps it for the next send. On the wire, six of the decisions are at each story (Done, Read later, Follow up, Not for me, More like this, Wrong), and a decided story folds to its headline. The Reading tab lists every page read here, newest first, with its decision, and folds the done ones away.
  2. Update the vault when you like: from the strip above the tabs, from the Vault tab, or from the wire’s bar. This device’s notes travel with its reads, top-ups, personas and the wire stories it has seen to your other devices, in this device’s own file. Until you do, they exist in this browser alone: the Vault button counts them, and the strip says what clearing the browser would lose.
  3. Send from a browser without your passkey. One an app opens links in, one signed in to nothing, an old iPad: in the Vault tab, Make a link for another browser, then open it, paste it or scan its QR code there. That browser can add what it holds to your vault’s inbox and read nothing; the Vault tab shows what arrived, from which browser, before you bring it in. The sending page, the design.
  4. Send to the newsroom the notes you have not sent. The first send makes a lane: a vault of its own, whose write key stays in your master and whose read key the pane shows. Hand that key to the newsroom once, in the open; it reads the lane and cannot write to it, and nothing else of yours is in it. Later sends go to the same lane. A send also rewrites this device’s file in the reader vault, so your other devices see the notes as sent.
  5. The newsroom reads the lane with sgit clone or admin/build/lane.py, and answers in the open: a fix in a release, a version of an article. Nothing comes back through the lane.

The design, the record, what is not built and the experiments to run are in the feedback loop.

Open, or connect

Two ways in, and nothing to name first. Open your vault with your passkey: this browser reads it and writes to it, the meter shows your whole account, and what you read here reaches your other devices. Connect with a link, in a browser that cannot reach your passkey: it only sends; what it holds goes to your vault’s inbox, and where the vault is open you file it under a device you already have, or a new one. The map of the states a browser can be in is in the design.

  1. Open with your passkey. If no passkey answers, the pane offers to make one for this site. The first time there is no door at the derived address: paste an access key and Create the account. Three vaults are made (a door, a master, a reader vault), the access key goes into the master, and a recovery code is shown once. An account made before the pane wrote the access key into the master asks for it once.
  2. Which device is this? When the vault already knows devices and this browser is none of them, the pane asks: one of them, with its reads and last update, or a new one with a name. Two browsers can share a device (the iPad’s two browsers, two Chrome profiles): one row across your devices, one author on the records, every write combined with what the vault already holds for it. Taking a device as this browser’s own brings its records here as this browser’s.
  3. What the vault holds comes here. After the open, the other devices’ reads, notes and stories seen are brought into this browser on their own, tagged with their device, and the meter shows the account’s balance, recomputed from every record. On a page change nothing is brought in without you: the Vault tab and the strip above the tabs say what is in the vault and not here, with Bring them here one press away.
  4. Read, and update. The meter charges into local storage as it always has; Update the vault writes this device’s records as one file, one commit, published, combined with what the vault had for it.
  5. Connect with a link, in a browser without your passkey: paste the link the Vault tab shows, or open the sending page from it. The pane says which vault it sends to, takes a name for the browser, and offers Send to my vault there and above the tabs on every page. It can add and never read, so the meter there shows that browser alone.
  6. File what arrived. Where the vault is open, the Vault tab lists what each browser sent, from which browser and what it carries, with a choice of where to file it: as a device of its own, or under one you already have, this one included. The choice is remembered for that browser’s next batch; a name that matches a device you have is offered first.
  7. Recovery code, check, forget. I have a recovery code opens the account on a device whose passkey cannot be a door, and Add this device with the code gives that path a door of its own. Check the vault re-reads every device’s file; Forget on this device clears the keys from this tab and leaves the vault unchanged.

Your vaults, opened

The principles

The design, the data layout, what is not synced and why, and the experiments to run next are in the activity vault. The pieces it is made of are in the passkey lab, and the vault code is the library that runs dev.vault.sgraph.ai, vendored here.

Your keys

The Keys tab lists every vault of your account with its key: the door of this device and the other doors, the master, the reader vault, and the lane with its read key. A key is shown only when you press Reveal; the lane’s read key is shown with Copy. Any of them opens on its own, with sgit clone or in the vault app. A key opens that vault to whoever holds it, and the master’s opens everything, so handle them like the recovery code. The lane’s read key is the one thing meant to be handed over.

What leaves this browser

Ciphertext, to the vault server (dev.send.sgraph.ai), when you create, update, send or open: every file is encrypted here under keys derived from your passkey, and the server sees requests, sizes and times. The pane lists every call as it happens. The access key travels only as a request header to that server. Your notes leave this browser only when you press Update (to your own reader vault) or Send, including Save and send (to your own lane, and your device’s file in the reader vault). Check the vault, Look in the lane and Bring their activity here only read. A browser holding your inbox link sends ciphertext to the lane and reads nothing back; Bring them in writes what arrived into your reader vault. Nothing goes anywhere else.

The keys of an open account live in memory and, for the life of this tab, in session storage, so moving from page to page does not ask for your passkey again; Forget on this device clears them. Local storage holds this device’s id and label, your notes, what this browser has seen on the wire and the time of its last update, and never a key or the access key.

For an agent

The vault pane (assets/vault-pane/vault-pane.js) has four tabs. This page: what this browser knows about the page from the meter's records (assets/vault-pane/reading.js), the reader's notes (assets/vault-pane/notes.js; one tap at a piece: done, read-later, follow-up, not-for-me, more-like-this, liked, wrong, fix, idea, with words and the selected phrase, or a message alone, kind note, written under Write to the newsroom; kept in localStorage sgit.notes.v1) and Send to the newsroom, which writes the notes not yet sent into a lane, a vault of its own whose key is in the master (lane.json) and whose read key the reader hands over; the newsroom reads it with `NEWSROOM_LANE_KEY=<read key> python3 admin/build/lane.py`; a send also rewrites the device's file in the reader vault. Reading: every page read in this browser, newest first, with its decision, the done ones folded away. Vault: the reading account carried between devices through an sgit vault opened with a passkey: a door derived from the PRF bytes (assets/door.js), the master and the reader vault (assets/newsroom-vault.js); the reader vault holds activity/account.json (one starting credit) and activity/devices/<device>.json (that device's raw reads, top-ups, personas, notes and the wire stories it has seen, rewritten whole on each sync); totals are recomputed from the records (assets/vault-pane/sync.js). The Vault tab also makes the inbox link (assets/vault-pane/inbox.js: an append lane on the reader vault and an RSA-OAEP key pair, inbox.json in the master) and drains it. Keys: every vault with its key behind Reveal, the lane's read key with Copy, and the inbox's lane and key fingerprint. Above the tabs and as a count on the Vault button: what this browser holds that the vault does not yet (assets/vault-pane/pending.js; the wire's seen stories from assets/vault-pane/wire-state.js), with Update the vault one press away; the keys of an open account live in memory and in sessionStorage for the tab's life. Local storage stays primary; the vault is updated when the reader presses Update. Two ways in (card 059): Open with the passkey, after which, when the vault knows devices and this browser is none of them, the pane asks which device this is (an existing one is adopted: its id, label and records become this browser's own; NV.setDeviceBranch) and then merges what the vault holds on its own (inbound() in sync.js counts it; the strip and the Vault tab show it with Bring them here); or Connect with a link, send only. Every device-file write is combine(prev, extract(local)). At the drain, a File under choice per sending browser, refile() re-tags the batch, and the choice is kept as aliases in the master's inbox.json. Design: /admin/notes/2026-10-13__open-or-connect-a-vault.md. The designs are https://newsroom.sgit.ai/admin/notes/2026-10-12__the-activity-vault.md and https://newsroom.sgit.ai/admin/notes/2026-10-12__the-feedback-loop.md; the tests are admin/build/test_sync.mjs (the logic), test_pane.mjs (two devices in Chromium against a mock of the vault API) and test_notes.mjs (the feedback loop end to end, including the sgit CLI reading the lane with the read key).