encrypted on your device · robinhood chain --:-- UTC

AI memory vault
for Robinhood Chain.

Encrypted context, app permissions & access logs. Keep the brief, the decisions and how you like to work in one place. Each AI app you pair reads only the folder you give it, and every read is on the record.

// statusPrototype · runs in your browser, no wallet needed

CA$SEMORA · TBA

// fig. a · the dial turns, the folder stays shut

folders.ts
11// what your apps may know; the server holds the right-hand side12
brief.md Nq3x vT0b 9KdE wq,decisions.md a8Lr 2PzQ mX0v Hc,preferences.md Zk7u Wd1o 4bYs Pn,glossary.md Ue5m 0tQa xR8c Lj,style-guide.md Fh2w nB6y Kq9e Tz,open-questions.md c3Vg Xs7r 1MaN do,people.md Rb0k Ye4t hW2p Gu,launch-plan.md J6sx qA9f Ln3z Ev,brief.md Nq3x vT0b 9KdE wq,decisions.md a8Lr 2PzQ mX0v Hc,preferences.md Zk7u Wd1o 4bYs Pn,glossary.md Ue5m 0tQa xR8c Lj,style-guide.md Fh2w nB6y Kq9e Tz,open-questions.md c3Vg Xs7r 1MaN do,people.md Rb0k Ye4t hW2p Gu,launch-plan.md J6sx qA9f Ln3z Ev,

// how it works

Six files. One memory.

// one file per step

// sample data

// briefA booking app for a small harbour.
// decisionsNo card payments in version one.
// preferencesShort answer first, then details.
1// result2

one place for the context you approved

3

# Folders for the brief, the decisions and how you work · step 1

4

Make a vault with a name and a passphrase. It starts with three folders. Write notes in plain words; they are what your apps will be told.

5
type
Folders + notes
where
In this browser
status
Prototype
6
// on your deviceShort answer first, then details. Metric units.

↓ AES-256-GCM · iv 96 bit · aad vault/folder

// what the server holdsv1.Q2hUe0JtVVhQ9vR8mX0kZ3NaLc1pYq7Wd2tF6eGb4sHn0uJ5aKr8oEi3ZlTyMw9xCv1BfDg6hNj2kSq
1// result2

encrypted before it leaves the tab

3

# AES-GCM on your device, keys from your passphrase · step 2

4

PBKDF2 turns the passphrase and vault name into keys in the browser. Each folder is encrypted on its own; the server, the export file and browser storage only ever hold ciphertext.

5
type
WebCrypto
where
Your device
status
Prototype
6
// pairing codesemora1.kcTA-dzVeE3rhxonGVFOKL1C4Jsm…fingerprint ae6b-0a7f-8e58-e8c1
Briefcan read
Decisionscan read + propose
Preferencesno access

// sample data · ends in 7 days

1// result2

one folder, one app key, until a date

3

# Pair an app, choose the folder it may read · step 3

4

The app prints a pairing code with its public key. You pick one folder, read and/or propose, and an end date. The folder is sealed to that key in your browser.

5
type
X25519 sealed box
where
Browser → server
status
Prototype
6

// sample data

09:12:04app read its grant · Research helper · Brief · 812 B

09:14:31app proposed · Research helper · Decisions

09:20:10proposal decided · approved

11:02:45grant revoked · Research helper

11:02:51app refused · revoked

1// result2

every read on the record

3

# The server logs each fetch, refusal and change · step 4

4

When a paired app fetches its grant, the read lands in your access log with time, app and size. Revoked or expired grants are refused and logged too.

5
type
Access log
where
Server
status
Prototype
6
// from research helper · sealed for you · sample

Prefers metric units in every answer.

why: asked twice for kilometres and Celsius
approvereject
1// result2

apps suggest, you decide

3

# New memories wait for your approval · step 5

4

An app with the propose scope seals a suggestion to your key. It waits in your inbox; approve it into the folder or reject it. Apps never edit or delete.

5
type
Proposals
where
Sealed for you
status
Prototype
6
function check(uint256 id, bytes32 appKey,
               bytes32 folder, uint8 want)
  view returns (uint32 reasons)

// 0      allowed
// 1<<1   revoked by the owner
// 1<<2   expired
// 1<<3   owner revoked every grant
// 1<<4   a different app key
// 1<<6   scope not included
// 1<<9   vault paused
1// result2

grants and seals anyone can check

3

# SemoraAccessLedger on Robinhood Chain · step 6

4

Optional: record folder hashes, grants, revokes and seals of your access log on chain. check() tells an app why it is refused before it acts. No text, no ciphertext, no funds on chain.

5
type
Solidity 0.8.28
where
Robinhood Chain
status
Prototype
6

// what runs today

Three jobs. Nine features.

Keep the context, share it one folder at a time, and prove who read what. Every card says whether it runs or is planned.

// runs in this prototype
fig. 01 · key01Prototype

Folders encrypted on your device→

Brief, decisions, preferences. AES-GCM in the browser before anything is saved.

// runs in this prototype
fig. 02 · envelope02Prototype

Export and import→

Take the encrypted vault with you as one file. It opens only with its name and passphrase.

// runs in this prototype
fig. 03 · two panes03Prototype

What the server holds→

Switch any folder to the server's view: ids, sizes, hashes, ciphertext. Nothing else.

// runs in this prototype
fig. 04 · plug04Prototype

Pair an app by its key→

A pairing code signed by the app. Compare the fingerprint, then share one folder.

// runs in this prototype
fig. 05 · hourglass05Prototype

Grants that end→

Every grant has an end date. Revoke one, or all at once; the next request is refused.

// runs in this prototype
fig. 06 · stamp06Prototype

Proposals wait for you→

Apps may suggest new memories. They stay sealed in your inbox until you approve or reject.

// runs in this prototype
fig. 07 · ledger07Prototype

Grants on Robinhood Chain→

SemoraAccessLedger: folder hashes, grants, revokes, check(). Written and tested; not deployed yet.

// runs in this prototype
fig. 08 · merkle tree08Prototype

Sealed access log→

Fold new log entries into one root, anchor it, prove any entry later without showing the rest.

// planned
fig. 09 · team09Concept

Teams and $SEMORA plans→

Shared team spaces, more storage, chat-history import. Planned, not built.

// who can see what

Notes from
the parts that touch your data.

Six honest limits, in the words of each part of the system.

// drag the top note away
The full list and the threat model →
// note 01 of 06

I hold ciphertext, sizes and times. I never get your passphrase or a word of your notes.

the serverstores encrypted folders + the access logs*

// the life of a grant

Shared for days.
Ended in one block.

Six steps from pairing to revoke. Each column is a day of a seven-day grant, each square a block of hours.

pairsharereadproposerevoke
day 1day 2day 3day 4day 5day 6day 7after

// step 1 · pair

The app prints a pairing code signed by its key. You compare the fingerprint.

// live from robinhood chain

Real chain, read just now.

The ledger →
// head block……
// gas price…gwei · eth_gasPrice
Live from chainledger: written + tested, not deployed yet

// this server, counted as you load the page (it can count what it stores, not read it)

…

// what each ledger step costs right now

01Record a folder version hashcommitFolder · 70,650 gas…
02Grant one folder to one app keygrant · 149,738 gas…
03Revoke a grant (same block)revoke · 47,743 gas…
04Anchor a seal of the access loganchorSeal · 92,981 gas…
05App records a read (app signer)recordAccess · 62,702 gas…
06App submits a proposal hashpropose · 86,117 gas…
07Approve or reject a proposaldecide · 48,825 gas…
08End every grant at oncerevokeAll · 45,268 gas…

Gas measured in forge tests (first call). Fee = gas × live gas price × Chainlink ETH/USD; your wallet shows the exact fee.

// why

Every AI app keeps its own memory of your project, and none of them agree. Semora keeps the context you approved in folders encrypted on your device, hands each app only the folder you choose, and writes down every read. Apps ask. You decide.

Your turn. What should your apps remember?

$ semora new-folder

Enter opens the vault. Nothing is sent anywhere until you create or open a vault there.