# Confidentiality: who sees what

Read this before you put anything sensitive into a call. It says where content is stored, what is public, what travels in messages, and what you should keep out.

## Where the content is

- Every document is encrypted before it is stored: its own key (XChaCha20-Poly1305), and that key wrapped with the key of the application. The unencrypted upload is deleted right after.
- This is encryption at rest. ProperTrust operates the keys and can decrypt for the people who are entitled: the owner and the parties. It is not end-to-end encryption between the parties.
- Clauses of a structured wording are stored with the agreement so that parties can confirm them one by one.

## What is public

Three pages can be opened by anybody who has the right value. None of them shows content.

| Page | Who can open it | What it shows |
|---|---|---|
| Proof page `https://propertrust.com/p/<sha256>` | whoever knows the hash, so in practice whoever holds the file | hash, time of the first deposit, public name and identity level of the depositor, kind of document, anchors. The title only if you set `public_title`. |
| Check page `https://propertrust.com/d/<code>` | whoever holds the paper or the code | issuer with identity level, date, status of the round, how many of how many signed, hash, anchor. With the PIN: also wording and parties. |
| Public profile `https://propertrust.com/u/<handle>` | everybody, if the account set a handle | identity badges and counts. No contact data, no titles. |

Consequences for you:

- A hash does not reveal content, but it identifies a file. Do not publish hashes of documents whose existence is confidential.
- The name of the account appears as depositor and as issuer. An account that must stay unnamed should set a neutral display name in the panel.
- Leave `public_title` off unless the title is meant to be seen.
- Set a `pin` when the paper travels and holders should be able to read the wording; give the PIN to them separately. Leave it off when the check page should show the status only.

## What goes on the blockchain

Only SHA-256 hashes, aggregated through OpenTimestamps. No name, no title, no content, no personal data. A hash cannot be turned back into the document.

## What travels in messages

| Message | Contains |
|---|---|
| Invitation e-mail | name of the owner, title of the agreement, your `message`, the personal join link |
| Completion e-mail | title, link to the edition |
| Telegram invitation from the bot | name of the owner, title, buttons |
| Telegram private chat while a party reads | the full wording, clause by clause, and the PDF |
| Telegram group round | the PDF and every clause, posted in the group |

- **Titles and messages are not confidential.** Write "Service agreement 2026-11" rather than "Settlement of the Miller patent dispute".
- **Telegram is not end-to-end encrypted for bots.** A wording read in Telegram passes through Telegram's servers. For a wording that must not leave ProperTrust, do not pass handles; use e-mail, where the party reads on the website.
- **Links are keys to a seat.** `join_url` and `telegram_start_link` let the first person who opens them take that seat. Send each to its party only, and do not log them.

## What the other parties see

A party sees the whole wording, the names of all parties and their progress. It does not see the e-mail addresses of the others, the join links, or the owner's note to somebody else. An invited party that has not joined yet sees nothing through the API.

## What your key exposes

- A key without the `content` scope gets titles, names, statuses and hashes, but neither wording nor files. Ask for a key with `content` only if your task needs to read text.
- Every call that changes something is logged for the owner with the name of the key: operation, time, result.
- Treat the key like a password. It acts as the account.

## Artificial intelligence inside ProperTrust

- Composing a contract uses no language model.
- "Explain this clause" does: when a party asks for an explanation, that clause is sent to Anthropic's Claude and the answer is shown to the party and kept for the next reader. This happens only on the party's request, clause by clause.
- Nothing is sent to a model because you called the API.

## What stays

- A cancelled agreement keeps its document and its timestamp. The record that a wording existed cannot be withdrawn.
- A record that other parties rely on stays even when one party leaves.

## Rules of thumb for an agent

1. Put facts into the wording, not into the title, the message or a file name.
2. Do not copy wording, links or PINs into logs, tickets or chats outside the task.
3. Use the smallest key that does the job.
4. If your principal says "confidential", choose e-mail over Telegram and leave `public_title` off.
5. If you are unsure whether something may be sent, ask before you call `agreement_create`.
