File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ The key insight: **Engram's knowledge graph operations are overwhelmingly additi
1515│ Device A (phone) │
1616│ ┌───────────┐ ┌────────────────────────────┐ │
1717│ │ Drift/SQL │←→│ CRDT merge layer (HLC) │──┼──┐
18- │ │ (local) │ │ custom CRDT layer ( HLC+LWW) │ │ │
18+ │ │ (local) │ │ custom HLC+LWW │ │ │
1919│ └───────────┘ └────────────────────────────┘ │ │
2020└─────────────────────────────────────────────────┘ │
2121 │ background sync
2222┌─────────────────────────────────────────────────┐ │
2323│ Device B (laptop) │ │
2424│ ┌───────────┐ ┌────────────────────────────┐ │ │
2525│ │ Drift/SQL │←→│ CRDT merge layer (HLC) │──┼──┤
26- │ │ (local) │ │ custom CRDT layer ( HLC+LWW) │ │ │
26+ │ │ (local) │ │ custom HLC+LWW │ │ │
2727│ └───────────┘ └────────────────────────────┘ │ │
2828└─────────────────────────────────────────────────┘ │
2929 │
Original file line number Diff line number Diff line change @@ -151,6 +151,8 @@ class CrdtSyncNotifier extends Notifier<CrdtSyncState> {
151151 ref.invalidate (knowledgeGraphProvider);
152152
153153 // Purge tombstones and sync_log entries we've already consumed.
154+ // Safe in star topology (Firestore hub). P2P sync would need
155+ // per-peer tombstone tracking — see CRDT_SYNC_ARCHITECTURE.md.
154156 // Wrapped in try/catch so cleanup failure doesn't fail the sync.
155157 if (highestPullHlc.isNotEmpty) {
156158 try {
Original file line number Diff line number Diff line change 11import 'dart:io' ;
22
33import 'package:anthropic_sdk_dart/anthropic_sdk_dart.dart' ;
4+ // HttpMethod is not publicly exported by anthropic_sdk_dart but is required
5+ // to construct AnthropicClientException in tests. Track upstream issue.
46import 'package:anthropic_sdk_dart/src/generated/client.dart' show HttpMethod;
57import 'package:engram/src/services/elevenlabs_client.dart' ;
68import 'package:engram/src/services/retry.dart' ;
You can’t perform that action at this time.
0 commit comments