Derived state is never the sole authority
Search indexes, caches and renditions may be stale. What they produce is confirmed against PostgreSQL before it reaches a caller.
Enclave is a self-hostable enterprise content and collaboration platform — SharePoint-class in purpose, built around modern APIs, Rust performance, a React interface, strong security governance, customer-controlled infrastructure, hybrid vector search and MCP-native AI access.
It is not a file server. It is an information boundary combining content, identity, permissions, governance, search, collaboration, DLP, retention, audit and AI access — so that every way in obeys the same rules.
Apache-2.0. In development — the specification phase is complete and implementation is underway across a Rust workspace and a React SPA. There is no hosted demo yet, and nothing here is ready for production.
Web, desktop sync, mobile, REST, MCP, agent, preview, download, search, external editor, webhook or admin utility — every operation passes through this, in this order. It is implemented once, in one function, and every entry point calls it. A code path that needs a different order is a design defect, not a special case.
Tenant Isolation
-> Authentication
-> Conditional Access
-> Authorization (RBAC / ACL)
-> Information Barriers
-> Classification Policy
-> DLP
-> Retention / Records / Legal Hold
-> Execute
-> Audit Search indexes, caches and renditions may be stale. What they produce is confirmed against PostgreSQL before it reaches a caller.
Identity attributes, IDs, paths and headers arriving from a client are inputs to policy, never conclusions of it.
Workspaces, libraries, folders, files, immutable versions, lists, pages, metadata and content types, and 16 view types.
Local, LDAP/AD, OIDC, SAML, SCIM, WebAuthn/passkeys, guests and service accounts — with JWT access tokens and rotating refresh tokens.
Granular per-action permissions — preview ≠ download ≠ print ≠ export ≠ sync — with hierarchical ACL inheritance, explicit break, and deny-wins resolution.
DLP with simulation, classification, information barriers, retention, records, legal hold, antivirus, security incidents, and a tamper-evident audit trail.
IP/CIDR, country, ASN, network zone, device posture, authentication strength, and client type — evaluated before authorization, not after.
Milvus hybrid retrieval — dense, sparse and BM25 — with permission-aware results confirmed against the authoritative database before they reach a caller.
An MCP gateway that obeys the same policy chain as every other entry point. RAG answers with citations, plus bring-your-own embedding and LLM providers with classification-aware routing.
Object storage, secrets, KMS, SMTP, vector store, embeddings, LLM, antivirus and identity — all behind provider traits, so the deployment is yours rather than ours.
Approval and review pipelines, and document signing from click-through acknowledgement up to PAdES digital signatures with long-term validation.
Casual Sheets, Casual Docs and the engines (OpenCalc, OpenDoc) do one job: open a file, edit it, save it back. Enclave is where identity, permissions, retention and audit live — the things an editor should not be inventing for itself.
Desktop and mobile sync and external document editing are part of the spec rather than bolted on, so an editor opening a document out of Enclave is still inside the policy chain rather than beside it.
White-labeling, custom domains, i18n with full RTL, WCAG 2.2 AA, and HA/DR are scoped in the specification rather than deferred to a later “enterprise edition”.
The specification phase — a 16-document pack covering PRD, HLD, LLD, data model, API, security, search, BYO infrastructure, UX, sync, operations, testing, identity, i18n and signing — is complete and public in the repo.
Implementation is live across a Rust workspace and a React SPA, tracked item
by item in TRACKER.md with milestones and exit criteria in
ROADMAP.md. Priority is re-assessed only at phase boundaries.
No hosted demo, no release, no version to pin, and no compliance certification. If you need enterprise governance in production today, this is not yet it — follow the roadmap instead.