← Back to Sortify
Enterprise

Enterprise SyncNative: Encrypted Operational Collaboration at Organization Scale

A use case for warehouses, factories, research organizations, multi-site operations, and larger crews


The Operational Problem

In a larger organization, inventory location is not only a convenience issue. A delayed or overwritten update can stop work.

A warehouse employee moves a calibrated tool to another zone. A laboratory technician transfers equipment to a shared cold room. A maintenance crew consumes the last spare component. Other workers need that change quickly, but the organization may not want its operational inventory stored as plaintext in a vendor database.

Enterprise SyncNative addresses both requirements:


Example: A Multi-Site Maintenance Operation

An industrial maintenance company has three sites and several crews.

The company creates an Enterprise organization and separate workspaces for:

The organization owner is the Enterprise admin. The admin invites employees through Sortify's existing invite-link or join-code flow, approves access, assigns workspace membership, and can suspend, reactivate, or remove organization members.

Employees continue to work from the same Sortify app. Enterprise workspaces are tagged clearly and appear alongside personal workspaces in Home and Search, while the Enterprise workspace area exposes organization-specific management.


How an Update Moves

When a technician moves an item:

  1. The change is committed to the local SQLite database.
  2. The local change journal records the operation and actor identity.
  3. Sortify creates a compact managed-sync event.
  4. The event and its conflict metadata are encrypted with the workspace key.
  5. The encrypted event is written to the Enterprise Firestore namespace.
  6. Authorized active devices receive the event through the workspace listener.
  7. Each device decrypts, validates, and applies the change locally.
  8. Activity and item history identify the member by the synchronized workspace-member identity record.

The current conflict layer includes pragmatic field-level protection for common item updates and moves. It is not marketed as a complete CRDT implementation. The architecture can evolve without replacing local SQLite or the existing provider-based sync engines.


Organization and Workspace Roles

Enterprise separates organization membership from workspace membership.

This matters because removing an employee from one workspace should not automatically remove them from the entire organization.

The implemented model supports:

The organization owner cannot be removed through a generic member action. Enterprise-wide actions remain deliberate and separate from ordinary workspace settings.


What the Managed Infrastructure Can See

Firebase/Firestore can hold coordination and security records such as:

It must not hold plaintext inventory fields such as:

This gives the organization managed collaboration without giving MokingBird readable access to its operational inventory.


Recovery and New Devices

Enterprise recovery avoids replaying an unlimited event history.

  1. The employee signs in.
  2. Sortify verifies active organization and workspace membership.
  3. The device unlocks the encrypted key envelope using the applicable user-held secret or trusted-device flow.
  4. The latest encrypted workspace checkpoint is downloaded and decrypted locally.
  5. The retained event tail is applied in sequence.
  6. The local SQLite workspace becomes the working copy.

Checkpoint compaction limits long-term event storage and recovery reads. Old events can be removed after a checkpoint safely covers them while a retained tail supports active-device convergence.

An organization admin can control membership status, but cannot bypass the zero-knowledge key boundary to read or recover plaintext workspace content.


Cost and Reliability Controls

Enterprise SyncNative is designed to avoid treating Firestore as the app's primary UI database.

Cost controls include:

The production deployment still requires validated Firestore security rules, indexes, App Check configuration, monitoring, and multi-device runtime testing.


Relationship to Other Sortify Modes

Enterprise SyncNative is isolated from existing modes:

The new architecture is added on top of Sortify's existing local-first foundation. It does not force personal or provider-based workspaces into Enterprise behavior.


Availability and Commercial Terms

Enterprise workspace creation requires the Enterprise entitlement or an authorized test override. Production availability depends on backend deployment, security configuration, billing or contract setup, and the support terms agreed with the organization.

Enterprise enquiries: [email protected]


The Result

The maintenance company gets faster shared operational state, organization-level control, and recoverable encrypted workspaces. Employees keep working locally. Firebase transports ciphertext and coordination records. The organization does not have to choose between usable collaboration and a zero-knowledge privacy boundary.