Isolate app runtime when running tests
Isolate app runtime when running tests
Introduce SwiftMinerRuntime to detect hosted XCTest runs and isolate test behavior from the production app. Add InMemoryTokenStore and update TokenStoreFactory to return it during tests so test token stores are ephemeral and do not share data. Gate background services and side-effects (dock badge, legacy account migration, notifications, updater background checks, HTTP server, SwiftBot sync, miner auto-start, activity aggregation, and state-store auto-refresh) behind the runtime check. Use a test-specific support directory and isolated UserDefaults during tests. Update tests to assert isolation, add project file entries for new files, bump project build version, and update release notes.
Commit: 05869e5