Overview

This describes the mechanism used to sync preferences across devices/surfaces.

It it currently leveraged by the builder to sync the list of search libraries across devices (if you defined your search libraries on remix-dev, you will get the same list on the desktop, etc…)

Structure / Terminology

{
	"name": "john", 
	"address.mailing.city": "san francisco",
}

Builder Prefs

The builder leverages synced prefs by using 2 fields:

If you want to change the default catalogs for all users in the org, simply set builder.search.libs in the default prefs (with the agent set_default_prefs). Each user will get these by default instead of the system one. And a given user might also want to override this and define its own builder.search.libs.

Agents

Interacting with the prefs is done via agents of the _rmx_prefs app, deployed in the main workspace of a user (the workpace of the user org)