commonDataStore

The toolkit's single settings Preferences DataStore file, shared by the preference data sources of every module. dataStoreModule binds it as DataStore<Preferences>; a module keeps its own source over it, with its own keys, in its data/local package.

Migrations run here rather than as work a data source does when constructed, so they finish before the first read is served, including reads from sources owned by other modules.

A file that can no longer be parsed is replaced with empty preferences, so every value falls back to its default and the user sees first-run state again. Without the handler DataStore throws CorruptionException from every read, and several of those reads run at startup outside any catch, so one damaged file would crash the app on every launch until its data was cleared.