Matthew Raymer
|
514ca38768
|
refactor: Switch to Option A host-provided activeDid approach
- Implemented Option A from DATABASE_ACCESS_CLARIFICATION.md
- Simplified architecture: Host ALWAYS provides activeDid to plugin
- Removed database sharing complexity and hostDbPath requirements
- Updated all platform integrations:
* Android/Electron: Plugin-managed storage, no host database access
* Web: Host-managed storage delegation, plugin doesn't access absurd-sql
* iOS: Plugin-managed Core Data, no host database access
- Streamlined plugin interface to remove hybrid complexity
- Enhanced separation of concerns:
* Host: Owns active_identity table and user management
* Plugin: Owns notification caching and background tasks
- Updated testing strategy to verify database isolation
- Simplified implementation phases and dependencies
This approach eliminates database access conflicts and provides clearer
architectural boundaries between TimeSafari host and notification plugin.
|
20 hours ago |