feat: add local-first private AI digest workflow

Migrate app code into canonical feature slices, add phone-only AI digest scheduling and review, wire local notification/background task support, and cover the flow with tests.
This commit is contained in:
Rijad Zuzo
2026-05-17 00:17:20 +02:00
parent dab50abf0e
commit f655adfbea
212 changed files with 24178 additions and 15895 deletions
@@ -1,18 +1,2 @@
/// Raw persisted payload for sync queue state.
class SyncStateRecord {
const SyncStateRecord({required this.rawState});
final String rawState;
}
/// Persistence boundary for sync queue metadata and pending changes.
abstract interface class SyncStateStore {
/// Reads stored sync state payload.
Future<SyncStateRecord?> read();
/// Writes sync state payload.
Future<void> write({required String rawState});
/// Clears stored sync state payload.
Future<void> clear();
}
// Legacy compatibility export for the sync state store contract.
export 'package:relationship_saver/features/sync/data/storage/sync_state_store.dart';