Docs
How it works, and where it stops.
Everything here describes the site as built. Where something is a concept, it says so.
The model
A project holds facts. A fact has a name (launch_date), a value, a source (a link or a note, kept as a reference and never fetched), a group and a visibility: Shareable, Internal or Workspace only. Each approved change adds a version.
- A change starts as a draft based on the fact's current version. Nobody reads drafts.
- A reviewer approves drafts in a batch: all of them land, or none do. A draft based on an older version is held back as stale; two drafts of one fact cannot share a batch.
- In practice mode the editor and reviewer are two roles, and a reviewer cannot approve their own draft. A hosted project in v1 has one owner who approves their own drafts (solo approval).
- Secrets are refused before they are saved: private keys, 64-hex-digit strings, API keys and tokens, “password:” lines and 12–24-word recovery phrases.
Assistants and grants
Each assistant gets its own key, rk_<id>.<secret>. Its grant names the groups it may read, a level and an expiry (1–366 days). For every fact, a read is allowed only when none of these reasons apply:
| UNKNOWN_GRANT | No such grant |
| GRANT_REVOKED | Grant revoked |
| GRANT_EXPIRED | Grant expired |
| PROJECT_PAUSED | Project paused |
| NO_APPROVED_VERSION | No approved version yet |
| FACT_RETIRED | Fact retired |
| GROUP_NOT_GRANTED | Group not in the grant |
| ABOVE_GRANT_LEVEL | Above the grant's level |
| WORKSPACE_ONLY | Workspace only, never sent |
Revoked, expired and paused deny the whole read and return no fact text. The same bits come from the contract's checkRead.
The read API
Any assistant or script that can send an HTTP request can read. The key is shown once when you create it; only a SHA-256 of its secret is stored.
?format=json (default) returns { project, receipt, readAt, facts: [{ key, value, source, version, approvedAt, group, visibility, hash }], withheld, note }. ?key=a,b filters by name. Every answer carries x-rexson-receipt.
JSON-RPC tool
POST /api/mcp speaks JSON-RPC 2.0 in the shape of the Model Context Protocol's HTTP transport (stateless JSON, no streaming): initialize, tools/list, tools/call. One read-only tool, read_facts. It was tested with plain JSON-RPC requests; compatibility with a particular client is not claimed.
A tiny example client ships in the repository: examples/assistant.mjs.
Read receipts
Every read, allowed or refused, leaves a receipt: id, time, assistant, format, and for each fact returned its name, version and content hash. Never the value. Receipts live in their own list (newest 300 per project), so a read can never overwrite a grant change made at the same moment.
A batch can be anchored on chain as a Merkle root. Leaf = keccak256(abi.encode(string id, bytes32 keccak256(keyId), uint64 at, bytes32 keccak256(concat(items)))) with item = keccak256(abi.encode(bytes32 factKey, uint32 version, bytes32 contentHash)); pairs hashed in sorted order.
What goes on chain
RexsonFactLedger on Robinhood Chain (0x1b9ecaaa58e28e2a9f3edd2175c649b844a232ce) is a public change log. It stores only hashes: keccak256(name) as the fact key, keccak256 of the version's canonical JSON as the content hash, keccak256(keyId) for a grant, and receipt roots. Fact text, sources and secrets never go on chain. It holds no funds, has no admin over anyone's project and cannot be upgraded. Writing to it costs a little ETH gas. See the ledger page.
A grant issued on chain is linked to its key: before every read with that key the server calls checkReads and drops any fact the chain refuses. If the chain cannot be read, that key reads nothing (it fails closed).
Where data lives, and who can see it
- Practice mode: only in your browser (localStorage). Nothing is sent.
- Hosted projects: in the site's store (kv-gateway, Redis-compatible), kept 180 days after the last change. Without it configured, in one server instance's memory, and the app says so.
- The operator of the server can technically read hosted facts. Do not store secrets; Rexson refuses the obvious ones.
- Deleting a fact removes it and its history from the project at once. Receipts keep only names, versions and hashes.
Prototype and concept
- Prototype facts, review, grants, read API, JSON-RPC tool, receipts, practice mode, hosted projects, the ledger contract and its tab.
- Concept several editors and reviewers in one hosted project (the contract already has the roles), more than one project per wallet, receipt proofs served to third parties.
- Concept token features: more projects, facts and assistant keys for $REXSON holders. Not built; the product works fully without the token.
Rexson gives assistants the current approved facts. It does not make an assistant correct, and it cannot reach copies you pasted elsewhere. It is not affiliated with Robinhood and is not advice.
FAQ
Can an assistant read my drafts?
No. A key only ever receives approved versions, and only of facts in the groups its grant names, up to its level. A draft that is waiting for review is invisible to every assistant.
Can an assistant change the memory?
No. The read API and the JSON-RPC tool are read-only. Only the signed-in owner writes, reviews and approves facts in Rexson.
What happens when I revoke a key?
The next read with that key is refused and returns no fact text; the refusal is recorded as a receipt. If the key's grant was also issued on Robinhood Chain, revoking it there stops reads from the very next request too.
Does this stop assistants from making things up?
No, and nothing can promise that. Rexson gives each assistant the current approved facts and their sources; what an assistant does with them is up to the assistant. It does cut down on repeating the same context and on answers built from an old version.
Is my memory stored on the blockchain?
No. Fact text, sources and access keys never go on chain. The ledger on Robinhood Chain holds only hashes: the content hash of each approved version, the hash of each key's public id, the grant scope and the Merkle root of read receipts. It is a public change log you can check against.
Where are facts stored, and who can see them?
In the hosted workspace (kv-gateway, a Redis-compatible store run by the site operator), or only in your browser in practice mode. The operator of the server can technically read hosted facts: do not store secrets. Passwords, private keys, API keys and recovery phrases are refused before they are saved.
Do I need tokens or ETH to use it?
No. Practice mode needs nothing. The hosted workspace needs one free signature from your wallet (no gas, nothing moves). Only writing to the on-chain ledger costs a little ETH gas on Robinhood Chain. $REXSON is never required.
Is there a $REXSON token?
Yes, the community token of Rexson on Robinhood Chain at 0xbca7db87e693a90c22824912d8e7fc9c5de60356. Only trust this address. Token features (more projects, facts and assistant keys) are concepts, not built yet.
Is Rexson connected to Robinhood?
No. Rexson is an independent prototype that uses Robinhood Chain, a public network, for its change log. It is not advice of any kind.