Docs Desktop Cloud Sync

Desktop sync with Cloud or a company server

Mockarty Desktop keeps projects local first. A named Cloud or company profile can synchronise supported project resources when the connection returns. Each profile has its own credential, Space or namespace, cursor and conflict history; switching profiles never reuses those values.

Test-case definitions are shared too: an authored TCM case, including the steps
of its current version, synchronises to the other devices of the same Space or
company namespace. Test runs, step results and local attachment bytes stay on the device
that produced them, and each device keeps its own folder tree, workflow status
and case number (TC-12).

Company test-case definitions can also carry bounded attachment references;
attachment bytes are not downloaded automatically. A received reference can be
read on demand through the Desktop-local endpoint
GET /api/v1/desktop/company/cases/{caseId}/attachments/{refId} using the current
local Desktop session. It opens only a reference received for that case and
Company profile, and verifies the returned size and checksum. An unavailable
origin or changed access is refused. Removing a received reference does not
delete this device’s own attachments. This requires compatible client/server
versions; it does not upload a local file to a remote media backend.

A case with an unsupported step stays on this device unchanged; it is not
marked as uploaded. Other eligible changes can still synchronise. Change the
step to a supported type before trying to synchronise that case again.

A mock created while an approved company profile is active belongs to that
profile’s namespace. If the profile or session changes before the save can
complete, the save is refused instead of reporting success for an unsent mock.
Mocks that were already local without a verified company association are not
silently reassigned when you edit them.

At startup, Desktop restores missing Sandbox access for its built-in local
administrator. Existing explicit local membership roles are preserved. This
repair does not change permissions on the company server.

A mock received from a company server keeps its association with that profile
when later versions arrive. A committed incoming change refreshes the open mock
list automatically; replaying the same version does not create another version
or another change notification. An unrelated local mock is never reassigned to
the company merely because it has the same identifier.

Automatic selection for a Cloud connection

Synchronisation is a base capability and works on every plan. When you connect a
Cloud profile (a Cloud Space — or a company server, which is the same principle
at a different address) without a previous sync choice, Desktop selects the
supported base object types on its own. With nothing to import it starts
synchronising immediately, without any step of yours. Base types need no
kind-by-kind approval: mocks, API collections, UI tests, fuzz configurations
and authored test plans are selected automatically. A test plan containing a
mission step stays on the installation where it was created.

The base selection covers that Space or namespace only. For API collections, it
includes only collections explicitly shared with the namespace; personal
collections stay personal. Environments are not part of the automatic
selection: sharing environment definitions replaces their values with
references, so it stays a separate opt-in you make yourself. The available types
follow the selected Cloud Space’s capabilities; connections to a company server
use that server’s separately supported list.

A Team subscription adds object types to this base layer — it never adds or
removes synchronisation itself. In a Team Space the automatic selection also
includes the tracker, wiki, boards and messenger. Those kinds are never selected
for a personal Space, even on a Team subscription: a personal Space is not a Team
Space, so its sync refuses them.

Desktop starts synchronising only while Cloud confirms the current rights of
this profile and Space. If that confirmation is missing, expired or withdrawn,
startup does not invent a selection: it stops and says which check failed, and
your local data stay readable on this device. When a Team period ends or its
access is withdrawn, the Team types stop on the next sync decision while the
base types keep synchronising; the saved selection is not rewritten, so renewed
Team access resumes the Team types without another review.

Connecting does not silently upload existing local work. An empty initial batch
needs no import approval. If local objects need to be sent, review the exact
preview and approve it yourself. An explicit opt-out or narrower saved selection
is preserved. If startup was interrupted, Desktop checks the selected Space and
current rights again before continuing; it does not keep permissions from another Space.

If preview preparation is waiting for sync to start, leaving the settings page
or changing the profile or saved sync selection stops its pending retries.
Wait for the profile switch to finish, then open the current connection settings to prepare a new preview.

While a preview is being prepared, repeated clicks use the pending request. If preparation fails, you can request the preview again. Wait for preparation, confirmation or cancellation to finish before starting another action on the same review.

If Desktop loses the connection while saving the sync selection, confirming or cancelling a batch, check the current sync status before trying again. The request may already have reached Desktop. The Save button is unavailable while Desktop is saving the selection for the active profile.

If the saved sync selection changes in another window while a preview is being prepared, Desktop refreshes the connection settings. Review the new selection before approving a batch. Desktop offers the pending review separately for each connection profile. When you leave settings, Desktop releases a preview if you have not confirmed or cancelled it.

Environment sharing in a Cloud Space

An environment is private unless its owner explicitly shares it. Other Space
members may read a shared environment, but only its owner may edit it, delete it
or make it private again. A local account ID or the last editor does not make a
member its owner. An older environment with unverified ownership is not exposed
to an ordinary member as though it were theirs.

Cloud sync carries environment definitions and secret references, not the
variable values stored on another device. Sharing an environment does not copy
that device’s credentials. Changing an environment back to private also removes
other members’ access to its earlier sync history and conflict copies.

Before you start

Free Personal Spaces support base project sync. Members with an editing role
can send changes. Viewers can receive the data they have access to. Tracker,
wiki, boards and discussions require a Team Space.

Sync respects collection visibility. Older private collections whose ownership
cannot be established may be unavailable. If Cloud refuses a write, the outgoing
changes remain on this device.

On a clean installation, an empty outgoing preview can be approved to restore
readable Cloud data even while write access is unavailable. A preview containing
local changes cannot be sent until write access returns; those changes stay on
the device. Cancelling a preview remains available in read-only mode.

On a fresh Desktop, receiving Cloud collections from an approved namespace
also prepares their local storage. You do not need to create an empty copy
of that namespace first. Sync does not reopen a closed destination namespace.

Create or select a named connection profile in Mockarty Desktop → Connection. For Cloud, finish browser device approval and explicitly choose a Space. For a company server, sign in using the method provided by your administrator.

A saved Cloud Space profile needs valid access before it can be selected.
When signing in to a saved Cloud profile, choose its original account and Space
on the approval page. Approval for another identity does not replace that
profile’s local data. After signing in, use the Space selector to change Space.
Changing connection mode does not bypass this check. If access is refused,
the current profile stays selected. A successful mode switch also refreshes
the access shown for the selected profile; it does not keep the former profile’s limits.

When changing profiles, Desktop stops the previous background sync before
starting another. If that stop cannot be confirmed, it does not make a final
send or start the replacement sync. Repeating the switch does not bypass this
protection; unsent changes remain in their original profile’s queue.

Stopping a connection also cancels its pending account checks. A late reply
from that stopped connection cannot rewrite the local login or licence cache.

If Desktop cannot confirm that its connected sync has stopped, it refuses
an automatic update relaunch. Keep the installation’s data directory intact;
do not delete profiles or recreate unsent objects to work around the refusal.
If stopping the connection is interrupted, repeating the stop does not confirm
completion or enable a replacement connection. Keep unsent work intact.

For a Cloud profile, Desktop renews write access automatically while it can reach Cloud. A confirmed period lasts no more than 24 hours and cannot outlast a paid subscription. If the connection or renewal is unavailable, your local data remain readable; changes in the Cloud-bound Space pause when the current period ends. Reconnect to receive the renewed access. A pending renewal request alone does not extend that period.

Enter the company server’s final address, including https:// when it uses HTTPS. Desktop does not follow redirects while signing in or sending its session: if the address redirects, ask your administrator for the destination address and enter that instead.
Check the address and enter your password in Desktop on this computer. The company-server probe, password sign-in and second-factor confirmation only accept requests from this computer. Cloud device-approval polling also requires the Desktop page’s own browser origin, not another local website or phone; phone pairing is a separate feature.

During company-server sign-in, Desktop verifies the returned user against the server and binds the profile to that server’s TLS identity. If the server certificate or key later changes, Desktop stops the connection instead of silently trusting the new identity. Confirm the planned rotation with your administrator and reconnect the profile. Private RFC1918 and IPv6 ULA company addresses are supported by the local setup wizard; loopback, link-local and metadata addresses are rejected.

What a company Desktop can use

Connecting Desktop does not grant access to additional modules. Editing API Tester collections requires your administrator to grant you Testing access; collection sharing and edit permissions still apply.

Connected to a company server, Desktop works as a client of that server: it opens the modules your administrator granted you on the server, within the company’s Mockarty licence. Cloud plans and Cloud limits do not apply in this mode; the account chip reads Company licence. Desktop keeps its last confirmed module permissions for up to 7 days without the server. Actions that require the server still need a connection. When the administrator signs you out or removes your access, the modules close as soon as Desktop next reaches the server.

Company access arrives automatically after normal sign-in to the company server; you do not paste a separate Desktop token from an administrator. If access is unavailable, open Connection and check your sign-in and account permissions.

For company sync, Desktop applies remote deletions only for object types this version can delete locally. If a type is unsupported, Desktop names it, keeps the local copy and reports that sync is incomplete. Review the sync selection and the displayed reason before treating those objects as synchronised.

Let another client run work on this Desktop

A connected Desktop can also accept small, bounded jobs from your other Mockarty clients — for example, replay a saved API collection or UI test on this computer. This is off by default and is enabled separately for the Desktop; see Run work on your own devices for the switches, the available commands and the API you use to send and follow one.

Allow Desktop sign-in on a company server

A Mockarty server does not accept Desktop sign-in by default. An administrator enables it once: set MOCKARTY_DESKTOP_AUTH_ROUTES=1 in the admin node’s environment (Helm: admin.env.MOCKARTY_DESKTOP_AUTH_ROUTES: "1"; Docker Compose: the mockarty service environment) and restart the node. Until it is enabled, the Desktop’s connection step says “The server is reachable but does not accept Mockarty Desktop yet”. If the server does not answer, the Desktop says so — check the address and the network.

For Company sync on a new PostgreSQL installation, also set AUTH_POLICY_STORE=application on every admin node before the first start. This lets the server check access and save the synced change together.

The embedded interface always uses a separate local, HttpOnly session. The company session is written directly to the operating-system credential vault and is added to remote requests only by Desktop’s local broker. It is not stored in browser cookies or Web Storage. Reauthentication rotates that vault credential for the same server without resetting the profile’s sync or MCP settings. If the broker or vault is unavailable, remote account and namespace views stop with an unavailable state instead of showing local data as if it came from the company server.

To review or change the Team selection, or to configure Personal or company sync, open Project sync consent. Enable sync if needed, tick the Projects to cover, select the object types, and save the scope. The Projects are offered as a checklist of this Desktop’s own projects, and a first consent starts with all of them ticked — untick what should stay local. Saving without a Project or without an object type is refused with a hint. For Cloud, the destination is the Space you approved when signing in; the field shows its name and cannot be changed here — connect or activate another profile to use another Space. Right after your first Cloud sign-in, Desktop offers Set up sync, which opens this consent directly. For a company server, enter the exact destination namespace key, for example team-space, before saving. Use the namespace key from that server; do not replace it with a Cloud Space ID.

If the project checklist cannot be loaded, Desktop keeps your selection and shows Retry. Retry reads the list again; it does not save consent or send a batch. An unavailable list is different from a Desktop with no projects.

A checklist refresh reads the current projects again. Newly discovered projects are offered without automatically adding them to an existing consent.

Creating a project while the Control Panel is open also refreshes the checklist. It keeps the current selection, including a selection you have cleared; it does not save consent.

Refreshing connection settings keeps your unsaved sync fields while the active profile, destination and saved revision stay the same. A profile or saved revision change loads its saved settings. Refreshing does not save or send the draft.

The running Desktop applies the saved scope at once — no restart is needed. Then press Preview exact batch. The preview shows the exact object, byte and deletion counts plus excluded objects. Only Approve and sync sends that retained batch; after the consent is activated, Desktop immediately receives existing work from the selected Cloud scope. If that inbound request is temporarily unavailable, Desktop keeps the consent and sent local work, shows a warning, and retries through Sync now and the background controller. Cancel, close or restart before approval uploads nothing and advances no cursor. After a successful exchange, the profile status shows the time of that synchronisation; before the first successful exchange it says so instead of showing a time.

The selection belongs to one named profile and has its own revision. A signed-in Cloud profile stays bound to the Space approved during sign-in: a sync-selection request for another Space is rejected without changing the profile or its pending preview. Use another connection profile for another Cloud Space. Changing the allowed scope invalidates the previous preview and resets that profile’s sync cursors. A stale browser window cannot approve a newer selection. Adding object types to a selection you already approved does not stop the types approved before: they keep synchronising, while the newly added types wait for their own review.

After you approve a company sync preview, Desktop continues with the approved scope without asking you to sign out and sign in again.

If Desktop says the reviewed local changes are approved and queued, their delivery to the company server is not yet confirmed. This message does not mean that another team member can already see them. If server data could not be received, Desktop shows a separate warning; Sync now retries the exchange. Local work stays on the device while delivery is pending.

For an existing local task project or task included in the review, Desktop retains the original ID and hierarchy. The preview lists the original keys and creation dates that will be kept as Source history from Desktop. Company assigns its own task numbers on delivery, so a task’s current company key can differ from its original Desktop key. The exact assigned key is available after delivery, not reserved by the preview. Task details and project settings show the original history beside the current key. Historical keys are not aliases, and references written in task text are not rewritten automatically.

Local execution remains local and consumes zero Cloud IU. The preview’s object and byte totals are also the pre-dispatch limits for the retained batch; Desktop does not allocate a larger remote sync operation and then trim it after sending.

Cloud mock capacity belongs to the billing account that hosts the selected Space. Personal Free allows 10 live mocks across all of that account’s Spaces; Personal Pro allows 250. An invited collaborator’s own plan does not increase the host’s allowance. A mock present in both Cloud and the shared runtime counts once. Editing, deleting, or replaying an existing mock does not consume another place. If a plan ends with more mocks than its new allowance, the existing mocks remain available for editing and deletion, while new mocks wait until capacity is free. A rejected sync change remains local and can be retried after capacity is available. Deleting a mock on the shared Mockarty node gives its place back the same way — see Shared Mockarty.

Connection secrets stay in the operating-system credential vault. Provider keys and tokens, browser cookies, local session tokens, private keys, vault values and LLM profiles are never included in project sync. Environment values also stay local until Mockarty provides an explicit shareable-variable reference. An object containing any of these sensitive values is excluded as a whole instead of being partially copied.

Environment definitions are a separate choice in the object types. Selecting them asks for an extra confirmation, and only definitions travel: the environment name, variable names, scope and flags. Values never leave the device that typed them — the other device shows the variable as empty and asks you to enter the value there.

An API collection is synchronised as one consistent unit: its collection-level scripts, ordered folders, requests, request scripts and protocol settings move together. This is also the shape produced by Postman, Insomnia and Bruno imports. A clean installation therefore restores the usable request tree, not an empty collection shell. If a request embeds Authorization, a password, token, API key, private key, provider credential or a secret query parameter, the complete collection stays local and appears as excluded in the preview. Replace the literal with a local variable before synchronising.

Collection visibility is separate from the choice to synchronise collections. A personal collection belongs to its creator: synchronising it does not give another team member access or permission to change it. Automatic Team selection includes only collections explicitly shared with the namespace, not personal collections. Shared collections can be edited by authorised namespace members, but only the verified creator changes their visibility. If the creator cannot be verified, the visibility change is refused. Deleting a shared collection also sends its deletion to the other connected devices; an unsent local edit still requires conflict review.

When Desktop is connected and collections are enabled for the selected Company Space, create a collection in that Space and choose to share it. The collection and the requests you add to it reach the server on the next successful sync. Use Sync now in Connection to send your changes and receive teammates’ edits immediately.

For a newly synchronised collection, the server records its verified creator when it first accepts the collection. Editing it on another device does not change that creator. Older copies without confirmed ownership are not reassigned to the person currently signed in; keep the original local copy if access cannot be confirmed.

New collection downloads, including previously shared versions from sync history, require the collection’s current server access rules. Earlier sharing is not permission to download it again.

After Desktop receives the withdrawal of access to a downloaded shared collection,
opening, running and exporting that copy are disabled, including while offline.
Desktop keeps your unsent edits.

With a Company connection, an edit waits for permission to edit that collection.
Other changes you are allowed to make can still sync. After edit access returns,
Desktop checks whether the original send reached the server. If the edit still
needs to be sent and the server version is unchanged, it resumes automatically.
If the server version has changed, review the conflict in Connection settings.

To take the live server version of a shared Company collection, open the
conflict in Connection, compare both versions, then choose Use remote
and confirm the preview. This replaces the local version and its pending
edit. If the server collection or the selected profile changes while you
review it, open the conflict again and compare the current copies.
Close the review to leave both copies as they are.

With a Cloud connection, Desktop obtains a fresh copy after access returns and
asks you to review any conflict before using the collection again.

For an environment created in Desktop, review its definition before sending it to the company server. Sign in as the local author to include it in the preview. An older or imported environment may remain absent from the preview when Desktop cannot confirm its origin. Review transfers variable names and references. The values stay on this device.

Desktop receives Company environments you own when your account can edit the selected Space. People with shared access can read the environment in API Tester on the company server. Desktop creates an editable copy only for the owner. When a definition changes, Desktop keeps the values entered on this device for the variables that remain. New variables start empty.

Saving new values for existing variables keeps the server definition and its revision unchanged.

If you delete a Company environment in Desktop, it moves to the local Trash. Other eligible changes continue to sync. You can restore the environment from the Desktop Trash. To delete the shared server copy, open API Tester on the company server and delete it there.

Unsaved API Tester request drafts and the Recorder’s last target URL stay in the current Desktop installation; they are not copied through browser UI-state sync. That channel shares only navigation and non-secret display settings. Save a collection and review the project-sync preview when you want to use it on another device.

Desktop sync and the shared Mockarty

Synchronising mocks, API collections, environment definitions, UI-test definitions
or fuzz configurations through Cloud lets another connected Desktop receive them.
It does not automatically publish those objects in the shared Mockarty’s browser
interface. A successful sync status therefore does not mean that a collection or
mock is available there. Team tracker projects, issues, wiki pages, boards and
discussions follow the separate Team sync described below.

If Desktop cannot apply the server’s deletion for an item type, it keeps your local version and explains the refusal. Resolve that conflict on a device that supports the item type; repeating the same choice here does not add support.

If a conflict choice requires Team access that is no longer available for the selected Space, Desktop explains that access must be restored. Reopening the conflict and choosing again does not restore access; your local changes remain available for review.

Self-hosted Community supports Company sync with the modules included in Community. Once the namespace owner enables sync, each participant needs a seat for the selected resource type. Use Mock for mocks and Testing for API collections. Processing is required for tracker and wiki resources and for the administrator who enables capture for the namespace. Existing sharing and edit permissions still apply. If the selected Company workspace has no local copy yet, the Mocks page links to Connection settings to set up Mock sync.

A Company Space Viewer can receive permitted mocks and API collections. Sending changes to them also requires an editing role in that Space.

Mock sync includes definitions saved before the Space owner enabled synchronization. After a server upgrade, Sync now retrieves missing definitions in a Space that already approved sync. Desktop receives the current version of each definition. If you can still open Mocks after your Mock seat is revoked, the toolbar disables creating, importing and applying batch changes. You can export saved definitions when your Space still allows you to read them.

Company sync receives a fresh server view on each scheduled or manual sync. You do not need to sign in again to receive a colleague’s newly saved work. Sync now receives server changes and sends your pending local changes; if either direction fails, the status keeps that failure visible. Successful sending alone does not mean that receiving also succeeded. Your unsent edits remain on this device until the server confirms them or you resolve a conflict.

The pending count covers the selected types in the current Company profile and Space. After Sync now, the count shows what still needs confirmation there. When Desktop cannot verify the current connection or read its queue, it reports the count as unknown. Other profiles and Spaces keep their own pending changes.

If the Company workspace changes during a download or the current download expires, Desktop may pause receiving updates. Updates already received and confirmed uploads are saved. Use Sync now to start a fresh check, or wait for the next scheduled sync. If an upload could not be confirmed, check its sync status before acting on it.

If your access changes, Desktop tells you when selected types are unavailable. Pending changes for those types stay local. Sync continues for any types you can still access. If none are available, Desktop keeps your selection and waits, including after a restart. When the administrator restores your access, use Sync now in the same profile to receive the missed changes.

When the owner has not enabled Desktop synchronization for the Company workspace, the Connection panel explains that requirement. Your Desktop keeps the approved scope. After the owner enables synchronization, use Sync now. You do not need to approve the same scope again.

In a narrow window, open the sidebar and choose Server Connection. Closing the panel or pressing Escape returns focus to the sidebar button.

Use an existing personal or team namespace for synchronization. Keep the shared default sandbox outside your sync selection. The examples below use team-space; replace it with the exact key of a namespace you are allowed to synchronize.

On a company server, a Desktop can only send objects for a namespace whose owner has
explicitly allowed it. Capture is off for every namespace until then, so nothing is
published by accident and nothing is published before anyone asked for it.

The owner of the namespace (or a system administrator) with the Processing module
previews the current state first:

curl -s -H "Authorization: Bearer $TOKEN" \
  https://mockarty.example.com/api/v1/namespaces/team-space/desktop-sync

The answer names the namespace’s current epoch, whether capture is enabled, how
many existing objects a first activation would include (baselineObjects), and
baselineTooLarge. Enabling is a separate, explicit step that must quote that exact
epoch, so a consent cannot silently apply to a namespace whose state changed in the
meantime:

curl -s -X PUT -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
  -d '{"expectedEpoch":"<epoch from the preview>","enabled":true}' \
  https://mockarty.example.com/api/v1/namespaces/team-space/desktop-sync
  • On activation the server records the namespace’s existing objects as the starting
    point (the response reports how many), then keeps capturing new edits. Only metadata
    is captured; object bodies are read later by the normal publication path.
  • A namespace with more than 100 000 objects is refused with
    company_sync_baseline_too_large and nothing is enabled: the activation is rolled
    back as a whole. Split the consent by namespace instead of expecting a partial
    baseline.
  • enabled: false stops capture immediately and starts a new epoch. Granting consent
    again publishes from the state at that moment, not from the history in between.
  • A stale epoch answers 409 company_sync_conflict: read the preview again and
    repeat the decision with the fresh value. 403 company_sync_authority_denied means
    the caller is not an owner/administrator of that namespace, the namespace is managed
    by Cloud, or the Processing module is not active.
  • If the answer to PUT is lost, read the state before retrying: the request may
    already have been applied.

Team modules: tracker, wiki, boards and messenger

The choices below let you review or change the automatic Team selection.

Before creating, cloning or importing Wiki pages or API Tester collections, select the intended Desktop
connection and Space. Keep that selection while the operation finishes. If an
import is interrupted by a connection change, check the page or collection tree before
importing again: pages already created are kept, but the remaining pages are
not silently imported into the newly selected connection.

A Team subscription includes the tracker, the wiki, boards and the messenger on the Desktop, and they work offline. To share them with your team, connect a Cloud profile to the Team Space and, in the Team modules part of Project sync consent, tick what you want to sync: Tracker projects, issues and Kanban/Scrum boards, Wiki pages, Boards, Discussions of issues, pages and boards. Boards here means whiteboards; tracker boards belong to the tracker selection. The Cloud section appears when your plan includes the Team modules.

For a Company connection, start with the sync preview for the selected Space. It shows the types approved by the server and available under your permissions. If Tracker and Wiki are available, Desktop can synchronise Tracker projects, issues and Wiki pages from the Company server. Opening or editing a Company Wiki page requires a connection to the server. Tracker edits in a connected Company workspace are saved directly on the server. If the connection drops while you save a project, keep the form open. When the same Company connection returns, check the saved project before saving the draft again.

If a Company connection drops during a Wiki save, use Check connection.
When Desktop confirms that it kept the draft on the device, you can reopen the
same page after restarting and continue once the Company server grants access.
See Editing for the recovery and conflict steps.

With a Cloud Team Space, changes you make offline are sent to your team when you reconnect, and their changes reach you:

  • Desktop keeps the Cloud version it has already confirmed when an older copy of the same object arrives later. If you and a teammate both changed the same object since you last synced, the conflict appears under Sync status and you choose which version to keep, as for mocks.
  • An issue created offline keeps its identity. If a teammate created an issue with the same key in the meantime, yours gets the next free number in the project; links to it keep working.
  • A tracker project arrives before its issues and Kanban/Scrum boards, and a conversation before its messages. Tracker boards carry their columns, filters and settings; they are not recreated as blank boards on another device.
  • Discussions sync with the team — the messages under issues, wiki pages, boards and other objects.
  • Open channels (anyone in the Space can join) sync with the team together with their history. On another member’s Desktop such a channel appears in Discussions: press Channels (find and join open channels) — join it there to read and write. If the channel’s owner makes it invite-only or approval-only, only its members keep receiving it; on the other devices the copy moves to the archive and keeps the messages it already has.
  • Direct messages and invite-only or approval channels reach only their members — on each member’s Desktop, with their history. Saved messages reach only your own devices. When a member is added, they receive the history; a removed member stops receiving new messages. Agent rooms stay on the device where they were created.
  • Teammates appear on your Desktop by name: on their messages and tasks, and in the people list when you start a direct message or add someone to a channel. A person who has just joined the Space appears within about ten minutes.
  • The people list is limited to your current Space. After your access to that Space is removed, Desktop can no longer fetch its members; signing in on the device alone does not restore access.
  • A single object larger than 256 KiB — a very large board or wiki page — stays on this device and is listed in the preview as too large to sync.

On the shared Team node, a task or message arriving before its project or discussion waits for that parent. Reconnecting or restarting the node does not discard the pending record. If synchronization remains paused, keep your local work and check the connection instead of recreating the same objects.

A personal Space does not include the Team modules: its sync refuses them with a message that names the module.

Offline work and recovery

For a company connection, mocks keep the IDs entered in their editor, including string IDs. Test-case settings remain tied to their namespace; receiving them does not create a separate settings object with a new ID.

If Desktop reports that the active profile changed while reading saved discussions or preparing a new tracker item, reopen the view under the intended profile before trying again. If it cannot confirm the selected account, check the connection and sign-in. These refusals include a readable explanation; their existing machine-readable error code and HTTP status are preserved.

In a Team Space, changes can come from another member’s Desktop as well as your own devices. Review the Cloud copy alongside your local copy before resolving a conflict; do not assume that the Cloud copy is your last upload.

You can keep editing local projects while offline. If the connection drops or the Company sync service is temporarily unavailable during Sync now, Desktop shows that the connection is unavailable and keeps the pending edits. If Desktop starts offline, it retries the Company connection for several minutes. While the Connection panel says Connecting sync, your changes stay on this device. Sync now becomes available after Desktop confirms sync is ready. If it asks you to reconnect the profile, use the same profile so the pending changes can resume from the approved Space. After the connection returns, Desktop resumes from the cursor stored for that profile. A failed page does not advance the cursor, so a restart retries it instead of losing changes.

Remote deletions of selected mocks, API collections, UI-test definitions and fuzz configurations are applied by entity type. A deletion is checked against the local owner or namespace and modification time before it is committed. If you have an unsent local edit of that object, Desktop keeps it and opens a sync conflict instead of deleting it. Replaying the same deletion after a restart is safe. Desktop advances the profile cursor only after every local change on the page has committed.

Deleting a connection profile removes its credential, session metadata and profile-scoped sync conflict history. It does not delete local projects. Before removing the Desktop installation or its data directory, check that every item you need exists on another device or in your connected Space. The selective ZIP export below is not a complete backup or a restore mechanism.

Local deletions of the same selected resource types are also sent as stable deletion records. This includes resources removed through their normal editor and resources moved to the recycle bin as part of a larger cleanup. A failed upload is retried with the same identity; it does not turn the deleted resource back into a live copy.

If the local object is newer, the remote object type is unsupported, or a payload cannot be applied safely, Desktop records the object and reason under Connection → Sync conflicts. The entry remains after restart until you review it; the cursor remains at the previous safe point. Revoking a Cloud device credential or losing the network stops future remote sync for that profile without deleting local projects or affecting another profile.

If an administrator restores your membership, sign in to Cloud from the same Desktop profile. Turn sync back on for that Space and review the selected scope to restore access to its downloaded collections.

After Cloud confirms a credential revocation, Desktop removes the old local Cloud authority even if it also reports a local retention error. That error does not restore access and does not delete local work. A voluntary sign-out can instead stop with an error if Desktop cannot safely record the state of unsent collaboration changes; resolve that error before trying sign-out again.

For a company connection, some object types can receive the server copy but cannot publish a local or merged choice. Those conflicts offer Use remote or Skip. This restriction belongs to the company connection; a Cloud mock still offers its supported local and merge actions. The list describes available choices and does not itself confirm a decision.

For a Company conflict, Desktop shows only actions it can apply to that specific copy. If this version cannot apply the remote copy, Skip remains available. An incoming environment can still use Use remote when supported; receiving a copy and replacing an unsent local edit have different available actions.

For a supported selected object, choose Use local, Use remote, Merge or Skip. Desktop first previews the exact action, payload size and SHA-256 fingerprint. The decision is bound to the exact local revision that you reviewed. A concurrent local edit is never overwritten: Desktop stops that decision and leaves the newer revision queued for a fresh comparison. A merged object passes through the same Project and sensitive-data boundary as an ordinary sync batch.

If you edited an object locally while it was deleted in Cloud, the conflict is marked Deleted in Cloud. The Cloud panel shows only the last snapshot for comparison; it is not a live version. Choose Keep local and restore in Cloud to try sending your local copy through normal sync permissions, or Accept Cloud deletion to remove the local copy. Merging is unavailable for a deletion. If the Cloud version or your local edit changes while the decision is open, Desktop keeps your work and asks you to review the new conflict. Skip leaves the conflict unresolved; it does not mean the two devices agree.

After Cloud accepts Use local or Merge, Desktop saves a recovery record before changing the local database. If the local commit is interrupted, retry the same confirmation after restart; Desktop resumes the local half without sending the accepted Cloud change again. A durable local receipt also makes a retry safe if the final conflict status could not be written. If the recovery record itself could not be saved immediately after Cloud accepted the change, inspect both copies before choosing again because the Cloud copy may already have changed.

The conflict list shows names and available actions. Desktop loads the contents of the selected conflict when you open its comparison or choose a resolution.

Compare changes without editing JSON

Restoring a local mock from the recycle bin creates a new outgoing change with
its restored state. It is not sent as a replay of the old, pre-deletion copy.
If another device changed the Cloud copy while you were offline, review the
sync conflict rather than repeating the restore or upload.
An incoming deletion that Desktop has not previously confirmed remains a
conflict even if your local edit has a later timestamp. Check both copies;
different device clocks do not decide whether to restore the Cloud copy.

Choose Merge to open the local, result and server panels. Select each
difference and use Previous difference / Next difference without losing
your choices. Review entire result shows the complete object. Continue to
confirmation only after selecting every difference. Closing the window or
choosing Cancel does not apply a decision.

Before confirming, check removed requests and folders as well as edited fields.
The comparison matches items by stable ID, even when names repeat or change.
Lists without unique IDs are compared as a whole. For large objects, the review
shows complete snapshots instead of omitting fields beyond the detailed view.

When an agreed base snapshot is available, Desktop can combine changes made on
only one side and asks you to resolve overlapping edits. Changes with unknown
ancestry require your choice. Requests with stable IDs and
unchanged ordering can be compared field by field. Reordered arrays, duplicate
headers and protocol changes stay together instead of being merged by line
number. Owner, space and sharing permissions remain unchanged. Fields with
similar names inside your request or response JSON remain ordinary content.
Missing snapshots or values that cannot be represented safely prevent structural merging.

If the recorded conflict changes while you review it, reopen the comparison.
Desktop checks the reviewed snapshots before preparing confirmation and checks
the retained conflict again before committing the decision.
Switching profiles while confirmation is open cancels that decision; reopen the
conflict in the intended profile. Numeric differences retain their exact JSON
values in the comparison, including large integers and precise decimals.
If confirmation loses its response or the server cannot confirm the result,
Desktop disables repeating that confirmation. Check the refreshed conflict state
before opening a new decision; a failed response alone does not mean nothing changed.

When changes arrive

After consent, Desktop sends new and changed objects by itself a few seconds after you save them. Work from your other devices and your teammates arrives:

  • when you come back to the Desktop window and the last sync is more than two minutes old;
  • when you press Sync now in the account panel (top right), which also shows when this Desktop last synced or why the last sync failed;
  • in the background once a minute when your selection includes Team discussions, tasks, wiki pages or boards; without these types, it follows the configured interval (3 minutes by default). Existing saved intervals are kept.

An open list refreshes when new work arrives. An object you received is not sent back as your own change.

Team discussions refresh after received changes without requiring a page reload.
If you are replying to an older message, Desktop keeps that reply and your draft
while checking that the original message is still available to you. If it was
removed, the reply panel closes and the draft is kept for that discussion.

If an outgoing message belongs to a discussion that is now closed or unavailable
for writing, Desktop keeps the local changes and explains why they cannot be
sent. Reading its retained history remains available if you still have access.
An admitted participant can reopen a closed discussion, then sync again.

Closing a discussion while offline works: the closure itself is delivered, and
the server records one short service notice about it. Other messages written
after the closure stay local until the discussion is reopened.

Sync status and recovery actions

If the server reports rejected changes without identifying the affected objects
unambiguously, Desktop stops confirming that batch and keeps the local changes
pending. For a mixed result, only accepted exact revisions leave the local
queue. Each rejected revision stays in the durable outbox, is shown in Sync
conflicts after restart, and is withheld from automatic retries until you make
an explicit conflict decision. A newer local revision of the same object remains
independent and can be synchronised. A connection error alone is not proof of
delivery.
For a Company server error, Desktop shows the HTTP status and only a recognised,
fixed refusal identifier. It does not copy the server’s free-form error text or
raw response body into the interface or local logs. A failed push is not
proof that the server did or did not receive the batch; keep the local outbox
until a later sync confirms exact revisions.

Synchronising an API collection does not transfer its ownership or move an
existing collection into another space. If its identifier belongs to another
owner or space, the update is rejected and the existing collection is retained.

If Cloud rejects an upload because its sync authorization is stale, that attempt ends with an error and the local changes remain queued. Desktop does not silently obtain new authorization and resend the write inside that same attempt.

For Cloud, Use local and Merge apply to the remote version recorded in the conflict. If that version has changed meanwhile, Desktop leaves the conflict unresolved instead of overwriting the newer work. It does not automatically retry the decision against a newer version.

Use remote, Merge, Use local and Skip also verify that the local outbox still contains the exact reviewed revision. A newer local edit invalidates the old decision instead of being replaced or silently acknowledged. Open the newly synchronised conflict and compare again.

Confirmation of a previous upload does not confirm a later edit to the same object. This also applies to the final outgoing transfer: later local work stays on this device for sync after write access resumes. If a conflict was reviewed before a Desktop update and the local copy no longer matches, compare the current copies again rather than retrying the old decision.

If a received Cloud object cannot be applied locally, its conflict retains the received version and copy of the object after a restart. Further incoming changes to that object wait for an explicit conflict resolution; Desktop keeps the cursor before the page so those changes can be fetched again afterward.

What you see What remains safe What to do next
Profile is offline Local projects and the last committed cursor Reconnect the profile; preview a fresh exact batch
Authentication expired or device revoked Local projects; no new remote page is applied Reauthenticate or request device approval, then preview again
Cloud cannot temporarily check the device credential Local changes and the sync cursor stay in place Wait and retry; do not sign out or delete local work for this temporary error
The paid Team period ends Pending changes to Team-only types stay on this device. Base types continue to sync while the current profile and Space access remain valid Renew Team to resume Team-only types; after confirmation, use Sync now and review any version conflicts
Personal Space becomes read-only after a plan change Pending local changes stay on this device; a final upload is not available for this case Select an eligible Space in Cloud or renew access before retrying; do not delete local work
An older Cloud connection is read-only despite current access Local work and pending changes stay on this device Reconnect to Cloud to refresh its signed access before retrying; an older connection cannot prove the current Space rights
Scope revision changed The old preview cannot be committed Review the new Space, Projects and object types, then create a new preview
Conflict recorded The cursor stays before the conflicting page Review provenance and choose Use local, Use remote, Merge or Skip
Commit response was lost The retained batch identity and durable receipt Retry the same commit; do not create a broader selection
Sensitive object was excluded The complete local object Replace embedded credentials with secret references, then preview again
Sync storage is unavailable Sync stops without advancing the cursor Repair the local installation or export local data before retrying
Company cannot confirm access to the selected namespace or sync types Local data stays on this device; no batch is approved Ask the administrator to check your namespace membership and assigned modules, then reconnect and review a fresh preview
The company server cannot provide sync authority Local work and pending changes stay on this device; available sync types cannot be confirmed Ask the administrator to check the server’s sync configuration. Do not delete local data or repeat an operation whose result is unknown
Synchronisation could not start for this connection Local data stays on this device Check the connection and local sync storage before retrying; being signed in does not by itself confirm that sync started
A sync failure occurs alongside a conflict or connection problem The sync attempt is reported as failed, not as only waiting for conflict decisions or reconnection Check the failure before retrying; a successful upload of some objects does not prove that incoming changes were applied
Cloud returns an incomplete or inconsistent change confirmation Pending local changes are not marked as sent Retry after connectivity or the Cloud service recovers; do not delete local work

When Desktop has received a signed read-only Team grant, a warning also appears above the workspace. If the device was offline when access changed, it can only show the new state after reconnecting; Cloud still refuses uploads until the right is restored.

Incoming synchronisation remains available while read access is valid, including
the last changes sent by another member’s final transfer. Completing or expiring
your outgoing final transfer does not restore editing or stop incoming reads.
An outgoing transfer waiting for recovery also does not stop incoming reads
that Cloud separately authorizes; its pending changes remain on this device.

During the Team’s read-only period, Desktop can show saved tasks, wiki pages
and whiteboards in the selected Space without restoring editing, AI or runs.
This access is checked separately from paid features and remains valid for at
most 15 minutes between successful access checks. If it expires while offline,
reconnect to Cloud; do not delete the local data. Changing Space, losing Team
membership or having the device revoked does not preserve access to the old
Space.

The connection panel distinguishes a final transfer that is pending, partly confirmed, in conflict, retrying, or expired from one Cloud has confirmed and closed. A successful incoming refresh or a count of zero pending changes is not confirmation that an outgoing transfer finished. If the panel says changes remain on this device, keep the Desktop installation and renew write access; do not treat Sync now as proof of an upload. Final transfer is only available when Cloud explicitly admits it for the selected Space; Personal read-only access does not grant it.

While Cloud is processing a purchase, refund or access change, it may temporarily pause the final transfer. Keep your pending local work and retry after the operation finishes. If the operation is cancelled without changing access, the transfer can resume within its original time window; a pause is not confirmation that your changes were uploaded.

Waiting for the server does not extend the final transfer’s deadline. If it expires, keep pending changes on this device and renew write access before retrying.

A conflict from the final transfer remains available after restarting Desktop.
Its choice applies to the local version you reviewed. If you edit or recreate
that object meanwhile, Desktop refuses the old choice and keeps your new work;
review the current versions before trying again.

A read-only Cloud profile cannot start new local or shared runs in its selected
Space. Runners connected through this Desktop stop claiming new queued jobs
while the read-only Cloud profile is selected; existing results remain visible.
Switch to a separate Local profile if you need to keep working independently
while Cloud access is restored.

Package update state is not synchronised. Checking or importing a Desktop
update neither creates a project batch nor advances a profile cursor. Likewise,
reconnecting sync never installs a package or dismisses update recovery.

Local storage diagnostics

Open Desktop → Data and history in the sidebar to refresh the current sizes or clear the
downloaded cache. Cached text and metadata and downloaded media have separate
sizes. Clearing asks for confirmation; working data and pending changes are
shown separately and cannot be selected for deletion.

Shared media downloads check the received size and checksum even when the
download cannot be cached. An incomplete or damaged download is not completed
as a valid file. This does not require storing another local copy of the file.

Desktop provides local, authenticated storage diagnostics at
GET /api/v1/desktop/storage. The response separates cached content, database,
database journal, working files and pending changes. Pending changes stored in
the database are already included in its size: do not add those bytes twice.
These figures cover the reported categories, not every file installed by the app.

The diagnostic response also reports cache hits, misses, evictions and operation
latency counts under metrics. These aggregates are local, contain no message
text or participant names, and restart from zero when the app restarts.
pendingOldestAgeSeconds is the age of the oldest unsubmitted change or staged
upload, in seconds; null means that age is unavailable, not a fresh queue.

The response also reports the cache boundaries the app enforces. cacheBudget
contains the metadata byte limit, media byte limit, total entry limit, per-parent
entry limit and entry lifetime in seconds. cacheOldestEntryAgeSeconds and
cacheNewestEntryAgeSeconds describe readable cached entries, and
cacheLastPruneAgeSeconds would describe the last automatic cleanup. An age is
null when there is no readable entry or the value was not measured;
cacheLastPruneAgeSeconds is null in this build because no prune timestamp is
recorded. The Storage page shows these boundaries only when the server reports
them, and shows “Not measured” rather than zero for unavailable values.

Latency arrays contain separate buckets up to 100 µs, 500 µs, 1 ms, 5 ms, 10 ms,
50 ms, 250 ms and above 250 ms. These are diagnostics, not performance guarantees.

POST /api/v1/desktop/storage/cache/clear with an empty body clears only
disposable cached content. It requires the local Desktop session and the Desktop
page’s own origin. It does not remove working data, unsent changes, sign-in or
update verification data. A download started before clearing cannot refill the
cleared cache. If storage cannot be inspected reliably, Desktop reports an
unavailable result rather than a misleading zero or successful cleanup.
These local controls are not available on a shared server or through SDK/CLI.

Compatibility with older Desktop clients

If an older Desktop client reports that sync needs more module access, update
Desktop and reconnect the Company profile. Current versions sync the types
you select and can access. The older sync keeps its last successful position
while any of its modules is unavailable.

Safe local export

In the native Desktop application, choose File → Export mocks and tests… and select a new .zip file. The export currently includes local mocks, API collections, UI-test definitions and fuzz configurations owned by the Desktop user. It works after a Cloud profile is revoked because those items remain local. It does not include every kind of Desktop data, and Desktop cannot restore this ZIP automatically yet.

The archive never includes connection profiles, server addresses or pins, credential references, licences, update state, logs, sessions or raw conflict records. Every JSON file is listed in manifest.json with its byte size and SHA-256 digest. The manifest identifies the active profile kind and, for Cloud, its Space when one is still bound.

An export supports up to 10,000 objects, 8 MiB per JSON document and 256 MiB of JSON data in total. Desktop checks these limits while gathering local data as well as before saving the archive. If a limit is exceeded, the export is refused; the original local data is unchanged.

Desktop refuses to overwrite an existing destination. It also refuses unsafe paths, duplicate archive entries, unsupported data domains, sensitive field names and recognised live-credential shapes. Saved request authentication and sensitive header, query or variable pairs are refused too, even when a token has no recognisable prefix. If one selected object fails these checks, the whole transaction is rejected and no partial destination is retained. Remove embedded credentials and credential references from the objects you intend to export, then try again. These checks do not identify every possible secret in arbitrary body text or scripts: review that content before sharing any archive.

The checks also refuse JSON web tokens (JWT), Mockarty API tokens and the authentication fields id_token and X-Auth-Token, including request pairs and URL parameters. Refusing an export does not change the local objects. Outgoing sync also leaves objects containing recognised credential values or sensitive URL query/fragment parameters local and identifies them as sensitive data in its preview. A malformed URL query is refused rather than partially read.

The Company conflict window receives the local and server versions for review; local recovery details stay on the device. Review the conflict again if either version changes.

For an original local task synchronized with a company server, Keep both keeps the server version on the original task and creates one separate task from the local version. The copy preserves the local title and content, has its own task key, and shows a link to the original task. Reopening Desktop or repeating the same decision reuses that copy. This choice is offered only for supported task conflicts; it does not enable automatic copies for other objects.

Automation surface

The raw Cloud sync transport is Desktop plumbing, not a customer automation workflow. Its Cloud endpoints are documented in OpenAPI for transport verification, while the local consent controls are available only inside Desktop. Both are intentionally absent from the SDKs, CLI and MCP tools. Use normal project APIs for supported user automation.

If the server cannot safely create the system notice for a close, it refuses the close and preserves the discussion and pending changes. This is a write refusal, not an expired runtime connection; keep the pending change for investigation rather than repeatedly refreshing the connection.

Upgrading and returning to an earlier release

Back up the Desktop data before upgrading. If an earlier release reports that the database is incompatible, do not force the recorded database version or keep restarting that release. Use the newer release to perform the supported database rollback before starting the earlier release, or restore a matching backup. A successful rollback keeps your test cases; case synchronization may become available again only after upgrading.

Working server copies

Storage distinguishes measured server copies in the local database from downloaded files. Local changes, unresolved conflicts and copies without a verified clean baseline are retained. Only verified unused copies outside selected working sources or types can be retired; server data is not deleted. Selecting the source again lets normal sync load permitted copies with their original IDs. Active selected data is not pruned by age.

Copy sizes are already included in the database size. Reusable SQLite pages may grow after retirement while the file stays the same size. Copy counts describe this device, not the company project total. At the local copy limit, additional copies pause rather than discarding local work. Connected company views still require server availability and current permissions. Clear cache still clears downloaded content only.