Legal
Privacy notice
Draft, pending legal review. Not yet in effect. This text is a working draft for the project’s owner and counsel; it is not legal advice and makes no binding promise. Words in brackets are facts still to be supplied.
Last updated .
- 1. Who we are, and what this covers
- 2. No patient data
- 3. This website
- 4. The hosted engine
- 5. The registry and the Hub
- 6. The open-source project
- 7. Why we use it
- 8. Who else receives it
- 9. How long we keep it
- 10. How we protect it
- 11. Your choices and rights
- 12. Changes, and how to reach us
1. Who we are, and what this covers
Mendari’s services are run by [legal entity name], [legal entity address] (“we”). This notice says what personal information those services collect, why, how long it is kept and how it is protected. The services are the ones the terms of use cover: this website, the hosted engine, and the registry and Hub once they are open.
It does not cover a copy of Mendari that someone else runs. A hospital or company that runs Mendari on its own servers decides what that copy collects, under its own notices and agreements.
2. No patient data
The hosted services are for synthetic data only: made-up cases that describe no real person. Do not enter a real patient’s name, record, message or details. The dashboard asks every signed-in person to acknowledge this before they first enter data.
So the personal information we expect to hold is about the people who use the services: who signed in, and what they did. If real patient data is entered by mistake, tell us through the contact in section 12 so it can be erased.
3. This website
mendari.co is plain pages. It runs no scripts, sets no cookies, has no analytics or advertising, and loads nothing from any other company’s servers; its fonts are served from the site itself.
Like any website, the company that hosts it (see section 8) receives your internet address and the page you asked for when you visit, and may keep them in its request logs.
4. The hosted engine
When you sign in
You sign in through Google. We ask Google for your e-mail address and receive, and keep, your name, your verified e-mail address, and the identifier Google gives your account. We never see or keep your Google password.
We keep your membership of each organization, the roles you hold in it, and invitations made out to your address.
Cookies
The hosted engine sets only the cookies that signing in needs:
- a session cookie (
__Host-mendari_session) that keeps you signed in. Your session ends after 30 minutes without activity, 8 hours after you signed in, or when you close your browser, whichever comes first; - a ten-minute cookie (
__Host-mendari_signin) that ties a sign-in to the browser that started it; - when the dashboard is opened from inside a health record system, the same two kinds of cookie for that launch (
__Host-mendari_smart,__Host-mendari_launch).
They are not readable by scripts, are sent only over https and only to the engine’s own address, and are not used to follow you anywhere else. The engine’s pages load nothing from another company’s servers.
What you do
- Decisions. Each decision is recorded: the agent and its version, the outcome, when, and who asked. The case you entered (which must be synthetic) is stored encrypted, apart from that record, and so are review notes.
- The audit trail. Decisions, reviews, approvals, changes to memberships and keys, your acknowledgement of the notice, and each time someone reads a stored case, are added to an append-only, hash-chained audit trail. Whether it names a person by an identifier and a keyed digest of their e-mail address, or by the address itself, depends on how the engine is set up: [how the audit trail names people on the hosted engine].
- Keys. API keys and tokens are stored as hashes; we cannot show one again after it is made. We record who made each.
- Security logs. For each request the engine logs the kind of route, the result, how long it took, an opaque identifier for the caller, their organization and their internet address, and it logs sign-ins and refusals. A log line never holds a name, an e-mail address, a credential, the content of a request or the text of a case. Rate limits keep short-lived counters by internet address. Our hosting provider’s own request logs keep the paths requested.
What we do not do
The engine sends no e-mail, shows no advertising and runs no analytics that follow you. We do not sell or rent personal information.
5. The registry and the Hub
This section applies once the registry and the Hub are open.
- Public. What a publisher publishes is public, to anyone and for good: the agent and its files, its namespace, name and versions, the publisher’s display name and type, their signing keys’ public halves, and any recall with its reason and who signed it. Put no personal information in an agent.
- Kept by us. For each publisher token: the person and organization it belongs to, its namespace, when it was made, when it expires, whether and by whom it was revoked, and the last day it was used. The token itself is stored only as a hash.
- The record. Every write to the registry is added to an append-only record naming who acted, by an identifier rather than by the token.
- Reading. Searching and reading the Hub needs no account. Requests are counted by internet address for rate limits.
6. The open-source project
The project’s code, issues and pull requests live on GitHub, under GitHub’s own privacy terms. A contribution is public and permanent: each commit carries the name and e-mail address of its author and its sign-off line. GitHub’s users.noreply.github.com address works if you prefer not to publish your own. Security reports go through GitHub’s private reporting form and are seen only by you and the maintainers until an advisory is published.
7. Why we use it
- to sign you in and show you only what your organization and roles allow;
- to run the decisions, reviews and evaluations you ask for;
- to keep an audit trail that shows who did what and that it has not been altered, which is the point of the product;
- to keep the services secure and within their limits, and to investigate misuse;
- to meet legal duties.
Whether anything you enter is used to train or improve models, by us or by a model provider: [use of entered data for model training].
[privacy rights and legal bases]
8. Who else receives it
We share personal information only with the companies that help run the services, and only as far as that needs:
- Vercel hosts this website and the hosted engine, and keeps their request and runtime logs.
- Neon hosts the engine’s database.
- Google signs you in.
- GitHub hosts the project and its security reports.
- Model providers. When an agent uses a model run by someone else, the fields of the case that the agent selects are sent to that provider over https: the Jev service, or a language model reached through Vercel’s AI Gateway. Cases must be synthetic, so this should include no personal information. [model providers used by the hosted services]
The full list, with what each receives and where it is: [list of subprocessors]. Where the data is stored: [where data is stored].
We may also disclose information when the law requires it, or to protect the services and the people who use them.
9. How long we keep it
- Cases and notes. A daily job deletes stored cases and erases review notes older than [retention period for stored cases and notes]. An administrator can erase one sooner.
- The audit trail. The trail itself is kept and is not edited: removing an entry would break the chain that proves it is intact. This is why it holds identifiers and digests, not case text.
- Your account. Your sign-in record and memberships are kept while you have access. [retention period for account records]
- Sessions. A session ends as section 4 describes.
- Logs. Security logs are kept for [log retention period].
- The registry. Published versions and the registry’s record are kept for good. A deleted version’s files are removed; the fact that it existed, and why it was deleted, stays.
Erasure is not instant everywhere: database backups and the database’s own history keep a deleted row until they expire.
10. How we protect it
- Connections use https, and browsers are told to use nothing else.
- Stored cases and review notes are encrypted (AES-256-GCM) with a key kept apart from the database. Only signed-in reviewers and administrators of the organization can read them, and each read is recorded.
- Every route needs a role; access is refused unless it is granted. Organizations are kept apart.
- API keys and tokens are stored as hashes.
- The pages load no outside scripts, and rate limits and daily budgets bound what any caller can do.
- The audit trail is hash-chained, so a change to a past record can be detected.
No service is perfectly secure. The project’s security policy and threat model are published with its source. If we learn of a breach that affects you, we will tell the administrators of the organizations affected. [breach notification commitments]
11. Your choices and rights
- You can stop using the services at any time, and ask your organization’s administrators to remove your membership.
- You can ask us for a copy of the personal information we hold about you, or to correct or delete it. We will do so where we can; entries in the audit trail and the registry’s record cannot be removed, for the reasons in section 9.
- The services are not for children: you must be at least [minimum age] to use them.
Send requests to [contact address for privacy requests].
12. Changes, and how to reach us
We may change this notice. When we do, we will change the “last updated” date on this page, and give notice of a change that matters as the terms of use describe.
Questions about privacy: [contact address for privacy requests]. To report a security problem, use the private form described in the acceptable use policy.