# Runtime profiles

Yatoon 4.5.3 separates the core booking engine from optional business modules.

- **Square single-store lean** keeps Square booking and payments, staff and customer workflows, portals, notifications, operations, and backup tools. It disables unrelated Local group sessions, REST, AI, PWA, shared-resource and multi-location rule modules. Applying it also turns off alternate deposit gateways, WooCommerce checkout, dynamic pricing, and PWA without deleting credentials or business data.
- **Square multi-store** adds location rules, shared resources, insights, and performance reporting.
- **Local booking lean** keeps core local booking, staff, customer portals, notifications, and backup tools.
- **Complete feature set** enables every optional module; PWA still requires its dedicated opt-in setting.

## Upgrade behavior

Existing installations without a saved runtime profile are assigned **Preserve upgraded site**. Existing module options are not rewritten. This is deliberate: updating the plugin must never silently disable a portal, notification, payment, resource, or reporting workflow already used by a business.

New installations start with the Local lean profile. Selecting Square in the setup wizard advances an untouched new installation to Square single-store lean. Administrators can select another profile or customize modules under **Yatoon → Feature Modules**.

## Loading behavior

A disabled module keeps its database data but does not load its implementation file or register its hooks, menus, REST routes, or cron work. Optional payment and calendar provider files load only when their feature is configured, an incoming callback needs them, or a Yatoon settings screen is open.

After changing profiles, the redirected request uses the new boot graph. Clear persistent object/page caches when measuring performance.

