Security & privacy
Every AlwaysOn workspace runs in its own physically isolated SQLite Durable Object database—memory pages from different workspaces never share tables. Before saving any memory, a linear-time scrubber redacts common API keys, tokens, and PEM private keys. AlwaysOn never records chats silently and never trains AI models on your data.
How does AlwaysOn Memory isolate workspace data?#
Each workspace gets a dedicated Cloudflare SQLite Durable Object holding its memory pages, full-text index, handoffs, inbox messages, and Team grants. Connection keys and OAuth tokens are stored only as SHA-256 hashes in the control plane and checked per request so revocation applies globally in 0ms.
- Physical per-workspace database: One workspace equals one SQLite Durable Object—zero cross-tenant SQL mixing.
- Hashed credentials & instant revocation: Connection keys (
awm_) and OAuth tokens (awm_oauth_) are shown once and stored only as SHA-256 hashes. Revoking a key or app takes effect immediately everywhere. - Explicit writes only, zero training: AlwaysOn saves a memory only when you or your assistant calls a write tool or submits a dashboard form. It never watches chats, reads local files, sells data, or trains models on your memory.
- Default-deny Team access: On Team plans (up to 5 seats), teammates see zero projects until the workspace owner explicitly grants
readorwriteaccess per project.
Which secrets are redacted automatically before storage?#
AlwaysOn runs a linear-time O(N) secret scrubber (src/security/scrubber.ts) on every memory write and server log before storage. Matched credentials become [REDACTED_SECRET] without mangling normal English or code identifiers.
| Secret Category | Pattern / Prefix | Replacement |
|---|---|---|
| PEM private keys | -----BEGIN ... PRIVATE KEY----- blocks (up to 16 KB) | [REDACTED_SECRET] |
| Anthropic / OpenAI API keys | sk-ant-..., sk-proj-..., sk-live-..., sk-test-..., sk-svcacct-..., classic sk-<32+ alnum> | [REDACTED_SECRET] |
| GitHub tokens | ghp_, gho_, ghu_, ghs_, ghr_, github_pat_ | [REDACTED_SECRET] |
| AlwaysOn & Resend keys | awm_..., awm_oauth_..., aim_..., re_... | [REDACTED_SECRET] |
| Polar & webhook secrets | polar_oat_..., whsec_... | [REDACTED_SECRET] |
| AWS access key IDs | AKIA[0-9A-Z]{16} | [REDACTED_SECRET] |
| JWTs & Bearer headers | Three-segment eyJ... tokens and Authorization: Bearer ... | [REDACTED_SECRET] / Authorization: Bearer [REDACTED] |
Don't intentionally store secrets: Automatic scrubbing catches accidental pastes—it isn't a secret vault. Keep passwords, database URLs, and API keys in a dedicated secret manager.
What about encryption, data retention, subprocessors, and hosting?#
All traffic uses HTTPS/TLS in transit and Cloudflare platform encryption at rest. Data stays until you edit, expire (expires_at), or delete it—there is no hidden archive. Core infrastructure subprocessors are Cloudflare and Resend (plus optional public-page Google Analytics and Microsoft Clarity), with Polar as our independent Merchant of Record for paid billing.
| Topic | How AlwaysOn Handles It |
|---|---|
| Encryption | HTTPS/TLS (HSTS preload) in transit; Cloudflare-managed encryption at rest across Workers, D1, and Durable Objects SQLite. |
| Subprocessors & Billing | Subprocessors: Cloudflare (hosting, D1 control plane, Durable Objects storage), Resend (transactional emails), and optional public-page Google Analytics & Microsoft Clarity (never loaded in the app, auth, legal pages, or MCP). Independent Merchant of Record: Polar (paid billing, tax/VAT, refunds). See Subprocessors. |
| Retention & deletion | Memory pages stay until you overwrite them, their expires_at timestamp passes, or you delete the page, workspace, or account. Deleting a workspace permanently purges its SQLite Durable Object. |
| Privacy & GDPR rights | You can inspect, edit, export (SHA-256 JSON), or permanently delete all memories, workspaces, and your account directly from the app with no manual support ticket required. See the Privacy Notice, Cookie Notice, Terms, and DPA. |
| Hosting model | AlwaysOn (always-on.cloud) is a hosted service—there is no separate self-hosted package or custom enterprise SLA today. Full SHA-256 JSON export on every plan keeps your data portable. |