Perlance security
How Perlance keeps an organisation's work safe.
1. How people sign in
Everyone signs in with their work Google account, through WorkOS. Perlance never sees or holds a password.
- In Claude, the connector sends people to the WorkOS AuthKit sign-in page the first time. Claude then holds a short-lived token and renews it itself. Signing out of the app does not sign Claude out.
- In the app at app.perlanceai.com, the app sends people straight to Google through WorkOS. The code from Google is exchanged for tokens by the service, with Perlance's WorkOS key, which never reaches the browser. The access token is kept in the page's memory only. The renewal token never reaches the page: the service seals it (encrypted and authenticated, with a key held in Google Secret Manager) into a cookie that only the service's sign-in routes read and that no script in the page can see, so a reload or a new tab stays signed in for as long as the WorkOS session lasts. Nothing is written to the browser's storage except one-time values that last for the length of the sign-in or sign-out redirect.
- Signing out of the app removes that cookie and ends the sign-in at WorkOS, not only in the page. The next sign-in asks Google which account to use, so someone else can sign in on the same browser. The same happens when an account that is in no organisation is turned away.
- On every request the service checks the token before anything else: its signature (WorkOS's published keys), its issuer and the email in it (the claim named in section 8). Each kind of token works only where it belongs. Claude's tokens must carry the connector's address as their audience and work only on the connector. The app's tokens must carry a WorkOS sign-in and work only on the app. A request without a valid token is refused with
401. - Then the person: the email must belong to an organisation, be in one of its allowed email domains, and belong to an active person in it. Removing a person takes effect on their next request.
2. What Perlance stores, and what it never stores
Stored, in the organisation's own database: the people (name, work email, who they report to, title, team, admin or not); the structure (groups, roles, who holds which role); each role's role context (what the role is for) and the links in it; the working context and group contexts, each a base followed by the updates Claude adds, with who and when (and, from before 2026-10-16, session logs: what was done and what is next); items between roles (a one-line summary and the full text); the names, descriptions, links and tags of the organisation's skills (Claude skills it keeps in its own git, never their text) and which roles use them; a record of every change (who, when, what); each person's own view state (when they last opened each of their roles, and when they last read their notifications); and usage events for billing.
Never stored: chat transcripts; files (working documents stay in Google Drive, and Perlance keeps only the links people put in a role context or an item); anything Claude reads or writes elsewhere; passwords; Google or Claude account tokens.
There is no AI inside Perlance. Each person's own Claude does the work and decides, with the person, what to save; Perlance stores what it is given and enforces the rules.
3. One database per organisation
Every client organisation has its own Firestore database. A small shared directory only maps a person's email to their organisation. Only the service reads or writes any database: the databases' own access rules refuse every request from anywhere else, and tests that try to reach one organisation's data from another must fail on every change.
Inside an organisation, a role's private working context is read only by that role's own sessions in Claude and, in the app, by the people who hold the role. Leads and managers see states and counts, never another role's private context.
4. Records that are only added to, and saves that are checked
The record, condensing points (a context as it was before each condense), item events, earlier versions of role contexts, session logs from before 2026-10-16, and usage events are only ever added to; nothing in them is changed or removed. One exception, made once on 2026-10-16 when a context became one document: each earlier context version was given its text, joined from its four parts, beside those parts, which were kept as they were; the change was recorded. Every change is written together with its record entry, in one step: if one fails, neither is written. A person's own view state is the one thing written without a record entry, because it changes nothing in the organisation: it only says what that person has already looked at. Updates to a context are added, never overwritten, so two people adding at once both land; condensing a context, which replaces it, is version-checked, so a condense made from an out-of-date read is refused and handed the latest. The service, not Claude, writes who did something and when.
5. The operator console
Threadwell operators run Perlance from a separate console at admin.perlanceai.com. Operators sign in with Google, must have a verified email, and must carry the operator mark, which the service reads fresh on every request, so a removed operator is refused at once.
Operators see the directory (each organisation's name, status, allowed domains, tier and first admin's email) and figures: how many active people, when the organisation was last active, and its usage events. They never see an organisation's working data: no role contexts, working or group contexts, logs, items or people's details. They can read and export an organisation's record (who did what, when and on what, by id), which holds no working text; each export is recorded. Every operator change is recorded.
6. Where things run
The service runs on Google Cloud Functions in the region in section 8. The databases are Google Firestore, in the location in section 8. The app, the console and these pages are served by Firebase Hosting. Google encrypts the data at rest and every connection is HTTPS. Sign-in is run by WorkOS.
7. How to report a problem
Write to security@perlanceai.com. Say what you found and how to see it; please do not test against another organisation's data.
8. The facts, as the service holds them
| Fact | Value |
|---|---|
| Sign-in issuer | https://spectacular-cello-13.authkit.app |
| Token audience | https://api.perlanceai.com/mcp |
| Email claim | urn:perlance:email |
| Region | us-central1 |
| Database location | nam5 |