Skip to content

Design: two-node resolver / streamer split - #13

Merged
cycle-five merged 1 commit into
masterfrom
docs/two-node-split
Nov 6, 2026
Merged

cycle-five merged 1 commit into
masterfrom
docs/two-node-split

Conversation

@cycle-five-muse-personal

Copy link
Copy Markdown
Contributor

Design proposal (no code): logically separate the two ends of the YouTube pipeline, per the direction Lothrop set after the PoToken source-trace.

  • Resolver: search + metadata resolution only (MUSIC/WEB/WEBEMBEDDED/IOS/ANDROID_VR), OAuth disabled, PoT via bgutil with live POST /youtube refresh, egress through the route planner (IPv6 / proxy pool).
  • Streamer: playback only (TV + OAuth), stable datacenter IP, holds the only account credential; DAVE unaffected (verified separately).
  • Interface between the legs is encoded tracks only; bot-template-rs gets a third MusicBackend implementation holding two LavalinkClient handles.

Grounded in the youtube-source 1.18.2 trace in docs/AUDIT-2026-11.md: loading and playback are independent client rotations, OAuth attaches only to TV, PoToken only to WEB/WEBEMBEDDED — which is what makes the split a configuration of the existing machinery rather than a fork.

Decisions D1–D3 are stated as made; D4 (streamer fallback trimming), D5 (resolver failure mode), D6 (resolver placement) are open with recommendations. Migration is phased, starting with the independent restart-free PoT/OAuth refresh (phase 0).

@cycle-five
cycle-five merged commit 15e8387 into master Nov 6, 2026
3 checks passed
@cycle-five
cycle-five deleted the docs/two-node-split branch November 6, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant