refactor(core): open AppDataStores instead of exporting SqlitePool

Introduce persistence::open_all so domain stores (invitation, targeted,
blocked) are constructed once. Extract TargetedTransferStore and own it on
CoreInner; soft-close raw pool access for new callers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-11 08:50:16 +02:00
parent a2385912c2
commit 5c66c2ca65
15 changed files with 658 additions and 533 deletions

3
.gitignore vendored
View File

@@ -25,6 +25,9 @@ bin/
# Local design export scratch
output/
.scratch/
# Local ADRs (not tracked — agent/session decisions)
docs/adr/
.screenshots
apple/RELEASE-MACOS.md
apple/Generated/*.xcconfig