Problem
The scaffold models session snapshots and profile website data store identifiers, but it does not yet persist sessions or prove profile/private browsing isolation at runtime.
Evidence
Affected files/components
Sources/MeridianCore/Models/BrowserSessionSnapshot.swift
Sources/MeridianCore/Stores/BrowserStore.swift
Sources/MeridianCore/WebKit/ProfileWebsiteDataStoreProvider.swift
- Future persistence and WebKit fixture test files
Expected behavior
Meridian should restore spaces, folders, profiles, tabs, and selected state across launches while proving website data does not leak between profiles or persist in private browsing.
Proposed direction
Choose a persistence backend, save/load session snapshots, and add local WebKit fixture tests for cookies/localStorage per profile and private browsing cleanup.
Acceptance criteria
- Session state persists and restores across app launches.
- Persistent profile A and profile B do not share cookies/localStorage.
- Private browsing data is not persisted after closing the private context.
- Tests document any WebKit limitations discovered.
Problem
The scaffold models session snapshots and profile website data store identifiers, but it does not yet persist sessions or prove profile/private browsing isolation at runtime.
Evidence
BrowserSessionSnapshotandBrowserStore.snapshot(...)but no durable persistence backend.WKWebsiteDataStore(forIdentifier:)for persistent profiles and.nonPersistent()for private profiles, but no local fixture tests verify cookies/localStorage behavior.Affected files/components
Sources/MeridianCore/Models/BrowserSessionSnapshot.swiftSources/MeridianCore/Stores/BrowserStore.swiftSources/MeridianCore/WebKit/ProfileWebsiteDataStoreProvider.swiftExpected behavior
Meridian should restore spaces, folders, profiles, tabs, and selected state across launches while proving website data does not leak between profiles or persist in private browsing.
Proposed direction
Choose a persistence backend, save/load session snapshots, and add local WebKit fixture tests for cookies/localStorage per profile and private browsing cleanup.
Acceptance criteria