feat: persist settings and enrich conversation context

This commit is contained in:
jjbrunton committed 2026-08-08 18:18:28 +01:00
1 parent a36723a325
commit 2c100d72b6
84 files changed
+2248 -644

No files matched your search

+5 -12
View File
@@ -791,21 +791,14 @@ The historical diagram below is retained for migration context only.
└─► Continue to next subreddit
```
### Browser Session Recovery
### Account Session Recovery
```
1. BrowserClient.verifySession() returns false
1. Reddit or Matrix authentication is rejected
│
├─► Check for expired cookies
│
├─► Attempt automated re-login
│ ├─► BrowserClient.login()
│ └─► If success: continue
│
└─► If re-login fails:
├─► Log error: "Browser session expired"
├─► Stop bot
└─► Require manual login (scripts/login.ts)
├─► Invalidate the shared account-auth gate
├─► Stop account-bound schedulers
└─► Wait for a fresh combined dump from the Chrome extension
```
---