storage_core.zi keeps what every storage module shares: the delegate hooks,
meta values, the sync keys and record-field version, new IDs and change
times. The rest moved unchanged into focused modules:
- storage_settings.zi: settings and cached social snapshots
- storage_json_sql.zi: JSON reads through SQLite
- sync_outbox.zi: queueing local records for the node
- sync_state.zi: the sync account, status, clearing and purging
- sync_migrations.zi: Lumi's collection and the connected-server flag
- sync_record_codec.zi: local rows as record payloads
- sync_collections.zi: collections and record IDs per entity
- sync_record_crypto.zi: record keys, sealing, opening and kept copies
- sync_apply.zi: applying received records
- sync_exchange.zi: the request payload and applying the response
- storage_profile_stats.zi and storage_export_csv.zi
Names, the protocol and the SQL are unchanged. Importing the core still
links every part, as one module did; importers import the parts whose
names they use. StorageSyncStatus moved beside storage_sync_status, so its
generated header no longer depends on an import cycle. The restore SQL test
and its law mutation read sync_outbox.zi, and the sync recovery link test
leaves out the parts it stubs, as it left out the core.