Skip to content

Commit 97ecd8f

Browse files
committed
update docs and websocket source handling
Include the current documentation/site updates and websocket source changes before pushing beta. YouTube WSS now clears failed OAuth state and only treats active session/callback state as pending so stale auth state cannot hide signin_required.
1 parent bbd7424 commit 97ecd8f

45 files changed

Lines changed: 1125 additions & 272 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/agents/00-inventory-and-plan.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ This first pass creates the working folder, records what already exists, and lay
1212

1313
All new AI documentation should live under:
1414

15-
`C:\Users\steve\Code\social_stream\docs\agents`
15+
`docs/agents`
1616

1717
No other files should be edited for this documentation project unless Steve explicitly changes the scope.
1818

1919
## Existing Source Map
2020

21-
### `C:\Users\steve\Code\social_stream`
21+
### `<social_stream repo>`
2222

2323
Primary source for the Chrome extension, public web overlays, shared source scripts, and code loaded by the standalone app.
2424

@@ -93,9 +93,9 @@ Important repo instruction already present:
9393
- Remote executable scripts/WASM should not be introduced into extension code.
9494
- `docs/event-reference.html` is the canonical event payload reference.
9595

96-
### `C:\Users\steve\Code\ssapp`
96+
### `<ssapp repo>`
9797

98-
Standalone Electron app source. This app uses Social Stream source files from `C:\Users\steve\Code\social_stream` as the primary runtime source. The fallback bundle is disposable and was intentionally not inspected.
98+
Standalone Electron app source. This app uses Social Stream source files from `<social_stream repo>` as the primary runtime source. The fallback bundle is disposable and was intentionally not inspected.
9999

100100
Observed structure:
101101

@@ -130,7 +130,7 @@ Do not mine for normal docs:
130130

131131
- `resources/social_stream_fallback`: disposable fallback bundle, not source of truth.
132132

133-
### `C:\Users\steve\Code\stevesbot`
133+
### `<stevesbot repo>`
134134

135135
Historical support and knowledge base material. This is a supporting evidence source, not the product source of truth.
136136

docs/agents/01-extraction-checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Last updated on 2026-06-24.
66

77
Use this file to track which source files and support datasets have been processed for the SSN AI documentation set. The goal is to support multiple AI passes without redoing the same work or skipping important resource areas.
88

9-
Only write extraction notes and status changes inside `C:\Users\steve\Code\social_stream\docs\agents`.
9+
Only write extraction notes and status changes inside `docs/agents`.
1010

1111
## Extraction Levels
1212

docs/agents/01-product-map.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Status: heavy extraction pass started from public repo docs and app docs. This i
1212
- `docs/commands.html`
1313
- `docs/ssapp.html`
1414
- `docs/js/sites.js`
15-
- `C:\Users\steve\Code\ssapp\AGENTS.md`
15+
- `<ssapp repo>/AGENTS.md`
1616

1717
## What Social Stream Ninja Is
1818

@@ -60,7 +60,7 @@ Use the standalone app when:
6060

6161
Boundary from `ssapp` instructions:
6262

63-
- Source edits belong in `C:\Users\steve\Code\social_stream`.
63+
- Source edits belong in `<social_stream repo>`.
6464
- The standalone app loads Social Stream source files remotely from that repo at app startup.
6565
- `ssapp/resources/social_stream_fallback` is a rebuilt fallback bundle, not the primary source.
6666

docs/agents/02-installation-and-surfaces.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ For a support-oriented decision guide covering install path choice, safe update
1010
- `docs/download.html`
1111
- `docs/ssapp.html`
1212
- `docs/commands.html`
13-
- `C:\Users\steve\Code\ssapp\AGENTS.md`
14-
- `C:\Users\steve\Code\ssapp\package.json`
15-
- `C:\Users\steve\Code\ssapp\RELEASE.md`
13+
- `<ssapp repo>/AGENTS.md`
14+
- `<ssapp repo>/package.json`
15+
- `<ssapp repo>/RELEASE.md`
1616

1717
## Install Choices
1818

@@ -119,8 +119,8 @@ Download-page notes:
119119

120120
Repo boundary:
121121

122-
- App code lives in `C:\Users\steve\Code\ssapp`.
123-
- Social Stream source edits still belong in `C:\Users\steve\Code\social_stream`.
122+
- App code lives in `<ssapp repo>`.
123+
- Social Stream source edits still belong in `<social_stream repo>`.
124124
- Do not use `ssapp/resources/social_stream_fallback` as the source of truth.
125125

126126
## Choosing Extension vs App
@@ -191,14 +191,14 @@ Do not use Lite docs to answer full extension/app questions unless the user is e
191191

192192
For Social Stream extension/source development:
193193

194-
- Work in `C:\Users\steve\Code\social_stream`.
194+
- Work in `<social_stream repo>`.
195195
- Load unpacked extension from that folder or a build-specific folder.
196196
- Use local/localhost source pages where manifest entries support them.
197197
- Use `scripts/validate-configs.sh` before commits/pushes that touch settings/config JSON.
198198

199199
For standalone app development:
200200

201-
- Work in `C:\Users\steve\Code\ssapp`.
201+
- Work in `<ssapp repo>`.
202202
- Read `ssapp/AGENTS.md` and `RELEASE.md` before release work.
203203
- Run app behavior in the actual Electron app for real validation.
204204

docs/agents/02-resource-manifest.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ This file lists the source material that should be considered for SSN AI documen
88

99
Do not use these for extraction unless Steve explicitly changes scope:
1010

11-
- `C:\Users\steve\Code\ssapp\resources\social_stream_fallback`
12-
- `C:\Users\steve\Code\stevesbot\resources\secrets`
11+
- `<ssapp repo>/resources/social_stream_fallback`
12+
- `<stevesbot repo>/resources/secrets`
1313
- `node_modules`, `.git`, build output, temp folders, logs, and backup databases
1414
- Non-SSN support material unless it directly affects SSN setup or integration
1515

@@ -22,7 +22,7 @@ Do not use these for extraction unless Steve explicitly changes scope:
2222

2323
## Social Stream Repo
2424

25-
Root: `C:\Users\steve\Code\social_stream`
25+
Root: `<social_stream repo>`
2626

2727
Observed candidate resource counts:
2828

@@ -422,7 +422,7 @@ Track these by directory unless a page depends on a specific file:
422422

423423
## Standalone App Repo
424424

425-
Root: `C:\Users\steve\Code\ssapp`
425+
Root: `<ssapp repo>`
426426

427427
Observed candidate resource counts after excluding fallback/build/temp/log output:
428428

@@ -537,7 +537,7 @@ Track by directory unless a feature page needs exact asset behavior:
537537

538538
## Stevesbot Support Data
539539

540-
Root: `C:\Users\steve\Code\stevesbot`
540+
Root: `<stevesbot repo>`
541541

542542
This repo is support evidence, not product source of truth.
543543

@@ -640,12 +640,12 @@ Suggested units:
640640
Use these commands to refresh this manifest later.
641641

642642
```powershell
643-
cd C:\Users\steve\Code\social_stream
643+
cd <social_stream repo>
644644
rg --files -g '!node_modules/**' -g '!.git/**' -g '!docs/agents/**' | Sort-Object
645645
646-
cd C:\Users\steve\Code\ssapp
646+
cd <ssapp repo>
647647
rg --files -g '!node_modules/**' -g '!.git/**' -g '!resources/social_stream_fallback/**' -g '!dist/**' -g '!tmp/**' | Sort-Object
648648
649-
cd C:\Users\steve\Code\stevesbot
649+
cd <stevesbot repo>
650650
rg --files -g '!resources/secrets/**' -g '!logs/**' -g '!data/backups/**' -g '!data/replays/**' | Sort-Object
651651
```

docs/agents/04-standalone-app-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For the focused source-window lifecycle and app-vs-extension parity matrix, use
2121
- `ssapp/tiktok/connection-manager.js`
2222
- `ssapp/tests/electron/*`
2323

24-
Do not use `ssapp/resources/social_stream_fallback` as source documentation material during normal extraction. The project instructions say Social Stream source edits and runtime source-of-truth work belong in `C:\Users\steve\Code\social_stream`; the fallback folder is disposable build/update output.
24+
Do not use `ssapp/resources/social_stream_fallback` as source documentation material during normal extraction. The project instructions say Social Stream source edits and runtime source-of-truth work belong in `<social_stream repo>`; the fallback folder is disposable build/update output.
2525

2626
## Runtime Shape
2727

docs/agents/04-standalone-app-source-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Status: heavy extraction pass from `ssapp/main.js`, `ssapp/preload.js`, `ssapp/s
66

77
Document how standalone app source windows behave, why they can differ from the Chrome extension, and what agents should check before saying a source is "broken in the app."
88

9-
For Social Stream feature behavior, use `C:\Users\steve\Code\social_stream` as source of truth. For Electron shell behavior, source windows, app auth, local source loading, and state repair, use `C:\Users\steve\Code\ssapp`.
9+
For Social Stream feature behavior, use `<social_stream repo>` as source of truth. For Electron shell behavior, source windows, app auth, local source loading, and state repair, use `<ssapp repo>`.
1010

1111
## Source Anchors
1212

@@ -203,7 +203,7 @@ Check whether the source or group has auto-activate enabled, whether a saved sou
203203
Use:
204204

205205
```text
206-
Check `--filesource`, saved local source path, ZIP import, beta/stable branch, prefer-local-assets, and any cache/fallback warning. Source edits belong in `C:\Users\steve\Code\social_stream`, not the app fallback mirror.
206+
Check `--filesource`, saved local source path, ZIP import, beta/stable branch, prefer-local-assets, and any cache/fallback warning. Source edits belong in `<social_stream repo>`, not the app fallback mirror.
207207
```
208208

209209
### "Login works in browser but not app."

docs/agents/07-overlays-and-pages/multi-alerts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ On 2026-06-24, `node scripts/playwright-multi-alerts-overlay-e2e.cjs` was run fr
2222

2323
```text
2424
frame.waitForFunction: Timeout 30000ms exceeded.
25-
at waitForPreviewFrame (C:\Users\steve\Code\social_stream\scripts\playwright-multi-alerts-overlay-e2e.cjs:212:15)
26-
at async C:\Users\steve\Code\social_stream\scripts\playwright-multi-alerts-overlay-e2e.cjs:439:24
25+
at waitForPreviewFrame (<social_stream repo>/scripts/playwright-multi-alerts-overlay-e2e.cjs:212:15)
26+
at async <social_stream repo>/scripts/playwright-multi-alerts-overlay-e2e.cjs:439:24
2727
```
2828

2929
The failure happened while waiting for the popup preview iframe to expose `window.__multiAlertsOverlay.getSettings`. Do not use that run as evidence that multi-alert rendering, queueing, audio, filters, or server modes are validated.

docs/agents/08-platform-sources/priority-platform-answer-matrix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For proof status behind these short answers, use `priority-platform-validation-l
2828
This pass checked the current docs plus source terms in:
2929

3030
- `sources/youtube.js`, `sources/websocket/youtube.js`, `providers/youtube/liveChat.js`
31-
- `sources/tiktok.js`, `C:\Users\steve\Code\ssapp\tiktok\connection-manager.js`
31+
- `sources/tiktok.js`, `<ssapp repo>/tiktok/connection-manager.js`
3232
- `sources/twitch.js`, `sources/websocket/twitch.js`, `providers/twitch/chatClient.js`
3333
- `sources/kick.js`, `sources/kick_new.js`, `sources/websocket/kick.js`, `providers/kick/core.js`
3434
- `sources/rumble.js`, `sources/websocket/rumble.js`

docs/agents/10-troubleshooting/desktop-app-issues.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Status: heavy extraction pass started.
66

77
Document common standalone app support issues and the operational differences between the SSN desktop app and the Chrome extension.
88

9-
The app is a host for Social Stream source files. For Social Stream feature behavior, use `C:\Users\steve\Code\social_stream` as the source of truth. For desktop shell behavior, use `C:\Users\steve\Code\ssapp`.
9+
The app is a host for Social Stream source files. For Social Stream feature behavior, use `<social_stream repo>` as the source of truth. For desktop shell behavior, use `<ssapp repo>`.
1010

1111
For source-window lifecycle, custom session, injection, and app-parity routing, use `../04-standalone-app-source-windows.md`. For app-specific TikTok modes, signing providers, fallbacks, replies, and test assets, use `../08-platform-sources/tiktok-standalone-app.md`.
1212

@@ -48,7 +48,7 @@ Confirmed from `ssapp/main.js`:
4848
Important support rule:
4949

5050
- Do not tell users to edit the packaged fallback mirror for normal work.
51-
- For source edits, use `C:\Users\steve\Code\social_stream`.
51+
- For source edits, use `<social_stream repo>`.
5252
- If the app is pointed at the wrong local folder, clear the saved local source or reload with a validated Social Stream source folder.
5353

5454
## Window And Tray Behavior

0 commit comments

Comments
 (0)